MCPcopy
hub / github.com/netdata/netdata / NotifyJobRemove

Method NotifyJobRemove

src/go/plugin/framework/dyncfg/handler.go:413–415  ·  view source on GitHub ↗

NotifyJobRemove removes a config from the dyncfg API.

(cfg C)

Source from the content-addressed store, hash-verified

411
412// NotifyJobRemove removes a config from the dyncfg API.
413func (h *Handler[C]) NotifyJobRemove(cfg C) {
414 h.api.ConfigDelete(h.cb.ConfigID(cfg))
415}
416
417func (h *Handler[C]) jobSupportedCommands(isDyncfg bool) string {
418 cmds := make([]Command, len(h.jobCommands))

Callers 7

CmdEnableMethod · 0.95
CmdRemoveMethod · 0.95
removePipelineMethod · 0.80
addConfigMethod · 0.80
removeConfigMethod · 0.80

Calls 2

ConfigDeleteMethod · 0.80
ConfigIDMethod · 0.65

Tested by

no test coverage detected