code: func (d *DeferredDiscoveryRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) (ms []*meta.RESTMapping, err error) {
  	del, err := d.getDelegate()
  	if err != nil {
  		return nil, err
  	}
  	ms, err = del.RESTMappings(gk, versions...)
  	if len(ms) == 0 && !d.cl.Fresh() {
  		d.Reset()
  		ms, err = d.RESTMappings(gk, versions...)
  	}
  	return
  }
docs: // RESTMappings returns the RESTMappings for the provided group kind
  // in a rough internal preferred order. If no kind is found, it will
  // return a NoResourceMatchError.