clustermanager

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureClusterExists added in v1.2.0

func EnsureClusterExists(c client.Client, clusterName string) error

EnsureClusterExists will check the cluster is existed in control plane

func EnsureClusterNotExists added in v1.2.0

func EnsureClusterNotExists(c client.Client, clusterName string) error

EnsureClusterNotExists will check the cluster is not existed in control plane

func GetClient

func GetClient(kubeConfigData []byte) (client.Client, error)

GetClient returns a kube client for given kubeConfigData

func GetRegisteredClusters added in v1.2.0

func GetRegisteredClusters(c client.Client) ([]types.Cluster, error)

GetRegisteredClusters will get all registered clusters in control plane

Types

This section is empty.

Jump to

Keyboard shortcuts

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