diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-08 09:56:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 09:56:23 +0200 |
commit | ae0a9c6c8acd4e675ce4afbff161f9e5857082e6 (patch) | |
tree | 85ccfae902261801ab73dee7536d9c5d4c7bc430 /libpod/define | |
parent | 598d914e625616da49df7c068ffd84135d12571e (diff) | |
parent | bfcd83ecd680fccd2efeadf695a9cd2c603a997f (diff) | |
download | podman-ae0a9c6c8acd4e675ce4afbff161f9e5857082e6.tar.gz podman-ae0a9c6c8acd4e675ce4afbff161f9e5857082e6.tar.bz2 podman-ae0a9c6c8acd4e675ce4afbff161f9e5857082e6.zip |
Merge pull request #11471 from mheon/checkpointed
Add Checkpointed bool to Inspect
Diffstat (limited to 'libpod/define')
-rw-r--r-- | libpod/define/container_inspect.go | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/libpod/define/container_inspect.go b/libpod/define/container_inspect.go index af8ba6ecf..90703a807 100644 --- a/libpod/define/container_inspect.go +++ b/libpod/define/container_inspect.go @@ -189,20 +189,21 @@ type InspectMount struct { // Docker, but here we see more fields that are unused (nonsensical in the // context of Libpod). type InspectContainerState struct { - OciVersion string `json:"OciVersion"` - Status string `json:"Status"` - Running bool `json:"Running"` - Paused bool `json:"Paused"` - Restarting bool `json:"Restarting"` // TODO - OOMKilled bool `json:"OOMKilled"` - Dead bool `json:"Dead"` - Pid int `json:"Pid"` - ConmonPid int `json:"ConmonPid,omitempty"` - ExitCode int32 `json:"ExitCode"` - Error string `json:"Error"` // TODO - StartedAt time.Time `json:"StartedAt"` - FinishedAt time.Time `json:"FinishedAt"` - Healthcheck HealthCheckResults `json:"Healthcheck,omitempty"` + OciVersion string `json:"OciVersion"` + Status string `json:"Status"` + Running bool `json:"Running"` + Paused bool `json:"Paused"` + Restarting bool `json:"Restarting"` // TODO + OOMKilled bool `json:"OOMKilled"` + Dead bool `json:"Dead"` + Pid int `json:"Pid"` + ConmonPid int `json:"ConmonPid,omitempty"` + ExitCode int32 `json:"ExitCode"` + Error string `json:"Error"` // TODO + StartedAt time.Time `json:"StartedAt"` + FinishedAt time.Time `json:"FinishedAt"` + Healthcheck HealthCheckResults `json:"Healthcheck,omitempty"` + Checkpointed bool `json:"Checkpointed,omitempty"` } // HealthCheckResults describes the results/logs from a healthcheck |