summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorKunal Kushwaha <kunal.kushwaha@gmail.com>2019-11-14 17:30:46 +0900
committerKunal Kushwaha <kunal.kushwaha@gmail.com>2019-11-22 17:36:27 +0900
commit5082496cc05a11d72e8658cce857523df41c203f (patch)
tree7a0df9ec7788943e423087d2b95609b398c96e83 /API.md
parentc200583f31d624fb42897d4083edc611b40a93d5 (diff)
downloadpodman-5082496cc05a11d72e8658cce857523df41c203f.tar.gz
podman-5082496cc05a11d72e8658cce857523df41c203f.tar.bz2
podman-5082496cc05a11d72e8658cce857523df41c203f.zip
filter added to image pruge command.
filter option accepts two filters. - label - until label supports "label=value" or "label=key=value" format until supports all golang compatible time/duration formats. Signed-off-by: Kunal Kushwaha <kunal.kushwaha@gmail.com>
Diffstat (limited to 'API.md')
-rwxr-xr-xAPI.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/API.md b/API.md
index d96ea6cd0..c288e6b28 100755
--- a/API.md
+++ b/API.md
@@ -95,7 +95,7 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in
[func ImageSave(options: ImageSaveOptions) MoreResponse](#ImageSave)
-[func ImagesPrune(all: bool) []string](#ImagesPrune)
+[func ImagesPrune(all: bool, filter: []string) []string](#ImagesPrune)
[func ImportImage(source: string, reference: string, message: string, changes: []string, delete: bool) string](#ImportImage)
@@ -766,7 +766,7 @@ ImageSave allows you to save an image from the local image storage to a tarball
### <a name="ImagesPrune"></a>func ImagesPrune
<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;">
-method ImagesPrune(all: [bool](https://godoc.org/builtin#bool)) [[]string](#[]string)</div>
+method ImagesPrune(all: [bool](https://godoc.org/builtin#bool), filter: [[]string](#[]string)) [[]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