MCPcopy Create free account
hub / github.com/deepflowio/deepflow / AddAZ

Method AddAZ

server/controller/recorder/cache/tool/data_set.go:237–240  ·  view source on GitHub ↗
(item *metadbmodel.AZ)

Source from the content-addressed store, hash-verified

235}
236
237func (t *DataSet) AddAZ(item *metadbmodel.AZ) {
238 t.azLcuuidToID[item.Lcuuid] = item.ID
239 t.GetLogFunc()(addToToolMap(ctrlrcommon.RESOURCE_TYPE_AZ_EN, item.Lcuuid), t.metadata.LogPrefixes)
240}
241
242func (t *DataSet) DeleteAZ(lcuuid string) {
243 delete(t.azLcuuidToID, lcuuid)

Callers 1

GetAZIDByLcuuidMethod · 0.95

Calls 2

addToToolMapFunction · 0.85
GetLogFuncMethod · 0.45

Tested by

no test coverage detected