MCPcopy Index your code
hub / github.com/fluid-cloudnative/fluid / Add

Method Add

pkg/common/label.go:179–181  ·  view source on GitHub ↗
(labelKey string, labelValue string)

Source from the content-addressed store, hash-verified

177}
178
179func (labels *LabelsToModify) Add(labelKey string, labelValue string) {
180 labels.operator(labelKey, labelValue, AddLabel)
181}
182
183func (labels *LabelsToModify) Update(labelKey string, labelValue string) {
184 labels.operator(labelKey, labelValue, UpdateLabel)

Callers 15

labelCacheNodeFunction · 0.95
TestAddFunction · 0.95
NodeStageVolumeMethod · 0.95
prepareSessMgrMethod · 0.95
NewCacheFunction · 0.80

Calls 1

operatorMethod · 0.95

Tested by 10

TestAddFunction · 0.76
TestTimeleftFunction · 0.64
TestCalculateDurationFunction · 0.64
TestGetLabelsFunction · 0.64