Struct k8s_gateway_api::HttpRequestMirrorFilter
source · [−]pub struct HttpRequestMirrorFilter {
pub backend_ref: BackendObjectReference,
}Expand description
HTTPRequestMirrorFilter defines configuration for the RequestMirror filter.
Fields
backend_ref: BackendObjectReferenceBackendRef references a resource where mirrored requests are sent.
If the referent cannot be found, this BackendRef is invalid and must be
dropped from the Gateway. The controller must ensure the “ResolvedRefs”
condition on the Route status 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 allowed 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: Extended for Kubernetes Service Support: Custom for any other resource
Trait Implementations
sourceimpl Clone for HttpRequestMirrorFilter
impl Clone for HttpRequestMirrorFilter
sourcefn clone(&self) -> HttpRequestMirrorFilter
fn clone(&self) -> HttpRequestMirrorFilter
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresourceimpl Debug for HttpRequestMirrorFilter
impl Debug for HttpRequestMirrorFilter
sourceimpl<'de> Deserialize<'de> for HttpRequestMirrorFilter
impl<'de> Deserialize<'de> for HttpRequestMirrorFilter
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>,
sourceimpl JsonSchema for HttpRequestMirrorFilter
impl JsonSchema for HttpRequestMirrorFilter
sourcefn schema_name() -> String
fn schema_name() -> String
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more