fakes

package
v0.75.0-no-limit Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL