kubeconfig

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MARK = "# Written by rs"
)

Variables

This section is empty.

Functions

func DeleteKubeConfig

func DeleteKubeConfig(config *api.Config, context string, dir string, file string, createLink bool, activeContext bool) error

func LoadKubeConfigs

func LoadKubeConfigs(appconfig config.AppConfig) ([]api.Config, api.Config)

func MoveKubeConfig

func MoveKubeConfig(config *api.Config, context string, kubeConfigDir string) error

func SaveKubeConfig

func SaveKubeConfig(config *api.Config, context string, dir string, file string, doCheckMark bool, createLink bool, isMove bool) error

func SaveKubeConfigFile added in v1.4.2

func SaveKubeConfigFile(config *api.Config, context string, dir string, file string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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