Documentation
¶
Index ¶
- type SSH
- func (s *SSH) Close() error
- func (s *SSH) Connect(host string, args []string) error
- func (s *SSH) ControlAlive() bool
- func (s *SSH) Execute(cmd string, stdin io.Reader, stdout, stderr io.Writer) error
- func (s *SSH) ExecuteCmd(cmd *exec.Cmd, stdin io.Reader, stdout, stderr io.Writer) error
- func (s *SSH) GetFile(source, dest string) error
- func (s *SSH) PutFiles(dest string, sources ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSH ¶
type SSH struct {
// contains filtered or unexported fields
}
func (*SSH) ControlAlive ¶
func (*SSH) ExecuteCmd ¶
Click to show internal directories.
Click to hide internal directories.