controllerutils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// force reconcile label constant
	ForceReconcileLabel string = "operator.dataverse.redhat.com/force-reconcile"
)

Variables

This section is empty.

Functions

func AddForceReconcileLabel

func AddForceReconcileLabel(ctx context.Context, c client.Client, obj client.Object) error

func ForceReconcilePredicate

func ForceReconcilePredicate() predicate.Predicate

func RemoveForceReconcileLabel

func RemoveForceReconcileLabel(ctx context.Context, c client.Client, obj client.Object) error

Types

type CustomLabelKeyChangedPredicate

type CustomLabelKeyChangedPredicate struct {
	LabelKey string
	predicate.Funcs
}

Custom Predicate to filter by a specific label key

func (CustomLabelKeyChangedPredicate) Update

Custom Predicate label to force reconciliation on label addition

Jump to

Keyboard shortcuts

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