Documentation ¶
Overview ¶
Package topo store client
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { // Create creates a topology object Create(ctx context.Context, object *topoapi.Object) error // Update updates an existing topology object Update(ctx context.Context, object *topoapi.Object) error // Get gets a topology object Get(ctx context.Context, id topoapi.ID) (*topoapi.Object, error) // Query streams objects to the given channel Query(ctx context.Context, ch chan<- *topoapi.Object, filters *topoapi.Filters) error // Delete deletes a topology object using the given ID Delete(ctx context.Context, object *topoapi.Object) error // Watch watches topology events Watch(ctx context.Context, ch chan<- topoapi.Event, filters *topoapi.Filters) error }
Store is a topology store client interface
Click to show internal directories.
Click to hide internal directories.