Documentation
¶
Overview ¶
Package fileCopier contains interfaces and functions to assist in copying files via ssh.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyToDestination ¶
func CopyToDestination(ctx context.Context, f FileCopier) error
CopyToDestination wraps a FileCopier's copyToDestination method
Types ¶
type FileCopier ¶
type FileCopier interface {
// contains filtered or unexported methods
}
FileCopier is an exported interface for objects that manage the copying of a file
func NewSSHFileCopier ¶
func NewSSHFileCopier(source, account, node, destination string, fileCopierOptions []string, sshOptions []string, env environment.CommandEnvironment) FileCopier
NewSSHFileCopier returns a FileCopier object that copies a file via ssh
Click to show internal directories.
Click to hide internal directories.