Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistenceLayer ¶
type PersistenceLayer interface { Add(r common.Resource) error Delete(name string) error Update(r common.Resource) (common.Resource, error) Get(name string) (common.Resource, error) List() ([]common.Resource, 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.