Documentation ¶
Overview ¶
Package predicate defines Predicates used by Controllers to filter Events before they are provided to EventHandlers.
The implementation is derived from sigs.k8s.io/controller-runtime/pkg/predicate and the main difference are: - predicates are resourceGroup aware. - the package doesn't provide predicates implementation out of the box.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Predicate ¶
type Predicate interface { // Create returns true if the Create event should be processed Create(cevent.CreateEvent) bool // Delete returns true if the Delete event should be processed Delete(cevent.DeleteEvent) bool // Update returns true if the Update event should be processed Update(cevent.UpdateEvent) bool // Generic returns true if the Generic event should be processed Generic(cevent.GenericEvent) bool }
Predicate filters events before enqueuing the keys.
Click to show internal directories.
Click to hide internal directories.