exocci v0.2.2 OCCI.Store View Source

OCCI datastore entry point

OCCI entities are stored in backends (see OCCI.Backend). Backend must be declared in :occi env, for instance:

config :occi, backend: {OCCI.Backend.Agent, priv_dir: "data.json"}

Link to this section Summary

Functions

Delete entity

Get an node by location

Lookup entities

Start Store with given backends

Update given entity

Link to this section Functions

Link to this function create(entity, location \\ nil, owner \\ nil) View Source

Save entity

Delete entity

Link to this function get(location) View Source
get(OCCI.Model.Core.Entity.location()) :: Core.Entity.t() | nil

Get an node by location

Lookup entities

Start Store with given backends