package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Apr 24, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func NewWithSecret(clusterName, endpoint string, caCert *x509.Certificate, caKey crypto.Signer, ...) (*api.Config, error)
-
func NewWithToken(clusterName, endpoint string, caCert *x509.Certificate, token string, ...) (*api.Config, error)
NewWithSecret creates a new kubeconfig using the cluster name and specified endpoint.
NewWithToken creates a new kubeconfig using the cluster name and specified endpoint.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.