diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-12 02:54:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-12 02:54:34 +0100 |
commit | ea20ead35b69b1259f2ff3b00f558c473a921b95 (patch) | |
tree | 9a7e3faba300608db3dd2ee24fbaf02ebf9e66a3 /cmd/podman/varlink | |
parent | 54a5584d84d37632c1c8480d437a012625526a84 (diff) | |
parent | 358da6c8c0375ad41c4669aeef71f9626710c83e (diff) | |
download | podman-ea20ead35b69b1259f2ff3b00f558c473a921b95.tar.gz podman-ea20ead35b69b1259f2ff3b00f558c473a921b95.tar.bz2 podman-ea20ead35b69b1259f2ff3b00f558c473a921b95.zip |
Merge pull request #2313 from baude/remotevolumecreate
podman-remote volume create
Diffstat (limited to 'cmd/podman/varlink')
-rw-r--r-- | cmd/podman/varlink/io.podman.varlink | 12 |
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) |