MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / SetSSHClient

Method SetSSHClient

internal/plugins/command-runner/plugin.go:42–48  ·  view source on GitHub ↗

SetSSHClient updates the SSH client used by the plugin executor.

(sshClient SSHClient)

Source from the content-addressed store, hash-verified

40
41// SetSSHClient updates the SSH client used by the plugin executor.
42func (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
51func (p *Plugin) ShowHostCommandMenu(host string, onClose func()) {

Callers 1

updateSSHClientMethod · 0.45

Implementers 4

Plugininternal/ui/plugins/ansible/plugin.go
Plugininternal/ui/plugins/communityscripts/p
Plugininternal/ui/plugins/guestlist/plugin.g
Plugininternal/ui/plugins/commandrunner/plug

Calls

no outgoing calls

Tested by

no test coverage detected