Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetControlPlaneStatus ¶
func GetControlPlaneStatus(ctx context.KubeContext) (bool, string, error)
GetControlPlaneStatus returns a flag indicating whether or not the cluster is online. If the flag is true then the second return value is the cluster's control plane endpoint.
func GetKubeClientForCluster ¶
func GetKubeClientForCluster(ctx context.KubeContext) (corev1.CoreV1Interface, error)
GetKubeClientForCluster returns a Kubernetes client for the given cluster.
func GetKubeConfig ¶
func GetKubeConfig(ctx context.KubeContext) (string, error)
GetKubeConfig returns the kubeconfig for the given cluster.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.