Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ControllerRunOptions ¶
type ControllerRunOptions struct {
MetricsAddr string
HealthAddr string
EnableLeaderElection bool
LeaderElectionWorkspace string
LeaderElectionNamespace string
WorkerCount int
EnabledControllers sets.Set[string]
DisabledControllers sets.Set[string]
}
func NewDefaultOptions ¶
func NewDefaultOptions(portIndex int) ControllerRunOptions
portIndex is a unique number per cmd/, in order for them to be able to run in parallel during development without having ports clash.
func (*ControllerRunOptions) AddPFlags ¶
func (opts *ControllerRunOptions) AddPFlags(flags *pflag.FlagSet)
func (*ControllerRunOptions) EffectiveControllers ¶
Click to show internal directories.
Click to hide internal directories.