Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeReadCloser
- func (fake *FakeReadCloser) Close() error
- func (fake *FakeReadCloser) CloseCallCount() int
- func (fake *FakeReadCloser) CloseReturns(result1 error)
- func (fake *FakeReadCloser) CloseReturnsOnCall(i int, 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)
- func (fake *FakeReadCloser) ReadReturnsOnCall(i int, 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) CreateRequestReturnsOnCall(i int, result1 *http.Request, result2 error)
- func (fake *FakeRequestGenerator) 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)
- func (fake *FakeRoundTripper) RoundTripReturnsOnCall(i int, result1 *http.Response, result2 error)
- type FakeTransportDB
- func (fake *FakeTransportDB) GetWorker(name string) (db.Worker, bool, error)
- func (fake *FakeTransportDB) GetWorkerArgsForCall(i int) string
- func (fake *FakeTransportDB) GetWorkerCallCount() int
- func (fake *FakeTransportDB) GetWorkerReturns(result1 db.Worker, result2 bool, result3 error)
- func (fake *FakeTransportDB) GetWorkerReturnsOnCall(i int, result1 db.Worker, 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) CloseReturnsOnCall ¶
func (fake *FakeReadCloser) CloseReturnsOnCall(i int, 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)
func (*FakeReadCloser) ReadReturnsOnCall ¶
func (fake *FakeReadCloser) ReadReturnsOnCall(i int, 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) CreateRequestReturnsOnCall ¶
func (fake *FakeRequestGenerator) CreateRequestReturnsOnCall(i int, result1 *http.Request, result2 error)
func (*FakeRequestGenerator) Invocations ¶
func (fake *FakeRequestGenerator) 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)
func (*FakeRoundTripper) RoundTripReturnsOnCall ¶
func (fake *FakeRoundTripper) RoundTripReturnsOnCall(i int, result1 *http.Response, result2 error)
type FakeTransportDB ¶
type FakeTransportDB struct { GetWorkerStub func(name string) (db.Worker, bool, error) // contains filtered or unexported fields }
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.Worker, result2 bool, result3 error)
func (*FakeTransportDB) GetWorkerReturnsOnCall ¶
func (*FakeTransportDB) Invocations ¶
func (fake *FakeTransportDB) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.