Documentation ¶
Index ¶
- func CreateBasic(host, clusterName, userName string, caCert []byte) *clientcmdapi.Config
- func CreateWithCerts(host, clusterName, userName string, caCert []byte, clientKey []byte, ...) *clientcmdapi.Config
- func CreateWithToken(host, clusterName, userName string, caCert []byte, token string) *clientcmdapi.Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBasic ¶
func CreateBasic(host, clusterName, userName string, caCert []byte) *clientcmdapi.Config
CreateBasic creates a basic, general KubeConfig object that then can be extended
func CreateWithCerts ¶
func CreateWithCerts(host, clusterName, userName string, caCert []byte, clientKey []byte, clientCert []byte) *clientcmdapi.Config
CreateWithCerts creates a KubeConfig object with access to the API server with client certificates
func CreateWithToken ¶
func CreateWithToken(host, clusterName, userName string, caCert []byte, token string) *clientcmdapi.Config
CreateWithToken creates a KubeConfig object with access to the API server with a token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.