code: func (d *DeferredDiscoveryRESTMapper) ResourcesFor(input schema.GroupVersionResource) (gvrs []schema.GroupVersionResource, err error) {
  	del, err := d.getDelegate()
  	if err != nil {
  		return nil, err
  	}
  	gvrs, err = del.ResourcesFor(input)
  	if len(gvrs) == 0 && !d.cl.Fresh() {
  		d.Reset()
  		gvrs, err = d.ResourcesFor(input)
  	}
  	return
  }
docs: // ResourcesFor takes a partial resource and returns back the list of
  // potential resource in priority order.