pub enum ReconcileReason {
Unknown,
ObjectUpdated,
RelatedObjectUpdated {
obj_ref: Box<ObjectRef<DynamicObject>>,
},
ReconcilerRequestedRetry,
ErrorPolicyRequestedRetry,
BulkReconcile,
Custom {
reason: String,
},
}Expand description
The reason a reconcile was requested
Note that this reason is deliberately hidden from the reconciler. See https://kube.rs/controllers/reconciler/#reasons-for-reconciliation.
Variants§
Unknown
A custom reconcile triggered via reconcile_on
ObjectUpdated
The main object was updated.
RelatedObjectUpdated
A related object was updated through a mapper
The related object traversed its relation up to the object kind you are reconciling. Your object may not have changed, but you may need to update child objects.
Fields
obj_ref: Box<ObjectRef<DynamicObject>>An object ref to the related object
ReconcilerRequestedRetry
The users reconcile scheduled a reconciliation via an Action
ErrorPolicyRequestedRetry
The users error_policy scheduled a reconciliation via an Action
BulkReconcile
A bulk reconcile was requested via reconcile_all_on
Custom
A custom reconcile reason for custom integrations.
Can be used when injecting elements into the queue stream directly.
Trait Implementations§
Source§impl Clone for ReconcileReason
impl Clone for ReconcileReason
Source§fn clone(&self) -> ReconcileReason
fn clone(&self) -> ReconcileReason
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReconcileReason
impl Debug for ReconcileReason
Auto Trait Implementations§
impl Freeze for ReconcileReason
impl RefUnwindSafe for ReconcileReason
impl Send for ReconcileReason
impl Sync for ReconcileReason
impl Unpin for ReconcileReason
impl UnsafeUnpin for ReconcileReason
impl UnwindSafe for ReconcileReason
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 moreSource§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,
map-response-body only.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,
trace only.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,
trace only.