Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Tracing TracingConfig `yaml:"tracing,omitempty"` Logging LoggingConfig `yaml:"logging,omitempty"` Metrics MetricConfig `yaml:"metrics,omitempty"` Global GlobalConfig `yaml:"global,omitempty"` }
type ConfigMapProber ¶
type GlobalConfig ¶
type GlobalConfig struct {
LogLevel string `yaml:"logLevel,omitempty"`
}
type GlobalConfigHandler ¶
type GlobalConfigHandler interface { CheckGlobalConfig(config GlobalConfig) error UpdateOverrideConfig(ctx context.Context, overrideConfigMap types.NamespacedName) (Config, error) }
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) CheckGlobalConfig ¶
func (m *Handler) CheckGlobalConfig(config GlobalConfig) error
func (*Handler) UpdateOverrideConfig ¶
type LogLevelChanger ¶
type LoggingConfig ¶
type LoggingConfig struct {
Paused bool `yaml:"paused,omitempty"`
}
type MetricConfig ¶
type MetricConfig struct {
Paused bool `yaml:"paused,omitempty"`
}
type TracingConfig ¶
type TracingConfig struct {
Paused bool `yaml:"paused,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.