Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ParseHostsFile ¶ added in v0.0.10
func ToUnixPath ¶ added in v0.0.9
Types ¶
type Host ¶ added in v0.0.9
func ParseHostLine ¶ added in v0.0.10
type HostPool ¶ added in v0.0.9
type HostPool struct {
// contains filtered or unexported fields
}
func NewHostPool ¶ added in v0.0.9
func NewHostPool() *HostPool
type Remote ¶
type Remote struct {
Hostname string
Port int
Username string
Password string
Logger zerolog.Logger
// contains filtered or unexported fields
}
Remote represents a SSH/SFTP client for remote server operations
func (*Remote) ExecuteCommand ¶
ExecuteCommand executes a command on the remote host via SSH.
func (*Remote) UploadDir ¶ added in v0.0.10
UploadDir uploads a local directory recursively to remote path with better error handling
func (*Remote) UploadFile ¶
UploadFile uploads a local file to remote path with buffer optimization
Click to show internal directories.
Click to hide internal directories.