code: func NewAPIServiceRegistrationController(apiServiceInformer informers.APIServiceInformer, apiHandlerManager APIHandlerManager) *APIServiceRegistrationController {
  	c := &APIServiceRegistrationController{
  		apiHandlerManager: apiHandlerManager,
  		apiServiceLister:  apiServiceInformer.Lister(),
  		apiServiceSynced:  apiServiceInformer.Informer().HasSynced,
  		queue:             workqueue.NewNamedRateLimitingQueue(workqueue.DefaultControllerRateLimiter(), "APIServiceRegistrationController"),
  	}
  
  	apiServiceInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
  		AddFunc:    c.addAPIService,
  		UpdateFunc: c.updateAPIService,
  		DeleteFunc: c.deleteAPIService,
  	})
  
  	c.syncFn = c.sync
  
  	return c
  }
docs: // NewAPIServiceRegistrationController returns a new APIServiceRegistrationController.