code: func DefaultVersionedAPIPath(apiPath string, groupVersion schema.GroupVersion) string {
  	versionedAPIPath := path.Join("/", apiPath)
  
  	// Add the version to the end of the path
  	if len(groupVersion.Group) > 0 {
  		versionedAPIPath = path.Join(versionedAPIPath, groupVersion.Group, groupVersion.Version)
  
  	} else {
  		versionedAPIPath = path.Join(versionedAPIPath, groupVersion.Version)
  	}
  
  	return versionedAPIPath
  }
docs: // DefaultVersionedAPIPathFor constructs the default path for the given group version, assuming the given
  // API path, following the standard conventions of the Kubernetes API.