Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultKubeContext = ""
Variables ¶
This section is empty.
Functions ¶
func GetDeckhousePod ¶ added in v0.12.0
func GetDeckhousePod(kubeCl kubernetes.Interface) (string, error)
func SetupK8sClientSet ¶
func SetupK8sClientSet(kubeconfigPath, contextName string) (*rest.Config, *kubernetes.Clientset, error)
SetupK8sClientSet reads kubeconfig file at kubeconfigPath and constructs a kubernetes clientset from it. If contextName is not empty, context under that name is used instead of default.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.