Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface {
io.Closer
// Load loads a device from the store
Load(deviceID deviceapi.ID) (*deviceapi.Device, error)
// Store stores a device in the store
Store(*deviceapi.Device) error
// Delete deletes a device from the store
Delete(*deviceapi.Device) error
// List streams devices to the given channel
List(chan<- *deviceapi.Device) error
// Watch streams device events to the given channel
Watch(chan<- *Event) error
}
Store stores topology information
func NewAtomixStore ¶
NewAtomixStore returns a new persistent Store
func NewLocalStore ¶
NewLocalStore returns a new local device store
Click to show internal directories.
Click to hide internal directories.