Add volume API/CLI

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
Brian Goff 2015-06-12 09:25:32 -04:00 committed by Vincent Demeester
parent 22e1ac4966
commit f2934dbacf
1 changed files with 4 additions and 0 deletions

View File

@ -131,6 +131,10 @@ func (opts *MapOpts) Set(value string) error {
return nil return nil
} }
func (opts *MapOpts) GetAll() map[string]string {
return opts.values
}
func (opts *MapOpts) String() string { func (opts *MapOpts) String() string {
return fmt.Sprintf("%v", map[string]string((opts.values))) return fmt.Sprintf("%v", map[string]string((opts.values)))
} }