diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-01-20 17:13:54 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-01-29 14:04:44 -0500 |
commit | 073f76c1327d296360caa04ef7d751dd00ef5a53 (patch) | |
tree | a67939035cf627e6548f70c6643a520dc8241817 /pkg/domain/entities/containers.go | |
parent | 8f3bcf62474bbfba26982bae88febecd4fa630c2 (diff) | |
download | podman-073f76c1327d296360caa04ef7d751dd00ef5a53.tar.gz podman-073f76c1327d296360caa04ef7d751dd00ef5a53.tar.bz2 podman-073f76c1327d296360caa04ef7d751dd00ef5a53.zip |
Switch podman stop/kill/wait handlers to use abi
Change API Handlers to use the same functions that the
local podman uses.
At the same time:
implement remote API for --all and --ignore flags for podman stop
implement remote API for --all flags for podman stop
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/domain/entities/containers.go')
-rw-r--r-- | pkg/domain/entities/containers.go | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go index 2c32f792f..63be5578f 100644 --- a/pkg/domain/entities/containers.go +++ b/pkg/domain/entities/containers.go @@ -81,11 +81,10 @@ type PauseUnpauseReport struct { } type StopOptions struct { - All bool - CIDFiles []string - Ignore bool - Latest bool - Timeout *uint + All bool + Ignore bool + Latest bool + Timeout *uint } type StopReport struct { @@ -104,10 +103,9 @@ type TopOptions struct { } type KillOptions struct { - All bool - Latest bool - Signal string - CIDFiles []string + All bool + Latest bool + Signal string } type KillReport struct { |