MCPcopy
hub / github.com/containerd/containerd / Stop

Method Stop

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

Source from the content-addressed store, hash-verified

104}
105
106func (d *daemon) Stop() error {
107 d.Lock()
108 defer d.Unlock()
109 if d.cmd == nil {
110 return errors.New("daemon is not running")
111 }
112 return d.cmd.Process.Signal(syscall.SIGTERM)
113}
114
115func (d *daemon) Kill() error {
116 d.Lock()

Callers

nothing calls this directly

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected