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

Function HandleStart

core/utils/controller/controller.go:81–87  ·  view source on GitHub ↗
(serviceName string)

Source from the content-addressed store, hash-verified

79 return client.Operate(operate, service)
80}
81func HandleStart(serviceName string) error {
82 service, err := LoadServiceName(serviceName)
83 if err != nil {
84 return err
85 }
86 return Handle("start", service)
87}
88func HandleStop(serviceName string) error {
89 service, err := LoadServiceName(serviceName)
90 if err != nil {

Callers

nothing calls this directly

Calls 2

LoadServiceNameFunction · 0.70
HandleFunction · 0.70

Tested by

no test coverage detected