Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Quote ¶
Quote returns a shell-escaped version of the string s. The returned value is a string that can safely be used as one token in a shell command line.
func QuoteCommand ¶
QuoteCommand returns a shell-escaped version of the command arguments. The returned value is a string that can safely be used as shell command arguments.
Types ¶
type Remote ¶
type Remote struct {
// contains filtered or unexported fields
}
type SSHCLIRemote ¶ added in v0.15.0
type SSHCLIRemote struct {
// contains filtered or unexported fields
}
func NewSSHCLIRemote ¶ added in v0.15.0
func NewSSHCLIRemote(user, host string, port int, keyPath string) *SSHCLIRemote
func (*SSHCLIRemote) Close ¶ added in v0.15.0
func (r *SSHCLIRemote) Close() error
no-op as there is no persistent connection.
Click to show internal directories.
Click to hide internal directories.