summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/images.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-28 07:34:12 -0400
committerGitHub <noreply@github.com>2021-09-28 07:34:12 -0400
commitf2ffb96eb317012e94258a242f6dc907acd22c40 (patch)
treede48efeabf92b80e8cc69c456f33908124630769 /pkg/domain/entities/images.go
parent340166876eab09d3e363647213f162864a95d270 (diff)
parenta9a54eefab34b25628906a786d6c4ca302f743b1 (diff)
downloadpodman-f2ffb96eb317012e94258a242f6dc907acd22c40.tar.gz
podman-f2ffb96eb317012e94258a242f6dc907acd22c40.tar.bz2
podman-f2ffb96eb317012e94258a242f6dc907acd22c40.zip
Merge pull request #11737 from vrothberg/fix-11472
image prune: support removing external containers
Diffstat (limited to 'pkg/domain/entities/images.go')
-rw-r--r--pkg/domain/entities/images.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go
index 80d570764..2822b1ad7 100644
--- a/pkg/domain/entities/images.go
+++ b/pkg/domain/entities/images.go
@@ -251,8 +251,9 @@ type ImageListOptions struct {
}
type ImagePruneOptions struct {
- All bool `json:"all" schema:"all"`
- Filter []string `json:"filter" schema:"filter"`
+ All bool `json:"all" schema:"all"`
+ External bool `json:"external" schema:"external"`
+ Filter []string `json:"filter" schema:"filter"`
}
type ImageTagOptions struct{}