MCPcopy
hub / github.com/helm/helm / SetNamespace

Method SetNamespace

pkg/storage/driver/memory.go:60–62  ·  view source on GitHub ↗

SetNamespace sets a specific namespace in which releases will be accessed. An empty string indicates all namespaces (for the list operation)

(ns string)

Source from the content-addressed store, hash-verified

58// SetNamespace sets a specific namespace in which releases will be accessed.
59// An empty string indicates all namespaces (for the list operation)
60func (mem *Memory) SetNamespace(ns string) {
61 mem.namespace = ns
62}
63
64// Name returns the name of the driver.
65func (mem *Memory) Name() string {

Callers 8

CreateMethod · 0.95
UpdateMethod · 0.95
RunWithContextMethod · 0.95
TestMemoryGetFunction · 0.45
TestMemoryListFunction · 0.45
TestMemoryQueryFunction · 0.45
TestMemoryUpdateFunction · 0.45
TestMemoryDeleteFunction · 0.45

Calls

no outgoing calls

Tested by 5

TestMemoryGetFunction · 0.36
TestMemoryListFunction · 0.36
TestMemoryQueryFunction · 0.36
TestMemoryUpdateFunction · 0.36
TestMemoryDeleteFunction · 0.36