Documentation ¶
Index ¶
- Variables
- func Construct(ctx string, cfg *api.Config) (*api.Config, error)
- func ContextExists(ctx string, cfg *api.Config) error
- func Contexts(cfg *api.Config) []string
- func CurrentContext(cfg *api.Config) string
- func Export(ctx string, cfg *api.Config)
- func GetConfigPath() (string, error)
- func Load(kubeConfigPath string) *api.Config
- func Merge(importCfg *api.Config, cfg *api.Config) error
- func Save(path string, cfg *api.Config)
- func SortedContexts(contexts []string) []string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Cfg *api.Config KubeconfigPath, _ = GetConfigPath() )
Functions ¶
func CurrentContext ¶ added in v0.4.0
func GetConfigPath ¶ added in v0.4.0
func SortedContexts ¶ added in v0.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.