pub struct SshExecutor;
Expand description
SSH执行器
Implementations§
Source§impl SshExecutor
impl SshExecutor
Sourcepub fn execute_script_with_realtime_output(
server_name: &str,
ssh_config: &SshConfig,
step: &Step,
pipeline_name: &str,
step_name: &str,
output_callback: Option<OutputCallback>,
variable_manager: VariableManager,
extract_rules: Option<Vec<ExtractRule>>,
) -> Result<ExecutionResult>
pub fn execute_script_with_realtime_output( server_name: &str, ssh_config: &SshConfig, step: &Step, pipeline_name: &str, step_name: &str, output_callback: Option<OutputCallback>, variable_manager: VariableManager, extract_rules: Option<Vec<ExtractRule>>, ) -> Result<ExecutionResult>
通过SSH执行脚本(支持实时输出)
Auto Trait Implementations§
impl Freeze for SshExecutor
impl RefUnwindSafe for SshExecutor
impl Send for SshExecutor
impl Sync for SshExecutor
impl Unpin for SshExecutor
impl UnwindSafe for SshExecutor
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