Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandTildeInPath ¶
Types ¶
type CommandRunner ¶
type CopyFromRemoteToLocalRunner ¶
type CopyFromRemoteToLocalRunner struct { SshApi *sshwrapper.SshApi Verbose bool }
func NewCopyFromRemoteToLocalRunner ¶
func NewCopyFromRemoteToLocalRunner(sshApi *sshwrapper.SshApi) CopyFromRemoteToLocalRunner
type CopyRunner ¶
type CopyToLocalFromLocalRunner ¶
type CopyToLocalFromLocalRunner struct { SshApi *sshwrapper.SshApi Verbose bool }
func NewCopyToLocalFromLocalRunner ¶
func NewCopyToLocalFromLocalRunner(sshApi *sshwrapper.SshApi) CopyToLocalFromLocalRunner
type CopyToRemoteFromLocalRunner ¶
type CopyToRemoteFromLocalRunner struct { SshApi *sshwrapper.SshApi Verbose bool }
func NewCopyToRemoteFromLocalRunner ¶
func NewCopyToRemoteFromLocalRunner(sshApi *sshwrapper.SshApi) CopyToRemoteFromLocalRunner
type DockerCommandRunner ¶
type DockerCommandRunner struct { Container string Shell string // used to run your command in a shell docker exec %CONTAINER %SHELL -c '%CMD' CommandPattern string // use this to run your own run patter, should look like docker exec %s %s (first is container name, second your command, shell is no used here) Verbose bool }
func NewDockerCommandRunner ¶
func NewDockerCommandRunner(container string) DockerCommandRunner
type LocalCommandRunner ¶
type LocalCommandRunner struct {
Verbose bool
}
func NewLocalCommandRunner ¶
func NewLocalCommandRunner() LocalCommandRunner
type SshCommandRunner ¶
type SshCommandRunner struct { SshApi *sshwrapper.SshApi Verbose bool }
func NewSshCommandRunner ¶
func NewSshCommandRunner(sshApi *sshwrapper.SshApi) SshCommandRunner
Click to show internal directories.
Click to hide internal directories.