diff options
Diffstat (limited to 'libpod/pod.go')
-rw-r--r-- | libpod/pod.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/pod.go b/libpod/pod.go index 9c7a3e3a3..8ac976f6a 100644 --- a/libpod/pod.go +++ b/libpod/pod.go @@ -29,6 +29,7 @@ type Pod struct { } // PodConfig represents a pod's static configuration +// easyjson:json type PodConfig struct { ID string `json:"id"` Name string `json:"name"` @@ -61,6 +62,7 @@ type PodConfig struct { } // podState represents a pod's state +// easyjson:json type podState struct { // CgroupPath is the path to the pod's CGroup CgroupPath string `json:"cgroupPath"` @@ -71,6 +73,7 @@ type podState struct { // PodInspect represents the data we want to display for // podman pod inspect +// easyjson:json type PodInspect struct { Config *PodConfig State *PodInspectState @@ -78,12 +81,14 @@ type PodInspect struct { } // PodInspectState contains inspect data on the pod's state +// easyjson:json type PodInspectState struct { CgroupPath string `json:"cgroupPath"` InfraContainerID string `json:"infraContainerID"` } // PodContainerInfo keeps information on a container in a pod +// easyjson:json type PodContainerInfo struct { ID string `json:"id"` State string `json:"state"` |