Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptionsBuilder ¶ added in v1.10.0
type OptionsBuilder interface {
BuildOptions(options interface{}) error
}
type OptionsLoader ¶
type OptionsLoader struct {
Builders []OptionsBuilder
}
func NewOptionsLoader ¶
func NewOptionsLoader(builders []OptionsBuilder) *OptionsLoader
func (*OptionsLoader) Build ¶
func (l *OptionsLoader) Build(userConfig interface{}) (interface{}, error)
Build executes the options configuration templates, until they converge It bails out after maxIterations
Click to show internal directories.
Click to hide internal directories.