summaryrefslogtreecommitdiff
path: root/pkg/api
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-27 11:03:06 -0400
committerGitHub <noreply@github.com>2020-05-27 11:03:06 -0400
commit2a988a4d8279ac5d7e34fdaee18e6a9e120206d5 (patch)
tree5ffd740e805021bc3af88d3325548b7245b2cfa0 /pkg/api
parent89b4683cc4666f789ebc3d21453ef65e37775642 (diff)
parentd6fd0952f8d16b64cca6d8ec36f72dd7ba29591d (diff)
downloadpodman-2a988a4d8279ac5d7e34fdaee18e6a9e120206d5.tar.gz
podman-2a988a4d8279ac5d7e34fdaee18e6a9e120206d5.tar.bz2
podman-2a988a4d8279ac5d7e34fdaee18e6a9e120206d5.zip
Merge pull request #6403 from vrothberg/push-swagger
v2 libpod push: correct docs
Diffstat (limited to 'pkg/api')
-rw-r--r--pkg/api/server/register_images.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index c885dc81a..64094e8e4 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -631,13 +631,18 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// required: true
// description: Name of image to push.
// - in: query
- // name: tag
+ // name: destination
// type: string
- // description: The tag to associate with the image on the registry.
+ // description: Allows for pushing the image to a different destintation than the image refers to.
// - in: query
// name: credentials
// description: username:password for the registry.
// type: string
+ // - in: query
+ // name: tlsVerify
+ // description: Require TLS verification.
+ // type: boolean
+ // default: true
// - in: header
// name: X-Registry-Auth
// type: string