clusterID

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 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 ClusterID

type ClusterID interface {
	SetupClusterID(namespace string) error
	GetClusterID() string
}

func GetNewClusterID

func GetNewClusterID(id string, client kubernetes.Interface) ClusterID

func NewClusterID

func NewClusterID(kubeconfigPath string) (ClusterID, error)

type ClusterIDImpl

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

func (*ClusterIDImpl) GetClusterID

func (cId *ClusterIDImpl) GetClusterID() string

func (*ClusterIDImpl) SetupClusterID

func (cId *ClusterIDImpl) SetupClusterID(namespace string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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