MCPcopy
hub / github.com/helm/helm / set

Method set

pkg/storage/driver/labels.go:24–24  ·  view source on GitHub ↗
(key, val string)

Source from the content-addressed store, hash-verified

22func (lbs *labels) init() { *lbs = labels(make(map[string]string)) }
23func (lbs labels) get(key string) string { return lbs[key] }
24func (lbs labels) set(key, val string) { lbs[key] = val }
25
26func (lbs labels) keys() (ls []string) {
27 for key := range lbs {

Callers 8

newRecordFunction · 0.95
CreateMethod · 0.95
UpdateMethod · 0.95
CreateMethod · 0.95
UpdateMethod · 0.95
fromMapMethod · 0.95
newConfigMapsObjectFunction · 0.80
newSecretsObjectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected