code: func (m OutputVersionMapper) RESTMapping(gk unversioned.GroupKind, versions ...string) (*meta.RESTMapping, error) {
  	for _, preferredVersion := range m.OutputVersions {
  		if gk.Group == preferredVersion.Group {
  			mapping, err := m.RESTMapper.RESTMapping(gk, preferredVersion.Version)
  			if err == nil {
  				return mapping, nil
  			}
  
  			break
  		}
  	}
  
  	return m.RESTMapper.RESTMapping(gk, versions...)
  }
docs: // RESTMapping implements meta.RESTMapper by prepending the output version to the preferred version list.