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 NewSshExecWithKeyFile ¶
func (*SshExec) ConnectAndExec ¶
func (s *SshExec) ConnectAndExec(host string, commands []string, timeoutMinutes int, useSudo bool) ([]string, error)
This function was based from https://github.com/coreos/etcd-manager/blob/master/main.go
Click to show internal directories.
Click to hide internal directories.