Struct gateway_api::apis::experimental::tlsroutes::TLSRouteRules
source · pub struct TLSRouteRules {
pub backend_refs: Option<Vec<TLSRouteRulesBackendRefs>>,
}Expand description
TLSRouteRule is the configuration for a given rule.
Fields§
§backend_refs: Option<Vec<TLSRouteRulesBackendRefs>>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: Extended for Kubernetes ServiceImport Support: Implementation-specific for any other resource Support for weight: Extended
Trait Implementations§
source§impl Clone for TLSRouteRules
impl Clone for TLSRouteRules
source§fn clone(&self) -> TLSRouteRules
fn clone(&self) -> TLSRouteRules
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TLSRouteRules
impl Debug for TLSRouteRules
source§impl<'de> Deserialize<'de> for TLSRouteRules
impl<'de> Deserialize<'de> for TLSRouteRules
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 TLSRouteRules
impl JsonSchema for TLSRouteRules
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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more