code: func (c *clientPoolImpl) ClientForGroupVersionResource(resource schema.GroupVersionResource) (Interface, error) {
  	kinds, err := c.mapper.KindsFor(resource)
  	if err != nil {
  		if meta.IsNoMatchError(err) {
  			return c.ClientForGroupVersionKind(schema.GroupVersionKind{Group: resource.Group, Version: resource.Version})
  		}
  		return nil, err
  	}
  	return c.ClientForGroupVersionKind(kinds[0])
  }
docs: // ClientForGroupVersionResource uses the provided RESTMapper to identify the appropriate resource. Resource may
  // be empty. If no matching kind is found the underlying client for that group is still returned.