Documentation
¶
Overview ¶
Package manager builds the controller-runtime manager that hosts the operator's controllers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Flags ¶
Flags holds the operator's command-line settings, for the manager process and the installation.
type Options ¶
type Options struct {
MetricsBindAddress string
HealthProbeBindAddress string
LeaderElection bool
LeaderElectionNamespace string
GracefulShutdownTimeout time.Duration
LogLevel slog.Level
}
Options configures the manager process.
func DefaultOptions ¶
func DefaultOptions() Options
DefaultOptions returns the options used when no flag overrides them. Leader election is on: a second replica must never act as leader.
func (*Options) BindFlags ¶
BindFlags registers the options on fs, using the current values as defaults.
Click to show internal directories.
Click to hide internal directories.