code: func WaitForCacheSync(controllerName string, stopCh <-chan struct{}, cacheSyncs ...cache.InformerSynced) bool {
  	klog.Infof("Waiting for caches to sync for %s controller", controllerName)
  
  	if !cache.WaitForCacheSync(stopCh, cacheSyncs...) {
  		utilruntime.HandleError(fmt.Errorf("unable to sync caches for %s controller", controllerName))
  		return false
  	}
  
  	klog.Infof("Caches are synced for %s controller", controllerName)
  	return true
  }
docs: // WaitForCacheSync is a wrapper around cache.WaitForCacheSync that generates log messages
  // indicating that the controller identified by controllerName is waiting for syncs, followed by
  // either a successful or failed sync.