MCPcopy Index your code
hub / github.com/netdata/netdata / takeCommandMessage

Function takeCommandMessage

src/go/plugin/framework/dyncfg/handler.go:95–101  ·  view source on GitHub ↗
(cb Callbacks[C])

Source from the content-addressed store, hash-verified

93}
94
95func takeCommandMessage[C Config](cb Callbacks[C]) string {
96 msgSrc, ok := any(cb).(CommandMessageSource)
97 if !ok {
98 return ""
99 }
100 return msgSrc.TakeCommandMessage()
101}
102
103// WaitTimeoutEvent describes a wait gate timeout transition.
104type WaitTimeoutEvent struct {

Callers 4

CmdEnableMethod · 0.85
CmdDisableMethod · 0.85
CmdRemoveMethod · 0.85
CmdUpdateMethod · 0.85

Calls 1

TakeCommandMessageMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…