pub struct KanidmGateway {
pub parent_refs: Vec<KanidmGatewayParentRef>,
pub hostnames: Option<Vec<String>>,
pub annotations: Option<BTreeMap<String, String>>,
pub rules: Option<Vec<HttpRouteRules>>,
}Fields§
§parent_refs: Vec<KanidmGatewayParentRef>ParentRefs references the Gateway(s) that this HTTPRoute should be attached to. Each ParentRef must reference a Gateway in the same namespace as the HTTPRoute.
hostnames: Option<Vec<String>>Hostnames defines a set of hostnames that should match against the HTTP Host header to select a HTTPRoute used to process the request. When unspecified, defaults to the Kanidm domain (spec.domain).
annotations: Option<BTreeMap<String, String>>Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
rules: Option<Vec<HttpRouteRules>>Rules defines a list of HTTPRoute rules. Each rule consists of conditions for matching an HTTP request, filters for processing it, and backend references for forwarding the request. When unspecified, a default rule is created that routes all traffic to the Kanidm service. This field allows customization of routing behavior, including session persistence, timeouts, filters, and advanced matching conditions. Note: The sessionPersistence field in rules is experimental and requires Gateway API experimental channel support from the implementation.
Trait Implementations§
Source§impl Clone for KanidmGateway
impl Clone for KanidmGateway
Source§fn clone(&self) -> KanidmGateway
fn clone(&self) -> KanidmGateway
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for KanidmGateway
impl Debug for KanidmGateway
Source§impl Default for KanidmGateway
impl Default for KanidmGateway
Source§fn default() -> KanidmGateway
fn default() -> KanidmGateway
Source§impl<'de> Deserialize<'de> for KanidmGateway
impl<'de> Deserialize<'de> for KanidmGateway
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 KanidmGateway
impl JsonSchema for KanidmGateway
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 KanidmGateway
impl PartialEq for KanidmGateway
Source§fn eq(&self, other: &KanidmGateway) -> bool
fn eq(&self, other: &KanidmGateway) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for KanidmGateway
impl Serialize for KanidmGateway
impl StructuralPartialEq for KanidmGateway
Auto Trait Implementations§
impl Freeze for KanidmGateway
impl RefUnwindSafe for KanidmGateway
impl Send for KanidmGateway
impl Sync for KanidmGateway
impl Unpin for KanidmGateway
impl UnsafeUnpin for KanidmGateway
impl UnwindSafe for KanidmGateway
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request