summaryrefslogtreecommitdiff
path: root/libpod/image/config.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-12-23 18:01:32 +0100
committerGitHub <noreply@github.com>2019-12-23 18:01:32 +0100
commitd62fce0c873bdd1341af15eba4418ff83af7edba (patch)
tree9c4f9b09f18ffb47ecc50b6b5058e64c390ec57d /libpod/image/config.go
parentd43bff7cc6484927487ded4246e7625c8b42b5e8 (diff)
parent4f09cfdaccfdd0f1deb01e52c7e1b18a9cec7d49 (diff)
downloadpodman-d62fce0c873bdd1341af15eba4418ff83af7edba.tar.gz
podman-d62fce0c873bdd1341af15eba4418ff83af7edba.tar.bz2
podman-d62fce0c873bdd1341af15eba4418ff83af7edba.zip
Merge pull request #4743 from baude/imageresponse
add struct response for removal of images
Diffstat (limited to 'libpod/image/config.go')
-rw-r--r--libpod/image/config.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/libpod/image/config.go b/libpod/image/config.go
new file mode 100644
index 000000000..40e7fd496
--- /dev/null
+++ b/libpod/image/config.go
@@ -0,0 +1,8 @@
+package image
+
+// ImageDeleteResponse is the response for removing an image from storage and containers
+// what was untagged vs actually removed
+type ImageDeleteResponse struct {
+ Untagged []string `json:"untagged"`
+ Deleted string `json:"deleted"`
+}