diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-12-17 16:04:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 16:04:26 +0100 |
commit | 59766ebe76fe5bdd15256f5d39d063c95304989f (patch) | |
tree | 97e92d5a1ce224481b78003dd8ef6f65a913cf1c /libpod/container.go | |
parent | 820cf0e0661764de4e61e3d27a603acec817a363 (diff) | |
parent | 28018ce604057633cf88fc34719ce28a812237b3 (diff) | |
download | podman-59766ebe76fe5bdd15256f5d39d063c95304989f.tar.gz podman-59766ebe76fe5bdd15256f5d39d063c95304989f.tar.bz2 podman-59766ebe76fe5bdd15256f5d39d063c95304989f.zip |
Merge pull request #12625 from adrianreber/2021-12-16-podman-inspect
Add more checkpoint/restore information to 'inspect'
Diffstat (limited to 'libpod/container.go')
-rw-r--r-- | libpod/container.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go index 1270f2112..c746f97c7 100644 --- a/libpod/container.go +++ b/libpod/container.go @@ -213,6 +213,15 @@ type ContainerState struct { // containerPlatformState holds platform-specific container state. containerPlatformState + + // Following checkpoint/restore related information is displayed + // if the container has been checkpointed or restored. + CheckpointedTime time.Time `json:"checkpointedTime,omitempty"` + RestoredTime time.Time `json:"restoredTime,omitempty"` + CheckpointLog string `json:"checkpointLog,omitempty"` + CheckpointPath string `json:"checkpointPath,omitempty"` + RestoreLog string `json:"restoreLog,omitempty"` + Restored bool `json:"restored,omitempty"` } // ContainerNamedVolume is a named volume that will be mounted into the |