diff options
author | Toshiki Sonoda <sonoda.toshiki@fujitsu.com> | 2022-08-12 09:22:53 +0900 |
---|---|---|
committer | Toshiki Sonoda <sonoda.toshiki@fujitsu.com> | 2022-08-12 09:22:53 +0900 |
commit | 0dbbb1cb3f6ed2983105620bc49191e3b0436f37 (patch) | |
tree | 864cb7cf1adeeada7cb817e3e00c0f92b7fe995c /pkg/domain/entities/containers.go | |
parent | 0fc27ce9805ff1e8c4abd80bd711c60b4d75d3f3 (diff) | |
download | podman-0dbbb1cb3f6ed2983105620bc49191e3b0436f37.tar.gz podman-0dbbb1cb3f6ed2983105620bc49191e3b0436f37.tar.bz2 podman-0dbbb1cb3f6ed2983105620bc49191e3b0436f37.zip |
Add restart --cidfile, --filter
--cidfile : Read container ID from the specified file and restart the container.
--filter : restart the filtered container.
Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
Diffstat (limited to 'pkg/domain/entities/containers.go')
-rw-r--r-- | pkg/domain/entities/containers.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go index 3ba507750..91ccdc2b2 100644 --- a/pkg/domain/entities/containers.go +++ b/pkg/domain/entities/containers.go @@ -119,6 +119,7 @@ type KillReport struct { } type RestartOptions struct { + Filters map[string][]string All bool Latest bool Running bool @@ -126,8 +127,9 @@ type RestartOptions struct { } type RestartReport struct { - Err error - Id string //nolint:revive,stylecheck + Err error + Id string //nolint:revive,stylecheck + RawInput string } type RmOptions struct { |