MCPcopy Index your code
hub / github.com/devnullvoid/pvetui / ExecuteCommand

Method ExecuteCommand

internal/plugins/command-runner/executor.go:29–29  ·  view source on GitHub ↗
(ctx context.Context, host, command string)

Source from the content-addressed store, hash-verified

27// SSHClient interface for SSH command execution (abstraction for testing)
28type SSHClient interface {
29 ExecuteCommand(ctx context.Context, host, command string) (output string, err error)
30 ExecuteContainerCommand(ctx context.Context, host string, containerID int, command string) (output string, err error)
31}
32

Callers 2

ExecuteHostCommandMethod · 0.65

Implementers 2

SSHClientImplinternal/plugins/command-runner/ssh_cl
MockSSHClientinternal/plugins/command-runner/ssh_cl

Calls

no outgoing calls

Tested by

no test coverage detected