Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NamePrefixFilterFunc ¶
func SystemConfigMapsFilterFunc ¶
func SystemConfigMapsFilterFunc() func(interface{}) bool
Types ¶
type EnvConfig ¶
type EnvConfig struct { // MetricsConfigJson is a json string of metrics.ExporterOptions. // This is used to configure the metrics exporter options, // the config is stored in a config map inside the controllers // namespace and copied here. MetricsConfigJson string `envconfig:"K_METRICS_CONFIG" default:"{}"` // LoggingConfigJson is a json string of logging.Config. // This is used to configure the logging config, the config is stored in // a config map inside the controllers namespace and copied here. LoggingConfigJson string `envconfig:"K_LOGGING_CONFIG" default:"{}"` // TracingConfigJson is a json string of tracing.Config. // This is used to configure the tracing config, the config is stored in // a config map inside the controllers namespace and copied here. // Default is no-op. TracingConfigJson string `envconfig:"K_TRACING_CONFIG"` // contains filtered or unexported fields }
func (*EnvConfig) GetLogger ¶
func (e *EnvConfig) GetLogger() *zap.SugaredLogger
func (*EnvConfig) SetComponent ¶
func (*EnvConfig) SetupTracing ¶
Click to show internal directories.
Click to hide internal directories.