ai.digital.integration.server.common.constant.OperatorHelmProviderName.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of integration-server-gradle-plugin Show documentation
Show all versions of integration-server-gradle-plugin Show documentation
The easy way to get custom setup for Deploy up and running
package ai.digital.integration.server.common.constant
enum class OperatorHelmProviderName(val providerName: String) {
AWS_EKS("aws-eks"),
AWS_OPENSHIFT("aws-openshift"),
AZURE_AKS("azure-aks"),
GCP_GKE("gcp-gke"),
ON_PREMISE("onprem"),
VMWARE_OPENSHIFT("vmware-openshift");
companion object {
fun valueOfProviderName(providerName: String): OperatorHelmProviderName {
for (operatorProviderName in values()) {
if (operatorProviderName.providerName == providerName) {
return operatorProviderName
}
}
throw IllegalArgumentException("No providerName $providerName")
}
}
}