pub struct InteractiveCommand {Show 20 fields
pub single_node: bool,
pub multiplex: bool,
pub prompt_format: String,
pub history_file: PathBuf,
pub work_dir: Option<String>,
pub nodes: Vec<Node>,
pub config: Config,
pub interactive_config: InteractiveConfig,
pub cluster_name: Option<String>,
pub key_path: Option<PathBuf>,
pub use_agent: bool,
pub use_password: bool,
pub ssh_password: Option<Arc<Password>>,
pub strict_mode: StrictHostKeyChecking,
pub jump_hosts: Option<String>,
pub pty_config: PtyConfig,
pub use_pty: Option<bool>,
pub session_policy: Option<SessionPolicy>,
pub ssh_connection_config: SshConnectionConfig,
pub ssh_connection_config_resolver: Option<SshConnectionConfigResolver>,
}Expand description
Interactive mode command configuration
Fields§
§single_node: bool§multiplex: bool§prompt_format: String§history_file: PathBuf§work_dir: Option<String>§nodes: Vec<Node>§config: Config§interactive_config: InteractiveConfig§cluster_name: Option<String>§key_path: Option<PathBuf>§use_agent: bool§use_password: bool§ssh_password: Option<Arc<Password>>Pre-collected SSH password (collected once by the dispatcher and shared with each node’s interactive session). Mirrors the exec/ping path.
strict_mode: StrictHostKeyChecking§jump_hosts: Option<String>Explicit CLI jump-host override. Per-host ssh_config and YAML fallback
are selected by ssh_connection_config_resolver.
pty_config: PtyConfig§use_pty: Option<bool>§session_policy: Option<SessionPolicy>Resolved live ssh_config policy for the SSH-compatible interactive path.
ssh_connection_config: SshConnectionConfigFixed connection-policy fallback for callers without a resolver.
ssh_connection_config_resolver: Option<SshConnectionConfigResolver>Per-host policy resolver for each interactive target and jump alias.
Implementations§
Source§impl InteractiveCommand
impl InteractiveCommand
Sourcepub async fn execute(self) -> Result<InteractiveResult>
pub async fn execute(self) -> Result<InteractiveResult>
Main entry point for interactive session execution
Auto Trait Implementations§
impl Freeze for InteractiveCommand
impl RefUnwindSafe for InteractiveCommand
impl Send for InteractiveCommand
impl Sync for InteractiveCommand
impl Unpin for InteractiveCommand
impl UnsafeUnpin for InteractiveCommand
impl UnwindSafe for InteractiveCommand
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request