spiegel_podman/pkg/api/handlers/compat
Valentin Rothberg 0f7d54b026 migrate Podman to containers/common/libimage
Migrate the Podman code base over to `common/libimage` which replaces
`libpod/image` and a lot of glue code entirely.

Note that I tried to leave bread crumbs for changed tests.

Miscellaneous changes:

 * Some errors yield different messages which required to alter some
   tests.

 * I fixed some pre-existing issues in the code.  Others were marked as
   `//TODO`s to prevent the PR from exploding.

 * The `NamesHistory` of an image is returned as is from the storage.
   Previously, we did some filtering which I think is undesirable.
   Instead we should return the data as stored in the storage.

 * Touched handlers use the ABI interfaces where possible.

 * Local image resolution: previously Podman would match "foo" on
   "myfoo".  This behaviour has been changed and Podman will now
   only match on repository boundaries such that "foo" would match
   "my/foo" but not "myfoo".  I consider the old behaviour to be a
   bug, at the very least an exotic corner case.

 * Futhermore, "foo:none" does *not* resolve to a local image "foo"
   without tag anymore.  It's a hill I am (almost) willing to die on.

 * `image prune` prints the IDs of pruned images.  Previously, in some
   cases, the names were printed instead.  The API clearly states ID,
   so we should stick to it.

 * Compat endpoint image removal with _force_ deletes the entire not
   only the specified tag.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-05-05 11:30:12 +02:00
..
auth.go fix use with localhost (testing) 2021-03-12 10:48:03 -08:00
changes.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers.go compat api: Networks must be empty instead of null 2021-05-04 11:25:12 +02:00
containers_archive.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_attach.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_create.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
containers_export.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_logs.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_pause.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_prune.go Containers prune endpoint should use only prune filters 2021-03-30 10:19:22 +02:00
containers_restart.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_start.go Add --requires flag to podman run/create 2021-04-06 14:01:31 -04:00
containers_stats.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_stop.go podman-remote stop -time 0 does not work 2021-03-05 10:39:17 -05:00
containers_top.go Trim white space from /top endpoint results 2021-03-30 10:42:06 -07:00
containers_unpause.go bump go module to v3 2021-02-22 09:03:51 +01:00
events.go Docker returns 'die' status rather then 'died' status 2021-04-28 15:56:19 -04:00
exec.go bump go module to v3 2021-02-22 09:03:51 +01:00
images.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_build.go Fix flake on failed podman-remote build : try 2 2021-04-14 16:51:13 -04:00
images_history.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_prune.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_push.go Correct compat images/{name}/push response 2021-03-07 02:38:01 +01:00
images_remove.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_save.go Refactor handler packages 2020-03-10 08:03:41 -07:00
images_search.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_tag.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
info.go bump go module to v3 2021-02-22 09:03:51 +01:00
networks.go Fix volumes and networks list/prune filters in http api 2021-03-19 00:09:29 +01:00
ping.go Jira RUN-1106 System handlers updates 2020-12-05 16:41:57 -07:00
resize.go Remove resize race condition 2021-03-26 15:15:17 -04:00
secrets.go Add version field to secret compat list/inspect api 2021-03-02 16:55:21 -05:00
swagger.go bump go module to v3 2021-02-22 09:03:51 +01:00
system.go bump go module to v3 2021-02-22 09:03:51 +01:00
types.go V2 verify JSON output is consistent and doesn't drift 2020-05-28 16:20:29 -07:00
unsupported.go bump go module to v3 2021-02-22 09:03:51 +01:00
version.go [NO TESTS NEEDED] Shrink the size of podman-remote 2021-03-29 09:49:45 -04:00
volumes.go Allow docker volume create API to pass without name 2021-04-27 10:32:06 -04:00