package
Version:
v0.0.0-...-683b059
Opens a new window with list of versions in this module.
Published: Apr 23, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cmd contains the interface for running commands in packages such as iw and ping.
FindCmdPath returns full path for the binary on the given device, defined
by its SSH connection.
type RemoteCmdRunner struct {
Host *ssh.Conn
NoLogOnError bool
}
RemoteCmdRunner is the object used for running remote commands.
Output runs a command, waits for its completion and returns stdout output of the command.
Run runs a command and waits for its completion.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.