pub struct RemoteOptions {
pub host: String,
pub install_ssh_key: bool,
pub bin_dir: Option<PathBuf>,
pub version: String,
pub release_tag: String,
pub github_repo: String,
pub force_askpass: bool,
pub cache_root: PathBuf,
pub remote_agent_dir: String,
pub install_dir: String,
pub ssh_config_file: Option<PathBuf>,
}Expand description
Options for a remote OpenSSH session and binary source.
Fields§
§host: StringOpenSSH Host alias or user@host.
install_ssh_key: boolWhen true, run ssh-copy-id once before apply. Default false.
bin_dir: Option<PathBuf>Local directory with the four box binaries (skips GitHub download).
version: StringWorkspace / Release version (0.1.0, without v). Used in asset filenames.
release_tag: StringGitHub Release tag to download from (v0.1.0 or tip dev-preview).
github_repo: Stringowner/repo for Release downloads.
force_askpass: boolForce SSH_ASKPASS (Desktop / no TTY).
cache_root: PathBufCache root for downloaded Release assets.
remote_agent_dir: StringRemote temp dir for the apply agent.
install_dir: StringRemote install dir for permanent binaries.
ssh_config_file: Option<PathBuf>Optional OpenSSH config file (ssh -F). Used by tests and custom layouts.
Implementations§
Source§impl RemoteOptions
impl RemoteOptions
Sourcepub fn from_input(input: RemoteOptionsInput) -> Self
pub fn from_input(input: RemoteOptionsInput) -> Self
Build session options from shared surface inputs (one place for askpass / tag policy).
Trait Implementations§
Source§impl Clone for RemoteOptions
impl Clone for RemoteOptions
Source§fn clone(&self) -> RemoteOptions
fn clone(&self) -> RemoteOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RemoteOptions
impl Debug for RemoteOptions
Auto Trait Implementations§
impl Freeze for RemoteOptions
impl RefUnwindSafe for RemoteOptions
impl Send for RemoteOptions
impl Sync for RemoteOptions
impl Unpin for RemoteOptions
impl UnsafeUnpin for RemoteOptions
impl UnwindSafe for RemoteOptions
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