pub struct D0DockerEngine;Expand description
Ensure Docker Engine is installed before stack init (d0).
Trait Implementations§
Source§impl Step for D0DockerEngine
impl Step for D0DockerEngine
Source§fn reference_script(&self) -> &'static str
fn reference_script(&self) -> &'static str
Legacy shell script this step absorbs (documentation / tip-sync).
Source§fn step_version(&self) -> u32
fn step_version(&self) -> u32
Implementation version; resume marks stale when this increases.
Source§fn depends_on(&self) -> &'static [&'static str]
fn depends_on(&self) -> &'static [&'static str]
Step ids that must be
Done before this step may run.Source§fn is_done(&self, _ctx: &HostContext) -> bool
fn is_done(&self, _ctx: &HostContext) -> bool
Heuristic: already completed on this host layout.
Source§fn plan(&self, ctx: &mut HostContext) -> Result<Vec<PlannedAction>>
fn plan(&self, ctx: &mut HostContext) -> Result<Vec<PlannedAction>>
Record planned actions without mutating the host (also used in dry-run apply). Read more
Source§fn apply(&self, ctx: &mut HostContext) -> Result<()>
fn apply(&self, ctx: &mut HostContext) -> Result<()>
Execute or plan according to
HostContext::mode. Read moreSource§fn schema_version(&self) -> u32
fn schema_version(&self) -> u32
Schema of the step trait itself (rarely bumped).
Source§fn needs_reboot_after(&self) -> bool
fn needs_reboot_after(&self) -> bool
Advise a reboot after a successful apply.
Source§fn destructive(&self) -> bool
fn destructive(&self) -> bool
True when apply can overwrite live host config.
Auto Trait Implementations§
impl Freeze for D0DockerEngine
impl RefUnwindSafe for D0DockerEngine
impl Send for D0DockerEngine
impl Sync for D0DockerEngine
impl Unpin for D0DockerEngine
impl UnsafeUnpin for D0DockerEngine
impl UnwindSafe for D0DockerEngine
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