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 { // Copy 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, keyStore sshkeys.KeyStore, knownHosts sshkeys.KnownHosts) error }
NetworkCopier copies files over the network
type RsyncNetworkCopier ¶
type RsyncNetworkCopier struct{}
The default copier. Uses `rsync` to do the actual work
func NewRsyncNetworkCopier ¶
func NewRsyncNetworkCopier() *RsyncNetworkCopier
Click to show internal directories.
Click to hide internal directories.