#[non_exhaustive]pub enum Phase {
Images,
Create,
Start,
Health,
Boxes,
Up,
Provision,
Init,
Apply,
Ready,
}Expand description
A step of an operation: its id in a step event.
| Format | Steps, in order |
|---|---|
| Compose | images (pulled and built), create (networks, volumes, containers), start, health (waited on until healthy) |
| Vagrant | boxes (downloaded), then for each machine (the step’s label): up, provision |
| Terraform | init, apply (the resources changed so far of those planned), ready (the module’s provisioners set its machines up) |
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Images
Compose: the images the services run, pulled and built (counted by image).
Create
Compose: the project’s networks, volumes and containers made (counted by container).
Start
Compose: the containers started (counted by container).
Health
Compose: the services waited on until they run healthy, or a one-shot one exited (counted by container).
Boxes
Vagrant: the boxes the machines boot from, downloaded (counted by box).
Up
Vagrant: a machine (the label) made and booted.
Provision
Vagrant: a machine (the label) set up by its provisioners.
Init
Terraform: the module’s providers and modules installed, its state’s backend readied.
Apply
Terraform: the module’s resources made, changed or removed (counted by resource).
Ready
Terraform: the module’s provisioners setting its machines up.
Implementations§
Trait Implementations§
impl Copy for Phase
impl Eq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Forget for Phase
impl Freeze for Phase
impl Move for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.