Documentation ¶
Index ¶
- func NewDatastore(thisClusterID string, stopCh <-chan struct{}) (datastore.Datastore, error)
- type Datastore
- func (k *Datastore) GetEndpoints(clusterID string) ([]types.SubmarinerEndpoint, error)
- func (k *Datastore) RemoveEndpoint(clusterID, cableName string) error
- func (k *Datastore) SetCluster(cluster *types.SubmarinerCluster) error
- func (k *Datastore) SetEndpoint(endpoint *types.SubmarinerEndpoint) error
- func (k *Datastore) WatchClusters(ctx context.Context, selfClusterID string, colorCodes []string, ...) error
- func (k *Datastore) WatchEndpoints(ctx context.Context, selfClusterID string, colorCodes []string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Datastore ¶ added in v0.0.2
type Datastore struct {
// contains filtered or unexported fields
}
func (*Datastore) GetEndpoints ¶ added in v0.0.2
func (k *Datastore) GetEndpoints(clusterID string) ([]types.SubmarinerEndpoint, error)
func (*Datastore) RemoveEndpoint ¶ added in v0.0.2
func (*Datastore) SetCluster ¶ added in v0.0.2
func (k *Datastore) SetCluster(cluster *types.SubmarinerCluster) error
func (*Datastore) SetEndpoint ¶ added in v0.0.2
func (k *Datastore) SetEndpoint(endpoint *types.SubmarinerEndpoint) error
func (*Datastore) WatchClusters ¶ added in v0.0.2
func (*Datastore) WatchEndpoints ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.