Struct k8s_gateway_api::TlsRouteRule
source · [−]pub struct TlsRouteRule {
pub backend_refs: Vec<BackendRef>,
}
Expand description
TLSRouteRule is the configuration for a given rule.
Fields
backend_refs: Vec<BackendRef>
BackendRefs defines the backend(s) where matching requests should be sent. If unspecified or invalid (refers to a non-existent resource or a Service with no endpoints), the rule performs no forwarding; if no filters are specified that would result in a response being sent, the underlying implementation must actively reject request attempts to this backend, by rejecting the connection or returning a 500 status code. Request rejections must respect weight; if an invalid backend is requested to have 80% of requests, then 80% of requests must be rejected instead.
Support: Core for Kubernetes Service Support: Custom for any other resource
Support for weight: Extended
Trait Implementations
sourceimpl Clone for TlsRouteRule
impl Clone for TlsRouteRule
sourcefn clone(&self) -> TlsRouteRule
fn clone(&self) -> TlsRouteRule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TlsRouteRule
impl Debug for TlsRouteRule
sourceimpl<'de> Deserialize<'de> for TlsRouteRule
impl<'de> Deserialize<'de> for TlsRouteRule
sourcefn 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
sourceimpl JsonSchema for TlsRouteRule
impl JsonSchema for TlsRouteRule
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the $ref
keyword. Read more
sourceimpl PartialEq<TlsRouteRule> for TlsRouteRule
impl PartialEq<TlsRouteRule> for TlsRouteRule
sourcefn eq(&self, other: &TlsRouteRule) -> bool
fn eq(&self, other: &TlsRouteRule) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TlsRouteRule) -> bool
fn ne(&self, other: &TlsRouteRule) -> bool
This method tests for !=
.
sourceimpl Serialize for TlsRouteRule
impl Serialize for TlsRouteRule
impl StructuralPartialEq for TlsRouteRule
Auto Trait Implementations
impl RefUnwindSafe for TlsRouteRule
impl Send for TlsRouteRule
impl Sync for TlsRouteRule
impl Unpin for TlsRouteRule
impl UnwindSafe for TlsRouteRule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more