Documentation ¶
Index ¶
- Variables
- func BindEnv(key, env string)
- func NewKubernetesConfig(conf Config) k8s.Config
- func NewLogConfig(conf Config) log.Config
- func RunManager(mgr manager.Manager, cleanup func(), err error) error
- func SetupCommand(cmd *cobra.Command) *cobra.Command
- type Config
- type HealthProbeConfig
- type MetricsConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "none" Date = "unknown" )
nolint: gochecknoglobals
View Source
var ConfigSet = wire.NewSet(NewLogConfig, NewKubernetesConfig)
ConfigSet provides configs. nolint: gochecknoglobals
Functions ¶
func NewKubernetesConfig ¶
func NewLogConfig ¶
Types ¶
type Config ¶
type Config struct { Log log.Config `mapstructure:"log"` Kubernetes k8s.Config `mapstructure:"kubernetes"` Metrics MetricsConfig `mapstructure:"metrics"` Health HealthProbeConfig `mapstructure:"health"` }
type HealthProbeConfig ¶ added in v1.0.0
type HealthProbeConfig struct {
Address string `mapstructure:"address"`
}
type MetricsConfig ¶ added in v1.0.0
type MetricsConfig struct {
Address string `mapstructure:"address"`
}
Click to show internal directories.
Click to hide internal directories.