pub struct RadiusWorkload {Show 21 fields
pub name: String,
pub namespace: String,
pub owner: OwnerReference,
pub image: String,
pub replicas: i32,
pub configuration_secret: String,
pub token_id: String,
pub inputs_digest: String,
pub eap_tls_secret: String,
pub eap_certificate_key: String,
pub eap_private_key_key: String,
pub eap_ca_key: Option<String>,
pub kanidm_ca: Option<RadiusCaSource>,
pub exposure: RadiusServiceExposure,
pub service_port: i32,
pub service_annotations: BTreeMap<String, String>,
pub resources: Option<ResourceRequirements>,
pub node_selector: Option<BTreeMap<String, String>>,
pub affinity: Option<Affinity>,
pub tolerations: Option<Vec<Toleration>>,
pub topology_spread_constraints: Option<Vec<TopologySpreadConstraint>>,
}Fields§
§name: String§namespace: String§owner: OwnerReferenceThe owner must be the RADIUS CR itself, not the referenced Kanidm CR.
image: String§replicas: i32§configuration_secret: String§token_id: StringKanidm token id the config Secret was rendered with (an id, never the bearer). Recorded on the pod template so observers can tell which token each pod uses.
inputs_digest: StringDigest of the public certificate and CA bytes (see
reconcile::inputs::inputs_digest); changing it rolls the pods.
eap_tls_secret: String§eap_certificate_key: String§eap_private_key_key: String§eap_ca_key: Option<String>§kanidm_ca: Option<RadiusCaSource>§exposure: RadiusServiceExposure§service_port: i32§service_annotations: BTreeMap<String, String>§resources: Option<ResourceRequirements>§node_selector: Option<BTreeMap<String, String>>§affinity: Option<Affinity>§tolerations: Option<Vec<Toleration>>§topology_spread_constraints: Option<Vec<TopologySpreadConstraint>>Implementations§
Source§impl RadiusWorkload
impl RadiusWorkload
pub fn validate(&self) -> Result<(), RadiusWorkloadError>
pub fn deployment(&self) -> Result<Deployment, RadiusWorkloadError>
pub fn service(&self) -> Result<Service, RadiusWorkloadError>
Trait Implementations§
Source§impl Clone for RadiusWorkload
impl Clone for RadiusWorkload
Auto Trait Implementations§
impl Forget for RadiusWorkload
impl Freeze for RadiusWorkload
impl Move for RadiusWorkload
impl RefUnwindSafe for RadiusWorkload
impl Send for RadiusWorkload
impl Sync for RadiusWorkload
impl Unpin for RadiusWorkload
impl UnsafeUnpin for RadiusWorkload
impl UnwindSafe for RadiusWorkload
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
Converts
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> ⓘ
Converts
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>
Wrap the input message
T in a tonic::RequestSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
Source§fn decompression(self) -> Decompression<Self>where
Self: Sized,
fn decompression(self) -> Decompression<Self>where
Self: Sized,
Decompress response bodies. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more