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: BackendObjectReference
BackendRef 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
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 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl JsonSchema for HttpRequestMirrorFilter
impl JsonSchema for HttpRequestMirrorFilter
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<HttpRequestMirrorFilter> for HttpRequestMirrorFilter
impl PartialEq<HttpRequestMirrorFilter> for HttpRequestMirrorFilter
sourcefn eq(&self, other: &HttpRequestMirrorFilter) -> bool
fn eq(&self, other: &HttpRequestMirrorFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &HttpRequestMirrorFilter) -> bool
fn ne(&self, other: &HttpRequestMirrorFilter) -> bool
This method tests for !=
.
sourceimpl Serialize for HttpRequestMirrorFilter
impl Serialize for HttpRequestMirrorFilter
impl StructuralPartialEq for HttpRequestMirrorFilter
Auto Trait Implementations
impl RefUnwindSafe for HttpRequestMirrorFilter
impl Send for HttpRequestMirrorFilter
impl Sync for HttpRequestMirrorFilter
impl Unpin for HttpRequestMirrorFilter
impl UnwindSafe for HttpRequestMirrorFilter
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