Add volume API/CLI

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
Brian Goff
2017-05-15 11:57:14 +02:00
committed by Vincent Demeester
parent 22e1ac4966
commit f2934dbacf
+4
View File
@@ -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)))
}