summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/system.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-05-08 10:16:14 -0700
committerJhon Honce <jhonce@redhat.com>2020-05-08 15:57:26 -0700
commit931bd5ace6d6efa19e0b123d8d70b273ea79d5ab (patch)
treeb60a06da9fcc73f66be53eae6db86db8342f7fab /pkg/domain/entities/system.go
parent5c7ac1ba7812a99e59251cf49f7fb2a9c2429e11 (diff)
downloadpodman-931bd5ace6d6efa19e0b123d8d70b273ea79d5ab.tar.gz
podman-931bd5ace6d6efa19e0b123d8d70b273ea79d5ab.tar.bz2
podman-931bd5ace6d6efa19e0b123d8d70b273ea79d5ab.zip
V2 Impliment tunnelled podman version
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/domain/entities/system.go')
-rw-r--r--pkg/domain/entities/system.go14
1 files changed, 14 insertions, 0 deletions
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
+}