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

Method Close

pkg/devspace/devpod/manager.go:75–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75func (d *devPodManager) Close() {
76 d.m.Lock()
77 for _, cancel := range d.cancels {
78 cancel()
79 }
80 d.cancels = []context.CancelFunc{}
81 d.m.Unlock()
82 _ = d.Wait()
83}
84
85func (d *devPodManager) StartMultiple(ctx devspacecontext.Context, devPods []string, options Options) error {
86 devCtx, _ := values.DevContextFrom(ctx.Context())

Callers

nothing calls this directly

Calls 3

WaitMethod · 0.95
LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected