pub enum KubernetesRouteProviderOptions {
AwsAlb {
ip_address_type: Option<String>,
scheme: String,
subnet_ids: Vec<String>,
target_type: String,
},
GkeGateway {
static_address_name: Option<String>,
},
AzureApplicationGatewayForContainers {
alb_name: Option<String>,
alb_namespace: Option<String>,
frontend: String,
},
}Expand description
Provider-specific route options required by supported managed profiles.
JSON schema
{
"description": "Provider-specific route options required by supported managed profiles.",
"oneOf": [
{
"description": "AWS ALB route options for EKS.",
"type": "object",
"required": [
"provider",
"scheme",
"targetType"
],
"properties": {
"ipAddressType": {
"description": "Optional ALB IP address type, such as `dualstack`.",
"type": [
"string",
"null"
]
},
"provider": {
"type": "string",
"enum": [
"awsAlb"
]
},
"scheme": {
"description": "Internet-facing or internal ALB scheme.",
"type": "string"
},
"subnetIds": {
"description": "Explicit subnet IDs when the profile cannot rely on controller discovery.",
"type": "array",
"items": {
"type": "string"
}
},
"targetType": {
"description": "ALB target type, usually `ip`.",
"type": "string"
}
}
},
{
"description": "GKE Gateway route options.",
"type": "object",
"required": [
"provider"
],
"properties": {
"provider": {
"type": "string",
"enum": [
"gkeGateway"
]
},
"staticAddressName": {
"description": "Optional static address name for the Gateway frontend.",
"type": [
"string",
"null"
]
}
}
},
{
"description": "Azure Application Gateway for Containers route options.",
"type": "object",
"required": [
"frontend",
"provider"
],
"properties": {
"albName": {
"description": "Optional ALB name when using BYO Application Gateway resources.",
"type": [
"string",
"null"
]
},
"albNamespace": {
"description": "Optional ALB namespace when using BYO Application Gateway resources.",
"type": [
"string",
"null"
]
},
"frontend": {
"description": "Public or internal frontend exposure.",
"type": "string"
},
"provider": {
"type": "string",
"enum": [
"azureApplicationGatewayForContainers"
]
}
}
}
]
}Variants§
AwsAlb
AWS ALB route options for EKS.
Fields
GkeGateway
GKE Gateway route options.
AzureApplicationGatewayForContainers
Azure Application Gateway for Containers route options.
Trait Implementations§
Source§impl Clone for KubernetesRouteProviderOptions
impl Clone for KubernetesRouteProviderOptions
Source§fn clone(&self) -> KubernetesRouteProviderOptions
fn clone(&self) -> KubernetesRouteProviderOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for KubernetesRouteProviderOptions
impl<'de> Deserialize<'de> for KubernetesRouteProviderOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&KubernetesRouteProviderOptions> for KubernetesRouteProviderOptions
impl From<&KubernetesRouteProviderOptions> for KubernetesRouteProviderOptions
Source§fn from(value: &KubernetesRouteProviderOptions) -> Self
fn from(value: &KubernetesRouteProviderOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KubernetesRouteProviderOptions
impl RefUnwindSafe for KubernetesRouteProviderOptions
impl Send for KubernetesRouteProviderOptions
impl Sync for KubernetesRouteProviderOptions
impl Unpin for KubernetesRouteProviderOptions
impl UnsafeUnpin for KubernetesRouteProviderOptions
impl UnwindSafe for KubernetesRouteProviderOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more