diff options
author | baude <bbaude@redhat.com> | 2019-02-11 12:47:47 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-02-13 12:43:51 -0600 |
commit | 4f60f79a27012220afdbcf8f2f4bb4622ca8c176 (patch) | |
tree | 5a0a43a03a17ad51678695a9d65270725b0b7893 /cmd/podman/varlink/io.podman.varlink | |
parent | 8a16f83b0a13ab9de1cc905a3ff1132c75739995 (diff) | |
download | podman-4f60f79a27012220afdbcf8f2f4bb4622ca8c176.tar.gz podman-4f60f79a27012220afdbcf8f2f4bb4622ca8c176.tar.bz2 podman-4f60f79a27012220afdbcf8f2f4bb4622ca8c176.zip |
podman-remote volume inspect|ls
add the ability to list and inspect volumes using the remote
client and varlink
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/varlink/io.podman.varlink')
-rw-r--r-- | cmd/podman/varlink/io.podman.varlink | 17 |
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) |