Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeReadCloser
- func (fake *FakeReadCloser) Close() error
- func (fake *FakeReadCloser) CloseCallCount() int
- func (fake *FakeReadCloser) CloseReturns(result1 error)
- func (fake *FakeReadCloser) Invocations() map[string][][]interface{}
- func (fake *FakeReadCloser) Read(p []byte) (n int, err error)
- func (fake *FakeReadCloser) ReadArgsForCall(i int) []byte
- func (fake *FakeReadCloser) ReadCallCount() int
- func (fake *FakeReadCloser) ReadReturns(result1 int, result2 error)
- type FakeRequestGenerator
- func (fake *FakeRequestGenerator) CreateRequest(name string, params rata.Params, body io.Reader) (*http.Request, error)
- func (fake *FakeRequestGenerator) CreateRequestArgsForCall(i int) (string, rata.Params, io.Reader)
- func (fake *FakeRequestGenerator) CreateRequestCallCount() int
- func (fake *FakeRequestGenerator) CreateRequestReturns(result1 *http.Request, result2 error)
- func (fake *FakeRequestGenerator) Invocations() map[string][][]interface{}
- type FakeRetryPolicy
- func (fake *FakeRetryPolicy) DelayFor(attempts uint) (time.Duration, bool)
- func (fake *FakeRetryPolicy) DelayForArgsForCall(i int) uint
- func (fake *FakeRetryPolicy) DelayForCallCount() int
- func (fake *FakeRetryPolicy) DelayForReturns(result1 time.Duration, result2 bool)
- func (fake *FakeRetryPolicy) Invocations() map[string][][]interface{}
- type FakeRoundTripper
- func (fake *FakeRoundTripper) Invocations() map[string][][]interface{}
- func (fake *FakeRoundTripper) RoundTrip(arg1 *http.Request) (*http.Response, error)
- func (fake *FakeRoundTripper) RoundTripArgsForCall(i int) *http.Request
- func (fake *FakeRoundTripper) RoundTripCallCount() int
- func (fake *FakeRoundTripper) RoundTripReturns(result1 *http.Response, result2 error)
- type FakeTransportDB
- func (fake *FakeTransportDB) GetWorker(arg1 string) (db.SavedWorker, bool, error)
- func (fake *FakeTransportDB) GetWorkerArgsForCall(i int) string
- func (fake *FakeTransportDB) GetWorkerCallCount() int
- func (fake *FakeTransportDB) GetWorkerReturns(result1 db.SavedWorker, result2 bool, result3 error)
- func (fake *FakeTransportDB) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeReadCloser ¶
type FakeReadCloser struct { ReadStub func(p []byte) (n int, err error) CloseStub func() error // contains filtered or unexported fields }
func (*FakeReadCloser) Close ¶
func (fake *FakeReadCloser) Close() error
func (*FakeReadCloser) CloseCallCount ¶
func (fake *FakeReadCloser) CloseCallCount() int
func (*FakeReadCloser) CloseReturns ¶
func (fake *FakeReadCloser) CloseReturns(result1 error)
func (*FakeReadCloser) Invocations ¶
func (fake *FakeReadCloser) Invocations() map[string][][]interface{}
func (*FakeReadCloser) ReadArgsForCall ¶
func (fake *FakeReadCloser) ReadArgsForCall(i int) []byte
func (*FakeReadCloser) ReadCallCount ¶
func (fake *FakeReadCloser) ReadCallCount() int
func (*FakeReadCloser) ReadReturns ¶
func (fake *FakeReadCloser) ReadReturns(result1 int, result2 error)
type FakeRequestGenerator ¶
type FakeRequestGenerator struct { CreateRequestStub func(name string, params rata.Params, body io.Reader) (*http.Request, error) // contains filtered or unexported fields }
func (*FakeRequestGenerator) CreateRequest ¶
func (*FakeRequestGenerator) CreateRequestArgsForCall ¶
func (*FakeRequestGenerator) CreateRequestCallCount ¶
func (fake *FakeRequestGenerator) CreateRequestCallCount() int
func (*FakeRequestGenerator) CreateRequestReturns ¶
func (fake *FakeRequestGenerator) CreateRequestReturns(result1 *http.Request, result2 error)
func (*FakeRequestGenerator) Invocations ¶
func (fake *FakeRequestGenerator) Invocations() map[string][][]interface{}
type FakeRetryPolicy ¶
type FakeRetryPolicy struct { DelayForStub func(attempts uint) (time.Duration, bool) // contains filtered or unexported fields }
func (*FakeRetryPolicy) DelayFor ¶
func (fake *FakeRetryPolicy) DelayFor(attempts uint) (time.Duration, bool)
func (*FakeRetryPolicy) DelayForArgsForCall ¶
func (fake *FakeRetryPolicy) DelayForArgsForCall(i int) uint
func (*FakeRetryPolicy) DelayForCallCount ¶
func (fake *FakeRetryPolicy) DelayForCallCount() int
func (*FakeRetryPolicy) DelayForReturns ¶
func (fake *FakeRetryPolicy) DelayForReturns(result1 time.Duration, result2 bool)
func (*FakeRetryPolicy) Invocations ¶
func (fake *FakeRetryPolicy) Invocations() map[string][][]interface{}
type FakeRoundTripper ¶
type FakeRoundTripper struct { RoundTripStub func(*http.Request) (*http.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) *http.Request
func (*FakeRoundTripper) RoundTripCallCount ¶
func (fake *FakeRoundTripper) RoundTripCallCount() int
func (*FakeRoundTripper) RoundTripReturns ¶
func (fake *FakeRoundTripper) RoundTripReturns(result1 *http.Response, result2 error)
type FakeTransportDB ¶
type FakeTransportDB struct { GetWorkerStub func(string) (db.SavedWorker, bool, error) // contains filtered or unexported fields }
func (*FakeTransportDB) GetWorker ¶
func (fake *FakeTransportDB) GetWorker(arg1 string) (db.SavedWorker, bool, error)
func (*FakeTransportDB) GetWorkerArgsForCall ¶
func (fake *FakeTransportDB) GetWorkerArgsForCall(i int) string
func (*FakeTransportDB) GetWorkerCallCount ¶
func (fake *FakeTransportDB) GetWorkerCallCount() int
func (*FakeTransportDB) GetWorkerReturns ¶
func (fake *FakeTransportDB) GetWorkerReturns(result1 db.SavedWorker, result2 bool, result3 error)
func (*FakeTransportDB) Invocations ¶
func (fake *FakeTransportDB) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.