spiegel_podman/cmd/podman/common
Paul Holzinger d10e77e1bc
fix podman pod inspect to support multiple pods
Just like the other inspect commands `podman pod inspect p1 p2` should
return the json for both.

To correctly implement this we follow the container inspect logic, this
allows use to reuse the global inspect command.
Note: To not break the existing single pod output format for podman pod
inspect I added a pod-legacy inspect type. This is only used to make
sure we will print the pod as single json and not an array like for the
other commands. We cannot use the pod type since podman inspect --type
pod did return an array and we should not break that as well.

Fixes #15674

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-09-08 10:28:42 +02:00
..
completion.go Add "podman kube generate" command 2022-08-11 16:58:24 +01:00
completion_test.go golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
create.go implement podman update 2022-09-01 13:02:01 -04:00
create_opts.go podman pod clone 2022-06-10 14:23:19 -04:00
create_test.go linter: enable unconvert linter 2022-05-19 13:59:15 +02:00
default.go Support setting image_volume_mode in containers.conf 2022-05-26 14:16:26 -04:00
diffChanges.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
inspect.go fix podman pod inspect to support multiple pods 2022-09-08 10:28:42 +02:00
netflags.go Add Docker compatibility for --dns-option to --dns-opt 2022-08-15 07:38:08 -04:00
sign.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00