Help us shape the future of Go! Take the 2026 Go Developer Survey

predicate

package
v1.8.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL