Documentation ¶
Index ¶
- func DefaultDecoder[T TemplateConfig]() func(runConfig Dynamic) (T, error)
- type Decoder
- type Dynamic
- func (r *Dynamic) AsYaml() (string, error)
- func (r *Dynamic) Decode(into interface{}) error
- func (r Dynamic) MarshalLogObject(encoder zapcore.ObjectEncoder) error
- func (r Dynamic) MarshalYAML() (interface{}, error)
- func (r *Dynamic) Merge(other Dynamic) error
- func (r *Dynamic) SetValueIfEmpty(key string, value string)
- func (r *Dynamic) UnmarshalYAML(value *yaml.Node) error
- type Logic
- type Name
- type Root
- type Syncs
- type TemplateConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDecoder ¶
func DefaultDecoder[T TemplateConfig]() func(runConfig Dynamic) (T, error)
Types ¶
type Decoder ¶
type Decoder[T TemplateConfig] func(Dynamic) (T, error)
type Dynamic ¶
type Dynamic struct {
// contains filtered or unexported fields
}
func (Dynamic) MarshalLogObject ¶
func (r Dynamic) MarshalLogObject(encoder zapcore.ObjectEncoder) error
func (Dynamic) MarshalYAML ¶
func (*Dynamic) SetValueIfEmpty ¶ added in v1.4.0
func (*Dynamic) UnmarshalYAML ¶
type Logic ¶
type Logic struct {
Source string `yaml:"source"`
}
func (*Logic) SourceVersion ¶
func (*Logic) SourceWithoutVersion ¶
type Root ¶
type TemplateConfig ¶
type TemplateConfig interface{}
Click to show internal directories.
Click to hide internal directories.