predicate

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByNamespace

func ByNamespace(namespace string) predicate.Funcs

ByNamespace returns a predicate func that only includes objects in the given namespace.

func Factory

func Factory(filter func(o ctrlruntimeclient.Object) bool) predicate.Funcs

Factory returns a predicate func that applies the given filter function on CREATE, UPDATE and DELETE events. For UPDATE events, the filter is applied to both the old and new object and OR's the result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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