summaryrefslogtreecommitdiff
path: root/cmd/podman/varlink/io.podman.varlink
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-02-10 16:43:00 -0600
committerbaude <bbaude@redhat.com>2019-02-11 14:48:07 -0600
commit358da6c8c0375ad41c4669aeef71f9626710c83e (patch)
treed94d2b1c422ebc13982bbaf98b6b9b43b861a407 /cmd/podman/varlink/io.podman.varlink
parentacf2e913730a27fcdc3fcd7c160aa19e071dde36 (diff)
downloadpodman-358da6c8c0375ad41c4669aeef71f9626710c83e.tar.gz
podman-358da6c8c0375ad41c4669aeef71f9626710c83e.tar.bz2
podman-358da6c8c0375ad41c4669aeef71f9626710c83e.zip
podman-remote volume create
create a volume using the remote client over 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.varlink12
1 files changed, 12 insertions, 0 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index 101232b0c..7263cfea3 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -27,6 +27,15 @@ type ContainerChanges (
deleted: []string
)
+type VolumeCreateOpts (
+ volumeName: string,
+ driver: string,
+ labels: [string]string,
+ options: [string]string
+)
+
+
+
# ImageInList describes the structure that is returned in
# ListImages.
type ImageInList (
@@ -1053,6 +1062,9 @@ method ContainerStateData(name: string) -> (config: string)
method SendFile(type: string, length: int) -> (file_handle: string)
method ReceiveFile(path: string, delete: bool) -> (len: int)
+method VolumeCreate(options: VolumeCreateOpts) -> (volumeName: string)
+
+
# ImageNotFound means the image could not be found by the provided name or ID in local storage.
error ImageNotFound (name: string)