ssh

package
v0.0.0-...-a4c6052 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

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 NewSshExecWithAuth(user string) *SshExec

func NewSshExecWithKeyFile

func NewSshExecWithKeyFile(user string, file string) *SshExec

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL