MCPcopy Index your code
hub / github.com/devspace-sh/devspace / SaveConfig

Method SaveConfig

pkg/util/kubeconfig/loader.go:15–15  ·  view source on GitHub ↗
(config *api.Config)

Source from the content-addressed store, hash-verified

13
14 GetCurrentContext() (string, error)
15 SaveConfig(config *api.Config) error
16 DeleteKubeContext(kubeConfig *api.Config, kubeContext string) error
17}
18

Callers 5

TestSaveLoadKubeConfigFunction · 0.95
NewClientByContextFunction · 0.65
RunUseContextMethod · 0.65
RunUseNamespaceMethod · 0.65
RunRemoveContextMethod · 0.65

Calls

no outgoing calls

Tested by 1

TestSaveLoadKubeConfigFunction · 0.76