Documentation ¶
Index ¶
- func InitLogger(production bool) zap.Config
- func InitializeConfig(allowedConfigKeys [][]ConfigKey, configName, configPath, envPrefix string)
- type ConfigKey
- func GetConsumerKafkaConfigKeys() []ConfigKey
- func GetElasticsearchConfigKeys() []ConfigKey
- func GetGeneralConfigKeys() []ConfigKey
- func GetHTTPServerConfigKeys() []ConfigKey
- func GetMetricsConfigKeys() []ConfigKey
- func GetPostgresqlConfigKeys() []ConfigKey
- func GetSinkEngineConfigKeys() []ConfigKey
- func GetSinkIngesterConfigKeys() []ConfigKey
- type ConfigKeyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
InitLogger initialialize zap logging component.
func InitializeConfig ¶
InitializeConfig ...
Types ¶
type ConfigKey ¶
type ConfigKey struct { Type ConfigKeyType Name string DefaultValue interface{} Description string }
ConfigKey represents the definition of a config flag.
func GetConsumerKafkaConfigKeys ¶ added in v4.3.7
func GetConsumerKafkaConfigKeys() []ConfigKey
func GetElasticsearchConfigKeys ¶ added in v4.3.7
func GetElasticsearchConfigKeys() []ConfigKey
func GetGeneralConfigKeys ¶ added in v4.3.7
func GetGeneralConfigKeys() []ConfigKey
func GetHTTPServerConfigKeys ¶ added in v4.3.7
func GetHTTPServerConfigKeys() []ConfigKey
func GetMetricsConfigKeys ¶ added in v4.3.7
func GetMetricsConfigKeys() []ConfigKey
func GetPostgresqlConfigKeys ¶ added in v4.3.7
func GetPostgresqlConfigKeys() []ConfigKey
func GetSinkEngineConfigKeys ¶ added in v4.3.7
func GetSinkEngineConfigKeys() []ConfigKey
func GetSinkIngesterConfigKeys ¶ added in v4.3.7
func GetSinkIngesterConfigKeys() []ConfigKey
type ConfigKeyType ¶
type ConfigKeyType int
ConfigKeyType defines all configuration key types.
const ( // StringFlag key for key-value flag. StringFlag ConfigKeyType = iota + 1 // StringSliceFlag for key-[values] flag. StringSliceFlag )
Click to show internal directories.
Click to hide internal directories.