Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "controller-registrar"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶ added in v1.96.0
type Controller struct { AddToManagerFunc func(context.Context, manager.Manager, *operatorv1alpha1.Garden) error // contains filtered or unexported fields }
Controller contains a function for registering a controller.
type Reconciler ¶
type Reconciler struct { Manager manager.Manager Controllers []Controller }
Reconciler adds the controllers to the manager.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
Click to show internal directories.
Click to hide internal directories.