Skip to main content

remote_box_snapshot

Function remote_box_snapshot 

Source
pub fn remote_box_snapshot(
    runner: &dyn ProcessRunner,
    opts: &RemoteOptions,
    full: bool,
) -> Result<RemoteBoxSnapshot>
Expand description

Probe CLI version, then fetch setup status and doctor when current. Never SCP.

ยงErrors

Returns crate::HortoError when SSH fails in an unexpected way or remote output cannot be parsed. Auth / unreachable / missing CLI are Ok with RemoteBoxSnapshot::cli_status set accordingly.