Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateAndUpdateOnlyPredicate ¶
type CreateAndUpdateOnlyPredicate struct { }
CreateAndUpdateOnlyPredicate will filter out all events except Create and Update
func (CreateAndUpdateOnlyPredicate) Create ¶
func (CreateAndUpdateOnlyPredicate) Create(_ event.CreateEvent) bool
Create implements Predicate
func (CreateAndUpdateOnlyPredicate) Delete ¶
func (CreateAndUpdateOnlyPredicate) Delete(_ event.DeleteEvent) bool
Delete implements Predicate
func (CreateAndUpdateOnlyPredicate) Generic ¶
func (CreateAndUpdateOnlyPredicate) Generic(_ event.GenericEvent) bool
Generic implements Predicate
func (CreateAndUpdateOnlyPredicate) Update ¶
func (CreateAndUpdateOnlyPredicate) Update(_ event.UpdateEvent) bool
Update implements default UpdateEvent filter for validating no generation change
type Reconciler ¶
type Reconciler struct { Client runtimeclient.Client Scheme *runtime.Scheme }
Reconciler reconciles a Deactivation object
func (*Reconciler) Reconcile ¶
Reconcile reads the state of the cluster for a MUR object and determines whether to trigger deactivation or requeue based on its current status Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue. nolint: gocyclo
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr manager.Manager) error
SetupWithManager sets up the controller with the Manager.