// NewFieldExportResourceReconcilerWithClient 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.
NewFieldExportResourceReconcilerWithClient 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.
// NewFieldExportResourceReconcilerWithClient 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 NewFieldExportResourceReconcilerWithClient(
	sc acktypes.ServiceController,
	log logr.Logger,
	cfg ackcfg.Config,
	metrics *ackmetrics.Metrics,
	cache ackrtcache.Caches,
	kc client.Client,
	apiReader client.Reader,
	rd acktypes.AWSResourceDescriptor,
) acktypes.FieldExportReconciler {
	return &fieldExportResourceReconciler{
		fieldExportReconciler: fieldExportReconciler{
			reconciler: reconciler{
				sc:        sc,
				log:       log.WithName("field-export-reconciler"),
				cfg:       cfg,
				metrics:   metrics,
				cache:     cache,
				kc:        kc,
				apiReader: apiReader,
			},
		},
		rd: rd,
	}
}
func NewFieldExportResourceReconcilerWithClient ( sc acktypes . ServiceController , log logr . Logger , cfg ackcfg . Config , metrics * ackmetrics . Metrics , cache ackrtcache . Caches , kc client . Client , apiReader client . Reader , rd acktypes . AWSResourceDescriptor , ) acktypes . FieldExportReconciler { return & fieldExportResourceReconciler { fieldExportReconciler : fieldExportReconciler { reconciler : reconciler { sc : sc , log : log . WithName ( " " ) , cfg : cfg , metrics : metrics , cache : cache , kc : kc , apiReader : apiReader , } , } , rd : rd , } }
NewFieldExportResourceReconcilerWithClient returns a new
FieldExportReconciler object with specified k8s client and Reader.
NewFieldExportResourceReconcilerWithClient returns a new FieldExportReconciler object with specified k8s client and Reader .