summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-01-11 06:18:29 -0800
committerGitHub <noreply@github.com>2019-01-11 06:18:29 -0800
commit28c35cab8750f379a418e87ed6bd874a12ec158d (patch)
treed36fc6dc22b1461494e99268b2999344de7baafa /API.md
parent9368c24be6f289d21a0065df24471268ead59664 (diff)
parent7459c48863acea8453e0800124006a90ca82f646 (diff)
downloadpodman-28c35cab8750f379a418e87ed6bd874a12ec158d.tar.gz
podman-28c35cab8750f379a418e87ed6bd874a12ec158d.tar.bz2
podman-28c35cab8750f379a418e87ed6bd874a12ec158d.zip
Merge pull request #2135 from baude/varlinkprune
Add varlink support for prune
Diffstat (limited to 'API.md')
-rwxr-xr-xAPI.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/API.md b/API.md
index 3722c2864..0cbdffea4 100755
--- a/API.md
+++ b/API.md
@@ -57,6 +57,8 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in
[func ImageExists(name: string) int](#ImageExists)
+[func ImagesPrune() []string](#ImagesPrune)
+
[func ImportImage(source: string, reference: string, message: string, changes: []string) string](#ImportImage)
[func InspectContainer(name: string) string](#InspectContainer)
@@ -543,6 +545,12 @@ $ varlink call -m unix:/run/podman/io.podman/io.podman.ImageExists '{"name": "im
"exists": 1
}
~~~
+### <a name="ImagesPrune"></a>func ImagesPrune
+<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;">
+
+method ImagesPrune() [[]string](#[]string)</div>
+ImagesPrune removes all unused images from the local store. Upon successful pruning,
+the IDs of the removed images are returned.
### <a name="ImportImage"></a>func ImportImage
<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;">