automation-tests/pkg/api/server
Valentin Rothberg 84381df810 swagger: v2: libpod/images/{import,load,pull}
Note: this commit is merely adding swagger documentation and the golang
stubs and types for the proposed endpoints.  The implementation will
follow in separate individual changes in the future.

The ultimate goal is to prevent the libpod API from exposing the rather
complex /images/create endpoint from Docker and split it into easier to
implement, use and comprehend endpoints with a more narrow focus.

 # Import

Add the v2 swagger documentation for the libpod/images/import endpoint.
Note that we have intend to have separate backend and not mix it up with
load since import allows for specifying a URL instead of a local
tarball.

 # Load

Complete the v2 swagger documentation for the libpod/images/load
endpoint.  Note that we are accounting for future plans to be able to
load multiple images from one oci/docker archive by returning an array
of image-load responses.

Also move the (incomplete) implementation of the generic endpoint to the
corresponding package and create a stub for the libpod handler, which
will be implemented once there's an agreement on the proposed API.

 # Pull

Add the v2 swagger documentation for the libpod/images/pull endpoint.
Similar to the load endpoint, we return an array since more than one
image can be pulled when the `all-tags` parameter is set.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-04 10:45:54 +01:00
..
docs.go APIv2 review corrections #3 2020-01-25 15:09:09 -06:00
handler_api.go Initial commit on compatible API 2020-01-10 09:41:39 -06:00
listener_api.go Add service endpoint 2020-01-21 16:35:45 -06:00
register_auth.go Initial commit on compatible API 2020-01-10 09:41:39 -06:00
register_containers.go APIv2 review corrections #3 2020-01-25 15:09:09 -06:00
register_distribution.go Enable swagger validation for each PR 2020-01-22 15:17:14 -07:00
register_events.go Enable swagger validation for each PR 2020-01-22 15:17:14 -07:00
register_exec.go [CI:DOCS]add apiv2 endpoints for exec 2020-02-03 12:40:01 -06:00
register_healthcheck.go Enable swagger validation for each PR 2020-01-22 15:17:14 -07:00
register_images.go swagger: v2: libpod/images/{import,load,pull} 2020-02-04 10:45:54 +01:00
register_info.go Enable swagger validation for each PR 2020-01-22 15:17:14 -07:00
register_monitor.go Initial commit on compatible API 2020-01-10 09:41:39 -06:00
register_ping.go Update /_ping support 2020-02-03 11:57:54 -07:00
register_plugins.go Initial commit on compatible API 2020-01-10 09:41:39 -06:00
register_pods.go APIv2 review corrections #3 2020-01-25 15:09:09 -06:00
register_swarm.go address review comments before merge 2020-01-10 09:47:19 -06:00
register_system.go Initial commit on compatible API 2020-01-10 09:41:39 -06:00
register_version.go [CI:DOCS]Binding overhauls 2020-01-28 08:42:18 -06:00
register_volumes.go Enable swagger validation for each PR 2020-01-22 15:17:14 -07:00
server.go [CI:DOCS]add apiv2 endpoints for exec 2020-02-03 12:40:01 -06:00
swagger.go [CI:DOCS]add apiv2 endpoints for exec 2020-02-03 12:40:01 -06:00