From 931bd5ace6d6efa19e0b123d8d70b273ea79d5ab Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Fri, 8 May 2020 10:16:14 -0700 Subject: V2 Impliment tunnelled podman version Signed-off-by: Jhon Honce --- pkg/domain/entities/system.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'pkg/domain/entities/system.go') diff --git a/pkg/domain/entities/system.go b/pkg/domain/entities/system.go index c62f40025..5e4760d12 100644 --- a/pkg/domain/entities/system.go +++ b/pkg/domain/entities/system.go @@ -3,6 +3,8 @@ package entities import ( "time" + "github.com/containers/libpod/libpod/define" + "github.com/docker/docker/api/types" "github.com/spf13/cobra" ) @@ -83,3 +85,15 @@ type SystemDfVolumeReport struct { type SystemResetOptions struct { Force bool } + +// SystemVersionReport describes version information about the running Podman service +type SystemVersionReport struct { + // Always populated + Client *define.Version `json:",omitempty"` + // May be populated, when in tunnel mode + Server *define.Version `json:",omitempty"` +} + +type ComponentVersion struct { + types.Version +} -- cgit v1.2.3-54-g00ecf