Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterAuthInfo ¶
type ClusterAuthInfo struct { Clientset *kubernetes.Clientset Config *rest.Config ContextName string ClusterName string }
ClusterAuthInfo is a struct that contains a Kubernetes clientset and a Kubernetes config. in somecases we can't use clientset and have to pass REST Config, e.g. in InitClusterAPI
func GetKubernetesClient ¶
func GetKubernetesClient(kubeconfigPath, contextName, clusterName string) (*ClusterAuthInfo, error)
Click to show internal directories.
Click to hide internal directories.