Documentation
¶
Index ¶
- func CleanupTempDir(sftpClient *sftp.Client, tempdir string, tarPath string) error
- func CreateTempDir(sftpClient *sftp.Client) (string, error)
- func DownloadFromTarball(sftpClient *sftp.Client, remoteTarPath string) error
- func EstablishConnection() (*ssh.Client, *sftp.Client, error)
- func RemoveTempDir(client *sftp.Client, tempdir string) error
- func RunCmd(sshClient *ssh.Client, dir string, cmd []string) error
- func RunTar(sshClient *ssh.Client, remoteTempDir, remoteTarPath string, extract bool) error
- func UploadCWD(sftpClient *sftp.Client, ignoreStatements []string, remoteTarPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupTempDir ¶
func DownloadFromTarball ¶
func RunTar ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.