summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-01-08 15:05:06 +0100
committerGitHub <noreply@github.com>2020-01-08 15:05:06 +0100
commit27caffbb240725255485deaaecd548663adbf1fd (patch)
treeaa6bb260b836f8cb534cd494e953b781dffc57bd /API.md
parent0b9dd1a1a0e967e87c242c865cd244f90cb740e1 (diff)
parent40b74e02b77e83c377fdae83f626f83403b38152 (diff)
downloadpodman-27caffbb240725255485deaaecd548663adbf1fd.tar.gz
podman-27caffbb240725255485deaaecd548663adbf1fd.tar.bz2
podman-27caffbb240725255485deaaecd548663adbf1fd.zip
Merge pull request #4712 from openSUSE/untag-command
Add `untag` sub-command
Diffstat (limited to 'API.md')
-rwxr-xr-xAPI.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/API.md b/API.md
index 469dbaa1b..05b08dc6f 100755
--- a/API.md
+++ b/API.md
@@ -185,6 +185,8 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in
[func UnpausePod(name: string) string](#UnpausePod)
+[func UntagImage(name: string, tag: string) string](#UntagImage)
+
[func VolumeCreate(options: VolumeCreateOpts) string](#VolumeCreate)
[func VolumeRemove(options: VolumeRemoveOpts) []string, map[string]](#VolumeRemove)
@@ -1234,6 +1236,14 @@ $ varlink call -m unix:/run/podman/io.podman/io.podman.UnpausePod '{"name": "foo
"pod": "1840835294cf076a822e4e12ba4152411f131bd869e7f6a4e8b16df9b0ea5c7f"
}
~~~
+### <a name="UntagImage"></a>func UntagImage
+<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;">
+
+method UntagImage(name: [string](https://godoc.org/builtin#string), tag: [string](https://godoc.org/builtin#string)) [string](https://godoc.org/builtin#string)</div>
+UntagImage takes the name or ID of an image in local storage as well as the
+tag name to be removed. If the image cannot be found, an
+[ImageNotFound](#ImageNotFound) error will be returned; otherwise, the ID of
+the image is returned on success.
### <a name="VolumeCreate"></a>func VolumeCreate
<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;">