Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClusterServiceAccountCredentials ¶
func CreateClusterServiceAccountCredentials(clientset kubernetes.Interface, duration metav1.Duration) (token []byte, caPEM []byte, err error)
CreateClusterServiceAccountCredentials creates a service account to authenticate to a cluster API server.
func CreateKubeConfigWithServiceAccountCredentials ¶
func CreateKubeConfigWithServiceAccountCredentials(clientset kubernetes.Interface, name string, duration metav1.Duration) ([]byte, error)
CreateKubeConfigWithServiceAccountCredentials creates a kube config containing a service account token to authenticate to a Kubernetes cluster API server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.