Versions in this module Expand all Collapse all v0 v0.8.0 Apr 5, 2017 Changes in this version + var ConfigDecodeHook = mapstructure.ComposeDecodeHookFunc(BoolToBoolValueFunc(), StringToDurationValueFunc(), StringToStringValueFunc(), ...) + func BoolToBoolValueFunc() mapstructure.DecodeHookFunc + func Float64ToUintValueFunc() mapstructure.DecodeHookFunc + func StringToDurationValueFunc() mapstructure.DecodeHookFunc + func StringToStringValueFunc() mapstructure.DecodeHookFunc + func Visit(path string, visitor VisitFn) error + type BoolValue struct + func (b *BoolValue) IsBoolFlag() bool + func (b *BoolValue) Merge(onto *bool) + func (b *BoolValue) Set(v string) error + func (b *BoolValue) String() string + type Command struct + Flags FlagSetFlags + Ui cli.Ui + func (c *Command) HTTPAddr() string + func (c *Command) HTTPClient() (*api.Client, error) + func (c *Command) HTTPDatacenter() string + func (c *Command) HTTPStale() bool + func (c *Command) HTTPToken() string + func (c *Command) Help() string + func (c *Command) HideFlags(flags ...string) + func (c *Command) NewFlagSet(command cli.Command) *flag.FlagSet + func (c *Command) Parse(args []string) error + type DurationValue struct + func (d *DurationValue) Merge(onto *time.Duration) + func (d *DurationValue) Set(v string) error + func (d *DurationValue) String() string + type FlagSetFlags uint + const FlagSetClientHTTP + const FlagSetHTTP + const FlagSetNone + const FlagSetServerHTTP + type StringValue struct + func (s *StringValue) Merge(onto *string) + func (s *StringValue) Set(v string) error + func (s *StringValue) String() string + type UintValue struct + func (u *UintValue) Merge(onto *uint) + func (u *UintValue) Set(v string) error + func (u *UintValue) String() string + type VisitFn func(path string) error v0.8.0-rc1 Mar 27, 2017