diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-01-20 17:13:54 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-01-27 09:27:25 -0500 |
commit | 84f7bdc4dbadee3101f61c7953b13e48de158093 (patch) | |
tree | 23abdd3e78f868bc40d5be7d2420cc459eccd6da /pkg/api/server/register_images.go | |
parent | 179b9d1745db19cb420b0a8f8d6afa4dfc07dd91 (diff) | |
download | podman-84f7bdc4dbadee3101f61c7953b13e48de158093.tar.gz podman-84f7bdc4dbadee3101f61c7953b13e48de158093.tar.bz2 podman-84f7bdc4dbadee3101f61c7953b13e48de158093.zip |
Switch podman image push handlers to use abi
Change API Handlers to use the same functions that the
local podman uses.
At the same time:
Cleanup and pass proper bindings. Remove cli options from
podman-remote push. Cleanup manifest push.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/api/server/register_images.go')
-rw-r--r-- | pkg/api/server/register_images.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go index d76f811e9..2ce0829b4 100644 --- a/pkg/api/server/register_images.go +++ b/pkg/api/server/register_images.go @@ -235,6 +235,18 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error { // name: tag // type: string // description: The tag to associate with the image on the registry. + // - in: query + // name: all + // type: boolean + // description: All indicates whether to push all images related to the image list + // - in: query + // name: compress + // type: boolean + // description: use compression on image + // - in: query + // name: destination + // type: string + // description: destination name for the image being pushed // - in: header // name: X-Registry-Auth // type: string |