pub struct RollingUpdate {
pub max_surge: Option<IntOrString>,
}
Expand description
RollingUpdate is used to control the desired behavior of rolling update.
Fields§
§max_surge: Option<IntOrString>
The maximum number of control planes that can be scheduled above or under the desired number of control planes. Value can be an absolute number 1 or 0. Defaults to 1. Example: when this is set to 1, the control plane can be scaled up immediately when the rolling update starts.
Trait Implementations§
Source§impl Clone for RollingUpdate
impl Clone for RollingUpdate
Source§fn clone(&self) -> RollingUpdate
fn clone(&self) -> RollingUpdate
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 RollingUpdate
impl Debug for RollingUpdate
Source§impl Default for RollingUpdate
impl Default for RollingUpdate
Source§fn default() -> RollingUpdate
fn default() -> RollingUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RollingUpdate
impl<'de> Deserialize<'de> for RollingUpdate
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 RollingUpdate
impl RefUnwindSafe for RollingUpdate
impl Send for RollingUpdate
impl Sync for RollingUpdate
impl Unpin for RollingUpdate
impl UnwindSafe for RollingUpdate
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