Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerationChangedPredicate ¶
GenerationChangedPredicate implements a default update predicate function on generation change (adapted from sigs.k8s.io/controller-runtime/pkg/predicate/predicate.ResourceVersionChangedPredicate)
func (GenerationChangedPredicate) Update ¶
func (GenerationChangedPredicate) Update(e event.UpdateEvent) bool
Update implements default UpdateEvent filter for validating generation change
type ResourceFilterPredicate ¶ added in v0.19.0
func NewResourceFilterPredicate ¶ added in v0.19.0
func NewResourceFilterPredicate(s metav1.LabelSelector) (ResourceFilterPredicate, error)
func (ResourceFilterPredicate) Create ¶ added in v0.19.0
func (r ResourceFilterPredicate) Create(e event.CreateEvent) bool
func (ResourceFilterPredicate) Delete ¶ added in v0.19.0
func (r ResourceFilterPredicate) Delete(e event.DeleteEvent) bool
func (ResourceFilterPredicate) Generic ¶ added in v0.19.0
func (r ResourceFilterPredicate) Generic(e event.GenericEvent) bool
func (ResourceFilterPredicate) Update ¶ added in v0.19.0
func (r ResourceFilterPredicate) Update(e event.UpdateEvent) bool
Predicate functions that call the EventFilter Function
Click to show internal directories.
Click to hide internal directories.