MCPcopy Create free account
hub / github.com/devspace-sh/devspace / Stop

Method Stop

pkg/devspace/pipeline/job.go:49–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func (j *Job) Stop() error {
50 j.m.Lock()
51 t := j.t
52 j.m.Unlock()
53
54 if t == nil {
55 return nil
56 }
57
58 t.Kill(nil)
59 return t.Wait()
60}
61
62func (j *Job) Run(ctx devspacecontext.Context, args []string, environ expand.Environ) error {
63 if ctx.IsDone() {

Callers

nothing calls this directly

Calls 4

LockMethod · 0.80
UnlockMethod · 0.80
KillMethod · 0.80
WaitMethod · 0.65

Tested by

no test coverage detected