spiegel_podman/pkg/api/handlers/libpod
Ashley Cui 61deec451f Add pod, volume, network to inspect package
podman inspect only had the capabilities to inspect containers and images. if a user wanted to inspect a pod, volume, or network, they would have to use `podman network inspect`, `podman pod inspect` etc. Docker's cli allowed users to inspect both volumes and networks using regular inspect, so this commit gives the user the functionality

If the inspect type is not specified using --type, the order of inspection is:

containers
images
volumes
networks
pods

meaning if container that has the same name as an image, podman inspect would return the container inspect.

To avoid duplicate code, podman network inspect and podman volume inspect now use the inspect package as well. Podman pod inspect does not because podman pod inspect returns a single json object while podman inspect can return multiple)

Signed-off-by: Ashley Cui <acui@redhat.com>
2020-10-27 14:42:54 -04:00
..
containers.go Add support for external container 2020-10-15 09:51:31 -04:00
containers_create.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
containers_stats.go Lowercase some errors 2020-10-05 15:56:44 -07:00
copy.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
generate.go APIv2 add generate systemd endpoint 2020-09-02 22:06:19 +02:00
healthcheck.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
images.go save image remove signatures 2020-10-21 10:00:08 -04:00
images_pull.go Lowercase some errors 2020-10-05 15:56:44 -07:00
info.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
manifests.go fix allowing inspect manifest of non-local image 2020-09-30 14:12:32 -04:00
networks.go Add pod, volume, network to inspect package 2020-10-27 14:42:54 -04:00
play.go Lowercase some errors 2020-10-05 15:56:44 -07:00
pods.go Move pod jobs to parallel execution 2020-10-07 10:00:11 -04:00
swagger.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
system.go Lowercase some errors 2020-10-05 15:56:44 -07:00
volumes.go Lowercase some errors 2020-10-05 15:56:44 -07:00