code: func (c *customMetricsClient) qualResourceForKind(groupKind schema.GroupKind) (string, error) {
  	mapping, err := c.mapper.RESTMapping(groupKind)
  	if err != nil {
  		return "", fmt.Errorf("unable to map kind %s to resource: %v", groupKind.String(), err)
  	}
  
  	gr := mapping.Resource.GroupResource()
  	return gr.String(), nil
  }
docs: // qualResourceForKind returns the string format of a qualified group resource for the specified GroupKind