MCPcopy
hub / github.com/helm/helm / Memory

Struct Memory

pkg/storage/driver/memory.go:42–49  ·  view source on GitHub ↗

Memory is the in-memory storage driver implementation.

Source from the content-addressed store, hash-verified

40
41// Memory is the in-memory storage driver implementation.
42type Memory struct {
43 sync.RWMutex
44 namespace string
45 // A map of namespaces to releases
46 cache map[string]memReleases
47 // Embed a LogHolder to provide logger functionality
48 logging.LogHolder
49}
50
51// NewMemory initializes a new memory driver.
52func NewMemory() *Memory {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected