Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ToUnixPath ¶ added in v0.0.9
Types ¶
type Host ¶ added in v0.0.9
func HostFromLine ¶ added in v0.0.9
type HostPool ¶ added in v0.0.9
type HostPool struct {
// contains filtered or unexported fields
}
func NewHostPool ¶ added in v0.0.9
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 remote host and returns the output
func (*Remote) UploadDirectory ¶
UploadDirectory 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.