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

Method Stop

pkg/devspace/devpod/manager.go:209–215  ·  view source on GitHub ↗
(ctx devspacecontext.Context, name string)

Source from the content-addressed store, hash-verified

207}
208
209func (d *devPodManager) Stop(ctx devspacecontext.Context, name string) {
210 lock := d.lockFactory.GetLock(name)
211 lock.Lock()
212 defer lock.Unlock()
213
214 d.stop(name)
215}
216
217func (d *devPodManager) stop(name string) {
218 d.m.Lock()

Callers

nothing calls this directly

Calls 4

stopMethod · 0.95
LockMethod · 0.80
UnlockMethod · 0.80
GetLockMethod · 0.65

Tested by

no test coverage detected