kubeconfig

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddContext

func AddContext(kubeconfigArg, newKubeconfigPath, newName string) error

func DeleteContext

func DeleteContext(kubeconfigArg, contextName string) error

func ListContexts

func ListContexts(kubeconfigArg string) error

func RenameContext

func RenameContext(kubeconfigArg, contextName, newName string, isForce bool) error

Types

type ContextWithEndpoint

type ContextWithEndpoint struct {
	Name     string
	Endpoint string
}

Jump to

Keyboard shortcuts

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