Documentation
¶
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)
// List lists topology objects
List(ctx context.Context, filters *topoapi.Filters) ([]topoapi.Object, 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.