Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeClient
- func (fake *FakeClient) CreateRequest(method string, url string, body io.Reader) (*http.Request, error)
- func (fake *FakeClient) CreateRequestArgsForCall(i int) (string, string, io.Reader)
- func (fake *FakeClient) CreateRequestCallCount() int
- func (fake *FakeClient) CreateRequestReturns(result1 *http.Request, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) MakeRequest(method string, url string, expectedResponseCode int, body io.Reader, ...) (*http.Response, []byte, error)
- func (fake *FakeClient) MakeRequestArgsForCall(i int) (string, string, int, io.Reader, interface{})
- func (fake *FakeClient) MakeRequestCallCount() int
- func (fake *FakeClient) MakeRequestReturns(result1 *http.Response, result2 []byte, result3 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { MakeRequestStub func(method string, url string, expectedResponseCode int, body io.Reader, data interface{}) (*http.Response, []byte, error) CreateRequestStub func(method string, url string, body io.Reader) (*http.Request, error) // contains filtered or unexported fields }
func (*FakeClient) CreateRequest ¶
func (*FakeClient) CreateRequestArgsForCall ¶
func (*FakeClient) CreateRequestCallCount ¶
func (fake *FakeClient) CreateRequestCallCount() int
func (*FakeClient) CreateRequestReturns ¶
func (fake *FakeClient) CreateRequestReturns(result1 *http.Request, result2 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) MakeRequest ¶
func (*FakeClient) MakeRequestArgsForCall ¶
func (*FakeClient) MakeRequestCallCount ¶
func (fake *FakeClient) MakeRequestCallCount() int
func (*FakeClient) MakeRequestReturns ¶
func (fake *FakeClient) MakeRequestReturns(result1 *http.Response, result2 []byte, result3 error)
Click to show internal directories.
Click to hide internal directories.