Documentation
¶
Index ¶
- type Handler
- type SSH
- func (s *SSH) Log(txt string)
- func (s *SSH) ParseKey(privateKey []byte) error
- func (s *SSH) ParseKeyWithPassphrase(privateKey, passphrase []byte) error
- func (s SSH) Run(cmd string, expect string) (string, error)
- func (s *SSH) SetIP(ip string) error
- func (s *SSH) SetKey(key ssh.Signer)
- func (s *SSH) SetPassword(password string)
- func (s *SSH) SetUser(username string) error
- func (s SSH) TestConnection() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSH ¶
type SSH struct { IP net.IP Port string Results *helpers.Queue Logs *helpers.Queue // contains filtered or unexported fields }
func (*SSH) ParseKeyWithPassphrase ¶
func (*SSH) SetPassword ¶
func (SSH) TestConnection ¶
Click to show internal directories.
Click to hide internal directories.