package
0.11.0
Repository: https://github.com/elastic/elastic-agent-libs.git
Documentation: pkg.go.dev

# Functions

ApplyLoggingMask redacts the values of keys that might contain sensitive data (password, passphrase, etc.).
ConfigOverwriteFlag defines a new flag updating a setting in an Config object.
DebugString prints a human readable representation of the underlying config using JSON formatting.
MergeConfigs merges the configs together.
MergeConfigs merges the configs together based on the provided opts.
MustNewConfigFrom creates a new C object from the given input.
No description provided by the author
NewConfigFrom creates a new C object from the given input.
NewConfigWithYAML reads a YAML configuration.
NewSettingsFlag creates a new SettingsFlag instance, not registered with any FlagSet.
NewStringsFlag creates a new, but unregistered StringsFlag instance.
OverwriteConfigOpts allow to change the globally set config option.
SettingFlag defines a setting flag, name and it's usage.
SettingVarFlag defines a setting flag, name and it's usage.
StringArrFlag creates and registers a new StringsFlag with the given FlagSet.
StringArrVarFlag creates and registers a new StringsFlag with the given FlagSet.

# Structs

Namespace stores at most one configuration section by name and sub-section.
StringsFlag collects multiple usages of the same flag into an array of strings.

# Type aliases

C object to store hierarchical configurations into.
SettingsFlag captures key/values pairs into an Config object.