kubeconfig

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWithSecret

func NewWithSecret(clusterName, endpoint string, caCert *x509.Certificate, caKey crypto.Signer, config *certutil.Config) (*api.Config, error)

NewWithSecret creates a new kubeconfig using the cluster name and specified endpoint.

func NewWithToken

func NewWithToken(clusterName, endpoint string, caCert *x509.Certificate, token string, config *certutil.Config) (*api.Config, error)

NewWithToken creates a new kubeconfig using the cluster name and specified endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL