pub struct KubernetesIngressRouteProfile {
pub annotations: HashMap<String, String>,
pub controller: Option<String>,
pub ingress_class_name: String,
pub labels: HashMap<String, String>,
pub provider: Option<KubernetesRouteProviderOptions>,
}Expand description
Shared Ingress route profile values.
JSON schema
{
"description": "Shared Ingress route profile values.",
"type": "object",
"required": [
"ingressClassName"
],
"properties": {
"annotations": {
"description": "Annotations applied to route objects.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"controller": {
"description": "Route controller identifier, for example `eks.amazonaws.com/alb`.",
"type": [
"string",
"null"
]
},
"ingressClassName": {
"description": "`spec.ingressClassName` for generated Ingresses.",
"type": "string"
},
"labels": {
"description": "Labels applied to route objects.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"provider": {
"$ref": "#/components/schemas/KubernetesRouteProviderOptions"
}
}
}Fields§
§annotations: HashMap<String, String>Annotations applied to route objects.
controller: Option<String>Route controller identifier, for example eks.amazonaws.com/alb.
ingress_class_name: Stringspec.ingressClassName for generated Ingresses.
labels: HashMap<String, String>Labels applied to route objects.
provider: Option<KubernetesRouteProviderOptions>Implementations§
Trait Implementations§
Source§impl Clone for KubernetesIngressRouteProfile
impl Clone for KubernetesIngressRouteProfile
Source§fn clone(&self) -> KubernetesIngressRouteProfile
fn clone(&self) -> KubernetesIngressRouteProfile
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 KubernetesIngressRouteProfile
impl<'de> Deserialize<'de> for KubernetesIngressRouteProfile
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<&KubernetesIngressRouteProfile> for KubernetesIngressRouteProfile
impl From<&KubernetesIngressRouteProfile> for KubernetesIngressRouteProfile
Source§fn from(value: &KubernetesIngressRouteProfile) -> Self
fn from(value: &KubernetesIngressRouteProfile) -> Self
Converts to this type from the input type.
Source§impl From<KubernetesIngressRouteProfile> for KubernetesIngressRouteProfile
impl From<KubernetesIngressRouteProfile> for KubernetesIngressRouteProfile
Source§fn from(value: KubernetesIngressRouteProfile) -> Self
fn from(value: KubernetesIngressRouteProfile) -> Self
Converts to this type from the input type.
Source§impl TryFrom<KubernetesIngressRouteProfile> for KubernetesIngressRouteProfile
impl TryFrom<KubernetesIngressRouteProfile> for KubernetesIngressRouteProfile
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: KubernetesIngressRouteProfile,
) -> Result<Self, ConversionError>
fn try_from( value: KubernetesIngressRouteProfile, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KubernetesIngressRouteProfile
impl RefUnwindSafe for KubernetesIngressRouteProfile
impl Send for KubernetesIngressRouteProfile
impl Sync for KubernetesIngressRouteProfile
impl Unpin for KubernetesIngressRouteProfile
impl UnsafeUnpin for KubernetesIngressRouteProfile
impl UnwindSafe for KubernetesIngressRouteProfile
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