summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/containers.go
diff options
context:
space:
mode:
authorToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-07-30 09:28:22 +0900
committerToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-07-30 10:59:59 +0900
commit53ec479685a7636a1bcc75bf3a88fbf7d95ba72a (patch)
tree644ccd7c975901490fadb085950710ad3d83195d /pkg/domain/entities/containers.go
parentfed326d8a6f8d4f7dc490099b29d51fc1754789f (diff)
downloadpodman-53ec479685a7636a1bcc75bf3a88fbf7d95ba72a.tar.gz
podman-53ec479685a7636a1bcc75bf3a88fbf7d95ba72a.tar.bz2
podman-53ec479685a7636a1bcc75bf3a88fbf7d95ba72a.zip
Add rm --filter option
--filter : remove 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.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go
index df793034b..7048cd1d2 100644
--- a/pkg/domain/entities/containers.go
+++ b/pkg/domain/entities/containers.go
@@ -131,6 +131,7 @@ type RestartReport struct {
}
type RmOptions struct {
+ Filters map[string][]string
All bool
Depend bool
Force bool