Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistenceLayer ¶
type PersistenceLayer interface { Add(i common.Item) error Delete(name string) error Update(i common.Item) error Get(name string) (common.Item, error) List() ([]common.Item, error) }
PersistenceLayer defines a simple interface to persists Boskos Information
func NewMemoryStorage ¶
func NewMemoryStorage() PersistenceLayer
NewMemoryStorage creates an in memory persistence layer
Click to show internal directories.
Click to hide internal directories.