diff options
author | Sujil02 <sushah@redhat.com> | 2020-03-31 00:53:50 -0400 |
---|---|---|
committer | Sujil02 <sushah@redhat.com> | 2020-04-01 15:10:49 -0400 |
commit | 7cbc09971a4d7322a6b29d86ef1d1fcb71f68f04 (patch) | |
tree | b8d482db0ee3f9d119ef208bae7ed03332aa0455 /pkg/domain/entities/pods.go | |
parent | 0a163720351710be314c729086e8d288680ff0a8 (diff) | |
download | podman-7cbc09971a4d7322a6b29d86ef1d1fcb71f68f04.tar.gz podman-7cbc09971a4d7322a6b29d86ef1d1fcb71f68f04.tar.bz2 podman-7cbc09971a4d7322a6b29d86ef1d1fcb71f68f04.zip |
podmanv2 pod inspect
Add the ability to inspect pod in podmanv2
Signed-off-by: Sujil02 <sushah@redhat.com>
Diffstat (limited to 'pkg/domain/entities/pods.go')
-rw-r--r-- | pkg/domain/entities/pods.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/domain/entities/pods.go b/pkg/domain/entities/pods.go index a0b2c6cec..cd2e79961 100644 --- a/pkg/domain/entities/pods.go +++ b/pkg/domain/entities/pods.go @@ -3,6 +3,7 @@ package entities import ( "time" + "github.com/containers/libpod/libpod" "github.com/containers/libpod/pkg/specgen" ) @@ -164,3 +165,14 @@ type PodPSOptions struct { Quiet bool Sort string } + +type PodInspectOptions struct { + Latest bool + + // Options for the API. + NameOrID string +} + +type PodInspectReport struct { + *libpod.PodInspect +} |