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

Struct FakeHTTPClientInterface

cf/net/netfakes/fake_httpclient_interface.go:11–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type FakeHTTPClientInterface struct {
12 DoStub func(*http.Request) (*http.Response, error)
13 doMutex sync.RWMutex
14 doArgsForCall []struct {
15 arg1 *http.Request
16 }
17 doReturns struct {
18 result1 *http.Response
19 result2 error
20 }
21 doReturnsOnCall map[int]struct {
22 result1 *http.Response
23 result2 error
24 }
25 DumpRequestStub func(*http.Request)
26 dumpRequestMutex sync.RWMutex
27 dumpRequestArgsForCall []struct {
28 arg1 *http.Request
29 }
30 DumpResponseStub func(*http.Response)
31 dumpResponseMutex sync.RWMutex
32 dumpResponseArgsForCall []struct {
33 arg1 *http.Response
34 }
35 ExecuteCheckRedirectStub func(*http.Request, []*http.Request) error
36 executeCheckRedirectMutex sync.RWMutex
37 executeCheckRedirectArgsForCall []struct {
38 arg1 *http.Request
39 arg2 []*http.Request
40 }
41 executeCheckRedirectReturns struct {
42 result1 error
43 }
44 executeCheckRedirectReturnsOnCall map[int]struct {
45 result1 error
46 }
47 invocations map[string][][]interface{}
48 invocationsMutex sync.RWMutex
49}
50
51func (fake *FakeHTTPClientInterface) Do(arg1 *http.Request) (*http.Response, error) {
52 fake.doMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected