moby--moby/daemon/cluster
Sebastiaan van Stijn d733481399
daemon: daemon.ContainerKill() accept stop-signal as string
This allows the postContainersKill() handler to pass values as-is. As part of
the rewrite, I also moved the daemon.GetContainer(name) call later in the
function, so that we can fail early if an invalid signal is passed, before
doing the (heavier) fetching of the container.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-05 11:27:47 +02:00
..
controllers/plugin Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
convert Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
executor daemon: daemon.ContainerKill() accept stop-signal as string 2022-05-05 11:27:47 +02:00
provider Add canonical import comment 2018-02-05 16:51:57 -05:00
cluster.go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
configs.go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
filters.go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
filters_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
helpers.go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
listen_addr.go daemon/cluster: normalize comment formatting 2019-11-27 15:42:53 +01:00
listen_addr_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
listen_addr_others.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
networks.go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
noderunner.go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
nodes.go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
secrets.go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
services.go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
swarm.go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
tasks.go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00
utils.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00