From 7cbc09971a4d7322a6b29d86ef1d1fcb71f68f04 Mon Sep 17 00:00:00 2001 From: Sujil02 Date: Tue, 31 Mar 2020 00:53:50 -0400 Subject: podmanv2 pod inspect Add the ability to inspect pod in podmanv2 Signed-off-by: Sujil02 --- pkg/domain/entities/pods.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'pkg/domain/entities/pods.go') 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 +} -- cgit v1.2.3-54-g00ecf