spiegel_podman/pkg/api/handlers/libpod
Paul Holzinger bcb7edfded
remote API: restore v4 payload in container inspect
The v5 API made a breaking change for podman inspect, this means that
an old client could not longer parse the result from the new 5.X server.
The other way around new client and old server already worked.

As it turned out there were several users that run into this, one case
to hit this is using an old 4.X podman machine wich now pulls a newer
coreos with podman 5.0. But there are also other users running into it.
In order to keep the API working we now have a version check and return
the old v4 compatible payload so the old remote client can still work
against a newer server thus removing any major breaking change for an
old client.

Fixes #22657

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-05-14 17:56:20 +02:00
..
containers.go remote API: restore v4 payload in container inspect 2024-05-14 17:56:20 +02:00
containers_create.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
containers_stats.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
generate.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
healthcheck.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
images.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
images_pull.go Allow podman pull to specify --retry and --retry-delay 2024-02-17 07:37:26 -05:00
images_push.go Add support for podman push --retry --retry-delay 2024-02-29 10:20:21 -05:00
info.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
kube.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
manifests.go podman manifest add: support creating artifact manifest on the fly 2024-02-29 11:47:44 -05:00
networks.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
play.go Add "podman kube play" cmd 2022-07-13 15:27:03 +01:00
pods.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
secrets.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
swagger_spec.go pkg/api: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00
system.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
volumes.go Bump Go module to v5 2024-02-08 09:35:39 -05:00