Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion pkg/api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1346,6 +1346,7 @@ const (
ClusterProfileAWSAutoreleaseQE ClusterProfile = "aws-autorelease-qe"
ClusterProfileAWSSdQE ClusterProfile = "aws-sd-qe"
ClusterProfileOEXAWSQE ClusterProfile = "oex-aws-qe"
ClusterProfileHyperfleetE2E ClusterProfile = "hyperfleet-e2e"
ClusterProfileAWSPerfScale ClusterProfile = "aws-perfscale"
ClusterProfileAWSPerfScaleOKD ClusterProfile = "aws-perfscale-okd"
ClusterProfileAWSPerfScaleQE ClusterProfile = "aws-perfscale-qe"
Expand Down Expand Up @@ -1548,6 +1549,7 @@ func ClusterProfiles() []ClusterProfile {
ClusterProfileAWSAutoreleaseQE,
ClusterProfileAWSSdQE,
ClusterProfileOEXAWSQE,
ClusterProfileHyperfleetE2E,
ClusterProfileAWSSC2SQE,
ClusterProfileAWSSCPQE,
ClusterProfileAWSOutpostQE,
Expand Down Expand Up @@ -1971,6 +1973,8 @@ func (p ClusterProfile) ClusterType() string {
return "osd-ephemeral"
case ClusterProfileHyperShift:
return "hypershift"
case ClusterProfileHyperfleetE2E:
return "hyperfleet-e2e"
case ClusterProfileOCIAgent:
return "oci-agent-qe"
case ClusterProfileOCIAssisted:
Expand Down Expand Up @@ -2016,6 +2020,8 @@ func (p ClusterProfile) LeaseType() string {
return "aws-sd-qe-quota-slice"
case ClusterProfileOEXAWSQE:
return "oex-aws-qe-quota-slice"
case ClusterProfileHyperfleetE2E:
return "hyperfleet-e2e-quota-slice"
case ClusterProfileAWSOutpostQE:
return "aws-outpost-qe-quota-slice"
case ClusterProfileAWSC2SQE:
Expand Down Expand Up @@ -2417,7 +2423,7 @@ func LeaseTypeFromClusterType(t string) (string, error) {
"kubevirt", "aws-cpaas", "osd-ephemeral", "gcp-virtualization", "aws-virtualization",
"azure-virtualization", "hypershift-powervs", "hypershift-powervs-cb", "aws-mco-qe",
"equinix-edge-enablement", "aws-oadp-qe", "azure-oadp-qe", "gcp-oadp-qe", "aws-lp-chaos",
"metal-redhat-gs", "aro-hcp-int", "aro-hcp-stg", "aro-hcp-prod", "aro-hcp-dev":
"metal-redhat-gs", "aro-hcp-int", "aro-hcp-stg", "aro-hcp-prod", "aro-hcp-dev", "hyperfleet-e2e":
return t + "-quota-slice", nil
default:
return "", fmt.Errorf("invalid cluster type %q", t)
Expand Down