spiegel_podman/cmd/podman/containers
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
..
attach.go bump go module to v3 2021-02-22 09:03:51 +01:00
checkpoint.go bump go module to v3 2021-02-22 09:03:51 +01:00
cleanup.go bump go module to v3 2021-02-22 09:03:51 +01:00
commit.go bump go module to v3 2021-02-22 09:03:51 +01:00
container.go bump go module to v3 2021-02-22 09:03:51 +01:00
cp.go podman cp: fix copying to a non-existent dir 2021-03-09 09:02:14 +01:00
create.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
diff.go Add go template shell completion for --format 2021-04-22 00:31:08 +02:00
exec.go bump go module to v3 2021-02-22 09:03:51 +01:00
exists.go bump go module to v3 2021-02-22 09:03:51 +01:00
export.go bump go module to v3 2021-02-22 09:03:51 +01:00
init.go bump go module to v3 2021-02-22 09:03:51 +01:00
inspect.go Add go template shell completion for --format 2021-04-22 00:31:08 +02:00
kill.go bump go module to v3 2021-02-22 09:03:51 +01:00
list.go bump go module to v3 2021-02-22 09:03:51 +01:00
logs.go bump go module to v3 2021-02-22 09:03:51 +01:00
mount.go Add go template shell completion for --format 2021-04-22 00:31:08 +02:00
pause.go bump go module to v3 2021-02-22 09:03:51 +01:00
port.go bump go module to v3 2021-02-22 09:03:51 +01:00
prune.go bump go module to v3 2021-02-22 09:03:51 +01:00
ps.go Add go template shell completion for --format 2021-04-22 00:31:08 +02:00
rename.go bump go module to v3 2021-02-22 09:03:51 +01:00
restart.go bump go module to v3 2021-02-22 09:03:51 +01:00
restore.go bump go module to v3 2021-02-22 09:03:51 +01:00
rm.go bump go module to v3 2021-02-22 09:03:51 +01:00
run.go hide conmon-pidfile flag on remote mode 2021-04-16 23:10:19 +08:00
runlabel.go bump go module to v3 2021-02-22 09:03:51 +01:00
start.go Add --all to podman start 2021-05-03 22:17:06 +03:00
stats.go Add go template shell completion for --format 2021-04-22 00:31:08 +02:00
stop.go Add podman run --timeout option 2021-04-23 11:18:05 -04:00
top.go bump go module to v3 2021-02-22 09:03:51 +01:00
unmount.go bump go module to v3 2021-02-22 09:03:51 +01:00
unpause.go bump go module to v3 2021-02-22 09:03:51 +01:00
utils.go Podman V2 birth 2020-04-16 15:53:58 -05:00
wait.go bump go module to v3 2021-02-22 09:03:51 +01:00