Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPrefixedLineWriter ¶
Types ¶
type LocalAgent ¶
type LocalAgent struct {
// contains filtered or unexported fields
}
func (*LocalAgent) Close ¶
func (a *LocalAgent) Close() error
func (*LocalAgent) GetConnection ¶
func (a *LocalAgent) GetConnection() (net.Conn, error)
type LocalSession ¶
type LocalSession struct { }
func (*LocalSession) Close ¶
func (s *LocalSession) Close() error
func (*LocalSession) PlaceAgent ¶
func (s *LocalSession) PlaceAgent(filepath string, agentBytes []byte) error
func (*LocalSession) StartAgent ¶
func (s *LocalSession) StartAgent(command ...string) (Agent, error)
type PrefixedLineWriter ¶
type PrefixedLineWriter struct {
// contains filtered or unexported fields
}
func (*PrefixedLineWriter) Close ¶
func (w *PrefixedLineWriter) Close() error
type RemoteAgent ¶
type RemoteAgent struct {
// contains filtered or unexported fields
}
func (*RemoteAgent) Close ¶
func (a *RemoteAgent) Close() error
func (*RemoteAgent) GetConnection ¶
func (a *RemoteAgent) GetConnection() (net.Conn, error)
type RemoteSession ¶
type RemoteSession struct {
// contains filtered or unexported fields
}
func (*RemoteSession) Close ¶
func (s *RemoteSession) Close() error
func (*RemoteSession) PlaceAgent ¶
func (s *RemoteSession) PlaceAgent(filepath string, agentBytes []byte) error
func (*RemoteSession) StartAgent ¶
func (s *RemoteSession) StartAgent(command ...string) (Agent, error)
Click to show internal directories.
Click to hide internal directories.