Documentation ¶
Overview ¶
Package conf provides access and convert data from configuration file
Index ¶
- func AddDefault(log zerolog.Logger, c *ctx.Ctx, defaultConf *ctx.DefaultParams) bool
- func GetParams(ctx *ctx.Ctx, config interface{}, params interface{}) bool
- func GetPredicateParams(ctx *ctx.Ctx, config *Params, params interface{}) bool
- func Read(r io.Reader) *yaml.Node
- func ReadFile(filename string) *yaml.Node
- type Params
- type Pipe
- type Predicate
- type Root
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefault ¶
AddDefault adds predicate default parameters to context
func GetPredicateParams ¶
GetPredicateParams from default and from the conf, with Gval expressions evaluated
Types ¶
Click to show internal directories.
Click to hide internal directories.