diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-27 11:58:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 11:58:46 +0200 |
commit | e88b2dc0c9ba6ddadb6bf31f652e1ad41468f58f (patch) | |
tree | 5738cda26120027f5bc1646d3e51bc0eb5b28216 /libpod/pod.go | |
parent | 7c9a8fc93d1700bf0399bf78fc875fb1edb93651 (diff) | |
parent | c1766d5e6496d48d357907598a44e147642a877e (diff) | |
download | podman-e88b2dc0c9ba6ddadb6bf31f652e1ad41468f58f.tar.gz podman-e88b2dc0c9ba6ddadb6bf31f652e1ad41468f58f.tar.bz2 podman-e88b2dc0c9ba6ddadb6bf31f652e1ad41468f58f.zip |
Merge pull request #5992 from sujil02/v2-pod-inspect
Enable pod inspect integration test
Diffstat (limited to 'libpod/pod.go')
-rw-r--r-- | libpod/pod.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libpod/pod.go b/libpod/pod.go index 4cdeb1033..b5a14c165 100644 --- a/libpod/pod.go +++ b/libpod/pod.go @@ -76,27 +76,6 @@ type podState struct { InfraContainerID string } -// PodInspect represents the data we want to display for -// podman pod inspect -type PodInspect struct { - Config *PodConfig - State *PodInspectState - Containers []PodContainerInfo -} - -// PodInspectState contains inspect data on the pod's state -type PodInspectState struct { - CgroupPath string `json:"cgroupPath"` - InfraContainerID string `json:"infraContainerID"` - Status string `json:"status"` -} - -// PodContainerInfo keeps information on a container in a pod -type PodContainerInfo struct { - ID string `json:"id"` - State string `json:"state"` -} - // InfraContainerConfig is the configuration for the pod's infra container type InfraContainerConfig struct { HasInfraContainer bool `json:"makeInfraContainer"` |