code: func getResourceNamesForGroup(apiPrefix string, apiGroupInfo *APIGroupInfo, pathsToIgnore openapiutil.Trie) ([]string, error) {
  	// Get the canonical names of every resource we need to build in this api group
  	resourceNames := make([]string, 0)
  	for _, groupVersion := range apiGroupInfo.PrioritizedVersions {
  		for resource, storage := range apiGroupInfo.VersionedResourcesStorageMap[groupVersion.Version] {
  			path := gpath.Join(apiPrefix, groupVersion.Group, groupVersion.Version, resource)
  			if !pathsToIgnore.HasPrefix(path) {
  				kind, err := genericapi.GetResourceKind(groupVersion, storage, apiGroupInfo.Scheme)
  				if err != nil {
  					return nil, err
  				}
  				sampleObject, err := apiGroupInfo.Scheme.New(kind)
  				if err != nil {
  					return nil, err
  				}
  				name := openapiutil.GetCanonicalTypeName(sampleObject)
  				resourceNames = append(resourceNames, name)
  			}
  		}
  	}
  
  	return resourceNames, nil
  }
docs: // getResourceNamesForGroup is a private method for getting the canonical names for each resource to build in an api group