fakes

package
v0.0.0-...-0e89551 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeLocker

type FakeLocker struct {
	AcquireWriteLockStub func([]db.NamedLock) (db.Lock, error)

	AcquireWriteLockImmediatelyStub func([]db.NamedLock) (db.Lock, error)

	AcquireReadLockStub func([]db.NamedLock) (db.Lock, error)
	// contains filtered or unexported fields
}

func (*FakeLocker) AcquireReadLock

func (fake *FakeLocker) AcquireReadLock(arg1 []db.NamedLock) (db.Lock, error)

func (*FakeLocker) AcquireReadLockArgsForCall

func (fake *FakeLocker) AcquireReadLockArgsForCall(i int) []db.NamedLock

func (*FakeLocker) AcquireReadLockCallCount

func (fake *FakeLocker) AcquireReadLockCallCount() int

func (*FakeLocker) AcquireReadLockReturns

func (fake *FakeLocker) AcquireReadLockReturns(result1 db.Lock, result2 error)

func (*FakeLocker) AcquireWriteLock

func (fake *FakeLocker) AcquireWriteLock(arg1 []db.NamedLock) (db.Lock, error)

func (*FakeLocker) AcquireWriteLockArgsForCall

func (fake *FakeLocker) AcquireWriteLockArgsForCall(i int) []db.NamedLock

func (*FakeLocker) AcquireWriteLockCallCount

func (fake *FakeLocker) AcquireWriteLockCallCount() int

func (*FakeLocker) AcquireWriteLockImmediately

func (fake *FakeLocker) AcquireWriteLockImmediately(arg1 []db.NamedLock) (db.Lock, error)

func (*FakeLocker) AcquireWriteLockImmediatelyArgsForCall

func (fake *FakeLocker) AcquireWriteLockImmediatelyArgsForCall(i int) []db.NamedLock

func (*FakeLocker) AcquireWriteLockImmediatelyCallCount

func (fake *FakeLocker) AcquireWriteLockImmediatelyCallCount() int

func (*FakeLocker) AcquireWriteLockImmediatelyReturns

func (fake *FakeLocker) AcquireWriteLockImmediatelyReturns(result1 db.Lock, result2 error)

func (*FakeLocker) AcquireWriteLockReturns

func (fake *FakeLocker) AcquireWriteLockReturns(result1 db.Lock, result2 error)

type FakePipelineSyncer

type FakePipelineSyncer struct {
	SyncStub func()
	// contains filtered or unexported fields
}

func (*FakePipelineSyncer) Sync

func (fake *FakePipelineSyncer) Sync()

func (*FakePipelineSyncer) SyncCallCount

func (fake *FakePipelineSyncer) SyncCallCount() int

type FakePipelinesDB

type FakePipelinesDB struct {
	GetAllActivePipelinesStub func() ([]db.SavedPipeline, error)
	// contains filtered or unexported fields
}

func (*FakePipelinesDB) GetAllActivePipelines

func (fake *FakePipelinesDB) GetAllActivePipelines() ([]db.SavedPipeline, error)

func (*FakePipelinesDB) GetAllActivePipelinesCallCount

func (fake *FakePipelinesDB) GetAllActivePipelinesCallCount() int

func (*FakePipelinesDB) GetAllActivePipelinesReturns

func (fake *FakePipelinesDB) GetAllActivePipelinesReturns(result1 []db.SavedPipeline, result2 error)

type FakeRadarSchedulerFactory

type FakeRadarSchedulerFactory struct {
	BuildRadarStub func(pipelineDB db.PipelineDB) *radar.Radar

	BuildSchedulerStub func(pipelineDB db.PipelineDB) *scheduler.Scheduler
	// contains filtered or unexported fields
}

func (*FakeRadarSchedulerFactory) BuildRadar

func (fake *FakeRadarSchedulerFactory) BuildRadar(pipelineDB db.PipelineDB) *radar.Radar

func (*FakeRadarSchedulerFactory) BuildRadarArgsForCall

func (fake *FakeRadarSchedulerFactory) BuildRadarArgsForCall(i int) db.PipelineDB

func (*FakeRadarSchedulerFactory) BuildRadarCallCount

func (fake *FakeRadarSchedulerFactory) BuildRadarCallCount() int

func (*FakeRadarSchedulerFactory) BuildRadarReturns

func (fake *FakeRadarSchedulerFactory) BuildRadarReturns(result1 *radar.Radar)

func (*FakeRadarSchedulerFactory) BuildScheduler

func (fake *FakeRadarSchedulerFactory) BuildScheduler(pipelineDB db.PipelineDB) *scheduler.Scheduler

func (*FakeRadarSchedulerFactory) BuildSchedulerArgsForCall

func (fake *FakeRadarSchedulerFactory) BuildSchedulerArgsForCall(i int) db.PipelineDB

func (*FakeRadarSchedulerFactory) BuildSchedulerCallCount

func (fake *FakeRadarSchedulerFactory) BuildSchedulerCallCount() int

func (*FakeRadarSchedulerFactory) BuildSchedulerReturns

func (fake *FakeRadarSchedulerFactory) BuildSchedulerReturns(result1 *scheduler.Scheduler)

Jump to

Keyboard shortcuts

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