lockrunnerfakes

package
v0.0.0-...-de86ced Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRunnerDB

type FakeRunnerDB struct {
	GetTaskLockStub func(logger lager.Logger, lockName string) (lock.Lock, bool, error)
	// contains filtered or unexported fields
}

func (*FakeRunnerDB) GetTaskLock

func (fake *FakeRunnerDB) GetTaskLock(logger lager.Logger, lockName string) (lock.Lock, bool, error)

func (*FakeRunnerDB) GetTaskLockArgsForCall

func (fake *FakeRunnerDB) GetTaskLockArgsForCall(i int) (lager.Logger, string)

func (*FakeRunnerDB) GetTaskLockCallCount

func (fake *FakeRunnerDB) GetTaskLockCallCount() int

func (*FakeRunnerDB) GetTaskLockReturns

func (fake *FakeRunnerDB) GetTaskLockReturns(result1 lock.Lock, result2 bool, result3 error)

func (*FakeRunnerDB) GetTaskLockReturnsOnCall

func (fake *FakeRunnerDB) GetTaskLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)

func (*FakeRunnerDB) Invocations

func (fake *FakeRunnerDB) Invocations() map[string][][]interface{}

type FakeTask

type FakeTask struct {
	RunStub func() error
	// contains filtered or unexported fields
}

func (*FakeTask) Invocations

func (fake *FakeTask) Invocations() map[string][][]interface{}

func (*FakeTask) Run

func (fake *FakeTask) Run() error

func (*FakeTask) RunCallCount

func (fake *FakeTask) RunCallCount() int

func (*FakeTask) RunReturns

func (fake *FakeTask) RunReturns(result1 error)

func (*FakeTask) RunReturnsOnCall

func (fake *FakeTask) RunReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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