Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostPath ¶ added in v0.3.0
HostPath stores a path with host information
func ParseHostPath ¶ added in v0.3.0
Parse a host path from a string in '[HOST:]PATH' form. no 'HOST:' part implies the local machine
type NetworkCopier ¶ added in v0.3.0
type NetworkCopier interface { // CopyTo transfers a list of files (source) to a given directory (destination). // Any one of the paths may be located on the host or remotely Copy(ctx context.Context, source []HostPath, destination HostPath) error }
NetworkCopier copies files over the network
type RsyncNetworkCopier ¶
type RsyncNetworkCopier struct {
// contains filtered or unexported fields
}
The default copier. Uses `rsync` to do the actual work
func NewRsyncNetworkCopier ¶
func NewRsyncNetworkCopier(sshPrivateKeyPath string) *RsyncNetworkCopier
Click to show internal directories.
Click to hide internal directories.