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 // Get gets a network snapshot Get(id networksnapshot.ID) (*networksnapshot.NetworkSnapshot, error) // GetByIndex gets a network snapshot by index GetByIndex(index networksnapshot.Index) (*networksnapshot.NetworkSnapshot, error) // Create creates a new network snapshot Create(snapshot *networksnapshot.NetworkSnapshot) error // Update updates an existing network snapshot Update(snapshot *networksnapshot.NetworkSnapshot) error // Delete deletes a network snapshot Delete(snapshot *networksnapshot.NetworkSnapshot) error // List lists network snapshots List(chan<- *networksnapshot.NetworkSnapshot) (stream.Context, error) // Watch watches the network snapshot store for changes Watch(chan<- stream.Event) (stream.Context, error) }
Store stores NetworkSnapshots
func NewAtomixStore ¶
NewAtomixStore returns a new persistent Store
func NewLocalStore ¶
NewLocalStore returns a new local network snapshot store
Click to show internal directories.
Click to hide internal directories.