Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
115
func
(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
124
func
(d *daemon) Wait() error {
125
d.Lock()
Callers
nothing calls this directly
Calls
3
Lock
Method · 0.65
Unlock
Method · 0.65
Kill
Method · 0.65
Tested by
no test coverage detected