MCPcopy
hub / github.com/helm/helm / isSystemLabel

Function isSystemLabel

pkg/storage/driver/util.go:91–93  ·  view source on GitHub ↗

Checks if label is system

(key string)

Source from the content-addressed store, hash-verified

89
90// Checks if label is system
91func isSystemLabel(key string) bool {
92 return slices.Contains(GetSystemLabels(), key)
93}
94
95// Removes system labels from labels map
96func filterSystemLabels(lbs map[string]string) map[string]string {

Callers 3

TestIsSystemLabelFunction · 0.85
filterSystemLabelsFunction · 0.85
ContainsSystemLabelsFunction · 0.85

Calls 2

GetSystemLabelsFunction · 0.85
ContainsMethod · 0.80

Tested by 1

TestIsSystemLabelFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…