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

Struct FakeConnectionWrapper

api/plugin/pluginfakes/fake_connection_wrapper.go:11–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type FakeConnectionWrapper struct {
12 MakeStub func(*http.Request, *plugin.Response, plugin.ProxyReader) error
13 makeMutex sync.RWMutex
14 makeArgsForCall []struct {
15 arg1 *http.Request
16 arg2 *plugin.Response
17 arg3 plugin.ProxyReader
18 }
19 makeReturns struct {
20 result1 error
21 }
22 makeReturnsOnCall map[int]struct {
23 result1 error
24 }
25 WrapStub func(plugin.Connection) plugin.Connection
26 wrapMutex sync.RWMutex
27 wrapArgsForCall []struct {
28 arg1 plugin.Connection
29 }
30 wrapReturns struct {
31 result1 plugin.Connection
32 }
33 wrapReturnsOnCall map[int]struct {
34 result1 plugin.Connection
35 }
36 invocations map[string][][]interface{}
37 invocationsMutex sync.RWMutex
38}
39
40func (fake *FakeConnectionWrapper) Make(arg1 *http.Request, arg2 *plugin.Response, arg3 plugin.ProxyReader) error {
41 fake.makeMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected