Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) ConfigureRetries(arg1 http.RetryOptions)
- func (fake *FakeClient) ConfigureRetriesArgsForCall(i int) http.RetryOptions
- func (fake *FakeClient) ConfigureRetriesCallCount() int
- func (fake *FakeClient) ConfigureRetriesCalls(stub func(http.RetryOptions))
- func (fake *FakeClient) DeleteBody(arg1 context.Context, arg2 string, ...) ([]byte, *httpa.Response, error)
- func (fake *FakeClient) DeleteBodyArgsForCall(i int) (context.Context, string, []func(req *retryablehttp.Request) error)
- func (fake *FakeClient) DeleteBodyCallCount() int
- func (fake *FakeClient) DeleteBodyCalls(...)
- func (fake *FakeClient) DeleteBodyReturns(result1 []byte, result2 *httpa.Response, result3 error)
- func (fake *FakeClient) DeleteBodyReturnsOnCall(i int, result1 []byte, result2 *httpa.Response, result3 error)
- func (fake *FakeClient) DeleteJSON(arg1 context.Context, arg2 interface{}, arg3 string, ...) (*httpa.Response, error)
- func (fake *FakeClient) DeleteJSONArgsForCall(i int) (context.Context, interface{}, string, []func(req *retryablehttp.Request) error)
- func (fake *FakeClient) DeleteJSONCallCount() int
- func (fake *FakeClient) DeleteJSONCalls(stub func(context.Context, interface{}, string, ...) (*httpa.Response, error))
- func (fake *FakeClient) DeleteJSONReturns(result1 *httpa.Response, result2 error)
- func (fake *FakeClient) DeleteJSONReturnsOnCall(i int, result1 *httpa.Response, result2 error)
- func (fake *FakeClient) GetBody(arg1 context.Context, arg2 string, ...) ([]byte, *httpa.Response, error)
- func (fake *FakeClient) GetBodyArgsForCall(i int) (context.Context, string, []func(req *retryablehttp.Request) error)
- func (fake *FakeClient) GetBodyCallCount() int
- func (fake *FakeClient) GetBodyCalls(...)
- func (fake *FakeClient) GetBodyReturns(result1 []byte, result2 *httpa.Response, result3 error)
- func (fake *FakeClient) GetBodyReturnsOnCall(i int, result1 []byte, result2 *httpa.Response, result3 error)
- func (fake *FakeClient) GetJSON(arg1 context.Context, arg2 interface{}, arg3 string, ...) (*httpa.Response, error)
- func (fake *FakeClient) GetJSONArgsForCall(i int) (context.Context, interface{}, string, []func(req *retryablehttp.Request) error)
- func (fake *FakeClient) GetJSONCallCount() int
- func (fake *FakeClient) GetJSONCalls(stub func(context.Context, interface{}, string, ...) (*httpa.Response, error))
- func (fake *FakeClient) GetJSONReturns(result1 *httpa.Response, result2 error)
- func (fake *FakeClient) GetJSONReturnsOnCall(i int, result1 *httpa.Response, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) PatchBody(arg1 context.Context, arg2 string, ...) ([]byte, *httpa.Response, error)
- func (fake *FakeClient) PatchBodyArgsForCall(i int) (context.Context, string, []func(req *retryablehttp.Request) error)
- func (fake *FakeClient) PatchBodyCallCount() int
- func (fake *FakeClient) PatchBodyCalls(...)
- func (fake *FakeClient) PatchBodyReturns(result1 []byte, result2 *httpa.Response, result3 error)
- func (fake *FakeClient) PatchBodyReturnsOnCall(i int, result1 []byte, result2 *httpa.Response, result3 error)
- func (fake *FakeClient) PatchJSON(arg1 context.Context, arg2 interface{}, arg3 string, ...) (*httpa.Response, error)
- func (fake *FakeClient) PatchJSONArgsForCall(i int) (context.Context, interface{}, string, []func(req *retryablehttp.Request) error)
- func (fake *FakeClient) PatchJSONCallCount() int
- func (fake *FakeClient) PatchJSONCalls(stub func(context.Context, interface{}, string, ...) (*httpa.Response, error))
- func (fake *FakeClient) PatchJSONReturns(result1 *httpa.Response, result2 error)
- func (fake *FakeClient) PatchJSONReturnsOnCall(i int, result1 *httpa.Response, result2 error)
- func (fake *FakeClient) PostBody(arg1 context.Context, arg2 string, ...) ([]byte, *httpa.Response, error)
- func (fake *FakeClient) PostBodyArgsForCall(i int) (context.Context, string, []func(req *retryablehttp.Request) error)
- func (fake *FakeClient) PostBodyCallCount() int
- func (fake *FakeClient) PostBodyCalls(...)
- func (fake *FakeClient) PostBodyReturns(result1 []byte, result2 *httpa.Response, result3 error)
- func (fake *FakeClient) PostBodyReturnsOnCall(i int, result1 []byte, result2 *httpa.Response, result3 error)
- func (fake *FakeClient) PostJSON(arg1 context.Context, arg2 interface{}, arg3 string, ...) (*httpa.Response, error)
- func (fake *FakeClient) PostJSONArgsForCall(i int) (context.Context, interface{}, string, []func(req *retryablehttp.Request) error)
- func (fake *FakeClient) PostJSONCallCount() int
- func (fake *FakeClient) PostJSONCalls(stub func(context.Context, interface{}, string, ...) (*httpa.Response, error))
- func (fake *FakeClient) PostJSONReturns(result1 *httpa.Response, result2 error)
- func (fake *FakeClient) PostJSONReturnsOnCall(i int, result1 *httpa.Response, result2 error)
- func (fake *FakeClient) PutBody(arg1 context.Context, arg2 string, ...) ([]byte, *httpa.Response, error)
- func (fake *FakeClient) PutBodyArgsForCall(i int) (context.Context, string, []func(req *retryablehttp.Request) error)
- func (fake *FakeClient) PutBodyCallCount() int
- func (fake *FakeClient) PutBodyCalls(...)
- func (fake *FakeClient) PutBodyReturns(result1 []byte, result2 *httpa.Response, result3 error)
- func (fake *FakeClient) PutBodyReturnsOnCall(i int, result1 []byte, result2 *httpa.Response, result3 error)
- func (fake *FakeClient) PutJSON(arg1 context.Context, arg2 interface{}, arg3 string, ...) (*httpa.Response, error)
- func (fake *FakeClient) PutJSONArgsForCall(i int) (context.Context, interface{}, string, []func(req *retryablehttp.Request) error)
- func (fake *FakeClient) PutJSONCallCount() int
- func (fake *FakeClient) PutJSONCalls(stub func(context.Context, interface{}, string, ...) (*httpa.Response, error))
- func (fake *FakeClient) PutJSONReturns(result1 *httpa.Response, result2 error)
- func (fake *FakeClient) PutJSONReturnsOnCall(i int, result1 *httpa.Response, result2 error)
- func (fake *FakeClient) RequestBody(arg1 context.Context, arg2 string, arg3 string, ...) ([]byte, *httpa.Response, error)
- func (fake *FakeClient) RequestBodyArgsForCall(i int) (context.Context, string, string, []func(req *retryablehttp.Request) error)
- func (fake *FakeClient) RequestBodyCallCount() int
- func (fake *FakeClient) RequestBodyCalls(...)
- func (fake *FakeClient) RequestBodyReturns(result1 []byte, result2 *httpa.Response, result3 error)
- func (fake *FakeClient) RequestBodyReturnsOnCall(i int, result1 []byte, result2 *httpa.Response, result3 error)
- func (fake *FakeClient) RequestJSON(arg1 context.Context, arg2 interface{}, arg3 string, arg4 string, ...) (*httpa.Response, error)
- func (fake *FakeClient) RequestJSONArgsForCall(i int) (context.Context, interface{}, string, string, ...)
- func (fake *FakeClient) RequestJSONCallCount() int
- func (fake *FakeClient) RequestJSONCalls(...)
- func (fake *FakeClient) RequestJSONReturns(result1 *httpa.Response, result2 error)
- func (fake *FakeClient) RequestJSONReturnsOnCall(i int, result1 *httpa.Response, result2 error)
- type FakeRoundTripper
- func (fake *FakeRoundTripper) Invocations() map[string][][]interface{}
- func (fake *FakeRoundTripper) RoundTrip(arg1 *httpa.Request) (*httpa.Response, error)
- func (fake *FakeRoundTripper) RoundTripArgsForCall(i int) *httpa.Request
- func (fake *FakeRoundTripper) RoundTripCallCount() int
- func (fake *FakeRoundTripper) RoundTripCalls(stub func(*httpa.Request) (*httpa.Response, error))
- func (fake *FakeRoundTripper) RoundTripReturns(result1 *httpa.Response, result2 error)
- func (fake *FakeRoundTripper) RoundTripReturnsOnCall(i int, result1 *httpa.Response, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { ConfigureRetriesStub func(http.RetryOptions) DeleteBodyStub func(context.Context, string, ...func(req *retryablehttp.Request) error) ([]byte, *httpa.Response, error) DeleteJSONStub func(context.Context, interface{}, string, ...func(req *retryablehttp.Request) error) (*httpa.Response, error) GetBodyStub func(context.Context, string, ...func(req *retryablehttp.Request) error) ([]byte, *httpa.Response, error) GetJSONStub func(context.Context, interface{}, string, ...func(req *retryablehttp.Request) error) (*httpa.Response, error) PatchBodyStub func(context.Context, string, ...func(req *retryablehttp.Request) error) ([]byte, *httpa.Response, error) PatchJSONStub func(context.Context, interface{}, string, ...func(req *retryablehttp.Request) error) (*httpa.Response, error) PostBodyStub func(context.Context, string, ...func(req *retryablehttp.Request) error) ([]byte, *httpa.Response, error) PostJSONStub func(context.Context, interface{}, string, ...func(req *retryablehttp.Request) error) (*httpa.Response, error) PutBodyStub func(context.Context, string, ...func(req *retryablehttp.Request) error) ([]byte, *httpa.Response, error) PutJSONStub func(context.Context, interface{}, string, ...func(req *retryablehttp.Request) error) (*httpa.Response, error) RequestBodyStub func(context.Context, string, string, ...func(req *retryablehttp.Request) error) ([]byte, *httpa.Response, error) RequestJSONStub func(context.Context, interface{}, string, string, ...func(req *retryablehttp.Request) error) (*httpa.Response, error) // contains filtered or unexported fields }
func (*FakeClient) ConfigureRetries ¶
func (fake *FakeClient) ConfigureRetries(arg1 http.RetryOptions)
func (*FakeClient) ConfigureRetriesArgsForCall ¶
func (fake *FakeClient) ConfigureRetriesArgsForCall(i int) http.RetryOptions
func (*FakeClient) ConfigureRetriesCallCount ¶
func (fake *FakeClient) ConfigureRetriesCallCount() int
func (*FakeClient) ConfigureRetriesCalls ¶
func (fake *FakeClient) ConfigureRetriesCalls(stub func(http.RetryOptions))
func (*FakeClient) DeleteBody ¶
func (*FakeClient) DeleteBodyArgsForCall ¶
func (fake *FakeClient) DeleteBodyArgsForCall(i int) (context.Context, string, []func(req *retryablehttp.Request) error)
func (*FakeClient) DeleteBodyCallCount ¶
func (fake *FakeClient) DeleteBodyCallCount() int
func (*FakeClient) DeleteBodyCalls ¶
func (*FakeClient) DeleteBodyReturns ¶
func (fake *FakeClient) DeleteBodyReturns(result1 []byte, result2 *httpa.Response, result3 error)
func (*FakeClient) DeleteBodyReturnsOnCall ¶
func (*FakeClient) DeleteJSON ¶
func (fake *FakeClient) DeleteJSON(arg1 context.Context, arg2 interface{}, arg3 string, arg4 ...func(req *retryablehttp.Request) error) (*httpa.Response, error)
func (*FakeClient) DeleteJSONArgsForCall ¶
func (fake *FakeClient) DeleteJSONArgsForCall(i int) (context.Context, interface{}, string, []func(req *retryablehttp.Request) error)
func (*FakeClient) DeleteJSONCallCount ¶
func (fake *FakeClient) DeleteJSONCallCount() int
func (*FakeClient) DeleteJSONCalls ¶
func (fake *FakeClient) DeleteJSONCalls(stub func(context.Context, interface{}, string, ...func(req *retryablehttp.Request) error) (*httpa.Response, error))
func (*FakeClient) DeleteJSONReturns ¶
func (fake *FakeClient) DeleteJSONReturns(result1 *httpa.Response, result2 error)
func (*FakeClient) DeleteJSONReturnsOnCall ¶
func (fake *FakeClient) DeleteJSONReturnsOnCall(i int, result1 *httpa.Response, result2 error)
func (*FakeClient) GetBodyArgsForCall ¶
func (fake *FakeClient) GetBodyArgsForCall(i int) (context.Context, string, []func(req *retryablehttp.Request) error)
func (*FakeClient) GetBodyCallCount ¶
func (fake *FakeClient) GetBodyCallCount() int
func (*FakeClient) GetBodyCalls ¶
func (*FakeClient) GetBodyReturns ¶
func (fake *FakeClient) GetBodyReturns(result1 []byte, result2 *httpa.Response, result3 error)
func (*FakeClient) GetBodyReturnsOnCall ¶
func (*FakeClient) GetJSON ¶
func (fake *FakeClient) GetJSON(arg1 context.Context, arg2 interface{}, arg3 string, arg4 ...func(req *retryablehttp.Request) error) (*httpa.Response, error)
func (*FakeClient) GetJSONArgsForCall ¶
func (fake *FakeClient) GetJSONArgsForCall(i int) (context.Context, interface{}, string, []func(req *retryablehttp.Request) error)
func (*FakeClient) GetJSONCallCount ¶
func (fake *FakeClient) GetJSONCallCount() int
func (*FakeClient) GetJSONCalls ¶
func (fake *FakeClient) GetJSONCalls(stub func(context.Context, interface{}, string, ...func(req *retryablehttp.Request) error) (*httpa.Response, error))
func (*FakeClient) GetJSONReturns ¶
func (fake *FakeClient) GetJSONReturns(result1 *httpa.Response, result2 error)
func (*FakeClient) GetJSONReturnsOnCall ¶
func (fake *FakeClient) GetJSONReturnsOnCall(i int, result1 *httpa.Response, result2 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) PatchBodyArgsForCall ¶
func (fake *FakeClient) PatchBodyArgsForCall(i int) (context.Context, string, []func(req *retryablehttp.Request) error)
func (*FakeClient) PatchBodyCallCount ¶
func (fake *FakeClient) PatchBodyCallCount() int
func (*FakeClient) PatchBodyCalls ¶
func (*FakeClient) PatchBodyReturns ¶
func (fake *FakeClient) PatchBodyReturns(result1 []byte, result2 *httpa.Response, result3 error)
func (*FakeClient) PatchBodyReturnsOnCall ¶
func (*FakeClient) PatchJSON ¶
func (fake *FakeClient) PatchJSON(arg1 context.Context, arg2 interface{}, arg3 string, arg4 ...func(req *retryablehttp.Request) error) (*httpa.Response, error)
func (*FakeClient) PatchJSONArgsForCall ¶
func (fake *FakeClient) PatchJSONArgsForCall(i int) (context.Context, interface{}, string, []func(req *retryablehttp.Request) error)
func (*FakeClient) PatchJSONCallCount ¶
func (fake *FakeClient) PatchJSONCallCount() int
func (*FakeClient) PatchJSONCalls ¶
func (fake *FakeClient) PatchJSONCalls(stub func(context.Context, interface{}, string, ...func(req *retryablehttp.Request) error) (*httpa.Response, error))
func (*FakeClient) PatchJSONReturns ¶
func (fake *FakeClient) PatchJSONReturns(result1 *httpa.Response, result2 error)
func (*FakeClient) PatchJSONReturnsOnCall ¶
func (fake *FakeClient) PatchJSONReturnsOnCall(i int, result1 *httpa.Response, result2 error)
func (*FakeClient) PostBodyArgsForCall ¶
func (fake *FakeClient) PostBodyArgsForCall(i int) (context.Context, string, []func(req *retryablehttp.Request) error)
func (*FakeClient) PostBodyCallCount ¶
func (fake *FakeClient) PostBodyCallCount() int
func (*FakeClient) PostBodyCalls ¶
func (*FakeClient) PostBodyReturns ¶
func (fake *FakeClient) PostBodyReturns(result1 []byte, result2 *httpa.Response, result3 error)
func (*FakeClient) PostBodyReturnsOnCall ¶
func (*FakeClient) PostJSON ¶
func (fake *FakeClient) PostJSON(arg1 context.Context, arg2 interface{}, arg3 string, arg4 ...func(req *retryablehttp.Request) error) (*httpa.Response, error)
func (*FakeClient) PostJSONArgsForCall ¶
func (fake *FakeClient) PostJSONArgsForCall(i int) (context.Context, interface{}, string, []func(req *retryablehttp.Request) error)
func (*FakeClient) PostJSONCallCount ¶
func (fake *FakeClient) PostJSONCallCount() int
func (*FakeClient) PostJSONCalls ¶
func (fake *FakeClient) PostJSONCalls(stub func(context.Context, interface{}, string, ...func(req *retryablehttp.Request) error) (*httpa.Response, error))
func (*FakeClient) PostJSONReturns ¶
func (fake *FakeClient) PostJSONReturns(result1 *httpa.Response, result2 error)
func (*FakeClient) PostJSONReturnsOnCall ¶
func (fake *FakeClient) PostJSONReturnsOnCall(i int, result1 *httpa.Response, result2 error)
func (*FakeClient) PutBodyArgsForCall ¶
func (fake *FakeClient) PutBodyArgsForCall(i int) (context.Context, string, []func(req *retryablehttp.Request) error)
func (*FakeClient) PutBodyCallCount ¶
func (fake *FakeClient) PutBodyCallCount() int
func (*FakeClient) PutBodyCalls ¶
func (*FakeClient) PutBodyReturns ¶
func (fake *FakeClient) PutBodyReturns(result1 []byte, result2 *httpa.Response, result3 error)
func (*FakeClient) PutBodyReturnsOnCall ¶
func (*FakeClient) PutJSON ¶
func (fake *FakeClient) PutJSON(arg1 context.Context, arg2 interface{}, arg3 string, arg4 ...func(req *retryablehttp.Request) error) (*httpa.Response, error)
func (*FakeClient) PutJSONArgsForCall ¶
func (fake *FakeClient) PutJSONArgsForCall(i int) (context.Context, interface{}, string, []func(req *retryablehttp.Request) error)
func (*FakeClient) PutJSONCallCount ¶
func (fake *FakeClient) PutJSONCallCount() int
func (*FakeClient) PutJSONCalls ¶
func (fake *FakeClient) PutJSONCalls(stub func(context.Context, interface{}, string, ...func(req *retryablehttp.Request) error) (*httpa.Response, error))
func (*FakeClient) PutJSONReturns ¶
func (fake *FakeClient) PutJSONReturns(result1 *httpa.Response, result2 error)
func (*FakeClient) PutJSONReturnsOnCall ¶
func (fake *FakeClient) PutJSONReturnsOnCall(i int, result1 *httpa.Response, result2 error)
func (*FakeClient) RequestBody ¶
func (*FakeClient) RequestBodyArgsForCall ¶
func (fake *FakeClient) RequestBodyArgsForCall(i int) (context.Context, string, string, []func(req *retryablehttp.Request) error)
func (*FakeClient) RequestBodyCallCount ¶
func (fake *FakeClient) RequestBodyCallCount() int
func (*FakeClient) RequestBodyCalls ¶
func (*FakeClient) RequestBodyReturns ¶
func (fake *FakeClient) RequestBodyReturns(result1 []byte, result2 *httpa.Response, result3 error)
func (*FakeClient) RequestBodyReturnsOnCall ¶
func (*FakeClient) RequestJSON ¶
func (*FakeClient) RequestJSONArgsForCall ¶
func (fake *FakeClient) RequestJSONArgsForCall(i int) (context.Context, interface{}, string, string, []func(req *retryablehttp.Request) error)
func (*FakeClient) RequestJSONCallCount ¶
func (fake *FakeClient) RequestJSONCallCount() int
func (*FakeClient) RequestJSONCalls ¶
func (*FakeClient) RequestJSONReturns ¶
func (fake *FakeClient) RequestJSONReturns(result1 *httpa.Response, result2 error)
func (*FakeClient) RequestJSONReturnsOnCall ¶
func (fake *FakeClient) RequestJSONReturnsOnCall(i int, result1 *httpa.Response, result2 error)
type FakeRoundTripper ¶
type FakeRoundTripper struct { RoundTripStub func(*httpa.Request) (*httpa.Response, error) // contains filtered or unexported fields }
func (*FakeRoundTripper) Invocations ¶
func (fake *FakeRoundTripper) Invocations() map[string][][]interface{}
func (*FakeRoundTripper) RoundTripArgsForCall ¶
func (fake *FakeRoundTripper) RoundTripArgsForCall(i int) *httpa.Request
func (*FakeRoundTripper) RoundTripCallCount ¶
func (fake *FakeRoundTripper) RoundTripCallCount() int
func (*FakeRoundTripper) RoundTripCalls ¶
func (*FakeRoundTripper) RoundTripReturns ¶
func (fake *FakeRoundTripper) RoundTripReturns(result1 *httpa.Response, result2 error)
func (*FakeRoundTripper) RoundTripReturnsOnCall ¶
func (fake *FakeRoundTripper) RoundTripReturnsOnCall(i int, result1 *httpa.Response, result2 error)
Click to show internal directories.
Click to hide internal directories.