MCPcopy
hub / github.com/opencontainers/runc / terminate

Method terminate

libcontainer/process_linux.go:47–47  ·  view source on GitHub ↗

send a SIGKILL to the process and wait for the exit.

()

Source from the content-addressed store, hash-verified

45
46 // send a SIGKILL to the process and wait for the exit.
47 terminate() error
48
49 // wait waits on the process returning the process state.
50 wait() (*os.ProcessState, error)

Callers 3

startMethod · 0.65
startMethod · 0.65
startMethod · 0.65

Implementers 3

restoredProcesslibcontainer/restored_process.go
nonChildProcesslibcontainer/restored_process.go
mockProcesslibcontainer/container_linux_test.go

Calls

no outgoing calls

Tested by

no test coverage detected