Documentation
¶
Index ¶
Constants ¶
const AnnotationKeyAlphaReconciler = "alpha.cnrm.cloud.google.com/reconciler"
AnnotationKeyAlphaReconciler allows customers to opt-in to using the direct reconciler.
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 ¶
This predicate will react to changes only when there is something relevant to send to the underlying API.
func (UnderlyingResourceOutOfSyncPredicate) Delete ¶
func (UnderlyingResourceOutOfSyncPredicate) Delete(_ event.DeleteEvent) bool
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 ¶
func (UnderlyingResourceOutOfSyncPredicate) Update(e event.UpdateEvent) bool
Update implements default UpdateEvent filter for validating changes that require updates to the underlying API.