From 046178e55f72ed9db7cf5898d3be91b0112ab94f Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 27 Aug 2019 15:25:54 -0400 Subject: Add function for looking up volumes by partial name This isn't included in Docker, but seems handy enough. Use the new API for 'volume rm' and 'volume inspect'. Fixes #3891 Signed-off-by: Matthew Heon --- API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'API.md') diff --git a/API.md b/API.md index 4e61b7c9f..b9f3bd3d5 100755 --- a/API.md +++ b/API.md @@ -177,7 +177,7 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in [func VolumeCreate(options: VolumeCreateOpts) string](#VolumeCreate) -[func VolumeRemove(options: VolumeRemoveOpts) []string](#VolumeRemove) +[func VolumeRemove(options: VolumeRemoveOpts) []string, map[string]](#VolumeRemove) [func VolumesPrune() []string, []string](#VolumesPrune) @@ -1151,7 +1151,7 @@ VolumeCreate creates a volume on a remote host ### func VolumeRemove
-method VolumeRemove(options: [VolumeRemoveOpts](#VolumeRemoveOpts)) [[]string](#[]string)
+method VolumeRemove(options: [VolumeRemoveOpts](#VolumeRemoveOpts)) [[]string](#[]string), [map[string]](#map[string]) VolumeRemove removes a volume on a remote host ### func VolumesPrune
-- cgit v1.2.3-54-g00ecf