Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeClient ¶
type KubeClient struct { KubeConfigPath string // contains filtered or unexported fields }
KubeClient state for a Kubernetes client (inCluster or regular one)
func NewKubeClient ¶
func NewKubeClient(kubeConfigPath string) (*KubeClient, error)
NewKubeClient instantiate a new Kubernetes client, pass kubeConfigPath == "" to build an InCluster client
func (*KubeClient) GetKubernetesClient ¶
func (k *KubeClient) GetKubernetesClient() *kubernetes.Clientset
GetKubernetesClient returns the k8s object to work with the API
Click to show internal directories.
Click to hide internal directories.