From 358da6c8c0375ad41c4669aeef71f9626710c83e Mon Sep 17 00:00:00 2001 From: baude Date: Sun, 10 Feb 2019 16:43:00 -0600 Subject: podman-remote volume create create a volume using the remote client over varlink Signed-off-by: baude --- cmd/podman/varlink/io.podman.varlink | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cmd/podman/varlink/io.podman.varlink') 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) -- cgit v1.2.3-54-g00ecf