diff options
author | Toshiki Sonoda <sonoda.toshiki@fujitsu.com> | 2022-07-20 19:30:11 +0900 |
---|---|---|
committer | Toshiki Sonoda <sonoda.toshiki@fujitsu.com> | 2022-07-20 19:30:11 +0900 |
commit | 9b152ef20e9cadf61547897ae21071098256bf79 (patch) | |
tree | c44dcb3afbf32da6a7400716595d171bb9467410 /pkg/domain/entities | |
parent | 8c9eff5b12eebe318be1f905562be6a236285caa (diff) | |
download | podman-9b152ef20e9cadf61547897ae21071098256bf79.tar.gz podman-9b152ef20e9cadf61547897ae21071098256bf79.tar.bz2 podman-9b152ef20e9cadf61547897ae21071098256bf79.zip |
Add pause/unpause --latest, --cidfile, --filter
--latest : pause/unpause the latest container.
--filter : pause/unpause the filtered container.
--cidfile : Read container ID from the specified file and pause/unpause the container.
Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r-- | pkg/domain/entities/containers.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go index 934a7cbdc..df793034b 100644 --- a/pkg/domain/entities/containers.go +++ b/pkg/domain/entities/containers.go @@ -71,12 +71,15 @@ type StringSliceReport struct { } type PauseUnPauseOptions struct { - All bool + Filters map[string][]string + All bool + Latest bool } type PauseUnpauseReport struct { - Err error - Id string //nolint:revive,stylecheck + Err error + Id string //nolint:revive,stylecheck + RawInput string } type StopOptions struct { |