spiegel_podman/pkg
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
..
annotations Add ContainerManager annotation to created containers 2019-09-10 09:37:14 +02:00
api Add pod, volume, network to inspect package 2020-10-27 14:42:54 -04:00
auth Add X-Registry-Config support 2020-09-29 08:46:44 -07:00
autoupdate Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
bindings Merge pull request #7908 from rhatdan/diff 2020-10-19 02:49:27 -04:00
cgroups pkg/cgroups/createCgroupv2Path: nits 2020-10-05 15:57:57 -07:00
channel fix closed the remote connection on pull causes service panic 2020-10-03 11:38:38 +08:00
checkpoint Lowercase some errors 2020-10-05 15:56:44 -07:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
domain Add pod, volume, network to inspect package 2020-10-27 14:42:54 -04:00
env Ensure DefaultEnvVariables is used in Specgen 2020-08-18 15:17:46 -04:00
errorhandling remote run: fix error checks 2020-09-11 12:41:15 +02:00
hooks pkg/hooks: support all hooks 2020-09-22 14:44:09 +02:00
inspect Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
lookup Turn on More linters 2020-06-15 07:05:56 -04:00
namespaces [CI:DOCS] BZ1860126 - Fix userns defaults in run man page 2020-08-07 15:42:13 -04:00
netns Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
parallel Move pod jobs to parallel execution 2020-10-07 10:00:11 -04:00
ps Fix podman-remote ps --ns broken 2020-10-04 19:48:13 +08:00
registrar Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
registries pkg/registries: add a retiring note 2020-09-30 16:30:41 +02:00
resolvconf Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
rootless Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
rootlessport rootlessport: use two different channels 2020-04-29 12:35:23 +02:00
seccomp apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal Turn on More linters 2020-06-15 07:05:56 -04:00
spec Convert Split() calls with an equal sign to SplitN() 2020-10-13 19:30:08 -04:00
specgen container create: record correct image name 2020-10-21 16:51:09 +02:00
systemd Refactor version handling in cmd tree 2020-09-18 15:13:58 -07:00
terminal Set console mode for windows 2020-06-29 09:17:55 -05:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
tracing make lint: include pkg/tracing 2020-01-14 09:54:48 +01:00
trust Lowercase some errors 2020-10-05 15:56:44 -07:00
util The cidfile should be created when the container is created 2020-10-26 05:53:26 -04:00
varlink Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
varlinkapi save image remove signatures 2020-10-21 10:00:08 -04:00