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

Method CurrentContext

pkg/devspace/kubectl/client.go:38–38  ·  view source on GitHub ↗

CurrentContext returns the current kube context name

()

Source from the content-addressed store, hash-verified

36type Client interface {
37 // CurrentContext returns the current kube context name
38 CurrentContext() string
39
40 // KubeClient returns an interface to a kube client
41 KubeClient() kubernetes.Interface

Callers 15

NewFunction · 0.65
ExecuteMethod · 0.65
ExecMethod · 0.65
logsMethod · 0.65
enterMethod · 0.65
returnConfigMethod · 0.65
requestMethod · 0.65
forwardMethod · 0.65
commandMethod · 0.65
resolveDependencyMethod · 0.65

Calls

no outgoing calls

Tested by 2

TestCheckKubeContextFunction · 0.52