pub struct RolloutStrategy {
pub type: Option<RolloutStrategyType>,
pub rolling_update: Option<RollingUpdate>,
}
Expand description
RolloutStrategy describes how to replace existing machines with new ones.
Fields§
§type: Option<RolloutStrategyType>
Type of rollout. Currently the only supported strategy is “RollingUpdate”. Default is RollingUpdate.
rolling_update: Option<RollingUpdate>
Rolling update config params. Present only if RolloutStrategyType = RollingUpdate.
Trait Implementations§
Source§impl Clone for RolloutStrategy
impl Clone for RolloutStrategy
Source§fn clone(&self) -> RolloutStrategy
fn clone(&self) -> RolloutStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RolloutStrategy
impl Debug for RolloutStrategy
Source§impl Default for RolloutStrategy
impl Default for RolloutStrategy
Source§fn default() -> RolloutStrategy
fn default() -> RolloutStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RolloutStrategy
impl<'de> Deserialize<'de> for RolloutStrategy
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RolloutStrategy
impl RefUnwindSafe for RolloutStrategy
impl Send for RolloutStrategy
impl Sync for RolloutStrategy
impl Unpin for RolloutStrategy
impl UnwindSafe for RolloutStrategy
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
Mutably borrows from an owned value. Read more