exocci v0.2.2 OCCI.Model.Core View Source

Declaration of OCCI Core model: Entity, Resource, Link

See [https://www.ogf.org/documents/GFD.221.pdf]

Defined Kinds:

  • http://schemas.ogf.org/occi/core#entity
  • http://schemas.ogf.org/occi/core#link
  • http://schemas.ogf.org/occi/core#resource

Link to this section Summary

Functions

Given a list of categories, returns all action specifications

Add user mixin (tag)

Returns list of mixins applicable to a given kind

Delete user mixin (tag)

Return true if name is a valid kind module

Return true if name if a valid mixin module

Return list of available mixins

Return module associated with the given category

Given a list of categories, returns list of required attributes

Given a list of categories, returns all attributes specs

Link to this section Functions

Given a list of categories, returns all action specifications

Link to this function add_mixin(module, category) View Source
add_mixin(module :: atom(), category :: charlist() | String.t() | atom()) ::
  atom()

Add user mixin (tag)

  • module: module name, related to model name
  • category: category name

Returns list of mixins applicable to a given kind

Link to this function del_mixin(module) View Source
del_mixin(module :: atom()) :: :ok | :error

Delete user mixin (tag)

Return true if name is a valid kind module

Return true if name if a valid mixin module

Return list of available mixins

Return module associated with the given category

Given a list of categories, returns list of required attributes

Given a list of categories, returns all attributes specs