Documentation
¶
Index ¶
- func ApplyConfig(cfg *core.Config, force bool) error
- func CurrentConfig() *core.Config
- func Init(e core.Engine, initialCfg *core.Config, path string)
- func ParseWithBytes(buf []byte) (*core.Config, error)
- func ParseWithPath(path string) (*core.Config, error)
- func Patch(patch map[string]any) error
- func Reload(path, payload string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyConfig ¶
ApplyConfig applies configuration diffs to the running engine.
func CurrentConfig ¶
CurrentConfig returns the current active configuration.
func ParseWithBytes ¶
ParseWithBytes parses configuration from YAML bytes.
func ParseWithPath ¶
ParseWithPath parses configuration from a file path.
Types ¶
This section is empty.