package
0.0.0-20210323204120-0d7ecfb5f9ca
Repository: https://github.com/kube-reporting/metering-operator.git
Documentation: pkg.go.dev

# Functions

MapEnvVarToFlag takes a mapping of ENV var names to flag names and iterates over that mapping attempting to set the flag value with the ENV var key name.
SetFlagsFromEnv parses all registered flags in the given flagset, and if they are not already set it attempts to set their values from environment variables.
SetupLogger is responsible for building up a basic logrus FieldLogger instance with a specific log level and fields configuration.