Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IgnoreDelete ¶
type IgnoreDelete[T any] struct { predicate.TypedFuncs[T] }
IgnoreDelete is a predicate that filters out Delete events.
Typically, a reconciler will not need to do anything when it receives an event.TypedDeleteEvent, as it acts on the event.TypedUpdateEvent which sets the deletion timestamp.
func (IgnoreDelete[T]) Delete ¶
func (i IgnoreDelete[T]) Delete(event.TypedDeleteEvent[T]) bool
Delete always returns false, ignoring the event.
Click to show internal directories.
Click to hide internal directories.