MCPcopy Index your code
hub / github.com/devspace-sh/devspace / stop

Method stop

pkg/devspace/devpod/manager.go:217–230  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

215}
216
217func (d *devPodManager) stop(name string) {
218 d.m.Lock()
219 dp := d.devPods[name]
220 d.m.Unlock()
221 if dp == nil {
222 return
223 }
224
225 // stop the dev pod
226 dp.Stop()
227 d.m.Lock()
228 delete(d.devPods, name)
229 d.m.Unlock()
230}

Callers 2

ResetMethod · 0.95
StopMethod · 0.95

Calls 3

LockMethod · 0.80
UnlockMethod · 0.80
StopMethod · 0.65

Tested by

no test coverage detected