Struct k8s_gateway_api::HttpBackendRef 
source · pub struct HttpBackendRef {
    pub backend_ref: Option<BackendRef>,
    pub filters: Option<Vec<HttpRouteFilter>>,
}Expand description
HTTPBackendRef defines how a HTTPRoute should forward an HTTP request.
Fields§
§backend_ref: Option<BackendRef>BackendRef is a reference to a backend to forward matched requests to.
If the referent cannot be found, this HTTPBackendRef is invalid and must
be dropped from the Gateway. The controller must ensure the
“ResolvedRefs” condition on the Route is set to status: False and not
configure this backend in the underlying implementation.
If there is a cross-namespace reference to an existing object
that is not covered by a ReferencePolicy, the controller must ensure the
“ResolvedRefs”  condition on the Route is set to status: False,
with the “RefNotPermitted” reason and not configure this backend in the
underlying implementation.
In either error case, the Message of the ResolvedRefs Condition
should be used to provide more detail about the problem.
Support: Custom
filters: Option<Vec<HttpRouteFilter>>Filters defined at this level should be executed if and only if the request is being forwarded to the backend defined here.
Support: Custom (For broader support of filters, use the Filters field in HTTPRouteRule.)
Trait Implementations§
source§impl Clone for HttpBackendRef
 
impl Clone for HttpBackendRef
source§fn clone(&self) -> HttpBackendRef
 
fn clone(&self) -> HttpBackendRef
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for HttpBackendRef
 
impl Debug for HttpBackendRef
source§impl<'de> Deserialize<'de> for HttpBackendRef
 
impl<'de> Deserialize<'de> for HttpBackendRef
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 HttpBackendRef
 
impl JsonSchema for HttpBackendRef
source§fn schema_name() -> String
 
fn schema_name() -> String
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 moresource§impl PartialEq<HttpBackendRef> for HttpBackendRef
 
impl PartialEq<HttpBackendRef> for HttpBackendRef
source§fn eq(&self, other: &HttpBackendRef) -> bool
 
fn eq(&self, other: &HttpBackendRef) -> bool
self and other values to be equal, and is used
by ==.