code: func (m MultiRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*RESTMapping, error) {
  	allMappings := []*RESTMapping{}
  	errors := []error{}
  
  	for _, t := range m {
  		currMapping, err := t.RESTMapping(gk, versions...)
  		// ignore "no match" errors, but any other error percolates back up
  		if IsNoMatchError(err) {
  			continue
  		}
  		if err != nil {
  			errors = append(errors, err)
  			continue
  		}
  
  		allMappings = append(allMappings, currMapping)
  	}
  
  	// if we got exactly one mapping, then use it even if other requested failed
  	if len(allMappings) == 1 {
  		return allMappings[0], nil
  	}
  	if len(allMappings) > 1 {
  		var kinds []schema.GroupVersionKind
  		for _, m := range allMappings {
  			kinds = append(kinds, m.GroupVersionKind)
  		}
  		return nil, &AmbiguousKindError{PartialKind: gk.WithVersion(""), MatchingKinds: kinds}
  	}
  	if len(errors) > 0 {
  		return nil, utilerrors.NewAggregate(errors)
  	}
  	return nil, &NoKindMatchError{GroupKind: gk, SearchedVersions: versions}
  }
docs: // RESTMapping provides the REST mapping for the resource based on the
  // kind and version. This implementation supports multiple REST schemas and
  // return the first match.