Documentation ¶ Index ¶ func Download(serverHost string, sshUsername string, sshPrivateKeyfile string, ...) error func GetSSHConnection(serverHost string, sshUsername string, sshPrivateKeyfile string) (*ssh.Client, error) func RunCommandWithClient(client *ssh.Client, command string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Download ¶ func Download( serverHost string, sshUsername string, sshPrivateKeyfile string, srcFilepath string, dstFilepath string, logger *zap.Logger, ) error func GetSSHConnection ¶ func GetSSHConnection( serverHost string, sshUsername string, sshPrivateKeyfile string, ) (*ssh.Client, error) func RunCommandWithClient ¶ func RunCommandWithClient( client *ssh.Client, command string, ) (string, error) Types ¶ This section is empty. Source Files ¶ View all Source files connection.go download.go runcommand.go Click to show internal directories. Click to hide internal directories.