Documentation
¶
Index ¶
- Variables
- func FindParentPaths(homedir, cwd, fileName string) []string
- func MakeMergeStruct(structs ...interface{}) interface{}
- func Merge(dst, src interface{})
- type BoolOption
- func (o *BoolOption) GetSource() string
- func (o BoolOption) GetValue() interface{}
- func (b BoolOption) IsBoolFlag() bool
- func (o BoolOption) IsDefined() bool
- func (o BoolOption) MarshalJSON() ([]byte, error)
- func (o BoolOption) MarshalYAML() (interface{}, error)
- func (o *BoolOption) Set(s string) error
- func (o *BoolOption) SetSource(source string)
- func (o *BoolOption) SetValue(v interface{}) error
- func (o BoolOption) String() string
- func (o *BoolOption) UnmarshalJSON(b []byte) error
- func (o *BoolOption) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *BoolOption) WriteAnswer(name string, value interface{}) error
- type ByteOption
- func (o *ByteOption) GetSource() string
- func (o ByteOption) GetValue() interface{}
- func (o ByteOption) IsDefined() bool
- func (o ByteOption) MarshalJSON() ([]byte, error)
- func (o ByteOption) MarshalYAML() (interface{}, error)
- func (o *ByteOption) Set(s string) error
- func (o *ByteOption) SetSource(source string)
- func (o *ByteOption) SetValue(v interface{}) error
- func (o ByteOption) String() string
- func (o *ByteOption) UnmarshalJSON(b []byte) error
- func (o *ByteOption) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *ByteOption) WriteAnswer(name string, value interface{}) error
- type ChangeSetFunc
- type Complex128Option
- func (o *Complex128Option) GetSource() string
- func (o Complex128Option) GetValue() interface{}
- func (o Complex128Option) IsDefined() bool
- func (o Complex128Option) MarshalJSON() ([]byte, error)
- func (o Complex128Option) MarshalYAML() (interface{}, error)
- func (o *Complex128Option) Set(s string) error
- func (o *Complex128Option) SetSource(source string)
- func (o *Complex128Option) SetValue(v interface{}) error
- func (o Complex128Option) String() string
- func (o *Complex128Option) UnmarshalJSON(b []byte) error
- func (o *Complex128Option) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *Complex128Option) WriteAnswer(name string, value interface{}) error
- type Complex64Option
- func (o *Complex64Option) GetSource() string
- func (o Complex64Option) GetValue() interface{}
- func (o Complex64Option) IsDefined() bool
- func (o Complex64Option) MarshalJSON() ([]byte, error)
- func (o Complex64Option) MarshalYAML() (interface{}, error)
- func (o *Complex64Option) Set(s string) error
- func (o *Complex64Option) SetSource(source string)
- func (o *Complex64Option) SetValue(v interface{}) error
- func (o Complex64Option) String() string
- func (o *Complex64Option) UnmarshalJSON(b []byte) error
- func (o *Complex64Option) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *Complex64Option) WriteAnswer(name string, value interface{}) error
- type ConfigOptions
- type ConfigSource
- type ErrorOption
- func (o *ErrorOption) GetSource() string
- func (o ErrorOption) GetValue() interface{}
- func (o ErrorOption) IsDefined() bool
- func (o ErrorOption) MarshalJSON() ([]byte, error)
- func (o ErrorOption) MarshalYAML() (interface{}, error)
- func (o *ErrorOption) Set(s string) error
- func (o *ErrorOption) SetSource(source string)
- func (o *ErrorOption) SetValue(v interface{}) error
- func (o ErrorOption) String() string
- func (o *ErrorOption) UnmarshalJSON(b []byte) error
- func (o *ErrorOption) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *ErrorOption) WriteAnswer(name string, value interface{}) error
- type FigTree
- func (f *FigTree) Copy() *FigTree
- func (f *FigTree) FindParentPaths(fileName string) []string
- func (f *FigTree) LoadAllConfigSources(sources []ConfigSource, options interface{}) error
- func (f *FigTree) LoadAllConfigs(configFile string, options interface{}) error
- func (f *FigTree) LoadConfig(file string, options interface{}) error
- func (f *FigTree) LoadConfigBytes(config []byte, source string, options interface{}) error
- func (f *FigTree) PopulateEnv(data interface{}) (changeSet map[string]*string)
- func (f *FigTree) ReadFile(file string) (*ConfigSource, error)
- func (f *FigTree) WithApplyChangeSet(apply ChangeSetFunc)
- func (f *FigTree) WithConfigDir(dir string)
- func (f *FigTree) WithCwd(cwd string)
- func (f *FigTree) WithEnvPrefix(env string)
- func (f *FigTree) WithFilterOut(filt FilterOut)
- func (f *FigTree) WithHome(home string)
- func (f *FigTree) WithIgnoreChangeSet()
- func (f *FigTree) WithPreProcessor(pp PreProcessor)
- func (f *FigTree) WithUnmarshaller(unmarshaller func(in []byte, out interface{}) error)
- func (f *FigTree) WithoutExec()
- type FilterOut
- type Float32Option
- func (o *Float32Option) GetSource() string
- func (o Float32Option) GetValue() interface{}
- func (o Float32Option) IsDefined() bool
- func (o Float32Option) MarshalJSON() ([]byte, error)
- func (o Float32Option) MarshalYAML() (interface{}, error)
- func (o *Float32Option) Set(s string) error
- func (o *Float32Option) SetSource(source string)
- func (o *Float32Option) SetValue(v interface{}) error
- func (o Float32Option) String() string
- func (o *Float32Option) UnmarshalJSON(b []byte) error
- func (o *Float32Option) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *Float32Option) WriteAnswer(name string, value interface{}) error
- type Float64Option
- func (o *Float64Option) GetSource() string
- func (o Float64Option) GetValue() interface{}
- func (o Float64Option) IsDefined() bool
- func (o Float64Option) MarshalJSON() ([]byte, error)
- func (o Float64Option) MarshalYAML() (interface{}, error)
- func (o *Float64Option) Set(s string) error
- func (o *Float64Option) SetSource(source string)
- func (o *Float64Option) SetValue(v interface{}) error
- func (o Float64Option) String() string
- func (o *Float64Option) UnmarshalJSON(b []byte) error
- func (o *Float64Option) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *Float64Option) WriteAnswer(name string, value interface{}) error
- type Int16Option
- func (o *Int16Option) GetSource() string
- func (o Int16Option) GetValue() interface{}
- func (o Int16Option) IsDefined() bool
- func (o Int16Option) MarshalJSON() ([]byte, error)
- func (o Int16Option) MarshalYAML() (interface{}, error)
- func (o *Int16Option) Set(s string) error
- func (o *Int16Option) SetSource(source string)
- func (o *Int16Option) SetValue(v interface{}) error
- func (o Int16Option) String() string
- func (o *Int16Option) UnmarshalJSON(b []byte) error
- func (o *Int16Option) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *Int16Option) WriteAnswer(name string, value interface{}) error
- type Int32Option
- func (o *Int32Option) GetSource() string
- func (o Int32Option) GetValue() interface{}
- func (o Int32Option) IsDefined() bool
- func (o Int32Option) MarshalJSON() ([]byte, error)
- func (o Int32Option) MarshalYAML() (interface{}, error)
- func (o *Int32Option) Set(s string) error
- func (o *Int32Option) SetSource(source string)
- func (o *Int32Option) SetValue(v interface{}) error
- func (o Int32Option) String() string
- func (o *Int32Option) UnmarshalJSON(b []byte) error
- func (o *Int32Option) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *Int32Option) WriteAnswer(name string, value interface{}) error
- type Int64Option
- func (o *Int64Option) GetSource() string
- func (o Int64Option) GetValue() interface{}
- func (o Int64Option) IsDefined() bool
- func (o Int64Option) MarshalJSON() ([]byte, error)
- func (o Int64Option) MarshalYAML() (interface{}, error)
- func (o *Int64Option) Set(s string) error
- func (o *Int64Option) SetSource(source string)
- func (o *Int64Option) SetValue(v interface{}) error
- func (o Int64Option) String() string
- func (o *Int64Option) UnmarshalJSON(b []byte) error
- func (o *Int64Option) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *Int64Option) WriteAnswer(name string, value interface{}) error
- type Int8Option
- func (o *Int8Option) GetSource() string
- func (o Int8Option) GetValue() interface{}
- func (o Int8Option) IsDefined() bool
- func (o Int8Option) MarshalJSON() ([]byte, error)
- func (o Int8Option) MarshalYAML() (interface{}, error)
- func (o *Int8Option) Set(s string) error
- func (o *Int8Option) SetSource(source string)
- func (o *Int8Option) SetValue(v interface{}) error
- func (o Int8Option) String() string
- func (o *Int8Option) UnmarshalJSON(b []byte) error
- func (o *Int8Option) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *Int8Option) WriteAnswer(name string, value interface{}) error
- type IntOption
- func (o *IntOption) GetSource() string
- func (o IntOption) GetValue() interface{}
- func (o IntOption) IsDefined() bool
- func (o IntOption) MarshalJSON() ([]byte, error)
- func (o IntOption) MarshalYAML() (interface{}, error)
- func (o *IntOption) Set(s string) error
- func (o *IntOption) SetSource(source string)
- func (o *IntOption) SetValue(v interface{}) error
- func (o IntOption) String() string
- func (o *IntOption) UnmarshalJSON(b []byte) error
- func (o *IntOption) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *IntOption) WriteAnswer(name string, value interface{}) error
- type ListBoolOption
- func (o ListBoolOption) Append(values ...bool) ListBoolOption
- func (o ListBoolOption) IsCumulative() bool
- func (o ListBoolOption) IsDefined() bool
- func (o *ListBoolOption) Set(value string) error
- func (o ListBoolOption) Slice() []bool
- func (o ListBoolOption) String() string
- func (o *ListBoolOption) WriteAnswer(name string, value interface{}) error
- type ListByteOption
- func (o ListByteOption) Append(values ...byte) ListByteOption
- func (o ListByteOption) IsCumulative() bool
- func (o ListByteOption) IsDefined() bool
- func (o *ListByteOption) Set(value string) error
- func (o ListByteOption) Slice() []byte
- func (o ListByteOption) String() string
- func (o *ListByteOption) WriteAnswer(name string, value interface{}) error
- type ListComplex128Option
- func (o ListComplex128Option) Append(values ...complex128) ListComplex128Option
- func (o ListComplex128Option) IsCumulative() bool
- func (o ListComplex128Option) IsDefined() bool
- func (o *ListComplex128Option) Set(value string) error
- func (o ListComplex128Option) Slice() []complex128
- func (o ListComplex128Option) String() string
- func (o *ListComplex128Option) WriteAnswer(name string, value interface{}) error
- type ListComplex64Option
- func (o ListComplex64Option) Append(values ...complex64) ListComplex64Option
- func (o ListComplex64Option) IsCumulative() bool
- func (o ListComplex64Option) IsDefined() bool
- func (o *ListComplex64Option) Set(value string) error
- func (o ListComplex64Option) Slice() []complex64
- func (o ListComplex64Option) String() string
- func (o *ListComplex64Option) WriteAnswer(name string, value interface{}) error
- type ListErrorOption
- func (o ListErrorOption) Append(values ...error) ListErrorOption
- func (o ListErrorOption) IsCumulative() bool
- func (o ListErrorOption) IsDefined() bool
- func (o *ListErrorOption) Set(value string) error
- func (o ListErrorOption) Slice() []error
- func (o ListErrorOption) String() string
- func (o *ListErrorOption) WriteAnswer(name string, value interface{}) error
- type ListFloat32Option
- func (o ListFloat32Option) Append(values ...float32) ListFloat32Option
- func (o ListFloat32Option) IsCumulative() bool
- func (o ListFloat32Option) IsDefined() bool
- func (o *ListFloat32Option) Set(value string) error
- func (o ListFloat32Option) Slice() []float32
- func (o ListFloat32Option) String() string
- func (o *ListFloat32Option) WriteAnswer(name string, value interface{}) error
- type ListFloat64Option
- func (o ListFloat64Option) Append(values ...float64) ListFloat64Option
- func (o ListFloat64Option) IsCumulative() bool
- func (o ListFloat64Option) IsDefined() bool
- func (o *ListFloat64Option) Set(value string) error
- func (o ListFloat64Option) Slice() []float64
- func (o ListFloat64Option) String() string
- func (o *ListFloat64Option) WriteAnswer(name string, value interface{}) error
- type ListInt16Option
- func (o ListInt16Option) Append(values ...int16) ListInt16Option
- func (o ListInt16Option) IsCumulative() bool
- func (o ListInt16Option) IsDefined() bool
- func (o *ListInt16Option) Set(value string) error
- func (o ListInt16Option) Slice() []int16
- func (o ListInt16Option) String() string
- func (o *ListInt16Option) WriteAnswer(name string, value interface{}) error
- type ListInt32Option
- func (o ListInt32Option) Append(values ...int32) ListInt32Option
- func (o ListInt32Option) IsCumulative() bool
- func (o ListInt32Option) IsDefined() bool
- func (o *ListInt32Option) Set(value string) error
- func (o ListInt32Option) Slice() []int32
- func (o ListInt32Option) String() string
- func (o *ListInt32Option) WriteAnswer(name string, value interface{}) error
- type ListInt64Option
- func (o ListInt64Option) Append(values ...int64) ListInt64Option
- func (o ListInt64Option) IsCumulative() bool
- func (o ListInt64Option) IsDefined() bool
- func (o *ListInt64Option) Set(value string) error
- func (o ListInt64Option) Slice() []int64
- func (o ListInt64Option) String() string
- func (o *ListInt64Option) WriteAnswer(name string, value interface{}) error
- type ListInt8Option
- func (o ListInt8Option) Append(values ...int8) ListInt8Option
- func (o ListInt8Option) IsCumulative() bool
- func (o ListInt8Option) IsDefined() bool
- func (o *ListInt8Option) Set(value string) error
- func (o ListInt8Option) Slice() []int8
- func (o ListInt8Option) String() string
- func (o *ListInt8Option) WriteAnswer(name string, value interface{}) error
- type ListIntOption
- func (o ListIntOption) Append(values ...int) ListIntOption
- func (o ListIntOption) IsCumulative() bool
- func (o ListIntOption) IsDefined() bool
- func (o *ListIntOption) Set(value string) error
- func (o ListIntOption) Slice() []int
- func (o ListIntOption) String() string
- func (o *ListIntOption) WriteAnswer(name string, value interface{}) error
- type ListRawTypeOption
- func (o ListRawTypeOption) Append(values ...RawType) ListRawTypeOption
- func (o ListRawTypeOption) IsCumulative() bool
- func (o ListRawTypeOption) IsDefined() bool
- func (o *ListRawTypeOption) Set(value string) error
- func (o ListRawTypeOption) Slice() []RawType
- func (o ListRawTypeOption) String() string
- func (o *ListRawTypeOption) WriteAnswer(name string, value interface{}) error
- type ListRuneOption
- func (o ListRuneOption) Append(values ...rune) ListRuneOption
- func (o ListRuneOption) IsCumulative() bool
- func (o ListRuneOption) IsDefined() bool
- func (o *ListRuneOption) Set(value string) error
- func (o ListRuneOption) Slice() []rune
- func (o ListRuneOption) String() string
- func (o *ListRuneOption) WriteAnswer(name string, value interface{}) error
- type ListStringOption
- func (o ListStringOption) Append(values ...string) ListStringOption
- func (o ListStringOption) IsCumulative() bool
- func (o ListStringOption) IsDefined() bool
- func (o *ListStringOption) Set(value string) error
- func (o ListStringOption) Slice() []string
- func (o ListStringOption) String() string
- func (o *ListStringOption) WriteAnswer(name string, value interface{}) error
- type ListUint16Option
- func (o ListUint16Option) Append(values ...uint16) ListUint16Option
- func (o ListUint16Option) IsCumulative() bool
- func (o ListUint16Option) IsDefined() bool
- func (o *ListUint16Option) Set(value string) error
- func (o ListUint16Option) Slice() []uint16
- func (o ListUint16Option) String() string
- func (o *ListUint16Option) WriteAnswer(name string, value interface{}) error
- type ListUint32Option
- func (o ListUint32Option) Append(values ...uint32) ListUint32Option
- func (o ListUint32Option) IsCumulative() bool
- func (o ListUint32Option) IsDefined() bool
- func (o *ListUint32Option) Set(value string) error
- func (o ListUint32Option) Slice() []uint32
- func (o ListUint32Option) String() string
- func (o *ListUint32Option) WriteAnswer(name string, value interface{}) error
- type ListUint64Option
- func (o ListUint64Option) Append(values ...uint64) ListUint64Option
- func (o ListUint64Option) IsCumulative() bool
- func (o ListUint64Option) IsDefined() bool
- func (o *ListUint64Option) Set(value string) error
- func (o ListUint64Option) Slice() []uint64
- func (o ListUint64Option) String() string
- func (o *ListUint64Option) WriteAnswer(name string, value interface{}) error
- type ListUint8Option
- func (o ListUint8Option) Append(values ...uint8) ListUint8Option
- func (o ListUint8Option) IsCumulative() bool
- func (o ListUint8Option) IsDefined() bool
- func (o *ListUint8Option) Set(value string) error
- func (o ListUint8Option) Slice() []uint8
- func (o ListUint8Option) String() string
- func (o *ListUint8Option) WriteAnswer(name string, value interface{}) error
- type ListUintOption
- func (o ListUintOption) Append(values ...uint) ListUintOption
- func (o ListUintOption) IsCumulative() bool
- func (o ListUintOption) IsDefined() bool
- func (o *ListUintOption) Set(value string) error
- func (o ListUintOption) Slice() []uint
- func (o ListUintOption) String() string
- func (o *ListUintOption) WriteAnswer(name string, value interface{}) error
- type ListUintptrOption
- func (o ListUintptrOption) Append(values ...uintptr) ListUintptrOption
- func (o ListUintptrOption) IsCumulative() bool
- func (o ListUintptrOption) IsDefined() bool
- func (o *ListUintptrOption) Set(value string) error
- func (o ListUintptrOption) Slice() []uintptr
- func (o ListUintptrOption) String() string
- func (o *ListUintptrOption) WriteAnswer(name string, value interface{}) error
- type Logger
- type MapBoolOption
- type MapByteOption
- type MapComplex128Option
- func (o MapComplex128Option) IsCumulative() bool
- func (o MapComplex128Option) IsDefined() bool
- func (o MapComplex128Option) Map() map[string]complex128
- func (o *MapComplex128Option) Set(value string) error
- func (o MapComplex128Option) String() string
- func (o *MapComplex128Option) WriteAnswer(name string, value interface{}) error
- type MapComplex64Option
- func (o MapComplex64Option) IsCumulative() bool
- func (o MapComplex64Option) IsDefined() bool
- func (o MapComplex64Option) Map() map[string]complex64
- func (o *MapComplex64Option) Set(value string) error
- func (o MapComplex64Option) String() string
- func (o *MapComplex64Option) WriteAnswer(name string, value interface{}) error
- type MapErrorOption
- type MapFloat32Option
- func (o MapFloat32Option) IsCumulative() bool
- func (o MapFloat32Option) IsDefined() bool
- func (o MapFloat32Option) Map() map[string]float32
- func (o *MapFloat32Option) Set(value string) error
- func (o MapFloat32Option) String() string
- func (o *MapFloat32Option) WriteAnswer(name string, value interface{}) error
- type MapFloat64Option
- func (o MapFloat64Option) IsCumulative() bool
- func (o MapFloat64Option) IsDefined() bool
- func (o MapFloat64Option) Map() map[string]float64
- func (o *MapFloat64Option) Set(value string) error
- func (o MapFloat64Option) String() string
- func (o *MapFloat64Option) WriteAnswer(name string, value interface{}) error
- type MapInt16Option
- type MapInt32Option
- type MapInt64Option
- type MapInt8Option
- type MapIntOption
- type MapRawTypeOption
- func (o MapRawTypeOption) IsCumulative() bool
- func (o MapRawTypeOption) IsDefined() bool
- func (o MapRawTypeOption) Map() map[string]RawType
- func (o *MapRawTypeOption) Set(value string) error
- func (o MapRawTypeOption) String() string
- func (o *MapRawTypeOption) WriteAnswer(name string, value interface{}) error
- type MapRuneOption
- type MapStringOption
- func (o MapStringOption) IsCumulative() bool
- func (o MapStringOption) IsDefined() bool
- func (o MapStringOption) Map() map[string]string
- func (o *MapStringOption) Set(value string) error
- func (o MapStringOption) String() string
- func (o *MapStringOption) WriteAnswer(name string, value interface{}) error
- type MapUint16Option
- func (o MapUint16Option) IsCumulative() bool
- func (o MapUint16Option) IsDefined() bool
- func (o MapUint16Option) Map() map[string]uint16
- func (o *MapUint16Option) Set(value string) error
- func (o MapUint16Option) String() string
- func (o *MapUint16Option) WriteAnswer(name string, value interface{}) error
- type MapUint32Option
- func (o MapUint32Option) IsCumulative() bool
- func (o MapUint32Option) IsDefined() bool
- func (o MapUint32Option) Map() map[string]uint32
- func (o *MapUint32Option) Set(value string) error
- func (o MapUint32Option) String() string
- func (o *MapUint32Option) WriteAnswer(name string, value interface{}) error
- type MapUint64Option
- func (o MapUint64Option) IsCumulative() bool
- func (o MapUint64Option) IsDefined() bool
- func (o MapUint64Option) Map() map[string]uint64
- func (o *MapUint64Option) Set(value string) error
- func (o MapUint64Option) String() string
- func (o *MapUint64Option) WriteAnswer(name string, value interface{}) error
- type MapUint8Option
- type MapUintOption
- type MapUintptrOption
- func (o MapUintptrOption) IsCumulative() bool
- func (o MapUintptrOption) IsDefined() bool
- func (o MapUintptrOption) Map() map[string]uintptr
- func (o *MapUintptrOption) Set(value string) error
- func (o MapUintptrOption) String() string
- func (o *MapUintptrOption) WriteAnswer(name string, value interface{}) error
- type MergeOption
- type Merger
- type Option
- func WithApplyChangeSet(apply ChangeSetFunc) Option
- func WithConfigDir(dir string) Option
- func WithCwd(cwd string) Option
- func WithEnvPrefix(env string) Option
- func WithFilterOut(filt FilterOut) Option
- func WithHome(home string) Option
- func WithPreProcessor(pp PreProcessor) Option
- func WithUnmarshaller(unmarshaller func(in []byte, out interface{}) error) Option
- func WithoutExec() Option
- type PreProcessor
- type RawType
- type RawTypeOption
- func (o *RawTypeOption) GetSource() string
- func (o RawTypeOption) GetValue() interface{}
- func (o RawTypeOption) IsDefined() bool
- func (o RawTypeOption) MarshalJSON() ([]byte, error)
- func (o RawTypeOption) MarshalYAML() (interface{}, error)
- func (o *RawTypeOption) Set(s string) error
- func (o *RawTypeOption) SetSource(source string)
- func (o *RawTypeOption) SetValue(v interface{}) error
- func (o RawTypeOption) String() string
- func (o *RawTypeOption) UnmarshalJSON(b []byte) error
- func (o *RawTypeOption) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *RawTypeOption) WriteAnswer(name string, value interface{}) error
- type RuneOption
- func (o *RuneOption) GetSource() string
- func (o RuneOption) GetValue() interface{}
- func (o RuneOption) IsDefined() bool
- func (o RuneOption) MarshalJSON() ([]byte, error)
- func (o RuneOption) MarshalYAML() (interface{}, error)
- func (o *RuneOption) Set(s string) error
- func (o *RuneOption) SetSource(source string)
- func (o *RuneOption) SetValue(v interface{}) error
- func (o RuneOption) String() string
- func (o *RuneOption) UnmarshalJSON(b []byte) error
- func (o *RuneOption) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *RuneOption) WriteAnswer(name string, value interface{}) error
- type StringOption
- func (o *StringOption) GetSource() string
- func (o StringOption) GetValue() interface{}
- func (o StringOption) IsDefined() bool
- func (o StringOption) MarshalJSON() ([]byte, error)
- func (o StringOption) MarshalYAML() (interface{}, error)
- func (o *StringOption) Set(s string) error
- func (o *StringOption) SetSource(source string)
- func (o *StringOption) SetValue(v interface{}) error
- func (o StringOption) String() string
- func (o *StringOption) UnmarshalJSON(b []byte) error
- func (o *StringOption) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *StringOption) WriteAnswer(name string, value interface{}) error
- type Uint16Option
- func (o *Uint16Option) GetSource() string
- func (o Uint16Option) GetValue() interface{}
- func (o Uint16Option) IsDefined() bool
- func (o Uint16Option) MarshalJSON() ([]byte, error)
- func (o Uint16Option) MarshalYAML() (interface{}, error)
- func (o *Uint16Option) Set(s string) error
- func (o *Uint16Option) SetSource(source string)
- func (o *Uint16Option) SetValue(v interface{}) error
- func (o Uint16Option) String() string
- func (o *Uint16Option) UnmarshalJSON(b []byte) error
- func (o *Uint16Option) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *Uint16Option) WriteAnswer(name string, value interface{}) error
- type Uint32Option
- func (o *Uint32Option) GetSource() string
- func (o Uint32Option) GetValue() interface{}
- func (o Uint32Option) IsDefined() bool
- func (o Uint32Option) MarshalJSON() ([]byte, error)
- func (o Uint32Option) MarshalYAML() (interface{}, error)
- func (o *Uint32Option) Set(s string) error
- func (o *Uint32Option) SetSource(source string)
- func (o *Uint32Option) SetValue(v interface{}) error
- func (o Uint32Option) String() string
- func (o *Uint32Option) UnmarshalJSON(b []byte) error
- func (o *Uint32Option) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *Uint32Option) WriteAnswer(name string, value interface{}) error
- type Uint64Option
- func (o *Uint64Option) GetSource() string
- func (o Uint64Option) GetValue() interface{}
- func (o Uint64Option) IsDefined() bool
- func (o Uint64Option) MarshalJSON() ([]byte, error)
- func (o Uint64Option) MarshalYAML() (interface{}, error)
- func (o *Uint64Option) Set(s string) error
- func (o *Uint64Option) SetSource(source string)
- func (o *Uint64Option) SetValue(v interface{}) error
- func (o Uint64Option) String() string
- func (o *Uint64Option) UnmarshalJSON(b []byte) error
- func (o *Uint64Option) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *Uint64Option) WriteAnswer(name string, value interface{}) error
- type Uint8Option
- func (o *Uint8Option) GetSource() string
- func (o Uint8Option) GetValue() interface{}
- func (o Uint8Option) IsDefined() bool
- func (o Uint8Option) MarshalJSON() ([]byte, error)
- func (o Uint8Option) MarshalYAML() (interface{}, error)
- func (o *Uint8Option) Set(s string) error
- func (o *Uint8Option) SetSource(source string)
- func (o *Uint8Option) SetValue(v interface{}) error
- func (o Uint8Option) String() string
- func (o *Uint8Option) UnmarshalJSON(b []byte) error
- func (o *Uint8Option) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *Uint8Option) WriteAnswer(name string, value interface{}) error
- type UintOption
- func (o *UintOption) GetSource() string
- func (o UintOption) GetValue() interface{}
- func (o UintOption) IsDefined() bool
- func (o UintOption) MarshalJSON() ([]byte, error)
- func (o UintOption) MarshalYAML() (interface{}, error)
- func (o *UintOption) Set(s string) error
- func (o *UintOption) SetSource(source string)
- func (o *UintOption) SetValue(v interface{}) error
- func (o UintOption) String() string
- func (o *UintOption) UnmarshalJSON(b []byte) error
- func (o *UintOption) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *UintOption) WriteAnswer(name string, value interface{}) error
- type UintptrOption
- func (o *UintptrOption) GetSource() string
- func (o UintptrOption) GetValue() interface{}
- func (o UintptrOption) IsDefined() bool
- func (o UintptrOption) MarshalJSON() ([]byte, error)
- func (o UintptrOption) MarshalYAML() (interface{}, error)
- func (o *UintptrOption) Set(s string) error
- func (o *UintptrOption) SetSource(source string)
- func (o *UintptrOption) SetValue(v interface{}) error
- func (o UintptrOption) String() string
- func (o *UintptrOption) UnmarshalJSON(b []byte) error
- func (o *UintptrOption) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (o *UintptrOption) WriteAnswer(name string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
var StringifyValue = true
Functions ¶
func FindParentPaths ¶
func MakeMergeStruct ¶
func MakeMergeStruct(structs ...interface{}) interface{}
MakeMergeStruct will take multiple structs and return a pointer to a zero value for the anonymous struct that has all the public fields from all the structs merged into one struct. If there are multiple structs with the same field names, the first appearance of that name will be used.
Types ¶
type BoolOption ¶
func NewBoolOption ¶
func NewBoolOption(dflt bool) BoolOption
func (*BoolOption) GetSource ¶
func (o *BoolOption) GetSource() string
func (BoolOption) GetValue ¶
func (o BoolOption) GetValue() interface{}
func (BoolOption) IsBoolFlag ¶
func (b BoolOption) IsBoolFlag() bool
IsBoolFlag is required by kingpin interface to determine if this variable requires a value
func (BoolOption) IsDefined ¶
func (o BoolOption) IsDefined() bool
func (BoolOption) MarshalJSON ¶
func (o BoolOption) MarshalJSON() ([]byte, error)
func (BoolOption) MarshalYAML ¶
func (o BoolOption) MarshalYAML() (interface{}, error)
func (*BoolOption) Set ¶
func (o *BoolOption) Set(s string) error
This is useful with kingpin option parser
func (*BoolOption) SetSource ¶
func (o *BoolOption) SetSource(source string)
func (*BoolOption) SetValue ¶
func (o *BoolOption) SetValue(v interface{}) error
func (BoolOption) String ¶
func (o BoolOption) String() string
String is required for kingpin to generate usage with this datatype
func (*BoolOption) UnmarshalJSON ¶
func (o *BoolOption) UnmarshalJSON(b []byte) error
func (*BoolOption) UnmarshalYAML ¶
func (o *BoolOption) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*BoolOption) WriteAnswer ¶
func (o *BoolOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ByteOption ¶
func NewByteOption ¶
func NewByteOption(dflt byte) ByteOption
func (*ByteOption) GetSource ¶
func (o *ByteOption) GetSource() string
func (ByteOption) GetValue ¶
func (o ByteOption) GetValue() interface{}
func (ByteOption) IsDefined ¶
func (o ByteOption) IsDefined() bool
func (ByteOption) MarshalJSON ¶
func (o ByteOption) MarshalJSON() ([]byte, error)
func (ByteOption) MarshalYAML ¶
func (o ByteOption) MarshalYAML() (interface{}, error)
func (*ByteOption) Set ¶
func (o *ByteOption) Set(s string) error
This is useful with kingpin option parser
func (*ByteOption) SetSource ¶
func (o *ByteOption) SetSource(source string)
func (*ByteOption) SetValue ¶
func (o *ByteOption) SetValue(v interface{}) error
func (ByteOption) String ¶
func (o ByteOption) String() string
String is required for kingpin to generate usage with this datatype
func (*ByteOption) UnmarshalJSON ¶
func (o *ByteOption) UnmarshalJSON(b []byte) error
func (*ByteOption) UnmarshalYAML ¶
func (o *ByteOption) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*ByteOption) WriteAnswer ¶
func (o *ByteOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ChangeSetFunc ¶ added in v1.0.1
type Complex128Option ¶
type Complex128Option struct { Source string Defined bool Value complex128 }
func NewComplex128Option ¶
func NewComplex128Option(dflt complex128) Complex128Option
func (*Complex128Option) GetSource ¶
func (o *Complex128Option) GetSource() string
func (Complex128Option) GetValue ¶
func (o Complex128Option) GetValue() interface{}
func (Complex128Option) IsDefined ¶
func (o Complex128Option) IsDefined() bool
func (Complex128Option) MarshalJSON ¶
func (o Complex128Option) MarshalJSON() ([]byte, error)
func (Complex128Option) MarshalYAML ¶
func (o Complex128Option) MarshalYAML() (interface{}, error)
func (*Complex128Option) Set ¶
func (o *Complex128Option) Set(s string) error
This is useful with kingpin option parser
func (*Complex128Option) SetSource ¶
func (o *Complex128Option) SetSource(source string)
func (*Complex128Option) SetValue ¶
func (o *Complex128Option) SetValue(v interface{}) error
func (Complex128Option) String ¶
func (o Complex128Option) String() string
String is required for kingpin to generate usage with this datatype
func (*Complex128Option) UnmarshalJSON ¶
func (o *Complex128Option) UnmarshalJSON(b []byte) error
func (*Complex128Option) UnmarshalYAML ¶
func (o *Complex128Option) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*Complex128Option) WriteAnswer ¶
func (o *Complex128Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type Complex64Option ¶
func NewComplex64Option ¶
func NewComplex64Option(dflt complex64) Complex64Option
func (*Complex64Option) GetSource ¶
func (o *Complex64Option) GetSource() string
func (Complex64Option) GetValue ¶
func (o Complex64Option) GetValue() interface{}
func (Complex64Option) IsDefined ¶
func (o Complex64Option) IsDefined() bool
func (Complex64Option) MarshalJSON ¶
func (o Complex64Option) MarshalJSON() ([]byte, error)
func (Complex64Option) MarshalYAML ¶
func (o Complex64Option) MarshalYAML() (interface{}, error)
func (*Complex64Option) Set ¶
func (o *Complex64Option) Set(s string) error
This is useful with kingpin option parser
func (*Complex64Option) SetSource ¶
func (o *Complex64Option) SetSource(source string)
func (*Complex64Option) SetValue ¶
func (o *Complex64Option) SetValue(v interface{}) error
func (Complex64Option) String ¶
func (o Complex64Option) String() string
String is required for kingpin to generate usage with this datatype
func (*Complex64Option) UnmarshalJSON ¶
func (o *Complex64Option) UnmarshalJSON(b []byte) error
func (*Complex64Option) UnmarshalYAML ¶
func (o *Complex64Option) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*Complex64Option) WriteAnswer ¶
func (o *Complex64Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ConfigOptions ¶
type ConfigOptions struct {
Overwrite []string `json:"overwrite,omitempty" yaml:"overwrite,omitempty"`
}
type ConfigSource ¶ added in v1.0.1
type ErrorOption ¶
func NewErrorOption ¶
func NewErrorOption(dflt error) ErrorOption
func (*ErrorOption) GetSource ¶
func (o *ErrorOption) GetSource() string
func (ErrorOption) GetValue ¶
func (o ErrorOption) GetValue() interface{}
func (ErrorOption) IsDefined ¶
func (o ErrorOption) IsDefined() bool
func (ErrorOption) MarshalJSON ¶
func (o ErrorOption) MarshalJSON() ([]byte, error)
func (ErrorOption) MarshalYAML ¶
func (o ErrorOption) MarshalYAML() (interface{}, error)
func (*ErrorOption) Set ¶
func (o *ErrorOption) Set(s string) error
This is useful with kingpin option parser
func (*ErrorOption) SetSource ¶
func (o *ErrorOption) SetSource(source string)
func (*ErrorOption) SetValue ¶
func (o *ErrorOption) SetValue(v interface{}) error
func (ErrorOption) String ¶
func (o ErrorOption) String() string
String is required for kingpin to generate usage with this datatype
func (*ErrorOption) UnmarshalJSON ¶
func (o *ErrorOption) UnmarshalJSON(b []byte) error
func (*ErrorOption) UnmarshalYAML ¶
func (o *ErrorOption) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*ErrorOption) WriteAnswer ¶
func (o *ErrorOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type FigTree ¶
type FigTree struct {
// contains filtered or unexported fields
}
func NewFigTree ¶
func (*FigTree) FindParentPaths ¶ added in v1.0.1
func (*FigTree) LoadAllConfigSources ¶ added in v1.0.1
func (f *FigTree) LoadAllConfigSources(sources []ConfigSource, options interface{}) error
func (*FigTree) LoadAllConfigs ¶
func (*FigTree) LoadConfig ¶
func (*FigTree) LoadConfigBytes ¶
func (*FigTree) PopulateEnv ¶
func (*FigTree) ReadFile ¶ added in v1.0.1
func (f *FigTree) ReadFile(file string) (*ConfigSource, error)
ReadFile will return a ConfigSource for given file path. If the file is executable (and WithoutExec was not used), it will execute the file and return the stdout otherwise it will return the file contents directly.
func (*FigTree) WithApplyChangeSet ¶ added in v1.0.1
func (f *FigTree) WithApplyChangeSet(apply ChangeSetFunc)
func (*FigTree) WithConfigDir ¶ added in v1.0.1
func (*FigTree) WithEnvPrefix ¶ added in v1.0.1
func (*FigTree) WithFilterOut ¶ added in v1.0.1
func (*FigTree) WithIgnoreChangeSet ¶ added in v1.0.1
func (f *FigTree) WithIgnoreChangeSet()
func (*FigTree) WithPreProcessor ¶ added in v1.0.1
func (f *FigTree) WithPreProcessor(pp PreProcessor)
func (*FigTree) WithUnmarshaller ¶ added in v1.0.1
func (*FigTree) WithoutExec ¶ added in v1.0.1
func (f *FigTree) WithoutExec()
type Float32Option ¶
func NewFloat32Option ¶
func NewFloat32Option(dflt float32) Float32Option
func (*Float32Option) GetSource ¶
func (o *Float32Option) GetSource() string
func (Float32Option) GetValue ¶
func (o Float32Option) GetValue() interface{}
func (Float32Option) IsDefined ¶
func (o Float32Option) IsDefined() bool
func (Float32Option) MarshalJSON ¶
func (o Float32Option) MarshalJSON() ([]byte, error)
func (Float32Option) MarshalYAML ¶
func (o Float32Option) MarshalYAML() (interface{}, error)
func (*Float32Option) Set ¶
func (o *Float32Option) Set(s string) error
This is useful with kingpin option parser
func (*Float32Option) SetSource ¶
func (o *Float32Option) SetSource(source string)
func (*Float32Option) SetValue ¶
func (o *Float32Option) SetValue(v interface{}) error
func (Float32Option) String ¶
func (o Float32Option) String() string
String is required for kingpin to generate usage with this datatype
func (*Float32Option) UnmarshalJSON ¶
func (o *Float32Option) UnmarshalJSON(b []byte) error
func (*Float32Option) UnmarshalYAML ¶
func (o *Float32Option) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*Float32Option) WriteAnswer ¶
func (o *Float32Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type Float64Option ¶
func NewFloat64Option ¶
func NewFloat64Option(dflt float64) Float64Option
func (*Float64Option) GetSource ¶
func (o *Float64Option) GetSource() string
func (Float64Option) GetValue ¶
func (o Float64Option) GetValue() interface{}
func (Float64Option) IsDefined ¶
func (o Float64Option) IsDefined() bool
func (Float64Option) MarshalJSON ¶
func (o Float64Option) MarshalJSON() ([]byte, error)
func (Float64Option) MarshalYAML ¶
func (o Float64Option) MarshalYAML() (interface{}, error)
func (*Float64Option) Set ¶
func (o *Float64Option) Set(s string) error
This is useful with kingpin option parser
func (*Float64Option) SetSource ¶
func (o *Float64Option) SetSource(source string)
func (*Float64Option) SetValue ¶
func (o *Float64Option) SetValue(v interface{}) error
func (Float64Option) String ¶
func (o Float64Option) String() string
String is required for kingpin to generate usage with this datatype
func (*Float64Option) UnmarshalJSON ¶
func (o *Float64Option) UnmarshalJSON(b []byte) error
func (*Float64Option) UnmarshalYAML ¶
func (o *Float64Option) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*Float64Option) WriteAnswer ¶
func (o *Float64Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type Int16Option ¶
func NewInt16Option ¶
func NewInt16Option(dflt int16) Int16Option
func (*Int16Option) GetSource ¶
func (o *Int16Option) GetSource() string
func (Int16Option) GetValue ¶
func (o Int16Option) GetValue() interface{}
func (Int16Option) IsDefined ¶
func (o Int16Option) IsDefined() bool
func (Int16Option) MarshalJSON ¶
func (o Int16Option) MarshalJSON() ([]byte, error)
func (Int16Option) MarshalYAML ¶
func (o Int16Option) MarshalYAML() (interface{}, error)
func (*Int16Option) Set ¶
func (o *Int16Option) Set(s string) error
This is useful with kingpin option parser
func (*Int16Option) SetSource ¶
func (o *Int16Option) SetSource(source string)
func (*Int16Option) SetValue ¶
func (o *Int16Option) SetValue(v interface{}) error
func (Int16Option) String ¶
func (o Int16Option) String() string
String is required for kingpin to generate usage with this datatype
func (*Int16Option) UnmarshalJSON ¶
func (o *Int16Option) UnmarshalJSON(b []byte) error
func (*Int16Option) UnmarshalYAML ¶
func (o *Int16Option) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*Int16Option) WriteAnswer ¶
func (o *Int16Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type Int32Option ¶
func NewInt32Option ¶
func NewInt32Option(dflt int32) Int32Option
func (*Int32Option) GetSource ¶
func (o *Int32Option) GetSource() string
func (Int32Option) GetValue ¶
func (o Int32Option) GetValue() interface{}
func (Int32Option) IsDefined ¶
func (o Int32Option) IsDefined() bool
func (Int32Option) MarshalJSON ¶
func (o Int32Option) MarshalJSON() ([]byte, error)
func (Int32Option) MarshalYAML ¶
func (o Int32Option) MarshalYAML() (interface{}, error)
func (*Int32Option) Set ¶
func (o *Int32Option) Set(s string) error
This is useful with kingpin option parser
func (*Int32Option) SetSource ¶
func (o *Int32Option) SetSource(source string)
func (*Int32Option) SetValue ¶
func (o *Int32Option) SetValue(v interface{}) error
func (Int32Option) String ¶
func (o Int32Option) String() string
String is required for kingpin to generate usage with this datatype
func (*Int32Option) UnmarshalJSON ¶
func (o *Int32Option) UnmarshalJSON(b []byte) error
func (*Int32Option) UnmarshalYAML ¶
func (o *Int32Option) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*Int32Option) WriteAnswer ¶
func (o *Int32Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type Int64Option ¶
func NewInt64Option ¶
func NewInt64Option(dflt int64) Int64Option
func (*Int64Option) GetSource ¶
func (o *Int64Option) GetSource() string
func (Int64Option) GetValue ¶
func (o Int64Option) GetValue() interface{}
func (Int64Option) IsDefined ¶
func (o Int64Option) IsDefined() bool
func (Int64Option) MarshalJSON ¶
func (o Int64Option) MarshalJSON() ([]byte, error)
func (Int64Option) MarshalYAML ¶
func (o Int64Option) MarshalYAML() (interface{}, error)
func (*Int64Option) Set ¶
func (o *Int64Option) Set(s string) error
This is useful with kingpin option parser
func (*Int64Option) SetSource ¶
func (o *Int64Option) SetSource(source string)
func (*Int64Option) SetValue ¶
func (o *Int64Option) SetValue(v interface{}) error
func (Int64Option) String ¶
func (o Int64Option) String() string
String is required for kingpin to generate usage with this datatype
func (*Int64Option) UnmarshalJSON ¶
func (o *Int64Option) UnmarshalJSON(b []byte) error
func (*Int64Option) UnmarshalYAML ¶
func (o *Int64Option) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*Int64Option) WriteAnswer ¶
func (o *Int64Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type Int8Option ¶
func NewInt8Option ¶
func NewInt8Option(dflt int8) Int8Option
func (*Int8Option) GetSource ¶
func (o *Int8Option) GetSource() string
func (Int8Option) GetValue ¶
func (o Int8Option) GetValue() interface{}
func (Int8Option) IsDefined ¶
func (o Int8Option) IsDefined() bool
func (Int8Option) MarshalJSON ¶
func (o Int8Option) MarshalJSON() ([]byte, error)
func (Int8Option) MarshalYAML ¶
func (o Int8Option) MarshalYAML() (interface{}, error)
func (*Int8Option) Set ¶
func (o *Int8Option) Set(s string) error
This is useful with kingpin option parser
func (*Int8Option) SetSource ¶
func (o *Int8Option) SetSource(source string)
func (*Int8Option) SetValue ¶
func (o *Int8Option) SetValue(v interface{}) error
func (Int8Option) String ¶
func (o Int8Option) String() string
String is required for kingpin to generate usage with this datatype
func (*Int8Option) UnmarshalJSON ¶
func (o *Int8Option) UnmarshalJSON(b []byte) error
func (*Int8Option) UnmarshalYAML ¶
func (o *Int8Option) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*Int8Option) WriteAnswer ¶
func (o *Int8Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type IntOption ¶
func NewIntOption ¶
func (IntOption) MarshalJSON ¶
func (IntOption) MarshalYAML ¶
func (*IntOption) UnmarshalJSON ¶
func (*IntOption) UnmarshalYAML ¶
func (*IntOption) WriteAnswer ¶
This is useful with survey prompting library
type ListBoolOption ¶
type ListBoolOption []BoolOption
func (ListBoolOption) Append ¶
func (o ListBoolOption) Append(values ...bool) ListBoolOption
func (ListBoolOption) IsCumulative ¶
func (o ListBoolOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListBoolOption) IsDefined ¶
func (o ListBoolOption) IsDefined() bool
func (*ListBoolOption) Set ¶
func (o *ListBoolOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListBoolOption) Slice ¶
func (o ListBoolOption) Slice() []bool
func (ListBoolOption) String ¶
func (o ListBoolOption) String() string
String is required for kingpin to generate usage with this datatype
func (*ListBoolOption) WriteAnswer ¶
func (o *ListBoolOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListByteOption ¶
type ListByteOption []ByteOption
func (ListByteOption) Append ¶
func (o ListByteOption) Append(values ...byte) ListByteOption
func (ListByteOption) IsCumulative ¶
func (o ListByteOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListByteOption) IsDefined ¶
func (o ListByteOption) IsDefined() bool
func (*ListByteOption) Set ¶
func (o *ListByteOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListByteOption) Slice ¶
func (o ListByteOption) Slice() []byte
func (ListByteOption) String ¶
func (o ListByteOption) String() string
String is required for kingpin to generate usage with this datatype
func (*ListByteOption) WriteAnswer ¶
func (o *ListByteOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListComplex128Option ¶
type ListComplex128Option []Complex128Option
func (ListComplex128Option) Append ¶
func (o ListComplex128Option) Append(values ...complex128) ListComplex128Option
func (ListComplex128Option) IsCumulative ¶
func (o ListComplex128Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListComplex128Option) IsDefined ¶
func (o ListComplex128Option) IsDefined() bool
func (*ListComplex128Option) Set ¶
func (o *ListComplex128Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListComplex128Option) Slice ¶
func (o ListComplex128Option) Slice() []complex128
func (ListComplex128Option) String ¶
func (o ListComplex128Option) String() string
String is required for kingpin to generate usage with this datatype
func (*ListComplex128Option) WriteAnswer ¶
func (o *ListComplex128Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListComplex64Option ¶
type ListComplex64Option []Complex64Option
func (ListComplex64Option) Append ¶
func (o ListComplex64Option) Append(values ...complex64) ListComplex64Option
func (ListComplex64Option) IsCumulative ¶
func (o ListComplex64Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListComplex64Option) IsDefined ¶
func (o ListComplex64Option) IsDefined() bool
func (*ListComplex64Option) Set ¶
func (o *ListComplex64Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListComplex64Option) Slice ¶
func (o ListComplex64Option) Slice() []complex64
func (ListComplex64Option) String ¶
func (o ListComplex64Option) String() string
String is required for kingpin to generate usage with this datatype
func (*ListComplex64Option) WriteAnswer ¶
func (o *ListComplex64Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListErrorOption ¶
type ListErrorOption []ErrorOption
func (ListErrorOption) Append ¶
func (o ListErrorOption) Append(values ...error) ListErrorOption
func (ListErrorOption) IsCumulative ¶
func (o ListErrorOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListErrorOption) IsDefined ¶
func (o ListErrorOption) IsDefined() bool
func (*ListErrorOption) Set ¶
func (o *ListErrorOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListErrorOption) Slice ¶
func (o ListErrorOption) Slice() []error
func (ListErrorOption) String ¶
func (o ListErrorOption) String() string
String is required for kingpin to generate usage with this datatype
func (*ListErrorOption) WriteAnswer ¶
func (o *ListErrorOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListFloat32Option ¶
type ListFloat32Option []Float32Option
func (ListFloat32Option) Append ¶
func (o ListFloat32Option) Append(values ...float32) ListFloat32Option
func (ListFloat32Option) IsCumulative ¶
func (o ListFloat32Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListFloat32Option) IsDefined ¶
func (o ListFloat32Option) IsDefined() bool
func (*ListFloat32Option) Set ¶
func (o *ListFloat32Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListFloat32Option) Slice ¶
func (o ListFloat32Option) Slice() []float32
func (ListFloat32Option) String ¶
func (o ListFloat32Option) String() string
String is required for kingpin to generate usage with this datatype
func (*ListFloat32Option) WriteAnswer ¶
func (o *ListFloat32Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListFloat64Option ¶
type ListFloat64Option []Float64Option
func (ListFloat64Option) Append ¶
func (o ListFloat64Option) Append(values ...float64) ListFloat64Option
func (ListFloat64Option) IsCumulative ¶
func (o ListFloat64Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListFloat64Option) IsDefined ¶
func (o ListFloat64Option) IsDefined() bool
func (*ListFloat64Option) Set ¶
func (o *ListFloat64Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListFloat64Option) Slice ¶
func (o ListFloat64Option) Slice() []float64
func (ListFloat64Option) String ¶
func (o ListFloat64Option) String() string
String is required for kingpin to generate usage with this datatype
func (*ListFloat64Option) WriteAnswer ¶
func (o *ListFloat64Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListInt16Option ¶
type ListInt16Option []Int16Option
func (ListInt16Option) Append ¶
func (o ListInt16Option) Append(values ...int16) ListInt16Option
func (ListInt16Option) IsCumulative ¶
func (o ListInt16Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListInt16Option) IsDefined ¶
func (o ListInt16Option) IsDefined() bool
func (*ListInt16Option) Set ¶
func (o *ListInt16Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListInt16Option) Slice ¶
func (o ListInt16Option) Slice() []int16
func (ListInt16Option) String ¶
func (o ListInt16Option) String() string
String is required for kingpin to generate usage with this datatype
func (*ListInt16Option) WriteAnswer ¶
func (o *ListInt16Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListInt32Option ¶
type ListInt32Option []Int32Option
func (ListInt32Option) Append ¶
func (o ListInt32Option) Append(values ...int32) ListInt32Option
func (ListInt32Option) IsCumulative ¶
func (o ListInt32Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListInt32Option) IsDefined ¶
func (o ListInt32Option) IsDefined() bool
func (*ListInt32Option) Set ¶
func (o *ListInt32Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListInt32Option) Slice ¶
func (o ListInt32Option) Slice() []int32
func (ListInt32Option) String ¶
func (o ListInt32Option) String() string
String is required for kingpin to generate usage with this datatype
func (*ListInt32Option) WriteAnswer ¶
func (o *ListInt32Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListInt64Option ¶
type ListInt64Option []Int64Option
func (ListInt64Option) Append ¶
func (o ListInt64Option) Append(values ...int64) ListInt64Option
func (ListInt64Option) IsCumulative ¶
func (o ListInt64Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListInt64Option) IsDefined ¶
func (o ListInt64Option) IsDefined() bool
func (*ListInt64Option) Set ¶
func (o *ListInt64Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListInt64Option) Slice ¶
func (o ListInt64Option) Slice() []int64
func (ListInt64Option) String ¶
func (o ListInt64Option) String() string
String is required for kingpin to generate usage with this datatype
func (*ListInt64Option) WriteAnswer ¶
func (o *ListInt64Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListInt8Option ¶
type ListInt8Option []Int8Option
func (ListInt8Option) Append ¶
func (o ListInt8Option) Append(values ...int8) ListInt8Option
func (ListInt8Option) IsCumulative ¶
func (o ListInt8Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListInt8Option) IsDefined ¶
func (o ListInt8Option) IsDefined() bool
func (*ListInt8Option) Set ¶
func (o *ListInt8Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListInt8Option) Slice ¶
func (o ListInt8Option) Slice() []int8
func (ListInt8Option) String ¶
func (o ListInt8Option) String() string
String is required for kingpin to generate usage with this datatype
func (*ListInt8Option) WriteAnswer ¶
func (o *ListInt8Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListIntOption ¶
type ListIntOption []IntOption
func (ListIntOption) Append ¶
func (o ListIntOption) Append(values ...int) ListIntOption
func (ListIntOption) IsCumulative ¶
func (o ListIntOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListIntOption) IsDefined ¶
func (o ListIntOption) IsDefined() bool
func (*ListIntOption) Set ¶
func (o *ListIntOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListIntOption) Slice ¶
func (o ListIntOption) Slice() []int
func (ListIntOption) String ¶
func (o ListIntOption) String() string
String is required for kingpin to generate usage with this datatype
func (*ListIntOption) WriteAnswer ¶
func (o *ListIntOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListRawTypeOption ¶
type ListRawTypeOption []RawTypeOption
func (ListRawTypeOption) Append ¶
func (o ListRawTypeOption) Append(values ...RawType) ListRawTypeOption
func (ListRawTypeOption) IsCumulative ¶
func (o ListRawTypeOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListRawTypeOption) IsDefined ¶
func (o ListRawTypeOption) IsDefined() bool
func (*ListRawTypeOption) Set ¶
func (o *ListRawTypeOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListRawTypeOption) Slice ¶
func (o ListRawTypeOption) Slice() []RawType
func (ListRawTypeOption) String ¶
func (o ListRawTypeOption) String() string
String is required for kingpin to generate usage with this datatype
func (*ListRawTypeOption) WriteAnswer ¶
func (o *ListRawTypeOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListRuneOption ¶
type ListRuneOption []RuneOption
func (ListRuneOption) Append ¶
func (o ListRuneOption) Append(values ...rune) ListRuneOption
func (ListRuneOption) IsCumulative ¶
func (o ListRuneOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListRuneOption) IsDefined ¶
func (o ListRuneOption) IsDefined() bool
func (*ListRuneOption) Set ¶
func (o *ListRuneOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListRuneOption) Slice ¶
func (o ListRuneOption) Slice() []rune
func (ListRuneOption) String ¶
func (o ListRuneOption) String() string
String is required for kingpin to generate usage with this datatype
func (*ListRuneOption) WriteAnswer ¶
func (o *ListRuneOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListStringOption ¶
type ListStringOption []StringOption
func (ListStringOption) Append ¶
func (o ListStringOption) Append(values ...string) ListStringOption
func (ListStringOption) IsCumulative ¶
func (o ListStringOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListStringOption) IsDefined ¶
func (o ListStringOption) IsDefined() bool
func (*ListStringOption) Set ¶
func (o *ListStringOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListStringOption) Slice ¶
func (o ListStringOption) Slice() []string
func (ListStringOption) String ¶
func (o ListStringOption) String() string
String is required for kingpin to generate usage with this datatype
func (*ListStringOption) WriteAnswer ¶
func (o *ListStringOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListUint16Option ¶
type ListUint16Option []Uint16Option
func (ListUint16Option) Append ¶
func (o ListUint16Option) Append(values ...uint16) ListUint16Option
func (ListUint16Option) IsCumulative ¶
func (o ListUint16Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListUint16Option) IsDefined ¶
func (o ListUint16Option) IsDefined() bool
func (*ListUint16Option) Set ¶
func (o *ListUint16Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListUint16Option) Slice ¶
func (o ListUint16Option) Slice() []uint16
func (ListUint16Option) String ¶
func (o ListUint16Option) String() string
String is required for kingpin to generate usage with this datatype
func (*ListUint16Option) WriteAnswer ¶
func (o *ListUint16Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListUint32Option ¶
type ListUint32Option []Uint32Option
func (ListUint32Option) Append ¶
func (o ListUint32Option) Append(values ...uint32) ListUint32Option
func (ListUint32Option) IsCumulative ¶
func (o ListUint32Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListUint32Option) IsDefined ¶
func (o ListUint32Option) IsDefined() bool
func (*ListUint32Option) Set ¶
func (o *ListUint32Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListUint32Option) Slice ¶
func (o ListUint32Option) Slice() []uint32
func (ListUint32Option) String ¶
func (o ListUint32Option) String() string
String is required for kingpin to generate usage with this datatype
func (*ListUint32Option) WriteAnswer ¶
func (o *ListUint32Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListUint64Option ¶
type ListUint64Option []Uint64Option
func (ListUint64Option) Append ¶
func (o ListUint64Option) Append(values ...uint64) ListUint64Option
func (ListUint64Option) IsCumulative ¶
func (o ListUint64Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListUint64Option) IsDefined ¶
func (o ListUint64Option) IsDefined() bool
func (*ListUint64Option) Set ¶
func (o *ListUint64Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListUint64Option) Slice ¶
func (o ListUint64Option) Slice() []uint64
func (ListUint64Option) String ¶
func (o ListUint64Option) String() string
String is required for kingpin to generate usage with this datatype
func (*ListUint64Option) WriteAnswer ¶
func (o *ListUint64Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListUint8Option ¶
type ListUint8Option []Uint8Option
func (ListUint8Option) Append ¶
func (o ListUint8Option) Append(values ...uint8) ListUint8Option
func (ListUint8Option) IsCumulative ¶
func (o ListUint8Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListUint8Option) IsDefined ¶
func (o ListUint8Option) IsDefined() bool
func (*ListUint8Option) Set ¶
func (o *ListUint8Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListUint8Option) Slice ¶
func (o ListUint8Option) Slice() []uint8
func (ListUint8Option) String ¶
func (o ListUint8Option) String() string
String is required for kingpin to generate usage with this datatype
func (*ListUint8Option) WriteAnswer ¶
func (o *ListUint8Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListUintOption ¶
type ListUintOption []UintOption
func (ListUintOption) Append ¶
func (o ListUintOption) Append(values ...uint) ListUintOption
func (ListUintOption) IsCumulative ¶
func (o ListUintOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListUintOption) IsDefined ¶
func (o ListUintOption) IsDefined() bool
func (*ListUintOption) Set ¶
func (o *ListUintOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListUintOption) Slice ¶
func (o ListUintOption) Slice() []uint
func (ListUintOption) String ¶
func (o ListUintOption) String() string
String is required for kingpin to generate usage with this datatype
func (*ListUintOption) WriteAnswer ¶
func (o *ListUintOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type ListUintptrOption ¶
type ListUintptrOption []UintptrOption
func (ListUintptrOption) Append ¶
func (o ListUintptrOption) Append(values ...uintptr) ListUintptrOption
func (ListUintptrOption) IsCumulative ¶
func (o ListUintptrOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (ListUintptrOption) IsDefined ¶
func (o ListUintptrOption) IsDefined() bool
func (*ListUintptrOption) Set ¶
func (o *ListUintptrOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (ListUintptrOption) Slice ¶
func (o ListUintptrOption) Slice() []uintptr
func (ListUintptrOption) String ¶
func (o ListUintptrOption) String() string
String is required for kingpin to generate usage with this datatype
func (*ListUintptrOption) WriteAnswer ¶
func (o *ListUintptrOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type Logger ¶
type Logger interface {
Debugf(format string, args ...interface{})
}
var Log Logger = &nullLogger{}
type MapBoolOption ¶
type MapBoolOption map[string]BoolOption
func (MapBoolOption) IsCumulative ¶
func (o MapBoolOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapBoolOption) IsDefined ¶
func (o MapBoolOption) IsDefined() bool
func (MapBoolOption) Map ¶
func (o MapBoolOption) Map() map[string]bool
func (*MapBoolOption) Set ¶
func (o *MapBoolOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapBoolOption) String ¶
func (o MapBoolOption) String() string
String is required for kingpin to generate usage with this datatype
func (*MapBoolOption) WriteAnswer ¶
func (o *MapBoolOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapByteOption ¶
type MapByteOption map[string]ByteOption
func (MapByteOption) IsCumulative ¶
func (o MapByteOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapByteOption) IsDefined ¶
func (o MapByteOption) IsDefined() bool
func (MapByteOption) Map ¶
func (o MapByteOption) Map() map[string]byte
func (*MapByteOption) Set ¶
func (o *MapByteOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapByteOption) String ¶
func (o MapByteOption) String() string
String is required for kingpin to generate usage with this datatype
func (*MapByteOption) WriteAnswer ¶
func (o *MapByteOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapComplex128Option ¶
type MapComplex128Option map[string]Complex128Option
func (MapComplex128Option) IsCumulative ¶
func (o MapComplex128Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapComplex128Option) IsDefined ¶
func (o MapComplex128Option) IsDefined() bool
func (MapComplex128Option) Map ¶
func (o MapComplex128Option) Map() map[string]complex128
func (*MapComplex128Option) Set ¶
func (o *MapComplex128Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapComplex128Option) String ¶
func (o MapComplex128Option) String() string
String is required for kingpin to generate usage with this datatype
func (*MapComplex128Option) WriteAnswer ¶
func (o *MapComplex128Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapComplex64Option ¶
type MapComplex64Option map[string]Complex64Option
func (MapComplex64Option) IsCumulative ¶
func (o MapComplex64Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapComplex64Option) IsDefined ¶
func (o MapComplex64Option) IsDefined() bool
func (MapComplex64Option) Map ¶
func (o MapComplex64Option) Map() map[string]complex64
func (*MapComplex64Option) Set ¶
func (o *MapComplex64Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapComplex64Option) String ¶
func (o MapComplex64Option) String() string
String is required for kingpin to generate usage with this datatype
func (*MapComplex64Option) WriteAnswer ¶
func (o *MapComplex64Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapErrorOption ¶
type MapErrorOption map[string]ErrorOption
func (MapErrorOption) IsCumulative ¶
func (o MapErrorOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapErrorOption) IsDefined ¶
func (o MapErrorOption) IsDefined() bool
func (MapErrorOption) Map ¶
func (o MapErrorOption) Map() map[string]error
func (*MapErrorOption) Set ¶
func (o *MapErrorOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapErrorOption) String ¶
func (o MapErrorOption) String() string
String is required for kingpin to generate usage with this datatype
func (*MapErrorOption) WriteAnswer ¶
func (o *MapErrorOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapFloat32Option ¶
type MapFloat32Option map[string]Float32Option
func (MapFloat32Option) IsCumulative ¶
func (o MapFloat32Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapFloat32Option) IsDefined ¶
func (o MapFloat32Option) IsDefined() bool
func (MapFloat32Option) Map ¶
func (o MapFloat32Option) Map() map[string]float32
func (*MapFloat32Option) Set ¶
func (o *MapFloat32Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapFloat32Option) String ¶
func (o MapFloat32Option) String() string
String is required for kingpin to generate usage with this datatype
func (*MapFloat32Option) WriteAnswer ¶
func (o *MapFloat32Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapFloat64Option ¶
type MapFloat64Option map[string]Float64Option
func (MapFloat64Option) IsCumulative ¶
func (o MapFloat64Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapFloat64Option) IsDefined ¶
func (o MapFloat64Option) IsDefined() bool
func (MapFloat64Option) Map ¶
func (o MapFloat64Option) Map() map[string]float64
func (*MapFloat64Option) Set ¶
func (o *MapFloat64Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapFloat64Option) String ¶
func (o MapFloat64Option) String() string
String is required for kingpin to generate usage with this datatype
func (*MapFloat64Option) WriteAnswer ¶
func (o *MapFloat64Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapInt16Option ¶
type MapInt16Option map[string]Int16Option
func (MapInt16Option) IsCumulative ¶
func (o MapInt16Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapInt16Option) IsDefined ¶
func (o MapInt16Option) IsDefined() bool
func (MapInt16Option) Map ¶
func (o MapInt16Option) Map() map[string]int16
func (*MapInt16Option) Set ¶
func (o *MapInt16Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapInt16Option) String ¶
func (o MapInt16Option) String() string
String is required for kingpin to generate usage with this datatype
func (*MapInt16Option) WriteAnswer ¶
func (o *MapInt16Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapInt32Option ¶
type MapInt32Option map[string]Int32Option
func (MapInt32Option) IsCumulative ¶
func (o MapInt32Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapInt32Option) IsDefined ¶
func (o MapInt32Option) IsDefined() bool
func (MapInt32Option) Map ¶
func (o MapInt32Option) Map() map[string]int32
func (*MapInt32Option) Set ¶
func (o *MapInt32Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapInt32Option) String ¶
func (o MapInt32Option) String() string
String is required for kingpin to generate usage with this datatype
func (*MapInt32Option) WriteAnswer ¶
func (o *MapInt32Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapInt64Option ¶
type MapInt64Option map[string]Int64Option
func (MapInt64Option) IsCumulative ¶
func (o MapInt64Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapInt64Option) IsDefined ¶
func (o MapInt64Option) IsDefined() bool
func (MapInt64Option) Map ¶
func (o MapInt64Option) Map() map[string]int64
func (*MapInt64Option) Set ¶
func (o *MapInt64Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapInt64Option) String ¶
func (o MapInt64Option) String() string
String is required for kingpin to generate usage with this datatype
func (*MapInt64Option) WriteAnswer ¶
func (o *MapInt64Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapInt8Option ¶
type MapInt8Option map[string]Int8Option
func (MapInt8Option) IsCumulative ¶
func (o MapInt8Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapInt8Option) IsDefined ¶
func (o MapInt8Option) IsDefined() bool
func (MapInt8Option) Map ¶
func (o MapInt8Option) Map() map[string]int8
func (*MapInt8Option) Set ¶
func (o *MapInt8Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapInt8Option) String ¶
func (o MapInt8Option) String() string
String is required for kingpin to generate usage with this datatype
func (*MapInt8Option) WriteAnswer ¶
func (o *MapInt8Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapIntOption ¶
func (MapIntOption) IsCumulative ¶
func (o MapIntOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapIntOption) IsDefined ¶
func (o MapIntOption) IsDefined() bool
func (MapIntOption) Map ¶
func (o MapIntOption) Map() map[string]int
func (*MapIntOption) Set ¶
func (o *MapIntOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapIntOption) String ¶
func (o MapIntOption) String() string
String is required for kingpin to generate usage with this datatype
func (*MapIntOption) WriteAnswer ¶
func (o *MapIntOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapRawTypeOption ¶
type MapRawTypeOption map[string]RawTypeOption
func (MapRawTypeOption) IsCumulative ¶
func (o MapRawTypeOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapRawTypeOption) IsDefined ¶
func (o MapRawTypeOption) IsDefined() bool
func (MapRawTypeOption) Map ¶
func (o MapRawTypeOption) Map() map[string]RawType
func (*MapRawTypeOption) Set ¶
func (o *MapRawTypeOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapRawTypeOption) String ¶
func (o MapRawTypeOption) String() string
String is required for kingpin to generate usage with this datatype
func (*MapRawTypeOption) WriteAnswer ¶
func (o *MapRawTypeOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapRuneOption ¶
type MapRuneOption map[string]RuneOption
func (MapRuneOption) IsCumulative ¶
func (o MapRuneOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapRuneOption) IsDefined ¶
func (o MapRuneOption) IsDefined() bool
func (MapRuneOption) Map ¶
func (o MapRuneOption) Map() map[string]rune
func (*MapRuneOption) Set ¶
func (o *MapRuneOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapRuneOption) String ¶
func (o MapRuneOption) String() string
String is required for kingpin to generate usage with this datatype
func (*MapRuneOption) WriteAnswer ¶
func (o *MapRuneOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapStringOption ¶
type MapStringOption map[string]StringOption
func (MapStringOption) IsCumulative ¶
func (o MapStringOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapStringOption) IsDefined ¶
func (o MapStringOption) IsDefined() bool
func (MapStringOption) Map ¶
func (o MapStringOption) Map() map[string]string
func (*MapStringOption) Set ¶
func (o *MapStringOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapStringOption) String ¶
func (o MapStringOption) String() string
String is required for kingpin to generate usage with this datatype
func (*MapStringOption) WriteAnswer ¶
func (o *MapStringOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapUint16Option ¶
type MapUint16Option map[string]Uint16Option
func (MapUint16Option) IsCumulative ¶
func (o MapUint16Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapUint16Option) IsDefined ¶
func (o MapUint16Option) IsDefined() bool
func (MapUint16Option) Map ¶
func (o MapUint16Option) Map() map[string]uint16
func (*MapUint16Option) Set ¶
func (o *MapUint16Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapUint16Option) String ¶
func (o MapUint16Option) String() string
String is required for kingpin to generate usage with this datatype
func (*MapUint16Option) WriteAnswer ¶
func (o *MapUint16Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapUint32Option ¶
type MapUint32Option map[string]Uint32Option
func (MapUint32Option) IsCumulative ¶
func (o MapUint32Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapUint32Option) IsDefined ¶
func (o MapUint32Option) IsDefined() bool
func (MapUint32Option) Map ¶
func (o MapUint32Option) Map() map[string]uint32
func (*MapUint32Option) Set ¶
func (o *MapUint32Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapUint32Option) String ¶
func (o MapUint32Option) String() string
String is required for kingpin to generate usage with this datatype
func (*MapUint32Option) WriteAnswer ¶
func (o *MapUint32Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapUint64Option ¶
type MapUint64Option map[string]Uint64Option
func (MapUint64Option) IsCumulative ¶
func (o MapUint64Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapUint64Option) IsDefined ¶
func (o MapUint64Option) IsDefined() bool
func (MapUint64Option) Map ¶
func (o MapUint64Option) Map() map[string]uint64
func (*MapUint64Option) Set ¶
func (o *MapUint64Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapUint64Option) String ¶
func (o MapUint64Option) String() string
String is required for kingpin to generate usage with this datatype
func (*MapUint64Option) WriteAnswer ¶
func (o *MapUint64Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapUint8Option ¶
type MapUint8Option map[string]Uint8Option
func (MapUint8Option) IsCumulative ¶
func (o MapUint8Option) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapUint8Option) IsDefined ¶
func (o MapUint8Option) IsDefined() bool
func (MapUint8Option) Map ¶
func (o MapUint8Option) Map() map[string]uint8
func (*MapUint8Option) Set ¶
func (o *MapUint8Option) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapUint8Option) String ¶
func (o MapUint8Option) String() string
String is required for kingpin to generate usage with this datatype
func (*MapUint8Option) WriteAnswer ¶
func (o *MapUint8Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapUintOption ¶
type MapUintOption map[string]UintOption
func (MapUintOption) IsCumulative ¶
func (o MapUintOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapUintOption) IsDefined ¶
func (o MapUintOption) IsDefined() bool
func (MapUintOption) Map ¶
func (o MapUintOption) Map() map[string]uint
func (*MapUintOption) Set ¶
func (o *MapUintOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapUintOption) String ¶
func (o MapUintOption) String() string
String is required for kingpin to generate usage with this datatype
func (*MapUintOption) WriteAnswer ¶
func (o *MapUintOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MapUintptrOption ¶
type MapUintptrOption map[string]UintptrOption
func (MapUintptrOption) IsCumulative ¶
func (o MapUintptrOption) IsCumulative() bool
IsCumulative is required for kingpin interfaces to allow multiple values to be set on the data structure.
func (MapUintptrOption) IsDefined ¶
func (o MapUintptrOption) IsDefined() bool
func (MapUintptrOption) Map ¶
func (o MapUintptrOption) Map() map[string]uintptr
func (*MapUintptrOption) Set ¶
func (o *MapUintptrOption) Set(value string) error
Set is required for kingpin interfaces to allow command line params to be set to our map datatype
func (MapUintptrOption) String ¶
func (o MapUintptrOption) String() string
String is required for kingpin to generate usage with this datatype
func (*MapUintptrOption) WriteAnswer ¶
func (o *MapUintptrOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type MergeOption ¶ added in v1.0.1
type MergeOption func(*Merger)
func PreserveMap ¶ added in v1.0.1
func PreserveMap(keys ...string) MergeOption
func WithSourceFile ¶ added in v1.0.1
func WithSourceFile(source string) MergeOption
type Merger ¶ added in v1.0.1
type Merger struct { Config ConfigOptions `json:"config,omitempty" yaml:"config,omitempty"` // contains filtered or unexported fields }
func NewMerger ¶ added in v1.0.1
func NewMerger(options ...MergeOption) *Merger
func (*Merger) MakeMergeStruct ¶ added in v1.0.1
func (m *Merger) MakeMergeStruct(structs ...interface{}) interface{}
type Option ¶
type Option func(*FigTree)
func WithApplyChangeSet ¶ added in v1.0.1
func WithApplyChangeSet(apply ChangeSetFunc) Option
func WithConfigDir ¶ added in v1.0.1
func WithEnvPrefix ¶ added in v1.0.1
func WithFilterOut ¶ added in v1.0.1
func WithPreProcessor ¶ added in v1.0.1
func WithPreProcessor(pp PreProcessor) Option
func WithUnmarshaller ¶ added in v1.0.1
func WithoutExec ¶ added in v1.0.1
func WithoutExec() Option
type PreProcessor ¶ added in v1.0.1
type RawTypeOption ¶
func NewRawTypeOption ¶
func NewRawTypeOption(dflt RawType) RawTypeOption
func (*RawTypeOption) GetSource ¶
func (o *RawTypeOption) GetSource() string
func (RawTypeOption) GetValue ¶
func (o RawTypeOption) GetValue() interface{}
func (RawTypeOption) IsDefined ¶
func (o RawTypeOption) IsDefined() bool
func (RawTypeOption) MarshalJSON ¶
func (o RawTypeOption) MarshalJSON() ([]byte, error)
func (RawTypeOption) MarshalYAML ¶
func (o RawTypeOption) MarshalYAML() (interface{}, error)
func (*RawTypeOption) Set ¶
func (o *RawTypeOption) Set(s string) error
This is useful with kingpin option parser
func (*RawTypeOption) SetSource ¶
func (o *RawTypeOption) SetSource(source string)
func (*RawTypeOption) SetValue ¶
func (o *RawTypeOption) SetValue(v interface{}) error
func (RawTypeOption) String ¶
func (o RawTypeOption) String() string
String is required for kingpin to generate usage with this datatype
func (*RawTypeOption) UnmarshalJSON ¶
func (o *RawTypeOption) UnmarshalJSON(b []byte) error
func (*RawTypeOption) UnmarshalYAML ¶
func (o *RawTypeOption) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*RawTypeOption) WriteAnswer ¶
func (o *RawTypeOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type RuneOption ¶
func NewRuneOption ¶
func NewRuneOption(dflt rune) RuneOption
func (*RuneOption) GetSource ¶
func (o *RuneOption) GetSource() string
func (RuneOption) GetValue ¶
func (o RuneOption) GetValue() interface{}
func (RuneOption) IsDefined ¶
func (o RuneOption) IsDefined() bool
func (RuneOption) MarshalJSON ¶
func (o RuneOption) MarshalJSON() ([]byte, error)
func (RuneOption) MarshalYAML ¶
func (o RuneOption) MarshalYAML() (interface{}, error)
func (*RuneOption) Set ¶
func (o *RuneOption) Set(s string) error
This is useful with kingpin option parser
func (*RuneOption) SetSource ¶
func (o *RuneOption) SetSource(source string)
func (*RuneOption) SetValue ¶
func (o *RuneOption) SetValue(v interface{}) error
func (RuneOption) String ¶
func (o RuneOption) String() string
String is required for kingpin to generate usage with this datatype
func (*RuneOption) UnmarshalJSON ¶
func (o *RuneOption) UnmarshalJSON(b []byte) error
func (*RuneOption) UnmarshalYAML ¶
func (o *RuneOption) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*RuneOption) WriteAnswer ¶
func (o *RuneOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type StringOption ¶
func NewStringOption ¶
func NewStringOption(dflt string) StringOption
func (*StringOption) GetSource ¶
func (o *StringOption) GetSource() string
func (StringOption) GetValue ¶
func (o StringOption) GetValue() interface{}
func (StringOption) IsDefined ¶
func (o StringOption) IsDefined() bool
func (StringOption) MarshalJSON ¶
func (o StringOption) MarshalJSON() ([]byte, error)
func (StringOption) MarshalYAML ¶
func (o StringOption) MarshalYAML() (interface{}, error)
func (*StringOption) Set ¶
func (o *StringOption) Set(s string) error
This is useful with kingpin option parser
func (*StringOption) SetSource ¶
func (o *StringOption) SetSource(source string)
func (*StringOption) SetValue ¶
func (o *StringOption) SetValue(v interface{}) error
func (StringOption) String ¶
func (o StringOption) String() string
String is required for kingpin to generate usage with this datatype
func (*StringOption) UnmarshalJSON ¶
func (o *StringOption) UnmarshalJSON(b []byte) error
func (*StringOption) UnmarshalYAML ¶
func (o *StringOption) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*StringOption) WriteAnswer ¶
func (o *StringOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type Uint16Option ¶
func NewUint16Option ¶
func NewUint16Option(dflt uint16) Uint16Option
func (*Uint16Option) GetSource ¶
func (o *Uint16Option) GetSource() string
func (Uint16Option) GetValue ¶
func (o Uint16Option) GetValue() interface{}
func (Uint16Option) IsDefined ¶
func (o Uint16Option) IsDefined() bool
func (Uint16Option) MarshalJSON ¶
func (o Uint16Option) MarshalJSON() ([]byte, error)
func (Uint16Option) MarshalYAML ¶
func (o Uint16Option) MarshalYAML() (interface{}, error)
func (*Uint16Option) Set ¶
func (o *Uint16Option) Set(s string) error
This is useful with kingpin option parser
func (*Uint16Option) SetSource ¶
func (o *Uint16Option) SetSource(source string)
func (*Uint16Option) SetValue ¶
func (o *Uint16Option) SetValue(v interface{}) error
func (Uint16Option) String ¶
func (o Uint16Option) String() string
String is required for kingpin to generate usage with this datatype
func (*Uint16Option) UnmarshalJSON ¶
func (o *Uint16Option) UnmarshalJSON(b []byte) error
func (*Uint16Option) UnmarshalYAML ¶
func (o *Uint16Option) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*Uint16Option) WriteAnswer ¶
func (o *Uint16Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type Uint32Option ¶
func NewUint32Option ¶
func NewUint32Option(dflt uint32) Uint32Option
func (*Uint32Option) GetSource ¶
func (o *Uint32Option) GetSource() string
func (Uint32Option) GetValue ¶
func (o Uint32Option) GetValue() interface{}
func (Uint32Option) IsDefined ¶
func (o Uint32Option) IsDefined() bool
func (Uint32Option) MarshalJSON ¶
func (o Uint32Option) MarshalJSON() ([]byte, error)
func (Uint32Option) MarshalYAML ¶
func (o Uint32Option) MarshalYAML() (interface{}, error)
func (*Uint32Option) Set ¶
func (o *Uint32Option) Set(s string) error
This is useful with kingpin option parser
func (*Uint32Option) SetSource ¶
func (o *Uint32Option) SetSource(source string)
func (*Uint32Option) SetValue ¶
func (o *Uint32Option) SetValue(v interface{}) error
func (Uint32Option) String ¶
func (o Uint32Option) String() string
String is required for kingpin to generate usage with this datatype
func (*Uint32Option) UnmarshalJSON ¶
func (o *Uint32Option) UnmarshalJSON(b []byte) error
func (*Uint32Option) UnmarshalYAML ¶
func (o *Uint32Option) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*Uint32Option) WriteAnswer ¶
func (o *Uint32Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type Uint64Option ¶
func NewUint64Option ¶
func NewUint64Option(dflt uint64) Uint64Option
func (*Uint64Option) GetSource ¶
func (o *Uint64Option) GetSource() string
func (Uint64Option) GetValue ¶
func (o Uint64Option) GetValue() interface{}
func (Uint64Option) IsDefined ¶
func (o Uint64Option) IsDefined() bool
func (Uint64Option) MarshalJSON ¶
func (o Uint64Option) MarshalJSON() ([]byte, error)
func (Uint64Option) MarshalYAML ¶
func (o Uint64Option) MarshalYAML() (interface{}, error)
func (*Uint64Option) Set ¶
func (o *Uint64Option) Set(s string) error
This is useful with kingpin option parser
func (*Uint64Option) SetSource ¶
func (o *Uint64Option) SetSource(source string)
func (*Uint64Option) SetValue ¶
func (o *Uint64Option) SetValue(v interface{}) error
func (Uint64Option) String ¶
func (o Uint64Option) String() string
String is required for kingpin to generate usage with this datatype
func (*Uint64Option) UnmarshalJSON ¶
func (o *Uint64Option) UnmarshalJSON(b []byte) error
func (*Uint64Option) UnmarshalYAML ¶
func (o *Uint64Option) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*Uint64Option) WriteAnswer ¶
func (o *Uint64Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type Uint8Option ¶
func NewUint8Option ¶
func NewUint8Option(dflt uint8) Uint8Option
func (*Uint8Option) GetSource ¶
func (o *Uint8Option) GetSource() string
func (Uint8Option) GetValue ¶
func (o Uint8Option) GetValue() interface{}
func (Uint8Option) IsDefined ¶
func (o Uint8Option) IsDefined() bool
func (Uint8Option) MarshalJSON ¶
func (o Uint8Option) MarshalJSON() ([]byte, error)
func (Uint8Option) MarshalYAML ¶
func (o Uint8Option) MarshalYAML() (interface{}, error)
func (*Uint8Option) Set ¶
func (o *Uint8Option) Set(s string) error
This is useful with kingpin option parser
func (*Uint8Option) SetSource ¶
func (o *Uint8Option) SetSource(source string)
func (*Uint8Option) SetValue ¶
func (o *Uint8Option) SetValue(v interface{}) error
func (Uint8Option) String ¶
func (o Uint8Option) String() string
String is required for kingpin to generate usage with this datatype
func (*Uint8Option) UnmarshalJSON ¶
func (o *Uint8Option) UnmarshalJSON(b []byte) error
func (*Uint8Option) UnmarshalYAML ¶
func (o *Uint8Option) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*Uint8Option) WriteAnswer ¶
func (o *Uint8Option) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type UintOption ¶
func NewUintOption ¶
func NewUintOption(dflt uint) UintOption
func (*UintOption) GetSource ¶
func (o *UintOption) GetSource() string
func (UintOption) GetValue ¶
func (o UintOption) GetValue() interface{}
func (UintOption) IsDefined ¶
func (o UintOption) IsDefined() bool
func (UintOption) MarshalJSON ¶
func (o UintOption) MarshalJSON() ([]byte, error)
func (UintOption) MarshalYAML ¶
func (o UintOption) MarshalYAML() (interface{}, error)
func (*UintOption) Set ¶
func (o *UintOption) Set(s string) error
This is useful with kingpin option parser
func (*UintOption) SetSource ¶
func (o *UintOption) SetSource(source string)
func (*UintOption) SetValue ¶
func (o *UintOption) SetValue(v interface{}) error
func (UintOption) String ¶
func (o UintOption) String() string
String is required for kingpin to generate usage with this datatype
func (*UintOption) UnmarshalJSON ¶
func (o *UintOption) UnmarshalJSON(b []byte) error
func (*UintOption) UnmarshalYAML ¶
func (o *UintOption) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*UintOption) WriteAnswer ¶
func (o *UintOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library
type UintptrOption ¶
func NewUintptrOption ¶
func NewUintptrOption(dflt uintptr) UintptrOption
func (*UintptrOption) GetSource ¶
func (o *UintptrOption) GetSource() string
func (UintptrOption) GetValue ¶
func (o UintptrOption) GetValue() interface{}
func (UintptrOption) IsDefined ¶
func (o UintptrOption) IsDefined() bool
func (UintptrOption) MarshalJSON ¶
func (o UintptrOption) MarshalJSON() ([]byte, error)
func (UintptrOption) MarshalYAML ¶
func (o UintptrOption) MarshalYAML() (interface{}, error)
func (*UintptrOption) Set ¶
func (o *UintptrOption) Set(s string) error
This is useful with kingpin option parser
func (*UintptrOption) SetSource ¶
func (o *UintptrOption) SetSource(source string)
func (*UintptrOption) SetValue ¶
func (o *UintptrOption) SetValue(v interface{}) error
func (UintptrOption) String ¶
func (o UintptrOption) String() string
String is required for kingpin to generate usage with this datatype
func (*UintptrOption) UnmarshalJSON ¶
func (o *UintptrOption) UnmarshalJSON(b []byte) error
func (*UintptrOption) UnmarshalYAML ¶
func (o *UintptrOption) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*UintptrOption) WriteAnswer ¶
func (o *UintptrOption) WriteAnswer(name string, value interface{}) error
This is useful with survey prompting library