From f2934dbacf37306f20bc53ba8576b73154d22180 Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Fri, 12 Jun 2015 09:25:32 -0400 Subject: [PATCH] Add volume API/CLI Signed-off-by: Brian Goff --- opts/opts.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/opts/opts.go b/opts/opts.go index aa3de81a4d..aa8d593b7e 100644 --- a/opts/opts.go +++ b/opts/opts.go @@ -131,6 +131,10 @@ func (opts *MapOpts) Set(value string) error { return nil } +func (opts *MapOpts) GetAll() map[string]string { + return opts.values +} + func (opts *MapOpts) String() string { return fmt.Sprintf("%v", map[string]string((opts.values))) }