summaryrefslogtreecommitdiff
path: root/cmd/podman/varlink/io.podman.varlink
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-09-27 12:45:01 -0500
committerbaude <bbaude@redhat.com>2018-09-28 10:48:16 -0500
commit6db7027e975029bc8c50fef958452d502620edea (patch)
tree3b55f94a0f2d1deb82431abfc59476b07a91dafb /cmd/podman/varlink/io.podman.varlink
parentca8469aace64d71fdb1849607d8227c31a3cf4da (diff)
downloadpodman-6db7027e975029bc8c50fef958452d502620edea.tar.gz
podman-6db7027e975029bc8c50fef958452d502620edea.tar.bz2
podman-6db7027e975029bc8c50fef958452d502620edea.zip
Add buildah version and distribution to info
For the sake of debug and problem reporting, we would benefit from knowing what buildah version was vendored into podman. Also, knowing the distribution and distribution version would also be handy. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/varlink/io.podman.varlink')
-rw-r--r--cmd/podman/varlink/io.podman.varlink8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index 3cc24249d..810f757ca 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -124,8 +124,16 @@ type ContainerNameSpace (
ipc: string
)
+# InfoDistribution describes the the host's distribution
+type InfoDistribution (
+ distribution: string,
+ version: string
+)
+
# InfoHost describes the host stats portion of PodmanInfo
type InfoHost (
+ buildah_version: string,
+ distribution: InfoDistribution,
mem_free: int,
mem_total: int,
swap_free: int,