summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_images.go
diff options
context:
space:
mode:
authorJelle van der Waa <jvanderwaa@redhat.com>2021-09-14 21:36:24 +0200
committerJelle van der Waa <jvanderwaa@redhat.com>2021-09-14 21:54:06 +0200
commit64de4f612ec20576fd5b73cb6cb2eabf3e9ab61d (patch)
tree15976104b4e08e18510835f467cd3bbdde7b554f /pkg/api/server/register_images.go
parent20daae1de93c1a73f454f3f3ba04bba03a348f81 (diff)
downloadpodman-64de4f612ec20576fd5b73cb6cb2eabf3e9ab61d.tar.gz
podman-64de4f612ec20576fd5b73cb6cb2eabf3e9ab61d.tar.bz2
podman-64de4f612ec20576fd5b73cb6cb2eabf3e9ab61d.zip
Document `all` query parameter for /libpod/images/prune
Signed-off-by: Jelle van der Waa <jvanderwaa@redhat.com>
Diffstat (limited to 'pkg/api/server/register_images.go')
-rw-r--r--pkg/api/server/register_images.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index 2630acac2..95981226c 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -1038,6 +1038,12 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// description: Remove images that are not being used by a container
// parameters:
// - in: query
+ // name: all
+ // default: false
+ // type: boolean
+ // description: |
+ // Remove all images not in use by containers, not just dangling ones
+ // - in: query
// name: filters
// type: string
// description: |