Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandRunner ¶
CommandRunner returns a new remote action definition which defines how actions are to be run on an actor's remote host.
func FileCopier ¶
func FileCopier( localSourcePaths []string, remoteDestDir string, opts *CopyFileOptions, ) remote.Action
FileCopier returns a new remote action definition which defines how local files/dirs are to be copied to an actor's remote host.
Types ¶
type CopyFileOptions ¶
type CopyFileOptions struct {
// contains filtered or unexported fields
}
CopyFileOptions is a collection of additional options for how files are copied to remote hosts.
func NewCopyFileOptions ¶
func NewCopyFileOptions(recursive bool) *CopyFileOptions
NewCopyFileOptions creates a new option struct for defining how files are to be copied. Create new options in a function instead of relying on a struct so developers are less likely to leave a newly created option unset.
Click to show internal directories.
Click to hide internal directories.