diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-01-20 17:13:54 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-02-08 13:58:49 -0500 |
commit | 7819e49353b58fe87bdb74c33b2d999e3a7b563e (patch) | |
tree | 5cdd06447a25418b58c92efc5c7ea9a0a1edac61 /pkg/api/server | |
parent | 0838a9414d8949cd4b30bb2574c0994eb2e0b8cf (diff) | |
download | podman-7819e49353b58fe87bdb74c33b2d999e3a7b563e.tar.gz podman-7819e49353b58fe87bdb74c33b2d999e3a7b563e.tar.bz2 podman-7819e49353b58fe87bdb74c33b2d999e3a7b563e.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')
-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 8f072c427..b973095a4 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 |