MCPcopy
hub / github.com/netdata/netdata / ValidateJobName

Method ValidateJobName

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

ValidateJobName enforces the domain's job-name policy. Called before ParseAndValidate so cheap name-format rejections happen without parsing payload.

(name string)

Source from the content-addressed store, hash-verified

24 // ValidateJobName enforces the domain's job-name policy. Called before
25 // ParseAndValidate so cheap name-format rejections happen without parsing payload.
26 ValidateJobName(name string) error
27
28 // Start creates a work unit and starts it. Owns the full start lifecycle
29 // including pre-start cleanup and post-fail retry scheduling.

Callers 1

CmdAddMethod · 0.65

Implementers 5

mockCallbackssrc/go/plugin/framework/dyncfg/handler
sdCallbackssrc/go/plugin/agent/discovery/sd/dyncf
collectorSeqTestCallbackssrc/go/plugin/agent/jobmgr/dyncfg_coll
collectorCallbackssrc/go/plugin/agent/jobmgr/dyncfg_coll
secretStoreCallbackssrc/go/plugin/agent/jobmgr/secretsctl/

Calls

no outgoing calls

Tested by

no test coverage detected