code: func ParseGroups(resourceConfig cliflag.ConfigurationMap) ([]string, error) {
  	groups := []string{}
  	for key := range resourceConfig {
  		if key == "api/all" {
  			continue
  		}
  		tokens := strings.Split(key, "/")
  		if len(tokens) != 2 && len(tokens) != 3 {
  			return groups, fmt.Errorf("runtime-config invalid key %s", key)
  		}
  		groupVersionString := tokens[0] + "/" + tokens[1]
  		groupVersion, err := schema.ParseGroupVersion(groupVersionString)
  		if err != nil {
  			return nil, fmt.Errorf("runtime-config invalid key %s", key)
  		}
  		groups = append(groups, groupVersion.Group)
  	}
  
  	return groups, nil
  }
docs: // ParseGroups takes in resourceConfig and returns parsed groups.