Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Redis RedisConfiguration K8S K8SConfiguration flagger.Log flagger.Prom PprofAddr string `flagger.name:"pprof-addr" flagger.usage:"pprof listener address (default: don't run pprof)"` NodeName string `flagger.name:"node-name" flagger.usage:"node name"` LED string `flagger.name:"led-path" flagger.usage:"path name to the sysfs directory for the LED"` Leader LeaderConfiguration }
func GetConfiguration ¶
func GetConfiguration() Configuration
type K8SConfiguration ¶
type LeaderConfiguration ¶
type LeaderConfiguration struct { NodeName string `flagger.usage:"leader node name (if empty, k8s nodeName election will be used"` Scheduler SchedulerConfiguration Rotation time.Duration `flagger.usage:"rotation interval"` }
type RedisConfiguration ¶
type SchedulerConfiguration ¶
type SchedulerConfiguration struct {
Mode string `flagger.usage:"LED pattern mode"`
}
Click to show internal directories.
Click to hide internal directories.