Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Health HealthCfg `yaml:"health"` Metrics ServerConfig `yaml:"metrics"` Pprof ServerConfig `yaml:"pprof"` Webhook WebhookCfg `yaml:"webhook"` LeaderElection LeaderElectionCfg `yaml:"leaderElection"` }
Config holds internal config that is used to create manger.Options struct.
type HealthCfg ¶
type HealthCfg struct {
HealthProbeBindAddress string `yaml:"healthProbeBindAddress"`
}
HealthCfg holds internal config for health options of manger.Options struct.
type LeaderElectionCfg ¶
type LeaderElectionCfg struct { LeaderElect bool `yaml:"leaderElect"` ResourceName string `yaml:"resourceName"` }
LeaderElectionCfg holds internal config for leader election options of manger.Options struct.
type ServerConfig ¶ added in v0.2.5
type ServerConfig struct {
BindAddress string `yaml:"bindAddress"`
}
MetricsCfg holds internal config for metrics options of manger.Options struct.
type WebhookCfg ¶
type WebhookCfg struct {
Port int `yaml:"port"`
}
WebhookCfg holds internal config for webhook options of manger.Options struct.
Click to show internal directories.
Click to hide internal directories.