kubernetes

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datastore added in v0.0.2

type Datastore struct {
	// contains filtered or unexported fields
}

func NewDatastore added in v0.0.2

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

func (*Datastore) GetCluster added in v0.0.2

func (k *Datastore) GetCluster(clusterID string) (*types.SubmarinerCluster, error)

func (*Datastore) GetClusters added in v0.0.2

func (k *Datastore) GetClusters(colorCodes []string) ([]types.SubmarinerCluster, error)

func (*Datastore) GetEndpoint added in v0.0.2

func (k *Datastore) GetEndpoint(clusterID string, cableName string) (*types.SubmarinerEndpoint, error)

func (*Datastore) GetEndpoints added in v0.0.2

func (k *Datastore) GetEndpoints(clusterID string) ([]types.SubmarinerEndpoint, error)

func (*Datastore) RemoveCluster added in v0.0.2

func (k *Datastore) RemoveCluster(clusterID string) 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 func(cluster *types.SubmarinerCluster, deleted bool) error) error

func (*Datastore) WatchEndpoints added in v0.0.2

func (k *Datastore) WatchEndpoints(ctx context.Context, selfClusterID string, colorCodes []string, onEndpointChange func(endpoint *types.SubmarinerEndpoint, deleted bool) error) error

Jump to

Keyboard shortcuts

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