// BindControllerManager sets up the FieldExportReconciler with an instance of
// an upstream controller-runtime.Manager, watching for changes in AWS Resource
// CRs
BindControllerManager sets up the FieldExportReconciler with an instance of
an upstream controller-runtime.Manager, watching for changes in AWS Resource
CRs
// BindControllerManager sets up the FieldExportReconciler with an instance of // an upstream controller - runtime . Manager watching for changes in AWS Resource // CRs
func (r *fieldExportResourceReconciler) BindControllerManager(mgr ctrlrt.Manager) error {
	r.kc = mgr.GetClient()
	r.apiReader = mgr.GetAPIReader()
	if ackcompare.IsNil(r.rd) {
		return errors.New("cannot bind to AWS resource. reconciler marked for reconciling field exports")
	}
	return ctrlrt.NewControllerManagedBy(
		mgr,
	).For(
		r.rd.EmptyRuntimeObject(),
	).WithEventFilter(
		predicate.ResourceVersionChangedPredicate{},
	).Complete(r)
}
func ( r * fieldExportResourceReconciler ) BindControllerManager ( mgr ctrlrt . Manager ) error { r . kc = mgr . GetClient ( ) r . apiReader = mgr . GetAPIReader ( ) if ackcompare . IsNil ( r . rd ) { return errors . New ( " " ) } return ctrlrt . NewControllerManagedBy ( mgr , ) . For ( r . rd . EmptyRuntimeObject ( ) , ) . WithEventFilter ( predicate . ResourceVersionChangedPredicate { } , ) . Complete ( r ) }
BindControllerManager sets up the FieldExportReconciler with an instance of
an upstream controller-runtime.Manager, watching for changes in AWS Resource
CRs
BindControllerManager sets up the FieldExportReconciler with an instance of an upstream controller - runtime . Manager watching for changes in AWS Resource CRs
// Update on both status and spec changes