Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdlingReconciler ¶
type IdlingReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Idler *idler.Idler Unidler *unidler.Unidler }
IdlingReconciler reconciles idling
func (*IdlingReconciler) SetupWithManager ¶
func (r *IdlingReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the watch on the namespace resource with an event filter (see predicates.go)
type NamespacePredicates ¶
NamespacePredicates defines the funcs for predicates
func (NamespacePredicates) Create ¶
func (NamespacePredicates) Create(e event.CreateEvent) bool
Create we only watch for create events at this stage.
func (NamespacePredicates) Delete ¶
func (NamespacePredicates) Delete(e event.DeleteEvent) bool
Delete returns false if a delete event.
func (NamespacePredicates) Generic ¶
func (NamespacePredicates) Generic(e event.GenericEvent) bool
Generic returns false if a delete event.
func (NamespacePredicates) Update ¶
func (NamespacePredicates) Update(e event.UpdateEvent) bool
Update returns false if a delete event.
Click to show internal directories.
Click to hide internal directories.