MCPcopy Index your code
hub / github.com/abiosoft/colima / Stop

Method Stop

daemon/daemon.go:126–131  ·  view source on GitHub ↗
(ctx context.Context, conf config.Config)

Source from the content-addressed store, hash-verified

124 return host.RunQuiet(args...)
125}
126func (l processManager) Stop(ctx context.Context, conf config.Config) error {
127 if s, err := l.Running(ctx, conf); err != nil || !s.Running {
128 return nil
129 }
130 return l.host.RunQuiet(osutil.Executable(), "daemon", "stop", config.CurrentProfile().ShortName)
131}
132
133func processesFromConfig(conf config.Config) []process.Process {
134 var processes []process.Process

Callers 1

StartMethod · 0.95

Calls 4

RunningMethod · 0.95
ExecutableFunction · 0.92
CurrentProfileFunction · 0.92
RunQuietMethod · 0.65

Tested by

no test coverage detected