MCPcopy Create free account
hub / github.com/devspace-sh/devspace / DeleteKubeContext

Method DeleteKubeContext

pkg/util/kubeconfig/testing/loader.go:51–53  ·  view source on GitHub ↗

DeleteKubeContext is a fake implementation of the function

(kubeConfig *api.Config, kubeContext string)

Source from the content-addressed store, hash-verified

49
50// DeleteKubeContext is a fake implementation of the function
51func (l *Loader) DeleteKubeContext(kubeConfig *api.Config, kubeContext string) error {
52 return kubeconfig.NewLoader().DeleteKubeContext(kubeConfig, kubeContext)
53}

Callers

nothing calls this directly

Calls 2

NewLoaderFunction · 0.92
DeleteKubeContextMethod · 0.65

Tested by

no test coverage detected