Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SshExec ¶
type SshExec struct {
// contains filtered or unexported fields
}
func NewSshExecWithAuth ¶
func NewSshExecWithKeyFile ¶
func (*SshExec) ConnectAndExec ¶
func (s *SshExec) ConnectAndExec(host string, commands []string, wg *sync.WaitGroup) ([]string, error)
This function was taken from https://github.com/coreos/etcd-manager/blob/master/main.go
Click to show internal directories.
Click to hide internal directories.