Skip to content

Commit

Permalink
Add akamai hosting provider (#605)
Browse files Browse the repository at this point in the history
Signed-off-by: Imtiaz Uddin <[email protected]>
  • Loading branch information
Imtiaz246 authored Nov 15, 2024
1 parent b795444 commit e3c282c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions api/v1/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,21 @@ const (
HostingProviderGeneric HostingProvider = "Generic"
HostingProviderGKE HostingProvider = "GKE"
HostingProviderLinode HostingProvider = "Linode"
HostingProviderAkamai HostingProvider = "Akamai"
HostingProviderPacket HostingProvider = "Packet"
HostingProviderRancher HostingProvider = "Rancher"
HostingProviderScaleway HostingProvider = "Scaleway"
HostingProviderVultr HostingProvider = "Vultr"
)

func (h HostingProvider) ConvertToPreferredProvider() HostingProvider {
switch h {
case HostingProviderLinode:
return HostingProviderAkamai
}
return h
}

const (
AceInfoConfigMapName = "ace-info"

Expand Down

0 comments on commit e3c282c

Please sign in to comment.