pub struct RolloutPolicy {
pub strategy: RolloutStrategy,
pub window_seconds: u64,
pub gates: Vec<RolloutGate>,
pub steps: Vec<RolloutStep>,
}Expand description
Rollout policy for a single service — the content of the [rollout] TOML section.
Fields§
§strategy: RolloutStrategyDeployment strategy. Only linear is implemented in yubaba v1.
window_seconds: u64Maximum wall-clock seconds for the entire rollout before it times out.
gates: Vec<RolloutGate>SLO gates evaluated after each step’s gate window elapses.
steps: Vec<RolloutStep>Ordered deployment steps (e.g. staging → canary → prod).
Trait Implementations§
Source§impl Clone for RolloutPolicy
impl Clone for RolloutPolicy
Source§fn clone(&self) -> RolloutPolicy
fn clone(&self) -> RolloutPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RolloutPolicy
impl Debug for RolloutPolicy
Source§impl<'de> Deserialize<'de> for RolloutPolicy
impl<'de> Deserialize<'de> for RolloutPolicy
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 RolloutPolicy
impl RefUnwindSafe for RolloutPolicy
impl Send for RolloutPolicy
impl Sync for RolloutPolicy
impl Unpin for RolloutPolicy
impl UnsafeUnpin for RolloutPolicy
impl UnwindSafe for RolloutPolicy
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