summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorcdoern <cbdoer23@g.holycross.edu>2021-06-11 15:34:06 -0400
committercdoern <cdoern@redhat.com>2021-08-09 14:17:08 -0400
commit12ac4198caa0e0493f22b6f611023266449253d8 (patch)
treec8c9bf192759cc075fd0f968dc0eae6ad526de59 /pkg/api/server
parent04ab2b16617fe2d3178eb0b461aacbcab609611e (diff)
downloadpodman-12ac4198caa0e0493f22b6f611023266449253d8.tar.gz
podman-12ac4198caa0e0493f22b6f611023266449253d8.tar.bz2
podman-12ac4198caa0e0493f22b6f611023266449253d8.zip
Libpod images pull changes
Added quiet param to docs to limit stream output. Formatted JSON. fixes #10612 Signed-off-by: cdoern <cbdoer23@g.holycross.edu> Signed-off-by: cdoern <cdoern@redhat.com>
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/register_images.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index 2103c093c..1c61f7f84 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -962,6 +962,15 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// description: "Mandatory reference to the image (e.g., quay.io/image/name:tag)"
// type: string
// - in: query
+ // name: quiet
+ // description: "silences extra stream data on pull"
+ // type: boolean
+ // default: false
+ // - in: query
+ // name: credentials
+ // description: "username:password for the registry"
+ // type: string
+ // - in: query
// name: Arch
// description: Pull image for the specified architecture.
// type: string