Documentation ¶
Index ¶
- func BuildClients(host string, config *ssh.ClientConfig, num int) []*sftp.Client
- func BuildRemoteFileList(walker *fs.Walker, basepath string) map[string]file
- func CompareTree(basepath string, remoteMap map[string]file, ...) (rmdirs []file, rms []file, mkdirs []file, puts []file)
- func FileSliceToChan(in []file) <-chan file
- func NewSFTPClient(addr string, config *ssh.ClientConfig) (*sftp.Client, error)
- func ProcessDelete(client *sftp.Client, dc <-chan file, dryRun bool, done chan<- bool)
- func ProcessPut(client *sftp.Client, basepath string, pc <-chan file, dryRun bool, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildClients ¶
func BuildRemoteFileList ¶
func CompareTree ¶
func FileSliceToChan ¶
func FileSliceToChan(in []file) <-chan file
func NewSFTPClient ¶
func ProcessDelete ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.