code: func ListerFuncForResourceFunc(f InformerForResourceFunc) quota.ListerForResourceFunc {
  	return func(gvr schema.GroupVersionResource) (cache.GenericLister, error) {
  		informer, err := f(gvr)
  		if err != nil {
  			return nil, err
  		}
  		return &protectedLister{
  			hasSynced:   cachedHasSynced(informer.Informer().HasSynced),
  			notReadyErr: fmt.Errorf("%v not yet synced", gvr),
  			delegate:    informer.Lister(),
  		}, nil
  	}
  }
docs: // ListerFuncForResourceFunc knows how to provision a lister from an informer func.
  // The lister returns errors until the informer has synced.