#[non_exhaustive]pub enum Operation {
PromoteReleaseOperation(Box<PromoteReleaseOperation>),
AdvanceRolloutOperation(Box<AdvanceRolloutOperation>),
RepairRolloutOperation(Box<RepairRolloutOperation>),
TimedPromoteReleaseOperation(Box<TimedPromoteReleaseOperation>),
}
Expand description
The operation that the AutomationRun
will perform.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PromoteReleaseOperation(Box<PromoteReleaseOperation>)
Output only. Promotes a release to a specified ‘Target’.
AdvanceRolloutOperation(Box<AdvanceRolloutOperation>)
Output only. Advances a rollout to the next phase.
RepairRolloutOperation(Box<RepairRolloutOperation>)
Output only. Repairs a failed ‘Rollout’.
TimedPromoteReleaseOperation(Box<TimedPromoteReleaseOperation>)
Output only. Promotes a release to a specified ‘Target’ as defined in a Timed Promote Release rule.
Trait Implementations§
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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