MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / Check

Function Check

module/monitor/driver/manager.go:55–61  ·  view source on GitHub ↗
(name string, cfg string)

Source from the content-addressed store, hash-verified

53}
54
55func Check(name string, cfg string) error {
56 d, has := manager.Get(name)
57 if !has {
58 return ErrDriverNotFound
59 }
60 return d.Check(cfg)
61}

Callers 1

SaveMonitorConfigMethod · 0.92

Calls 2

GetMethod · 0.65
CheckMethod · 0.65

Tested by

no test coverage detected