Documentation ¶
Overview ¶
Package controllers contains all the controller-runtime controllers and exports
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddToManagerFuncs = []func(manager.Manager, *controllerconfig.Context) error{ nodedrain.Add, clusterdisruption.Add, }
AddToManagerFuncs is a list of functions to add all Controllers to the Manager (entrypoint for controller)
View Source
var (
EnableMachineDisruptionBudget bool
)
View Source
var MachineDisruptionBudgetAddToManagerFuncs = []func(manager.Manager, *controllerconfig.Context) error{ machinelabel.Add, machinedisruption.Add, }
MachineDisruptionBudgetAddToManagerFuncs is a list of fencing related functions to add all Controllers to the Manager (entrypoint for controller)
Functions ¶
func AddToManager ¶
func AddToManager(m manager.Manager, c *controllerconfig.Context) error
AddToManager adds all the registered controllers to the passed manager. each controller package will have an Add method listed in AddToManagerFuncs which will setup all the necessary watch
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package clusterdisruption implements the controller for ensuring that drains occus in a safe manner.
|
Package clusterdisruption implements the controller for ensuring that drains occus in a safe manner. |
Package nodedrain implements the controller for ensuring that drain detection deployments exist.
|
Package nodedrain implements the controller for ensuring that drain detection deployments exist. |
Click to show internal directories.
Click to hide internal directories.