Documentation ¶
Index ¶
- func InitLogger(production bool) zap.Config
- func InitializeConfig(allowedConfigKeys [][]ConfigKey, configName, configPath, envPrefix string)
- type ConfigKey
- func GetConnectorConfigKeys() []ConfigKey
- func GetConsumerKafkaConfigKeys() []ConfigKey
- func GetElasticsearchConfigKeys() []ConfigKey
- func GetGeneralConfigKeys() []ConfigKey
- func GetHTTPServerConfigKeys() []ConfigKey
- func GetMetricsConfigKeys() []ConfigKey
- func GetPostgresqlConfigKeys() []ConfigKey
- func GetRedisConfigKeys() []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 GetConnectorConfigKeys ¶
func GetConnectorConfigKeys() []ConfigKey
func GetConsumerKafkaConfigKeys ¶
func GetConsumerKafkaConfigKeys() []ConfigKey
func GetElasticsearchConfigKeys ¶
func GetElasticsearchConfigKeys() []ConfigKey
func GetGeneralConfigKeys ¶
func GetGeneralConfigKeys() []ConfigKey
func GetHTTPServerConfigKeys ¶
func GetHTTPServerConfigKeys() []ConfigKey
func GetMetricsConfigKeys ¶
func GetMetricsConfigKeys() []ConfigKey
func GetPostgresqlConfigKeys ¶
func GetPostgresqlConfigKeys() []ConfigKey
func GetRedisConfigKeys ¶ added in v5.0.2
func GetRedisConfigKeys() []ConfigKey
func GetSinkEngineConfigKeys ¶
func GetSinkEngineConfigKeys() []ConfigKey
func GetSinkIngesterConfigKeys ¶
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.