diff options
author | baude <bbaude@redhat.com> | 2019-02-10 19:34:36 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-02-11 20:14:50 -0600 |
commit | 3101364a3cf00a2b2562bc2510262c3ee992bbab (patch) | |
tree | b4515ae1d155cbdca401f1f7be56cbb62476ec6d /cmd/podman/varlink/io.podman.varlink | |
parent | ea20ead35b69b1259f2ff3b00f558c473a921b95 (diff) | |
download | podman-3101364a3cf00a2b2562bc2510262c3ee992bbab.tar.gz podman-3101364a3cf00a2b2562bc2510262c3ee992bbab.tar.bz2 podman-3101364a3cf00a2b2562bc2510262c3ee992bbab.zip |
podman-remote volume rm
add the ability to remove/delete volumes with the podman remote
client.
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 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink index 7263cfea3..b03fde0df 100644 --- a/cmd/podman/varlink/io.podman.varlink +++ b/cmd/podman/varlink/io.podman.varlink @@ -34,7 +34,11 @@ type VolumeCreateOpts ( options: [string]string ) - +type VolumeRemoveOpts ( + volumes: []string, + all: bool, + force: bool +) # ImageInList describes the structure that is returned in # ListImages. @@ -1064,6 +1068,8 @@ method ReceiveFile(path: string, delete: bool) -> (len: int) method VolumeCreate(options: VolumeCreateOpts) -> (volumeName: string) +method VolumeRemove(options: VolumeRemoveOpts) -> (volumeNames: []string) + # ImageNotFound means the image could not be found by the provided name or ID in local storage. error ImageNotFound (name: string) |