[−][src]Enum roperator::config::UpdateStrategy
What to do when there's a difference between the "desired" state of a given resource and the actual state of that resource in the cluster. The three options are:
- Update the resource in place using an HTTP PUT request
- First delete the resource, then try to re-create it later
- Don't update it automatically, and instead wait for something else to delete the resource and then re-create it with the new state
There's not yet any option for using PATCH requests.
Variants
Means that the resource will be updated in place using an HTTP PUT request
The resource will first get deleted, and then re-created with the new state
The resource will not be modified in any way. Instead, we'll wait until the resource is deleted by some other means and then re-create it
Trait Implementations
impl Clone for UpdateStrategy
[src]
fn clone(&self) -> UpdateStrategy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for UpdateStrategy
[src]
impl Debug for UpdateStrategy
[src]
impl PartialEq<UpdateStrategy> for UpdateStrategy
[src]
fn eq(&self, other: &UpdateStrategy) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for UpdateStrategy
[src]
Auto Trait Implementations
impl RefUnwindSafe for UpdateStrategy
impl Send for UpdateStrategy
impl Sync for UpdateStrategy
impl Unpin for UpdateStrategy
impl UnwindSafe for UpdateStrategy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,