code: func (d *DeferredDiscoveryRESTMapper) ResourceFor(input schema.GroupVersionResource) (gvr schema.GroupVersionResource, err error) {
  	del, err := d.getDelegate()
  	if err != nil {
  		return schema.GroupVersionResource{}, err
  	}
  	gvr, err = del.ResourceFor(input)
  	if err != nil && !d.cl.Fresh() {
  		d.Reset()
  		gvr, err = d.ResourceFor(input)
  	}
  	return
  }
docs: // ResourceFor takes a partial resource and returns back the single
  // match. It returns an error if there are multiple matches.