code: func NewQuotaEvaluator(quotaAccessor QuotaAccessor, ignoredResources map[schema.GroupResource]struct{}, quotaRegistry quota.Registry, lockAcquisitionFunc func([]corev1.ResourceQuota) func(), config *resourcequotaapi.Configuration, workers int, stopCh <-chan struct{}) Evaluator {
  	// if we get a nil config, just create an empty default.
  	if config == nil {
  		config = &resourcequotaapi.Configuration{}
  	}
  
  	return &quotaEvaluator{
  		quotaAccessor:       quotaAccessor,
  		lockAcquisitionFunc: lockAcquisitionFunc,
  
  		ignoredResources: ignoredResources,
  		registry:         quotaRegistry,
  
  		queue:      workqueue.NewNamed("admission_quota_controller"),
  		work:       map[string][]*admissionWaiter{},
  		dirtyWork:  map[string][]*admissionWaiter{},
  		inProgress: sets.String{},
  
  		workers: workers,
  		stopCh:  stopCh,
  		config:  config,
  	}
  }
docs: // NewQuotaEvaluator configures an admission controller that can enforce quota constraints
  // using the provided registry.  The registry must have the capability to handle group/kinds that
  // are persisted by the server this admission controller is intercepting