pub struct GatewayListenersTlsFrontendValidation {
pub ca_certificate_refs: Option<Vec<GatewayListenersTlsFrontendValidationCaCertificateRefs>>,
}
Expand description
FrontendValidation holds configuration information for validating the frontend (client). Setting this field will require clients to send a client certificate required for validation during the TLS handshake. In browsers this may result in a dialog appearing that requests a user to specify the client certificate. The maximum depth of a certificate chain accepted in verification is Implementation specific.
Support: Extended
Fields§
§ca_certificate_refs: Option<Vec<GatewayListenersTlsFrontendValidationCaCertificateRefs>>
CACertificateRefs contains one or more references to Kubernetes objects that contain TLS certificates of the Certificate Authorities that can be used as a trust anchor to validate the certificates presented by the client.
A single CA certificate reference to a Kubernetes ConfigMap has “Core” support. Implementations MAY choose to support attaching multiple CA certificates to a Listener, but this behavior is implementation-specific.
Support: Core - A single reference to a Kubernetes ConfigMap
with the CA certificate in a key named ca.crt
.
Support: Implementation-specific (More than one reference, or other kinds of resources).
References to a resource in a different namespace are invalid UNLESS there is a ReferenceGrant in the target namespace that allows the certificate to be attached. If a ReferenceGrant does not allow this reference, the “ResolvedRefs” condition MUST be set to False for this listener with the “RefNotPermitted” reason.
Trait Implementations§
Source§impl Clone for GatewayListenersTlsFrontendValidation
impl Clone for GatewayListenersTlsFrontendValidation
Source§fn clone(&self) -> GatewayListenersTlsFrontendValidation
fn clone(&self) -> GatewayListenersTlsFrontendValidation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GatewayListenersTlsFrontendValidation
impl Default for GatewayListenersTlsFrontendValidation
Source§fn default() -> GatewayListenersTlsFrontendValidation
fn default() -> GatewayListenersTlsFrontendValidation
Source§impl<'de> Deserialize<'de> for GatewayListenersTlsFrontendValidation
impl<'de> Deserialize<'de> for GatewayListenersTlsFrontendValidation
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>,
Source§impl JsonSchema for GatewayListenersTlsFrontendValidation
impl JsonSchema for GatewayListenersTlsFrontendValidation
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for GatewayListenersTlsFrontendValidation
impl PartialEq for GatewayListenersTlsFrontendValidation
Source§fn eq(&self, other: &GatewayListenersTlsFrontendValidation) -> bool
fn eq(&self, other: &GatewayListenersTlsFrontendValidation) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GatewayListenersTlsFrontendValidation
Auto Trait Implementations§
impl Freeze for GatewayListenersTlsFrontendValidation
impl RefUnwindSafe for GatewayListenersTlsFrontendValidation
impl Send for GatewayListenersTlsFrontendValidation
impl Sync for GatewayListenersTlsFrontendValidation
impl Unpin for GatewayListenersTlsFrontendValidation
impl UnwindSafe for GatewayListenersTlsFrontendValidation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more