summaryrefslogtreecommitdiff
path: root/cmd/podman/varlink/io.projectatomic.podman.varlink
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-05-10 13:41:23 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-11 14:00:25 +0000
commit834f1f641eaaebd6a9f014617be0d74d409cd2b1 (patch)
tree4ee23a0405fd171c7a67f91fb166a1071ba40065 /cmd/podman/varlink/io.projectatomic.podman.varlink
parentf97de48be47b838744aecd72c73b92a1b0be5cbd (diff)
downloadpodman-834f1f641eaaebd6a9f014617be0d74d409cd2b1.tar.gz
podman-834f1f641eaaebd6a9f014617be0d74d409cd2b1.tar.bz2
podman-834f1f641eaaebd6a9f014617be0d74d409cd2b1.zip
varlink info
The varlinfo info returns the same information as podman info but always includes the so-called debug information. Signed-off-by: baude <bbaude@redhat.com> Closes: #745 Approved by: baude
Diffstat (limited to 'cmd/podman/varlink/io.projectatomic.podman.varlink')
-rw-r--r--cmd/podman/varlink/io.projectatomic.podman.varlink52
1 files changed, 52 insertions, 0 deletions
diff --git a/cmd/podman/varlink/io.projectatomic.podman.varlink b/cmd/podman/varlink/io.projectatomic.podman.varlink
index 5eaaf79f3..66f6363b9 100644
--- a/cmd/podman/varlink/io.projectatomic.podman.varlink
+++ b/cmd/podman/varlink/io.projectatomic.podman.varlink
@@ -124,6 +124,55 @@ type ContainerNameSpace (
ipc: string
)
+# InfoHost describes the host stats portion of PodmanInfo
+type InfoHost (
+ mem_free: int,
+ mem_total: int,
+ swap_free: int,
+ swap_total: int,
+ arch: string,
+ cpus: int,
+ hostname: string,
+ kernel: string,
+ os: string,
+ uptime: string
+)
+
+# InfoGraphStatus describes the detailed status of the graph
+type InfoGraphStatus (
+ backing_filesystem: string,
+ native_overlay_diff: string,
+ supports_d_type: string
+)
+
+# InfoStore describes the host's storage informatoin
+type InfoStore (
+ containers: int,
+ images: int,
+ graph_driver_name: string,
+ graph_driver_options: string,
+ graph_root: string,
+ graph_status: InfoGraphStatus,
+ run_root: string
+)
+
+# InfoPodman provides details on the podman binary
+type InfoPodmanBinary (
+ compiler: string,
+ go_version: string,
+ podman_version: string,
+ git_commit: string
+)
+
+# PodmanInfo describes the Podman host and build
+type PodmanInfo (
+ host: InfoHost,
+ registries: []string,
+ insecure_registries: []string,
+ store: InfoStore,
+ podman: InfoPodmanBinary
+)
+
# Ping provides a response for developers to ensure their varlink setup is working.
# #### Example
# ~~~
@@ -140,6 +189,9 @@ method Ping() -> (ping: StringResponse)
# system.
method GetVersion() -> (version: Version)
+# GetInfo returns a [PodmanInfo](#PodmanInfo) struct that describes podman and its host such as storage stats,
+# build information of Podman, and system-wide registries.
+method GetInfo() -> (info: PodmanInfo)
# ListContainers returns a list of containers in no particular order. There are
# returned as an array of ListContainerData structs. See also [GetContainer](#GetContainer).