Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterKubernetesClientFromToken ¶
func GetClusterKubernetesClientFromToken(token string) (*kubernetes.Clientset, error)
Gets an in-cluster Kubernetes configuration but with the specified token as the bearer token. This configuration will only work in this cluster, the specified token must therefore also be a ServiceAccount in this cluster.
func GetKubeConfig ¶
func GetKubernetesClient ¶
func GetKubernetesClient() (*kubernetes.Clientset, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.