Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKubernetesInterface ¶
func NewKubernetesInterface(kubeConfigPath string) (kubernetes.Interface, error)
NewKubernetesInterface creates a new interface for k8s API server. The current runtime environment is first assumed to be a pod and its identity is used to create the interface. If a pod is not detected, the given kubeConfigPath is used to create the interface.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.