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

Function HandleStart

agent/utils/controller/controller.go:55–61  ·  view source on GitHub ↗
(serviceName string)

Source from the content-addressed store, hash-verified

53 return client.Operate(operate, service)
54}
55func HandleStart(serviceName string) error {
56 service, err := LoadServiceName(serviceName)
57 if err != nil {
58 return err
59 }
60 return Handle("start", service)
61}
62func HandleStop(serviceName string) error {
63 service, err := LoadServiceName(serviceName)
64 if err != nil {

Callers

nothing calls this directly

Calls 2

LoadServiceNameFunction · 0.70
HandleFunction · 0.70

Tested by

no test coverage detected