Struct google_container1::api::StandardRolloutPolicy
source · pub struct StandardRolloutPolicy {
pub batch_node_count: Option<i32>,
pub batch_percentage: Option<f32>,
pub batch_soak_duration: Option<Duration>,
}
Expand description
Standard rollout policy is the default policy for blue-green.
This type is not used in any activity, and only used as part of another schema.
Fields§
§batch_node_count: Option<i32>
Number of blue nodes to drain in a batch.
batch_percentage: Option<f32>
Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
batch_soak_duration: Option<Duration>
Soak time after each batch gets drained. Default to zero.
Trait Implementations§
source§impl Clone for StandardRolloutPolicy
impl Clone for StandardRolloutPolicy
source§fn clone(&self) -> StandardRolloutPolicy
fn clone(&self) -> StandardRolloutPolicy
Returns a copy 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 StandardRolloutPolicy
impl Debug for StandardRolloutPolicy
source§impl Default for StandardRolloutPolicy
impl Default for StandardRolloutPolicy
source§fn default() -> StandardRolloutPolicy
fn default() -> StandardRolloutPolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StandardRolloutPolicy
impl<'de> Deserialize<'de> for StandardRolloutPolicy
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
source§impl Serialize for StandardRolloutPolicy
impl Serialize for StandardRolloutPolicy
impl Part for StandardRolloutPolicy
Auto Trait Implementations§
impl RefUnwindSafe for StandardRolloutPolicy
impl Send for StandardRolloutPolicy
impl Sync for StandardRolloutPolicy
impl Unpin for StandardRolloutPolicy
impl UnwindSafe for StandardRolloutPolicy
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