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: 5 Imported by: 0

Documentation

Overview

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 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 FakeRadarSchedulerFactory

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

	BuildSchedulerStub func(pipelineDB db.PipelineDB, externalURL string) scheduler.BuildScheduler
	// contains filtered or unexported fields
}

func (*FakeRadarSchedulerFactory) BuildRadar

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

func (*FakeRadarSchedulerFactory) BuildRadarArgsForCall

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

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, externalURL string) scheduler.BuildScheduler

func (*FakeRadarSchedulerFactory) BuildSchedulerArgsForCall

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

func (*FakeRadarSchedulerFactory) BuildSchedulerCallCount

func (fake *FakeRadarSchedulerFactory) BuildSchedulerCallCount() int

func (*FakeRadarSchedulerFactory) BuildSchedulerReturns

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

type FakeSyncherDB

type FakeSyncherDB struct {
	GetAllPipelinesStub func() ([]db.SavedPipeline, error)

	ResetBuildPreparationsWithPipelinePausedStub func(pipelineID int) error
	// contains filtered or unexported fields
}

func (*FakeSyncherDB) GetAllPipelines

func (fake *FakeSyncherDB) GetAllPipelines() ([]db.SavedPipeline, error)

func (*FakeSyncherDB) GetAllPipelinesCallCount

func (fake *FakeSyncherDB) GetAllPipelinesCallCount() int

func (*FakeSyncherDB) GetAllPipelinesReturns

func (fake *FakeSyncherDB) GetAllPipelinesReturns(result1 []db.SavedPipeline, result2 error)

func (*FakeSyncherDB) ResetBuildPreparationsWithPipelinePaused

func (fake *FakeSyncherDB) ResetBuildPreparationsWithPipelinePaused(pipelineID int) error

func (*FakeSyncherDB) ResetBuildPreparationsWithPipelinePausedArgsForCall

func (fake *FakeSyncherDB) ResetBuildPreparationsWithPipelinePausedArgsForCall(i int) int

func (*FakeSyncherDB) ResetBuildPreparationsWithPipelinePausedCallCount

func (fake *FakeSyncherDB) ResetBuildPreparationsWithPipelinePausedCallCount() int

func (*FakeSyncherDB) ResetBuildPreparationsWithPipelinePausedReturns

func (fake *FakeSyncherDB) ResetBuildPreparationsWithPipelinePausedReturns(result1 error)

Jump to

Keyboard shortcuts

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