summaryrefslogtreecommitdiff
path: root/cmd/podman/varlink
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-13 20:20:10 +0100
committerGitHub <noreply@github.com>2019-02-13 20:20:10 +0100
commitfa3b91dc1216e6057e24a574bec566401800d780 (patch)
tree5a0a43a03a17ad51678695a9d65270725b0b7893 /cmd/podman/varlink
parent8a16f83b0a13ab9de1cc905a3ff1132c75739995 (diff)
parent4f60f79a27012220afdbcf8f2f4bb4622ca8c176 (diff)
downloadpodman-fa3b91dc1216e6057e24a574bec566401800d780.tar.gz
podman-fa3b91dc1216e6057e24a574bec566401800d780.tar.bz2
podman-fa3b91dc1216e6057e24a574bec566401800d780.zip
Merge pull request #2316 from baude/remotevolumeinspect
podman-remote volume inspect|ls
Diffstat (limited to 'cmd/podman/varlink')
-rw-r--r--cmd/podman/varlink/io.podman.varlink17
1 files changed, 17 insertions, 0 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index c3900ca18..03ea06dfc 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -2,6 +2,22 @@
# in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in the upstream libpod repository.
interface io.podman
+type Volume (
+ name: string,
+ labels: [string]string,
+ mountPoint: string,
+ driver: string,
+ options: [string]string,
+ scope: string
+)
+
+type NotImplemented (
+ comment: string
+)
+
+type StringResponse (
+ message: string
+)
# ContainerChanges describes the return struct for ListContainerChanges
type ContainerChanges (
@@ -1044,6 +1060,7 @@ method VolumeCreate(options: VolumeCreateOpts) -> (volumeName: string)
method VolumeRemove(options: VolumeRemoveOpts) -> (volumeNames: []string)
+method GetVolumes(args: []string, all: bool) -> (volumes: []Volume)
# ImageNotFound means the image could not be found by the provided name or ID in local storage.
error ImageNotFound (id: string)