Documentation
¶
Index ¶
- type RemoteSession
- func (m *RemoteSession) Close() error
- func (m *RemoteSession) CombinedOutput(cmd string) ([]byte, error)
- func (m *RemoteSession) Output(cmd string) ([]byte, error)
- func (m *RemoteSession) Run(cmd string) error
- func (m *RemoteSession) Setenv(name string, value string) error
- func (m *RemoteSession) Shell() error
- func (m *RemoteSession) Signal(sig ssh.Signal) error
- func (m *RemoteSession) Start(cmd string) error
- func (m *RemoteSession) StderrPipe() (io.Reader, error)
- func (m *RemoteSession) StdinPipe() (io.WriteCloser, error)
- func (m *RemoteSession) StdoutPipe() (io.Reader, error)
- func (m *RemoteSession) Wait() error
- type WriteCloser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteSession ¶
func (*RemoteSession) Close ¶
func (m *RemoteSession) Close() error
func (*RemoteSession) CombinedOutput ¶
func (m *RemoteSession) CombinedOutput(cmd string) ([]byte, error)
func (*RemoteSession) Run ¶
func (m *RemoteSession) Run(cmd string) error
func (*RemoteSession) Shell ¶
func (m *RemoteSession) Shell() error
func (*RemoteSession) Start ¶
func (m *RemoteSession) Start(cmd string) error
func (*RemoteSession) StderrPipe ¶
func (m *RemoteSession) StderrPipe() (io.Reader, error)
func (*RemoteSession) StdinPipe ¶
func (m *RemoteSession) StdinPipe() (io.WriteCloser, error)
func (*RemoteSession) StdoutPipe ¶
func (m *RemoteSession) StdoutPipe() (io.Reader, error)
func (*RemoteSession) Wait ¶
func (m *RemoteSession) Wait() error
type WriteCloser ¶
func (*WriteCloser) Close ¶
func (mwc *WriteCloser) Close() error
Click to show internal directories.
Click to hide internal directories.