summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorSujil02 <sushah@redhat.com>2020-04-26 16:23:42 -0400
committerSujil02 <sushah@redhat.com>2020-04-26 16:38:52 -0400
commitc1766d5e6496d48d357907598a44e147642a877e (patch)
tree150eb4f0eb9e06a41ae265e29646a733c92b9f2b /libpod
parent13c1d2c6af211ade30eeb01d02af7fbf94f2582d (diff)
downloadpodman-c1766d5e6496d48d357907598a44e147642a877e.tar.gz
podman-c1766d5e6496d48d357907598a44e147642a877e.tar.bz2
podman-c1766d5e6496d48d357907598a44e147642a877e.zip
Enable pod inspect integration test
Enable pod inspect integration test Get rid of libpod pod inspect references Remove libpod PodInspect struct. Signed-off-by: Sujil02 <sushah@redhat.com>
Diffstat (limited to 'libpod')
-rw-r--r--libpod/pod.go21
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"`