MCPcopy Index your code
hub / github.com/helm/helm / SetNamespace

Method SetNamespace

pkg/cli/environment.go:289–291  ·  view source on GitHub ↗

SetNamespace sets the namespace in the configuration

(namespace string)

Source from the content-addressed store, hash-verified

287
288// SetNamespace sets the namespace in the configuration
289func (s *EnvSettings) SetNamespace(namespace string) {
290 s.namespace = namespace
291}
292
293// RESTClientGetter gets the kubeconfig from EnvSettings
294func (s *EnvSettings) RESTClientGetter() genericclioptions.RESTClientGetter {

Callers 4

TestSetNamespaceFunction · 0.45
InitMethod · 0.45
loadReleasesInMemoryFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestSetNamespaceFunction · 0.36