diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-12-23 18:01:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-23 18:01:32 +0100 |
commit | d62fce0c873bdd1341af15eba4418ff83af7edba (patch) | |
tree | 9c4f9b09f18ffb47ecc50b6b5058e64c390ec57d /cmd/podman/varlink/io.podman.varlink | |
parent | d43bff7cc6484927487ded4246e7625c8b42b5e8 (diff) | |
parent | 4f09cfdaccfdd0f1deb01e52c7e1b18a9cec7d49 (diff) | |
download | podman-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 'cmd/podman/varlink/io.podman.varlink')
-rw-r--r-- | cmd/podman/varlink/io.podman.varlink | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink index 2251050c3..1bacd2de6 100644 --- a/cmd/podman/varlink/io.podman.varlink +++ b/cmd/podman/varlink/io.podman.varlink @@ -18,6 +18,11 @@ type StringResponse ( message: string ) +type RemoveImageResponse ( + untagged: []string, + deleted: string +) + type LogLine ( device: string, parseLogType : string, @@ -867,6 +872,11 @@ method TagImage(name: string, tagged: string) -> (image: string) # ~~~ method RemoveImage(name: string, force: bool) -> (image: string) +# RemoveImageWithResponse takes the name or ID of an image as well as a boolean that determines if containers using that image +# should be deleted. If the image cannot be found, an [ImageNotFound](#ImageNotFound) error will be returned. The reponse is +# in the form of a RemoveImageResponse . +method RemoveImageWithResponse(name: string, force: bool) -> (response: RemoveImageResponse) + # SearchImages searches available registries for images that contain the # contents of "query" in their name. If "limit" is given, limits the amount of # search results per registry. |