MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / MockSSHExecutor

Struct MockSSHExecutor

internal/testutils/mocks.go:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28type MockSSHExecutor struct {
29 ConnectFunc func(host string, port int, tunnels []int) error
30 ExecuteFunc func(command string) error
31}
32
33func (m *MockSSHExecutor) Connect(host string, port int, tunnels []int) error {
34 if m.ConnectFunc != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected