summaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-27 18:47:51 +0100
committerGitHub <noreply@github.com>2020-03-27 18:47:51 +0100
commit2c5c1980200806d2a0dde375564b505b9150e645 (patch)
treec14f1a085aebf15cd1f49aa3b64fdb022cf9bba0 /pkg/domain/entities
parent4233250c430a8f769048548b6ad6affd0d9e65e0 (diff)
parent581dd312af6ada92b96e16dd95d45967bde5fd8a (diff)
downloadpodman-2c5c1980200806d2a0dde375564b505b9150e645.tar.gz
podman-2c5c1980200806d2a0dde375564b505b9150e645.tar.bz2
podman-2c5c1980200806d2a0dde375564b505b9150e645.zip
Merge pull request #5632 from jwhonce/wip/images
V2 podman image prune
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/images.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go
index 4a51b3de4..20af0356f 100644
--- a/pkg/domain/entities/images.go
+++ b/pkg/domain/entities/images.go
@@ -119,7 +119,7 @@ type ImageInspectOptions struct {
type ImageListOptions struct {
All bool `json:"all" schema:"all"`
- Filter []string `json:",omitempty"`
+ Filter []string `json:"Filter,omitempty"`
Filters url.Values `json:"filters" schema:"filters"`
}
@@ -128,8 +128,9 @@ type ImageListOptions struct {
// }
type ImagePruneOptions struct {
- All bool
- Filter ImageFilter
+ All bool `json:"all" schema:"all"`
+ Filter []string `json:"filter" schema:"filter"`
+ Filters url.Values `json:"filters" schema:"filters"`
}
type ImagePruneReport struct {