| 26 | } |
| 27 | |
| 28 | type MockSSHExecutor struct { |
| 29 | ConnectFunc func(host string, port int, tunnels []int) error |
| 30 | ExecuteFunc func(command string) error |
| 31 | } |
| 32 | |
| 33 | func (m *MockSSHExecutor) Connect(host string, port int, tunnels []int) error { |
| 34 | if m.ConnectFunc != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected