spiegel_podman/test/e2e
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
..
build fix podman cp can create an extra directory level 2020-06-15 23:56:45 +08:00
config Add --umask flag for create, run 2020-07-21 14:22:30 -04:00
hooks Add hooks support to podman 2018-04-05 14:13:49 +00:00
sign save image remove signatures 2020-10-21 10:00:08 -04:00
testdata support multi-image (docker) archives 2020-09-08 08:47:19 +02:00
attach_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
build_test.go Restore --format table support 2020-10-13 17:28:45 -07:00
checkpoint_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
commit_test.go e2e tests: SkipIfRemote(): add a reason 2020-09-23 08:09:31 -06:00
common_test.go Add pod, volume, network to inspect package 2020-10-27 14:42:54 -04:00
config.go tests/e2e: Add Toolbox-specific test cases 2020-10-09 16:32:47 +02:00
config_amd64.go Fix systemd pid 1 test 2020-07-13 17:11:26 -05:00
config_ppc64le.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
container_inspect_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
containers_conf_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
cp_test.go fix: podman-cp respects "--extract" flag 2020-10-25 15:58:36 +01:00
create_staticip_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
create_staticmac_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
create_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
diff_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
events_test.go Restore --format table support 2020-10-13 17:28:45 -07:00
exec_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
exists_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
export_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
generate_kube_test.go Add support for resource cpu limit to generate kube 2020-10-09 05:54:16 +07:00
generate_systemd_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
healthcheck_run_test.go Remove final v2remotefail failures 2020-09-23 14:50:22 -04:00
history_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
image_sign_test.go fix bug podman sign storage path 2020-08-04 15:10:47 -04:00
images_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
import_test.go Supports import&run--signature-policy 2020-09-15 16:09:33 -04:00
info_test.go Restore "table" --format from V1 2020-10-02 06:58:02 -07:00
init_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
inspect_test.go Add pod, volume, network to inspect package 2020-10-27 14:42:54 -04:00
kill_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
libpod_suite_remote_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
libpod_suite_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
libpod_suite_varlink_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
load_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
login_logout_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
logs_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
manifest_test.go fix allowing inspect manifest of non-local image 2020-09-30 14:12:32 -04:00
mount_rootless_test.go Add podman image mount 2020-07-28 10:27:44 -04:00
mount_test.go Attempt to test all Broken SkipIfRootless FIXME 2020-09-30 10:01:57 -04:00
namespace_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
negative_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
network_create_test.go Merge pull request #7943 from baude/issue7807 2020-10-07 13:56:56 -04:00
network_test.go Include CNI networks in inspect output when not running 2020-10-09 20:20:19 -04:00
pause_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
play_kube_test.go Make invalid image name error more specific 2020-10-19 10:06:17 -05:00
pod_create_test.go Retrieve network inspect info from dependency container 2020-10-20 13:27:33 -04:00
pod_infra_container_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
pod_inspect_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
pod_kill_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
pod_pause_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
pod_pod_namespaces.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
pod_prune_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
pod_ps_test.go Restore --format table... 2020-10-08 18:19:37 -07:00
pod_restart_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
pod_rm_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
pod_start_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
pod_stats_test.go Restore --format table... 2020-10-08 18:19:37 -07:00
pod_stop_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
pod_top_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
port_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
prune_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
ps_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
pull_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
push_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
restart_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
rm_test.go This PR allows users to remove external containers directly 2020-10-09 06:06:08 -04:00
rmi_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
run_apparmor_test.go Properly handle podman run --pull command 2020-09-27 07:25:28 -04:00
run_cgroup_parent_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_cleanup_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_cpu_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_device_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_dns_test.go Remove SkipIfRootless if possible, document other calls 2020-09-27 07:55:16 -04:00
run_entrypoint_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
run_env_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
run_exit_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
run_memory_test.go Attempt to test all Broken SkipIfRootless FIXME 2020-09-30 10:01:57 -04:00
run_networking_test.go Merge pull request #8053 from rhatdan/detachkeys 2020-10-22 16:29:28 -04:00
run_ns_test.go Specifying --ipc=host --pid=host is broken 2020-07-28 14:53:54 -04:00
run_passwd_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
run_privileged_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_restart_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
run_seccomp.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
run_security_labels.go replace net_raw with setuid 2020-10-22 12:18:04 -04:00
run_selinux_test.go Add SELinux support for pods 2020-10-02 15:14:18 -04:00
run_signal_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
run_staticip_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_test.go This PR allows users to remove external containers directly 2020-10-09 06:06:08 -04:00
run_userns_test.go libpod: read mappings when joining a container userns 2020-09-10 19:17:01 +02:00
run_volume_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
run_working_dir.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
runlabel_test.go Fix panic when runlabel is missing 2020-10-16 11:09:21 +08:00
save_test.go save image remove signatures 2020-10-21 10:00:08 -04:00
search_test.go --tls-verify and --authfile should work for all remote commands 2020-10-19 05:55:11 -04:00
start_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
stats_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
stop_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
system_connection_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
system_df_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
system_reset_test.go e2e tests: SkipIfRemote(): add a reason 2020-09-23 08:09:31 -06:00
systemd_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
tag_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
test.yaml Add support for RunAsUser and RunAsGroup 2019-11-06 10:35:37 -05:00
toolbox_test.go Tests: Fix common flakes, and improve apiv2 test log 2020-10-20 11:32:49 -06:00
top_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
tree_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
trust_test.go Fix podman image trust show --raw output 2020-10-15 19:04:57 +02:00
unshare_test.go e2e tests: SkipIfRemote(): add a reason 2020-09-23 08:09:31 -06:00
untag_test.go fix remote untag 2020-09-30 11:57:31 +02:00
version_test.go Restore "table" --format from V1 2020-10-02 06:58:02 -07:00
volume_create_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
volume_inspect_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
volume_ls_test.go Port V1 --format table to V2 podman 2020-10-08 14:55:58 -07:00
volume_prune_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
volume_rm_test.go Fix handling of remove of bogus volumes, networks and Pods 2020-09-29 15:52:43 -04:00
wait_test.go Fix handling and documentation of podman wait --interval 2020-10-21 06:25:36 -04:00