MCPcopy Index your code
hub / github.com/containerd/containerd / Kill

Method Kill

integration/client/daemon.go:115–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113}
114
115func (d *daemon) Kill() error {
116 d.Lock()
117 defer d.Unlock()
118 if d.cmd == nil {
119 return errors.New("daemon is not running")
120 }
121 return d.cmd.Process.Kill()
122}
123
124func (d *daemon) Wait() error {
125 d.Lock()

Callers

nothing calls this directly

Calls 3

LockMethod · 0.65
UnlockMethod · 0.65
KillMethod · 0.65

Tested by

no test coverage detected