predicate

package
Version: v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerationChangedPredicate

type GenerationChangedPredicate struct {
	predicate.Funcs
}

GenerationChangedPredicate implements a default update predicate function on generation change (adapted from sigs.k8s.io/controller-runtime/pkg/predicate/predicate.ResourceVersionChangedPredicate)

func (GenerationChangedPredicate) Update

Update implements default UpdateEvent filter for validating generation change

type ResourceFilterPredicate added in v0.19.0

type ResourceFilterPredicate struct {
	predicate.Funcs
	Selector labels.Selector
}

func NewResourceFilterPredicate added in v0.19.0

func NewResourceFilterPredicate(s metav1.LabelSelector) (ResourceFilterPredicate, error)

func (ResourceFilterPredicate) Create added in v0.19.0

func (ResourceFilterPredicate) Delete added in v0.19.0

func (ResourceFilterPredicate) Generic added in v0.19.0

func (ResourceFilterPredicate) Update added in v0.19.0

Predicate functions that call the EventFilter Function

Source Files

Jump to

Keyboard shortcuts

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