Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClusterCertificateCredentials ¶
func CreateClusterCertificateCredentials(clientset kubernetes.Interface) (certPEM []byte, keyPEM []byte, caPEM []byte, err error)
CreateClusterCertificateCredentials creates a client certificate and key to authenticate to a cluster API server.
func CreateKubeConfigWithCertificateCredentials ¶
func CreateKubeConfigWithCertificateCredentials(clientset kubernetes.Interface, name string) ([]byte, error)
CreateKubeConfigWithCertificateCredentials creates a kube config containing a certificate and key to authenticate to a Kubernetes cluster API server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.