MCPcopy Index your code
hub / github.com/1Panel-dev/1Panel / Operate

Method Operate

agent/utils/controller/manager/snap.go:49–54  ·  view source on GitHub ↗
(operate, serviceName string)

Source from the content-addressed store, hash-verified

47}
48
49func (s *Snap) Operate(operate, serviceName string) error {
50 if s.IsExist(serviceName) {
51 return handlerErr(run(s.toolCmd, operate, serviceName))
52 }
53 return nil
54}

Callers

nothing calls this directly

Calls 3

IsExistMethod · 0.95
handlerErrFunction · 0.70
runFunction · 0.70

Tested by

no test coverage detected