From 3101364a3cf00a2b2562bc2510262c3ee992bbab Mon Sep 17 00:00:00 2001 From: baude Date: Sun, 10 Feb 2019 19:34:36 -0600 Subject: podman-remote volume rm add the ability to remove/delete volumes with the podman remote client. Signed-off-by: baude --- cmd/podman/varlink/io.podman.varlink | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'cmd/podman/varlink') 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) -- cgit v1.2.3-54-g00ecf