Struct kube_runtime::controller::ReconcileRequest
source · [−]pub struct ReconcileRequest<K: Resource> {
pub obj_ref: ObjectRef<K>,
pub reason: ReconcileReason,
}
Expand description
A request to reconcile an object, annotated with why that request was made.
NOTE: The reason is ignored for comparison purposes. This means that, for example, an object can only occupy one scheduler slot, even if it has been scheduled for multiple reasons. In this case, only the first reason is stored.
Fields
obj_ref: ObjectRef<K>
reason: ReconcileReason
Trait Implementations
sourceimpl<K: Resource> Clone for ReconcileRequest<K> where
K::DynamicType: Clone,
impl<K: Resource> Clone for ReconcileRequest<K> where
K::DynamicType: Clone,
sourceimpl<K: Resource> Debug for ReconcileRequest<K> where
K::DynamicType: Debug,
impl<K: Resource> Debug for ReconcileRequest<K> where
K::DynamicType: Debug,
sourceimpl<K: Resource> From<ObjectRef<K>> for ReconcileRequest<K>
impl<K: Resource> From<ObjectRef<K>> for ReconcileRequest<K>
sourceimpl<K: Resource> Hash for ReconcileRequest<K> where
K::DynamicType: Hash,
impl<K: Resource> Hash for ReconcileRequest<K> where
K::DynamicType: Hash,
sourceimpl<K: Resource> PartialEq<ReconcileRequest<K>> for ReconcileRequest<K> where
K::DynamicType: PartialEq,
impl<K: Resource> PartialEq<ReconcileRequest<K>> for ReconcileRequest<K> where
K::DynamicType: PartialEq,
impl<K: Resource> Eq for ReconcileRequest<K> where
K::DynamicType: Eq,
Auto Trait Implementations
impl<K> RefUnwindSafe for ReconcileRequest<K> where
<K as Resource>::DynamicType: RefUnwindSafe,
impl<K> Send for ReconcileRequest<K>
impl<K> Sync for ReconcileRequest<K>
impl<K> Unpin for ReconcileRequest<K> where
<K as Resource>::DynamicType: Unpin,
impl<K> UnwindSafe for ReconcileRequest<K> where
<K as Resource>::DynamicType: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more