package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Discoverer returns a DiscoverFunc that discovers all files that match the given patterns.
LoadFile take a path and load the file and return a new configuration.
LoadFiles takes multiples files, load and merge all of them in a single one.
MustNewConfigFrom try to create a configuration based on the type passed as arguments and panic on failures.
New creates a new empty config.
NewConfigFrom takes a interface and read the configuration like it was YAML.
NewLoader creates a new Loader instance to load configuration files from different paths.
VarSkipKeys prevents variable expansion for these keys.

# Variables

DefaultOptions defaults options used to read the configuration.
ErrNoConfiguration is returned when no configuration are found.

# Structs

Loader is used to load configuration from the paths including appending multiple input configurations.

# Type aliases

Config custom type over a ucfg.Config to add new methods on the object.
DiscoverFunc is a function that discovers a list of files to load.
Option is an option type that modifies how loading configs work.