package
6.8.16+incompatible
Repository: https://github.com/tencentblueking/beats.git
Documentation: pkg.go.dev
# Functions
NewAppenders instances and returns the given list of appenders.
NewAutodiscover instantiates and returns a new Autodiscover manager.
NewBuilders instances the given list of builders.
NewFactoryAdapter builds and returns an autodiscover adapter that works with any cfgfile.RunnerFactory.
NewRegistry creates and returns a new Registry.
# Variables
Registry holds all known autodiscover providers, they must be added to it to enable them for use.
# Structs
AppenderConfig settings.
Autodiscover process, it takes a beat adapter and user config and runs autodiscover process, spawning new modules when any configured providers does a match.
BuilderConfig settings.
Config settings for Autodiscover.
FactoryAdapter is an adapter that works with any cfgfile.RunnerFactory.
ProviderConfig settings.
# Interfaces
Adapter must be implemented by the beat in order to provide Autodiscover.
Appender provides an interface by which extra configuration can be added into configs.
Builder provides an interface by which configs can be built from provider metadata.
Provider for autodiscover.
# Type aliases
AppenderBuilder is a func used to generate a Appender object.
Appenders is a list of Appender objects.
BuilderConstructor is a func used to generate a Builder object.
Builders is a list of Builder objects.
ProviderBuilder creates a new provider based on the given config and returns it.