predicate

package
v1.154.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const AnnotationKeyAlphaReconciler = "alpha.cnrm.cloud.google.com/reconciler"

AnnotationKeyAlphaReconciler allows customers to opt-in to using the direct reconciler.

View Source
const AnnotationUnmanaged = "cnrm.cloud.google.com/unmanaged"

AnnotationUnmanaged allows customer to specify the fields that are not managed by the controller.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptInToDirectReconciliation added in v1.122.0

type OptInToDirectReconciliation struct {
}

OptInToDirectReconciliation allows users to opt in to direct reconciliation by specifying an AnnotationKeyAlphaReconciler annotation.

type UnderlyingResourceOutOfSyncPredicate

type UnderlyingResourceOutOfSyncPredicate struct {
	predicate.Funcs
}

This predicate will react to changes only when there is something relevant to send to the underlying API.

func (UnderlyingResourceOutOfSyncPredicate) Delete

Delete always returns false, as resources deleted directly from the API server should not be reconciled. We process user-requested deletions via the updated DeletionTimestamp.

func (UnderlyingResourceOutOfSyncPredicate) Update

Update implements default UpdateEvent filter for validating changes that require updates to the underlying API.

Jump to

Keyboard shortcuts

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