Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type RequestedState ¶
type RequestedState struct { ID string Name string Config *dockerclient.ContainerConfig }
RequestedState is exported
type Store ¶
Store is a simple key<->RequestedState store.
func (*Store) Add ¶
func (s *Store) Add(key string, value *RequestedState) error
Add a new object on the store. `key` must be unique.
func (*Store) Get ¶
func (s *Store) Get(key string) (*RequestedState, error)
Get an object from the store keyed by `key`.
func (*Store) Initialize ¶
Initialize must be called before performing any operation on the store. It will attempt to restore the data from disk.
Click to show internal directories.
Click to hide internal directories.