// NewFieldExportReconcilerWithClient returns a new FieldExportReconciler object with
// specified k8s client and Reader. Currently this function is used for testing
// purpose only because "FieldExportReconciler" struct is not available outside
// 'runtime' package for dependency injection.
NewFieldExportReconcilerWithClient returns a new FieldExportReconciler object with
specified k8s client and Reader. Currently this function is used for testing
purpose only because "FieldExportReconciler" struct is not available outside
'runtime' package for dependency injection.
// NewFieldExportReconcilerWithClient returns a new FieldExportReconciler object with // specified k8s client and Reader . Currently this function is used for testing // purpose only because " FieldExportReconciler " struct is not available outside // ' runtime ' package for dependency injection .
func NewFieldExportReconcilerWithClient(
	sc acktypes.ServiceController,
	log logr.Logger,
	cfg ackcfg.Config,
	metrics *ackmetrics.Metrics,
	cache ackrtcache.Caches,
	kc client.Client,
	apiReader client.Reader,
) acktypes.FieldExportReconciler {
	return &fieldExportReconciler{
		reconciler: reconciler{
			sc:        sc,
			log:       log.WithName("field-export-reconciler"),
			cfg:       cfg,
			metrics:   metrics,
			cache:     cache,
			kc:        kc,
			apiReader: apiReader,
		},
	}
}
func NewFieldExportReconcilerWithClient ( sc acktypes . ServiceController , log logr . Logger , cfg ackcfg . Config , metrics * ackmetrics . Metrics , cache ackrtcache . Caches , kc client . Client , apiReader client . Reader , ) acktypes . FieldExportReconciler { return & fieldExportReconciler { reconciler : reconciler { sc : sc , log : log . WithName ( " " ) , cfg : cfg , metrics : metrics , cache : cache , kc : kc , apiReader : apiReader , } , } }
NewFieldExportReconcilerWithClient returns a new FieldExportReconciler object with
specified k8s client and Reader.
NewFieldExportReconcilerWithClient returns a new FieldExportReconciler object with specified k8s client and Reader .