Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugExecutor ¶
func NewDebugExecutor ¶
func NewDebugExecutor(user, password, keyPath string) *DebugExecutor
func (*DebugExecutor) Close ¶
func (d *DebugExecutor) Close()
func (*DebugExecutor) Execute ¶
func (d *DebugExecutor) Execute(address, cmd string) (string, error)
func (*DebugExecutor) Transfer ¶
func (d *DebugExecutor) Transfer(address, localPath, remotePath string) error
type ExecuteCtx ¶
type SSHExecutor ¶
type SSHExecutor struct { User string Password string IdentityFile string // contains filtered or unexported fields }
func NewSSHExecutor ¶
func NewSSHExecutor(user, password, keyPath string) *SSHExecutor
func (*SSHExecutor) Close ¶
func (s *SSHExecutor) Close()
func (*SSHExecutor) Download ¶
func (s *SSHExecutor) Download(localPath, remotePath string) error
func (*SSHExecutor) Transfer ¶
func (s *SSHExecutor) Transfer(address, localPath, remotePath string) error
type TransferCtx ¶
Click to show internal directories.
Click to hide internal directories.