code: func RegisteredVersionsForGroup(group string) (ret []unversioned.GroupVersion) {
  	for v := range registeredVersions {
  		if v.Group == group {
  			ret = append(ret, v)
  		}
  	}
  	return
  }
docs: // RegisteredVersionsForGroup returns all registered versions for a group.