SetSSHClient updates the SSH client used by the plugin executor.
(sshClient SSHClient)
| 40 | |
| 41 | // SetSSHClient updates the SSH client used by the plugin executor. |
| 42 | func (p *Plugin) SetSSHClient(sshClient SSHClient) { |
| 43 | if p == nil || p.executor == nil { |
| 44 | return |
| 45 | } |
| 46 | |
| 47 | p.executor.SetSSHClient(sshClient) |
| 48 | } |
| 49 | |
| 50 | // ShowHostCommandMenu displays the command menu for a host |
| 51 | func (p *Plugin) ShowHostCommandMenu(host string, onClose func()) { |
no outgoing calls
no test coverage detected