Skip to main content

Module runner

Module runner 

Source
Expand description

High-level remote apply: probe arch, drop CLI agent, run setup, install payload.

Re-exportsยง

pub use apply::remote_ensure_ssh_key;
pub use apply::remote_install_payload;
pub use apply::remote_run_cli;
pub use apply::remote_setup_run;
pub use apply::remote_upload_cli;
pub use apply::RemoteRunOutcome;
pub use options::remote_doctor_report_banner;
pub use options::remote_progress_message;
pub use options::remote_run_banner_detail;
pub use options::session_from;
pub use options::RemoteOptions;
pub use options::RemoteOptionsInput;
pub use options::RemoteRunFlags;
pub use options::RemoteRunRequest;
pub use options::DEFAULT_GITHUB_REPO;
pub use options::DEFAULT_INSTALL_DIR;
pub use options::DEFAULT_REMOTE_AGENT_DIR;
pub use probe::classify_ssh_failure;
pub use probe::normalize_cli_version;
pub use probe::probe_remote_cli;
pub use probe::remote_box_snapshot;
pub use probe::remote_cli_version_is_current;
pub use probe::remote_probe_arch;
pub use probe::RemoteBoxCliStatus;
pub use probe::RemoteBoxSnapshot;
pub use probe::RemoteCliProbe;
pub use reboot::remote_reboot;
pub use reboot::remote_reboot_with_sudo_password;
pub use reboot::wants_reboot_now;
pub use status::parse_remote_json;
pub use status::remote_doctor;
pub use status::remote_setup_status;
pub use token::api_token_config_path;
pub use token::finish_save_api_token;
pub use token::offer_save_api_token;
pub use token::parse_api_token_drop;
pub use token::pull_remote_api_token;
pub use token::usable_api_token_hex;
pub use token::write_api_token_file;
pub use token::MIN_API_TOKEN_HEX_LEN;

Modulesยง

apply ๐Ÿ”’
Prepare / upload remote CLI, run commands, and install payload.
options ๐Ÿ”’
Remote session options, banners, and shared command helpers.
probe ๐Ÿ”’
Remote CLI probe, arch detection, and box snapshot.
reboot ๐Ÿ”’
Remote box reboot helpers.
status ๐Ÿ”’
Parse and fetch remote setup status and doctor reports.
token ๐Ÿ”’
Local status-api bearer token save path and prompts.