pub struct HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef {
pub group: Option<String>,
pub kind: Option<String>,
pub name: String,
pub namespace: Option<String>,
pub port: Option<i32>,
}Expand description
BackendRef is a reference to a backend to send authorization requests to.
The backend must speak the selected protocol (GRPC or HTTP) on the referenced port.
If the backend service requires TLS, use BackendTLSPolicy to tell the implementation to supply the TLS details to be used to connect to that backend.
Fields§
§group: Option<String>Group is the group of the referent. For example, “gateway.networking.k8s.io”. When unspecified or empty string, core API group is inferred.
kind: Option<String>Kind is the Kubernetes resource kind of the referent. For example “Service”.
Defaults to “Service” when not specified.
ExternalName services can refer to CNAME DNS records that may live outside of the cluster and as such are difficult to reason about in terms of conformance. They also may not be safe to forward to (see CVE-2021-25740 for more information). Implementations SHOULD NOT support ExternalName Services.
Support: Core (Services with a type other than ExternalName)
Support: Implementation-specific (Services with type ExternalName)
name: StringName is the name of the referent.
namespace: Option<String>Namespace is the namespace of the backend. When unspecified, the local namespace is inferred.
Note that when a namespace different than the local namespace is specified, a ReferenceGrant object is required in the referent namespace to allow that namespace’s owner to accept the reference. See the ReferenceGrant documentation for details.
Support: Core
port: Option<i32>Port specifies the destination port number to use for this resource. Port is required when the referent is a Kubernetes Service. In this case, the port number is the service port number, not the target port. For other resources, destination port might be derived from the referent resource or this field.
Trait Implementations§
Source§impl Clone for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
impl Clone for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
Source§fn clone(&self) -> HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
fn clone(&self) -> HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
impl Default for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
Source§fn default() -> HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
fn default() -> HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
Source§impl<'de> Deserialize<'de> for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
impl<'de> Deserialize<'de> for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
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 HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
impl JsonSchema for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
impl PartialEq for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
Source§fn eq(
&self,
other: &HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef,
) -> bool
fn eq( &self, other: &HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef, ) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
Auto Trait Implementations§
impl Freeze for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
impl RefUnwindSafe for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
impl Send for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
impl Sync for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
impl Unpin for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
impl UnwindSafe for HTTPRouteRulesBackendRefsFiltersExternalAuthBackendRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more