pub enum KubernetesExposureSettings {
Disabled,
Generated {
certificate: KubernetesCertificateMode,
route: KubernetesRouteProfile,
},
Custom {
certificate: KubernetesCertificateMode,
domain: String,
route: KubernetesRouteProfile,
},
}Expand description
Kubernetes public HTTPS exposure mode.
JSON schema
{
"description": "Kubernetes public HTTPS exposure mode.",
"oneOf": [
{
"description": "Do not create Alien-managed external routing.",
"type": "object",
"required": [
"mode"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"disabled"
]
}
}
},
{
"description": "Use Alien-generated DNS and Platform-managed certificate material.",
"type": "object",
"required": [
"certificate",
"mode",
"route"
],
"properties": {
"certificate": {
"$ref": "#/components/schemas/KubernetesCertificateMode"
},
"mode": {
"type": "string",
"enum": [
"generated"
]
},
"route": {
"$ref": "#/components/schemas/KubernetesRouteProfile"
}
}
},
{
"description": "Use a customer hostname and customer-owned certificate reference.",
"type": "object",
"required": [
"certificate",
"domain",
"mode",
"route"
],
"properties": {
"certificate": {
"$ref": "#/components/schemas/KubernetesCertificateMode"
},
"domain": {
"description": "Hostname routed by the Kubernetes public endpoint.",
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"custom"
]
},
"route": {
"$ref": "#/components/schemas/KubernetesRouteProfile"
}
}
}
]
}Variants§
Disabled
Generated
Use Alien-generated DNS and Platform-managed certificate material.
Custom
Use a customer hostname and customer-owned certificate reference.
Trait Implementations§
Source§impl Clone for KubernetesExposureSettings
impl Clone for KubernetesExposureSettings
Source§fn clone(&self) -> KubernetesExposureSettings
fn clone(&self) -> KubernetesExposureSettings
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 Debug for KubernetesExposureSettings
impl Debug for KubernetesExposureSettings
Source§impl<'de> Deserialize<'de> for KubernetesExposureSettings
impl<'de> Deserialize<'de> for KubernetesExposureSettings
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<&KubernetesExposureSettings> for KubernetesExposureSettings
impl From<&KubernetesExposureSettings> for KubernetesExposureSettings
Source§fn from(value: &KubernetesExposureSettings) -> Self
fn from(value: &KubernetesExposureSettings) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KubernetesExposureSettings
impl RefUnwindSafe for KubernetesExposureSettings
impl Send for KubernetesExposureSettings
impl Sync for KubernetesExposureSettings
impl Unpin for KubernetesExposureSettings
impl UnsafeUnpin for KubernetesExposureSettings
impl UnwindSafe for KubernetesExposureSettings
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