diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-08-03 17:23:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 17:23:07 +0000 |
commit | 5fc7339aa1f383828a2f4949b0d9b8a7553374d7 (patch) | |
tree | f71f3f817d04cae5a51373264e8eda84863f28a7 /pkg/domain/entities | |
parent | c1a38eb773af07b1f84a2b3f1780b216c4278e15 (diff) | |
parent | 53ec479685a7636a1bcc75bf3a88fbf7d95ba72a (diff) | |
download | podman-5fc7339aa1f383828a2f4949b0d9b8a7553374d7.tar.gz podman-5fc7339aa1f383828a2f4949b0d9b8a7553374d7.tar.bz2 podman-5fc7339aa1f383828a2f4949b0d9b8a7553374d7.zip |
Merge pull request #15084 from sstosh/rm-filter
Add rm --filter option
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r-- | pkg/domain/entities/containers.go | 1 | ||||
-rw-r--r-- | pkg/domain/entities/reports/containers.go | 5 |
2 files changed, 4 insertions, 2 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 diff --git a/pkg/domain/entities/reports/containers.go b/pkg/domain/entities/reports/containers.go index db9a66012..6759fc402 100644 --- a/pkg/domain/entities/reports/containers.go +++ b/pkg/domain/entities/reports/containers.go @@ -1,8 +1,9 @@ package reports type RmReport struct { - Id string `json:"Id"` //nolint:revive,stylecheck - Err error `json:"Err,omitempty"` + Id string `json:"Id"` //nolint:revive,stylecheck + Err error `json:"Err,omitempty"` + RawInput string } func RmReportsIds(r []*RmReport) []string { |