Add volume API/CLI

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: f2934dbacf
Component: cli
This commit is contained in:
Brian Goff
2015-06-12 09:25:32 -04:00
committed by Vincent Demeester
parent 82951125a6
commit 476d2d284b

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)))
}