state

package
v0.0.0-...-d211fd2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterMeshCluster

type ClusterMeshCluster struct {
	ClusterName                 string `json:",omitempty"`
	ClusterMeshAPIServerIP      string `json:",omitempty"`
	ClusterMeshAPIServerAddress string `json:",omitempty"`
	ClusterMeshAPIServerTLSCA   string `json:",omitempty"`
	ClusterMeshAPIServerTLSCert string `json:",omitempty"`
	ClusterMeshAPIServerTLSKey  string `json:",omitempty"`
	Tombstone                   int64  `json:",omitempty"`
}

type ClusterMeshState

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

func NewClusterMeshState

func NewClusterMeshState(logger *zap.Logger) *ClusterMeshState

func (*ClusterMeshState) AddOrUpdate

func (p *ClusterMeshState) AddOrUpdate(cluster *ClusterMeshCluster) error

func (*ClusterMeshState) Delete

func (p *ClusterMeshState) Delete(clusterName string)

func (*ClusterMeshState) GetAll

func (p *ClusterMeshState) GetAll() map[string]*ClusterMeshCluster

func (*ClusterMeshState) UpdateChannel

func (p *ClusterMeshState) UpdateChannel() chan struct{}

Jump to

Keyboard shortcuts

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