ssh_rsync

package
v0.0.0-...-978babc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	User(user string) Builder
	Host(h string) Builder
	Port(p int) Builder
	PrivateKeyPath(p string) Builder
	Build() SSHClient
}

func NewBuilder

func NewBuilder(logger Logger) Builder

type SSHClient

type SSHClient interface {
	Execute(cmd string) string
	DoesPathExist(path string, dir bool) bool
	ExecuteLocalRsync(rsyncArgs ...string) string
	RsyncUpload(localPath, remotePath string, flags ...string) string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL