spiegel_podman/pkg
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
..
adapter sigproxy: return after closing the channel 2020-01-31 16:13:00 +01:00
annotations Add ContainerManager annotation to created containers 2019-09-10 09:37:14 +02:00
api swagger: v2: libpod/images/{import,load,pull} 2020-02-04 10:45:54 +01:00
apparmor apparmor: allow receiving of signals from 'podman kill' 2020-01-24 15:34:47 +01:00
bindings fix longname handling for bindings 2020-01-31 08:38:25 -06:00
cgroups Use cgroupv2 super magic from golang.org/x/sys/unix 2020-01-21 16:08:29 +01:00
channelwriter account for varlink calls that dont use more 2019-07-10 08:50:05 -05:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
errorhandling first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
hooks make lint: include unit tests 2020-01-14 10:51:59 +01:00
inspect inspect image healthchecks 2020-01-27 08:36:25 -06:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
logs first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
lookup execuser: look at the source for /etc/{passwd,group} overrides 2019-09-21 22:11:09 +02:00
namespaces namespaces: by default create cgroupns on cgroups v2 2019-11-05 17:29:01 +01:00
netns network: hide EPERM warning when rootless 2019-10-01 08:51:58 +02:00
network display file name of bad cni conf 2020-01-28 16:21:59 -06:00
registrar Update registrar unit tests to match them of cri-o 2019-04-04 08:53:32 +02:00
registries podman: mirror information 2019-12-12 19:53:46 -03:00
resolvconf Use host's resolv.conf if no network namespace enabled 2018-11-27 15:28:09 -05:00
rootless rootless: enable shortcut only for podman 2020-01-29 16:16:36 -06:00
rootlessport rootlessport: honor ctr.runtime.config.TmpDir 2020-01-09 14:06:33 +09:00
spec podman: add new option --cgroups=no-conmon 2020-01-16 18:56:51 +01:00
sysinfo Setup a reasonable default for pids-limit 4096 2019-10-04 16:09:13 -04:00
systemdgen systemdgen: specify --cgroups=disabled-conmon for --new 2020-01-16 18:59:09 +01:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
tracing make lint: include pkg/tracing 2020-01-14 09:54:48 +01:00
trust codespell: spelling corrections 2019-11-13 08:15:00 +11:00
util camelcase: fix lint reports 2020-01-25 09:48:37 +01:00
varlinkapi Initial commit on compatible API 2020-01-10 09:41:39 -06:00