MCPcopy Index your code
hub / github.com/cloudfoundry/cli / FakeSecureSession

Struct FakeSecureSession

cf/ssh/sshfakes/fake_secure_session.go:12–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type FakeSecureSession struct {
13 CloseStub func() error
14 closeMutex sync.RWMutex
15 closeArgsForCall []struct {
16 }
17 closeReturns struct {
18 result1 error
19 }
20 closeReturnsOnCall map[int]struct {
21 result1 error
22 }
23 RequestPtyStub func(string, int, int, ssh.TerminalModes) error
24 requestPtyMutex sync.RWMutex
25 requestPtyArgsForCall []struct {
26 arg1 string
27 arg2 int
28 arg3 int
29 arg4 ssh.TerminalModes
30 }
31 requestPtyReturns struct {
32 result1 error
33 }
34 requestPtyReturnsOnCall map[int]struct {
35 result1 error
36 }
37 SendRequestStub func(string, bool, []byte) (bool, error)
38 sendRequestMutex sync.RWMutex
39 sendRequestArgsForCall []struct {
40 arg1 string
41 arg2 bool
42 arg3 []byte
43 }
44 sendRequestReturns struct {
45 result1 bool
46 result2 error
47 }
48 sendRequestReturnsOnCall map[int]struct {
49 result1 bool
50 result2 error
51 }
52 ShellStub func() error
53 shellMutex sync.RWMutex
54 shellArgsForCall []struct {
55 }
56 shellReturns struct {
57 result1 error
58 }
59 shellReturnsOnCall map[int]struct {
60 result1 error
61 }
62 StartStub func(string) error
63 startMutex sync.RWMutex
64 startArgsForCall []struct {
65 arg1 string
66 }
67 startReturns struct {
68 result1 error
69 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected