kubernetes

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatastore added in v0.0.2

func NewDatastore(thisClusterID string, stopCh <-chan struct{}) (datastore.Datastore, error)

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 (k *Datastore) RemoveEndpoint(clusterID, cableName string) error

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 (k *Datastore) WatchClusters(ctx context.Context, selfClusterID string, colorCodes []string, onClusterChange datastore.OnClusterChange) error

func (*Datastore) WatchEndpoints added in v0.0.2

func (k *Datastore) WatchEndpoints(ctx context.Context, selfClusterID string, colorCodes []string, onEndpointChange datastore.OnEndpointChange) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL