| 9 | ) |
| 10 | |
| 11 | type FakeSecureDialer struct { |
| 12 | DialStub func(string, string, *ssh.ClientConfig) (sshCmd.SecureClient, error) |
| 13 | dialMutex sync.RWMutex |
| 14 | dialArgsForCall []struct { |
| 15 | arg1 string |
| 16 | arg2 string |
| 17 | arg3 *ssh.ClientConfig |
| 18 | } |
| 19 | dialReturns struct { |
| 20 | result1 sshCmd.SecureClient |
| 21 | result2 error |
| 22 | } |
| 23 | dialReturnsOnCall map[int]struct { |
| 24 | result1 sshCmd.SecureClient |
| 25 | result2 error |
| 26 | } |
| 27 | invocations map[string][][]interface{} |
| 28 | invocationsMutex sync.RWMutex |
| 29 | } |
| 30 | |
| 31 | func (fake *FakeSecureDialer) Dial(arg1 string, arg2 string, arg3 *ssh.ClientConfig) (sshCmd.SecureClient, error) { |
| 32 | fake.dialMutex.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected