From 4f60f79a27012220afdbcf8f2f4bb4622ca8c176 Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 11 Feb 2019 12:47:47 -0600 Subject: podman-remote volume inspect|ls add the ability to list and inspect volumes using the remote client and varlink Signed-off-by: baude --- cmd/podman/varlink/io.podman.varlink | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'cmd/podman/varlink') 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) -- cgit v1.2.3-54-g00ecf