Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "shoot-statuslabel"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { Client client.Client Config config.ShootStatusLabelControllerConfiguration }
Reconciler reconciles Shoots and updates their status label.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reconciles Shoots and updates their status label.
func (*Reconciler) ShootPredicate ¶
func (r *Reconciler) ShootPredicate() predicate.Predicate
ShootPredicate reacts only on 'CREATE' and 'UPDATE' Shoot events.
Click to show internal directories.
Click to hide internal directories.