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

Struct FakeCliConnection

plugin/pluginfakes/fake_cli_connection.go:11–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type FakeCliConnection struct {
12 AccessTokenStub func() (string, error)
13 accessTokenMutex sync.RWMutex
14 accessTokenArgsForCall []struct {
15 }
16 accessTokenReturns struct {
17 result1 string
18 result2 error
19 }
20 accessTokenReturnsOnCall map[int]struct {
21 result1 string
22 result2 error
23 }
24 ApiEndpointStub func() (string, error)
25 apiEndpointMutex sync.RWMutex
26 apiEndpointArgsForCall []struct {
27 }
28 apiEndpointReturns struct {
29 result1 string
30 result2 error
31 }
32 apiEndpointReturnsOnCall map[int]struct {
33 result1 string
34 result2 error
35 }
36 ApiVersionStub func() (string, error)
37 apiVersionMutex sync.RWMutex
38 apiVersionArgsForCall []struct {
39 }
40 apiVersionReturns struct {
41 result1 string
42 result2 error
43 }
44 apiVersionReturnsOnCall map[int]struct {
45 result1 string
46 result2 error
47 }
48 CliCommandStub func(...string) ([]string, error)
49 cliCommandMutex sync.RWMutex
50 cliCommandArgsForCall []struct {
51 arg1 []string
52 }
53 cliCommandReturns struct {
54 result1 []string
55 result2 error
56 }
57 cliCommandReturnsOnCall map[int]struct {
58 result1 []string
59 result2 error
60 }
61 CliCommandWithoutTerminalOutputStub func(...string) ([]string, error)
62 cliCommandWithoutTerminalOutputMutex sync.RWMutex
63 cliCommandWithoutTerminalOutputArgsForCall []struct {
64 arg1 []string
65 }
66 cliCommandWithoutTerminalOutputReturns struct {
67 result1 []string
68 result2 error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected