Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeWorkerDB
- func (fake *FakeWorkerDB) SaveWorker(arg1 db.WorkerInfo, arg2 time.Duration) (db.SavedWorker, error)
- func (fake *FakeWorkerDB) SaveWorkerArgsForCall(i int) (db.WorkerInfo, time.Duration)
- func (fake *FakeWorkerDB) SaveWorkerCallCount() int
- func (fake *FakeWorkerDB) SaveWorkerReturns(result1 db.SavedWorker, result2 error)
- func (fake *FakeWorkerDB) Workers() ([]db.SavedWorker, error)
- func (fake *FakeWorkerDB) WorkersCallCount() int
- func (fake *FakeWorkerDB) WorkersReturns(result1 []db.SavedWorker, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeWorkerDB ¶
type FakeWorkerDB struct { SaveWorkerStub func(db.WorkerInfo, time.Duration) (db.SavedWorker, error) WorkersStub func() ([]db.SavedWorker, error) // contains filtered or unexported fields }
func (*FakeWorkerDB) SaveWorker ¶
func (fake *FakeWorkerDB) SaveWorker(arg1 db.WorkerInfo, arg2 time.Duration) (db.SavedWorker, error)
func (*FakeWorkerDB) SaveWorkerArgsForCall ¶
func (fake *FakeWorkerDB) SaveWorkerArgsForCall(i int) (db.WorkerInfo, time.Duration)
func (*FakeWorkerDB) SaveWorkerCallCount ¶
func (fake *FakeWorkerDB) SaveWorkerCallCount() int
func (*FakeWorkerDB) SaveWorkerReturns ¶
func (fake *FakeWorkerDB) SaveWorkerReturns(result1 db.SavedWorker, result2 error)
func (*FakeWorkerDB) Workers ¶
func (fake *FakeWorkerDB) Workers() ([]db.SavedWorker, error)
func (*FakeWorkerDB) WorkersCallCount ¶
func (fake *FakeWorkerDB) WorkersCallCount() int
func (*FakeWorkerDB) WorkersReturns ¶
func (fake *FakeWorkerDB) WorkersReturns(result1 []db.SavedWorker, result2 error)
Click to show internal directories.
Click to hide internal directories.