kubeclient

package
v0.3.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

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