containerd/cmd/ctr/commands/tasks
Samuel Karp 607888ce29 ctr: make kill use stop-signal by default
The OCI image specification includes a `StopSignal` field in the image
configuration, denoting the system call signal to be sent to the
container to exit.  This commit adds a new `WithImageStopSignal` container
option that can be used for storing the `StopSignal` field as a label on
the container.  This commit also adjusts `ctr run` to call
`WithImageStopSignal` and `ctr tasks kill` to send the signal stored in
that label by default.

Signed-off-by: Samuel Karp <skarp@amazon.com>
2018-09-27 15:53:38 -07:00
..
attach.go Licence header added 2018-02-19 10:32:26 +09:00
checkpoint.go task: WithExit() doesn't have to overwrite existing options 2018-07-20 13:19:05 -07:00
delete.go Add cio.Load for loading io set 2018-06-26 11:48:26 -04:00
exec.go Licence header added 2018-02-19 10:32:26 +09:00
kill.go ctr: make kill use stop-signal by default 2018-09-27 15:53:38 -07:00
list.go Update ctr tasks list usage for quiet flag 2018-04-23 14:53:35 -04:00
metrics.go metrics: add optional json output 2018-07-27 15:21:08 -07:00
pause.go Licence header added 2018-02-19 10:32:26 +09:00
ps.go Licence header added 2018-02-19 10:32:26 +09:00
resume.go Licence header added 2018-02-19 10:32:26 +09:00
start.go add -detach flag for 'ctr t start' 2018-08-27 18:43:56 +08:00
tasks_unix.go Copy io into and out of console 2018-08-22 14:04:17 -04:00
tasks_windows.go Copy io into and out of console 2018-08-22 14:04:17 -04:00
tasks.go Licence header added 2018-02-19 10:32:26 +09:00