Documentation ¶
Index ¶
- Variables
- func Register(u unmarshal.Unmarshaler) error
- func RegisterForType(i interface{}, u unmarshal.Unmarshaler) error
- func SortWithDeps(keys []string, envs map[string]*Target) []string
- type ConditionEnum
- type ConditionRequireIf
- type ConditionRequireIfCombined
- type ConditionRequired
- type InvalidConfigTypeError
- type Reflector
- type Result
- type Target
- type TargetField
- type UnsupportedFieldTypeError
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Register ¶
func Register(u unmarshal.Unmarshaler) error
func RegisterForType ¶
func RegisterForType(i interface{}, u unmarshal.Unmarshaler) error
Types ¶
type ConditionEnum ¶
type ConditionEnum []string
type ConditionRequireIf ¶
type ConditionRequireIf struct { Target *TargetField ValueStr string }
type ConditionRequireIfCombined ¶
type ConditionRequireIfCombined struct { First *ConditionRequireIf Second interface{} }
type ConditionRequired ¶
type ConditionRequired bool
type InvalidConfigTypeError ¶
type InvalidConfigTypeError string
func (InvalidConfigTypeError) Error ¶
func (e InvalidConfigTypeError) Error() string
type Target ¶
type Target struct { Field *TargetField Condition interface{} }
type TargetField ¶
type TargetField struct { Name string Unmarshaler unmarshal.UnmarshalerName }
type UnsupportedFieldTypeError ¶
func (*UnsupportedFieldTypeError) Error ¶
func (e *UnsupportedFieldTypeError) Error() string
Click to show internal directories.
Click to hide internal directories.