summaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-08-12 09:22:53 +0900
committerToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-08-12 09:22:53 +0900
commit0dbbb1cb3f6ed2983105620bc49191e3b0436f37 (patch)
tree864cb7cf1adeeada7cb817e3e00c0f92b7fe995c /pkg/domain/entities
parent0fc27ce9805ff1e8c4abd80bd711c60b4d75d3f3 (diff)
downloadpodman-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')
-rw-r--r--pkg/domain/entities/containers.go6
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 {