package
7.4.0+incompatible
Repository: https://github.com/magento-mcom/beats.git
Documentation: pkg.go.dev
# Functions
GenerateHints parses annotations based on a prefix and sets up hints that can be picked up by individual Beats.
GetConfigs takes in a key and returns a list of configs as a slice of MapStr.
GetContainerID returns the id of a container.
GetContainerName returns the name of a container.
GetHintAsConfigs can read a hint in the form of a stringified JSON and return a common.MapStr.
GetHintAsList takes a hint and returns the value as lists.
GetHintMapStr takes a hint and returns a MapStr.
GetHintString takes a hint and returns its value as a string.
GetProcessors gets processor definitions from the hints and returns a list of configs as a MapStr.
IsDisabled will return true when 'enabled' key is **explicity** set to false.
IsEnabled will return true when 'enabled' is **explicity** set to true.
Plugin accepts a BuilderConstructor to be registered as a plugin.