Skip to main content

ssh_worker_binary_prerequisite

Function ssh_worker_binary_prerequisite 

Source
pub fn ssh_worker_binary_prerequisite(
    template: &TargetTemplate,
    executor: &impl CommandExecutor,
) -> Option<(String, Result<WorkerBinaryAvailability>)>
Expand description

The worker an existing SSH host needs, with the target triple it is named by, read from the host’s own platform. None for a template that is not a bare SSH host and for a host that does not say what it runs; the SSH reachability check reports the latter.