Documentation
¶
Index ¶
- type Bool
- func (s *Bool) ApplyToFlagSet(name string, flags *pflag.FlagSet)
- func (s *Bool) GetDefault() interface{}
- func (s *Bool) GetShorthand() string
- func (s *Bool) GetUsage() string
- func (s *Bool) GetValue() interface{}
- func (s *Bool) GetValuePointer() interface{}
- func (s *Bool) SetValue(value interface{})
- type Config
- type Float
- func (s *Float) ApplyToFlagSet(name string, flags *pflag.FlagSet)
- func (s *Float) GetDefault() interface{}
- func (s *Float) GetShorthand() string
- func (s *Float) GetUsage() string
- func (s *Float) GetValue() interface{}
- func (s *Float) GetValuePointer() interface{}
- func (s *Float) SetValue(value interface{})
- type Int
- type IntSlice
- func (s *IntSlice) ApplyToFlagSet(name string, flags *pflag.FlagSet)
- func (s *IntSlice) GetDefault() interface{}
- func (s *IntSlice) GetShorthand() string
- func (s *IntSlice) GetUsage() string
- func (s *IntSlice) GetValue() interface{}
- func (s *IntSlice) GetValuePointer() interface{}
- func (s *IntSlice) SetValue(value interface{})
- type Map
- func (m *Map) ApplyToCobra(command *cobra.Command)
- func (m Map) Get(id string) interface{}
- func (m Map) GetBool(id string) bool
- func (m Map) GetFloat(id string) float64
- func (m Map) GetInt(id string) int
- func (m Map) GetIntSlice(id string) []int
- func (m Map) GetString(id string) string
- func (m Map) GetStringSlice(id string) []string
- func (m Map) GetUint(id string) uint
- func (m Map) GetUintSlice(id string) []uint
- func (m *Map) LoadFromEnvironment()
- type String
- func (s *String) ApplyToFlagSet(name string, flags *pflag.FlagSet)
- func (s *String) GetDefault() interface{}
- func (s *String) GetShorthand() string
- func (s *String) GetUsage() string
- func (s *String) GetValue() interface{}
- func (s *String) GetValuePointer() interface{}
- func (s *String) SetValue(value interface{})
- type StringSlice
- func (s *StringSlice) ApplyToFlagSet(name string, flags *pflag.FlagSet)
- func (s *StringSlice) GetDefault() interface{}
- func (s *StringSlice) GetShorthand() string
- func (s *StringSlice) GetUsage() string
- func (s *StringSlice) GetValue() interface{}
- func (s *StringSlice) GetValuePointer() interface{}
- func (s *StringSlice) SetValue(value interface{})
- type Uint
- func (s *Uint) ApplyToFlagSet(name string, flags *pflag.FlagSet)
- func (s *Uint) GetDefault() interface{}
- func (s *Uint) GetShorthand() string
- func (s *Uint) GetUsage() string
- func (s *Uint) GetValue() interface{}
- func (s *Uint) GetValuePointer() interface{}
- func (s *Uint) SetValue(value interface{})
- type UintSlice
- func (s *UintSlice) ApplyToFlagSet(name string, flags *pflag.FlagSet)
- func (s *UintSlice) GetDefault() interface{}
- func (s *UintSlice) GetShorthand() string
- func (s *UintSlice) GetUsage() string
- func (s *UintSlice) GetValue() interface{}
- func (s *UintSlice) GetValuePointer() interface{}
- func (s *UintSlice) SetValue(value interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
func (*Bool) GetDefault ¶
func (s *Bool) GetDefault() interface{}
func (*Bool) GetShorthand ¶
func (*Bool) GetValuePointer ¶
func (s *Bool) GetValuePointer() interface{}
type Float ¶
func (*Float) GetDefault ¶
func (s *Float) GetDefault() interface{}
func (*Float) GetShorthand ¶
func (*Float) GetValuePointer ¶
func (s *Float) GetValuePointer() interface{}
type Int ¶
func (*Int) GetDefault ¶
func (s *Int) GetDefault() interface{}
func (*Int) GetShorthand ¶
func (*Int) GetValuePointer ¶
func (s *Int) GetValuePointer() interface{}
type IntSlice ¶
func (*IntSlice) ApplyToFlagSet ¶
func (*IntSlice) GetDefault ¶
func (s *IntSlice) GetDefault() interface{}
func (*IntSlice) GetShorthand ¶
func (*IntSlice) GetValuePointer ¶
func (s *IntSlice) GetValuePointer() interface{}
type Map ¶
func (*Map) ApplyToCobra ¶
func (Map) GetIntSlice ¶
func (Map) GetStringSlice ¶
func (Map) GetUintSlice ¶
func (*Map) LoadFromEnvironment ¶
func (m *Map) LoadFromEnvironment()
type String ¶
func (*String) GetDefault ¶
func (s *String) GetDefault() interface{}
func (*String) GetShorthand ¶
func (*String) GetValuePointer ¶
func (s *String) GetValuePointer() interface{}
type StringSlice ¶
func (*StringSlice) ApplyToFlagSet ¶
func (s *StringSlice) ApplyToFlagSet(name string, flags *pflag.FlagSet)
func (*StringSlice) GetDefault ¶
func (s *StringSlice) GetDefault() interface{}
func (*StringSlice) GetShorthand ¶
func (s *StringSlice) GetShorthand() string
func (*StringSlice) GetUsage ¶
func (s *StringSlice) GetUsage() string
func (*StringSlice) GetValue ¶
func (s *StringSlice) GetValue() interface{}
func (*StringSlice) GetValuePointer ¶
func (s *StringSlice) GetValuePointer() interface{}
func (*StringSlice) SetValue ¶
func (s *StringSlice) SetValue(value interface{})
type Uint ¶
func (*Uint) GetDefault ¶
func (s *Uint) GetDefault() interface{}
func (*Uint) GetShorthand ¶
func (*Uint) GetValuePointer ¶
func (s *Uint) GetValuePointer() interface{}
type UintSlice ¶
func (*UintSlice) ApplyToFlagSet ¶
func (*UintSlice) GetDefault ¶
func (s *UintSlice) GetDefault() interface{}
func (*UintSlice) GetShorthand ¶
func (*UintSlice) GetValuePointer ¶
func (s *UintSlice) GetValuePointer() interface{}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.