MCPcopy
hub / github.com/netdata/netdata / NotifyJobStatus

Method NotifyJobStatus

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

NotifyJobStatus sends a status update for a config.

(cfg C, status Status)

Source from the content-addressed store, hash-verified

406
407// NotifyJobStatus sends a status update for a config.
408func (h *Handler[C]) NotifyJobStatus(cfg C, status Status) {
409 h.api.ConfigStatus(h.cb.ConfigID(cfg), status)
410}
411
412// NotifyJobRemove removes a config from the dyncfg API.
413func (h *Handler[C]) NotifyJobRemove(cfg C) {

Callers 5

CmdEnableMethod · 0.95
CmdDisableMethod · 0.95
CmdUpdateMethod · 0.95
CmdRestartMethod · 0.95

Calls 2

ConfigStatusMethod · 0.80
ConfigIDMethod · 0.65

Tested by

no test coverage detected