MCPcopy
hub / github.com/cloudfoundry/cli / FakeSecureDialer

Struct FakeSecureDialer

cf/ssh/sshfakes/fake_secure_dialer.go:11–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type 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
31func (fake *FakeSecureDialer) Dial(arg1 string, arg2 string, arg3 *ssh.ClientConfig) (sshCmd.SecureClient, error) {
32 fake.dialMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected