Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeHTTPClient
- func (fake *FakeHTTPClient) Do(request *http.Request) (*http.Response, error)
- func (fake *FakeHTTPClient) DoArgsForCall(i int) *http.Request
- func (fake *FakeHTTPClient) DoCallCount() int
- func (fake *FakeHTTPClient) DoReturns(result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) Invocations() map[string][][]interface{}
- type FakeRequestRetryable
- func (fake *FakeRequestRetryable) Attempt() (bool, error)
- func (fake *FakeRequestRetryable) AttemptCallCount() int
- func (fake *FakeRequestRetryable) AttemptReturns(result1 bool, result2 error)
- func (fake *FakeRequestRetryable) AttemptReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeRequestRetryable) Invocations() map[string][][]interface{}
- func (fake *FakeRequestRetryable) Response() *http.Response
- func (fake *FakeRequestRetryable) ResponseCallCount() int
- func (fake *FakeRequestRetryable) ResponseReturns(result1 *http.Response)
- func (fake *FakeRequestRetryable) ResponseReturnsOnCall(i int, result1 *http.Response)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHTTPClient ¶
type FakeHTTPClient struct { DoStub func(request *http.Request) (*http.Response, error) // contains filtered or unexported fields }
func (*FakeHTTPClient) DoArgsForCall ¶
func (fake *FakeHTTPClient) DoArgsForCall(i int) *http.Request
func (*FakeHTTPClient) DoCallCount ¶
func (fake *FakeHTTPClient) DoCallCount() int
func (*FakeHTTPClient) DoReturns ¶
func (fake *FakeHTTPClient) DoReturns(result1 *http.Response, result2 error)
func (*FakeHTTPClient) DoReturnsOnCall ¶
func (fake *FakeHTTPClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*FakeHTTPClient) Invocations ¶
func (fake *FakeHTTPClient) Invocations() map[string][][]interface{}
type FakeRequestRetryable ¶
type FakeRequestRetryable struct { AttemptStub func() (bool, error) ResponseStub func() *http.Response // contains filtered or unexported fields }
func (*FakeRequestRetryable) Attempt ¶
func (fake *FakeRequestRetryable) Attempt() (bool, error)
func (*FakeRequestRetryable) AttemptCallCount ¶
func (fake *FakeRequestRetryable) AttemptCallCount() int
func (*FakeRequestRetryable) AttemptReturns ¶
func (fake *FakeRequestRetryable) AttemptReturns(result1 bool, result2 error)
func (*FakeRequestRetryable) AttemptReturnsOnCall ¶
func (fake *FakeRequestRetryable) AttemptReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeRequestRetryable) Invocations ¶
func (fake *FakeRequestRetryable) Invocations() map[string][][]interface{}
func (*FakeRequestRetryable) Response ¶
func (fake *FakeRequestRetryable) Response() *http.Response
func (*FakeRequestRetryable) ResponseCallCount ¶
func (fake *FakeRequestRetryable) ResponseCallCount() int
func (*FakeRequestRetryable) ResponseReturns ¶
func (fake *FakeRequestRetryable) ResponseReturns(result1 *http.Response)
func (*FakeRequestRetryable) ResponseReturnsOnCall ¶
func (fake *FakeRequestRetryable) ResponseReturnsOnCall(i int, result1 *http.Response)
Click to show internal directories.
Click to hide internal directories.