dbfakes

package
v0.0.0-...-e99be67 Latest Latest
Warning

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

Go to latest
Published: May 4, 2017 License: Apache-2.0 Imports: 10 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

This file was generated by counterfeiter

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 FakeBuild

type FakeBuild struct {
	IDStub func() int

	NameStub func() string

	JobIDStub func() int

	JobNameStub func() string

	PipelineIDStub func() int

	PipelineNameStub func() string

	TeamIDStub func() int

	TeamNameStub func() string

	EngineStub func() string

	EngineMetadataStub func() string

	StatusStub func() db.Status

	StartTimeStub func() time.Time

	EndTimeStub func() time.Time

	ReapTimeStub func() time.Time

	IsOneOffStub func() bool

	IsScheduledStub func() bool

	IsRunningStub func() bool

	IsManuallyTriggeredStub func() bool

	ReloadStub func() (bool, error)

	EventsStub func(from uint) (db.EventSource, error)

	SaveEventStub func(event atc.Event) error

	GetVersionedResourcesStub func() (db.SavedVersionedResources, error)

	GetResourcesStub func() ([]db.BuildInput, []db.BuildOutput, error)

	StartStub func(string, string) (bool, error)

	FinishStub func(status db.Status) error

	MarkAsFailedStub func(cause error) error

	AbortStub func() error

	AbortNotifierStub func() (db.Notifier, error)

	AcquireTrackingLockStub func(logger lager.Logger, interval time.Duration) (lock.Lock, bool, error)

	GetPreparationStub func() (db.BuildPreparation, bool, error)

	SaveEngineMetadataStub func(engineMetadata string) error

	SaveInputStub func(input db.BuildInput) (db.SavedVersionedResource, error)

	SaveOutputStub func(vr db.VersionedResource, explicit bool) (db.SavedVersionedResource, error)

	SaveImageResourceVersionStub func(planID atc.PlanID, identifier db.ResourceCacheIdentifier) error

	GetImageResourceCacheIdentifiersStub func() ([]db.ResourceCacheIdentifier, error)

	GetConfigStub func() (atc.Config, db.ConfigVersion, error)

	GetPipelineStub func() (db.SavedPipeline, error)
	// contains filtered or unexported fields
}

func (*FakeBuild) Abort

func (fake *FakeBuild) Abort() error

func (*FakeBuild) AbortCallCount

func (fake *FakeBuild) AbortCallCount() int

func (*FakeBuild) AbortNotifier

func (fake *FakeBuild) AbortNotifier() (db.Notifier, error)

func (*FakeBuild) AbortNotifierCallCount

func (fake *FakeBuild) AbortNotifierCallCount() int

func (*FakeBuild) AbortNotifierReturns

func (fake *FakeBuild) AbortNotifierReturns(result1 db.Notifier, result2 error)

func (*FakeBuild) AbortNotifierReturnsOnCall

func (fake *FakeBuild) AbortNotifierReturnsOnCall(i int, result1 db.Notifier, result2 error)

func (*FakeBuild) AbortReturns

func (fake *FakeBuild) AbortReturns(result1 error)

func (*FakeBuild) AbortReturnsOnCall

func (fake *FakeBuild) AbortReturnsOnCall(i int, result1 error)

func (*FakeBuild) AcquireTrackingLock

func (fake *FakeBuild) AcquireTrackingLock(logger lager.Logger, interval time.Duration) (lock.Lock, bool, error)

func (*FakeBuild) AcquireTrackingLockArgsForCall

func (fake *FakeBuild) AcquireTrackingLockArgsForCall(i int) (lager.Logger, time.Duration)

func (*FakeBuild) AcquireTrackingLockCallCount

func (fake *FakeBuild) AcquireTrackingLockCallCount() int

func (*FakeBuild) AcquireTrackingLockReturns

func (fake *FakeBuild) AcquireTrackingLockReturns(result1 lock.Lock, result2 bool, result3 error)

func (*FakeBuild) AcquireTrackingLockReturnsOnCall

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

func (*FakeBuild) EndTime

func (fake *FakeBuild) EndTime() time.Time

func (*FakeBuild) EndTimeCallCount

func (fake *FakeBuild) EndTimeCallCount() int

func (*FakeBuild) EndTimeReturns

func (fake *FakeBuild) EndTimeReturns(result1 time.Time)

func (*FakeBuild) EndTimeReturnsOnCall

func (fake *FakeBuild) EndTimeReturnsOnCall(i int, result1 time.Time)

func (*FakeBuild) Engine

func (fake *FakeBuild) Engine() string

func (*FakeBuild) EngineCallCount

func (fake *FakeBuild) EngineCallCount() int

func (*FakeBuild) EngineMetadata

func (fake *FakeBuild) EngineMetadata() string

func (*FakeBuild) EngineMetadataCallCount

func (fake *FakeBuild) EngineMetadataCallCount() int

func (*FakeBuild) EngineMetadataReturns

func (fake *FakeBuild) EngineMetadataReturns(result1 string)

func (*FakeBuild) EngineMetadataReturnsOnCall

func (fake *FakeBuild) EngineMetadataReturnsOnCall(i int, result1 string)

func (*FakeBuild) EngineReturns

func (fake *FakeBuild) EngineReturns(result1 string)

func (*FakeBuild) EngineReturnsOnCall

func (fake *FakeBuild) EngineReturnsOnCall(i int, result1 string)

func (*FakeBuild) Events

func (fake *FakeBuild) Events(from uint) (db.EventSource, error)

func (*FakeBuild) EventsArgsForCall

func (fake *FakeBuild) EventsArgsForCall(i int) uint

func (*FakeBuild) EventsCallCount

func (fake *FakeBuild) EventsCallCount() int

func (*FakeBuild) EventsReturns

func (fake *FakeBuild) EventsReturns(result1 db.EventSource, result2 error)

func (*FakeBuild) EventsReturnsOnCall

func (fake *FakeBuild) EventsReturnsOnCall(i int, result1 db.EventSource, result2 error)

func (*FakeBuild) Finish

func (fake *FakeBuild) Finish(status db.Status) error

func (*FakeBuild) FinishArgsForCall

func (fake *FakeBuild) FinishArgsForCall(i int) db.Status

func (*FakeBuild) FinishCallCount

func (fake *FakeBuild) FinishCallCount() int

func (*FakeBuild) FinishReturns

func (fake *FakeBuild) FinishReturns(result1 error)

func (*FakeBuild) FinishReturnsOnCall

func (fake *FakeBuild) FinishReturnsOnCall(i int, result1 error)

func (*FakeBuild) GetConfig

func (fake *FakeBuild) GetConfig() (atc.Config, db.ConfigVersion, error)

func (*FakeBuild) GetConfigCallCount

func (fake *FakeBuild) GetConfigCallCount() int

func (*FakeBuild) GetConfigReturns

func (fake *FakeBuild) GetConfigReturns(result1 atc.Config, result2 db.ConfigVersion, result3 error)

func (*FakeBuild) GetConfigReturnsOnCall

func (fake *FakeBuild) GetConfigReturnsOnCall(i int, result1 atc.Config, result2 db.ConfigVersion, result3 error)

func (*FakeBuild) GetImageResourceCacheIdentifiers

func (fake *FakeBuild) GetImageResourceCacheIdentifiers() ([]db.ResourceCacheIdentifier, error)

func (*FakeBuild) GetImageResourceCacheIdentifiersCallCount

func (fake *FakeBuild) GetImageResourceCacheIdentifiersCallCount() int

func (*FakeBuild) GetImageResourceCacheIdentifiersReturns

func (fake *FakeBuild) GetImageResourceCacheIdentifiersReturns(result1 []db.ResourceCacheIdentifier, result2 error)

func (*FakeBuild) GetImageResourceCacheIdentifiersReturnsOnCall

func (fake *FakeBuild) GetImageResourceCacheIdentifiersReturnsOnCall(i int, result1 []db.ResourceCacheIdentifier, result2 error)

func (*FakeBuild) GetPipeline

func (fake *FakeBuild) GetPipeline() (db.SavedPipeline, error)

func (*FakeBuild) GetPipelineCallCount

func (fake *FakeBuild) GetPipelineCallCount() int

func (*FakeBuild) GetPipelineReturns

func (fake *FakeBuild) GetPipelineReturns(result1 db.SavedPipeline, result2 error)

func (*FakeBuild) GetPipelineReturnsOnCall

func (fake *FakeBuild) GetPipelineReturnsOnCall(i int, result1 db.SavedPipeline, result2 error)

func (*FakeBuild) GetPreparation

func (fake *FakeBuild) GetPreparation() (db.BuildPreparation, bool, error)

func (*FakeBuild) GetPreparationCallCount

func (fake *FakeBuild) GetPreparationCallCount() int

func (*FakeBuild) GetPreparationReturns

func (fake *FakeBuild) GetPreparationReturns(result1 db.BuildPreparation, result2 bool, result3 error)

func (*FakeBuild) GetPreparationReturnsOnCall

func (fake *FakeBuild) GetPreparationReturnsOnCall(i int, result1 db.BuildPreparation, result2 bool, result3 error)

func (*FakeBuild) GetResources

func (fake *FakeBuild) GetResources() ([]db.BuildInput, []db.BuildOutput, error)

func (*FakeBuild) GetResourcesCallCount

func (fake *FakeBuild) GetResourcesCallCount() int

func (*FakeBuild) GetResourcesReturns

func (fake *FakeBuild) GetResourcesReturns(result1 []db.BuildInput, result2 []db.BuildOutput, result3 error)

func (*FakeBuild) GetResourcesReturnsOnCall

func (fake *FakeBuild) GetResourcesReturnsOnCall(i int, result1 []db.BuildInput, result2 []db.BuildOutput, result3 error)

func (*FakeBuild) GetVersionedResources

func (fake *FakeBuild) GetVersionedResources() (db.SavedVersionedResources, error)

func (*FakeBuild) GetVersionedResourcesCallCount

func (fake *FakeBuild) GetVersionedResourcesCallCount() int

func (*FakeBuild) GetVersionedResourcesReturns

func (fake *FakeBuild) GetVersionedResourcesReturns(result1 db.SavedVersionedResources, result2 error)

func (*FakeBuild) GetVersionedResourcesReturnsOnCall

func (fake *FakeBuild) GetVersionedResourcesReturnsOnCall(i int, result1 db.SavedVersionedResources, result2 error)

func (*FakeBuild) ID

func (fake *FakeBuild) ID() int

func (*FakeBuild) IDCallCount

func (fake *FakeBuild) IDCallCount() int

func (*FakeBuild) IDReturns

func (fake *FakeBuild) IDReturns(result1 int)

func (*FakeBuild) IDReturnsOnCall

func (fake *FakeBuild) IDReturnsOnCall(i int, result1 int)

func (*FakeBuild) Invocations

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

func (*FakeBuild) IsManuallyTriggered

func (fake *FakeBuild) IsManuallyTriggered() bool

func (*FakeBuild) IsManuallyTriggeredCallCount

func (fake *FakeBuild) IsManuallyTriggeredCallCount() int

func (*FakeBuild) IsManuallyTriggeredReturns

func (fake *FakeBuild) IsManuallyTriggeredReturns(result1 bool)

func (*FakeBuild) IsManuallyTriggeredReturnsOnCall

func (fake *FakeBuild) IsManuallyTriggeredReturnsOnCall(i int, result1 bool)

func (*FakeBuild) IsOneOff

func (fake *FakeBuild) IsOneOff() bool

func (*FakeBuild) IsOneOffCallCount

func (fake *FakeBuild) IsOneOffCallCount() int

func (*FakeBuild) IsOneOffReturns

func (fake *FakeBuild) IsOneOffReturns(result1 bool)

func (*FakeBuild) IsOneOffReturnsOnCall

func (fake *FakeBuild) IsOneOffReturnsOnCall(i int, result1 bool)

func (*FakeBuild) IsRunning

func (fake *FakeBuild) IsRunning() bool

func (*FakeBuild) IsRunningCallCount

func (fake *FakeBuild) IsRunningCallCount() int

func (*FakeBuild) IsRunningReturns

func (fake *FakeBuild) IsRunningReturns(result1 bool)

func (*FakeBuild) IsRunningReturnsOnCall

func (fake *FakeBuild) IsRunningReturnsOnCall(i int, result1 bool)

func (*FakeBuild) IsScheduled

func (fake *FakeBuild) IsScheduled() bool

func (*FakeBuild) IsScheduledCallCount

func (fake *FakeBuild) IsScheduledCallCount() int

func (*FakeBuild) IsScheduledReturns

func (fake *FakeBuild) IsScheduledReturns(result1 bool)

func (*FakeBuild) IsScheduledReturnsOnCall

func (fake *FakeBuild) IsScheduledReturnsOnCall(i int, result1 bool)

func (*FakeBuild) JobID

func (fake *FakeBuild) JobID() int

func (*FakeBuild) JobIDCallCount

func (fake *FakeBuild) JobIDCallCount() int

func (*FakeBuild) JobIDReturns

func (fake *FakeBuild) JobIDReturns(result1 int)

func (*FakeBuild) JobIDReturnsOnCall

func (fake *FakeBuild) JobIDReturnsOnCall(i int, result1 int)

func (*FakeBuild) JobName

func (fake *FakeBuild) JobName() string

func (*FakeBuild) JobNameCallCount

func (fake *FakeBuild) JobNameCallCount() int

func (*FakeBuild) JobNameReturns

func (fake *FakeBuild) JobNameReturns(result1 string)

func (*FakeBuild) JobNameReturnsOnCall

func (fake *FakeBuild) JobNameReturnsOnCall(i int, result1 string)

func (*FakeBuild) MarkAsFailed

func (fake *FakeBuild) MarkAsFailed(cause error) error

func (*FakeBuild) MarkAsFailedArgsForCall

func (fake *FakeBuild) MarkAsFailedArgsForCall(i int) error

func (*FakeBuild) MarkAsFailedCallCount

func (fake *FakeBuild) MarkAsFailedCallCount() int

func (*FakeBuild) MarkAsFailedReturns

func (fake *FakeBuild) MarkAsFailedReturns(result1 error)

func (*FakeBuild) MarkAsFailedReturnsOnCall

func (fake *FakeBuild) MarkAsFailedReturnsOnCall(i int, result1 error)

func (*FakeBuild) Name

func (fake *FakeBuild) Name() string

func (*FakeBuild) NameCallCount

func (fake *FakeBuild) NameCallCount() int

func (*FakeBuild) NameReturns

func (fake *FakeBuild) NameReturns(result1 string)

func (*FakeBuild) NameReturnsOnCall

func (fake *FakeBuild) NameReturnsOnCall(i int, result1 string)

func (*FakeBuild) PipelineID

func (fake *FakeBuild) PipelineID() int

func (*FakeBuild) PipelineIDCallCount

func (fake *FakeBuild) PipelineIDCallCount() int

func (*FakeBuild) PipelineIDReturns

func (fake *FakeBuild) PipelineIDReturns(result1 int)

func (*FakeBuild) PipelineIDReturnsOnCall

func (fake *FakeBuild) PipelineIDReturnsOnCall(i int, result1 int)

func (*FakeBuild) PipelineName

func (fake *FakeBuild) PipelineName() string

func (*FakeBuild) PipelineNameCallCount

func (fake *FakeBuild) PipelineNameCallCount() int

func (*FakeBuild) PipelineNameReturns

func (fake *FakeBuild) PipelineNameReturns(result1 string)

func (*FakeBuild) PipelineNameReturnsOnCall

func (fake *FakeBuild) PipelineNameReturnsOnCall(i int, result1 string)

func (*FakeBuild) ReapTime

func (fake *FakeBuild) ReapTime() time.Time

func (*FakeBuild) ReapTimeCallCount

func (fake *FakeBuild) ReapTimeCallCount() int

func (*FakeBuild) ReapTimeReturns

func (fake *FakeBuild) ReapTimeReturns(result1 time.Time)

func (*FakeBuild) ReapTimeReturnsOnCall

func (fake *FakeBuild) ReapTimeReturnsOnCall(i int, result1 time.Time)

func (*FakeBuild) Reload

func (fake *FakeBuild) Reload() (bool, error)

func (*FakeBuild) ReloadCallCount

func (fake *FakeBuild) ReloadCallCount() int

func (*FakeBuild) ReloadReturns

func (fake *FakeBuild) ReloadReturns(result1 bool, result2 error)

func (*FakeBuild) ReloadReturnsOnCall

func (fake *FakeBuild) ReloadReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeBuild) SaveEngineMetadata

func (fake *FakeBuild) SaveEngineMetadata(engineMetadata string) error

func (*FakeBuild) SaveEngineMetadataArgsForCall

func (fake *FakeBuild) SaveEngineMetadataArgsForCall(i int) string

func (*FakeBuild) SaveEngineMetadataCallCount

func (fake *FakeBuild) SaveEngineMetadataCallCount() int

func (*FakeBuild) SaveEngineMetadataReturns

func (fake *FakeBuild) SaveEngineMetadataReturns(result1 error)

func (*FakeBuild) SaveEngineMetadataReturnsOnCall

func (fake *FakeBuild) SaveEngineMetadataReturnsOnCall(i int, result1 error)

func (*FakeBuild) SaveEvent

func (fake *FakeBuild) SaveEvent(event atc.Event) error

func (*FakeBuild) SaveEventArgsForCall

func (fake *FakeBuild) SaveEventArgsForCall(i int) atc.Event

func (*FakeBuild) SaveEventCallCount

func (fake *FakeBuild) SaveEventCallCount() int

func (*FakeBuild) SaveEventReturns

func (fake *FakeBuild) SaveEventReturns(result1 error)

func (*FakeBuild) SaveEventReturnsOnCall

func (fake *FakeBuild) SaveEventReturnsOnCall(i int, result1 error)

func (*FakeBuild) SaveImageResourceVersion

func (fake *FakeBuild) SaveImageResourceVersion(planID atc.PlanID, identifier db.ResourceCacheIdentifier) error

func (*FakeBuild) SaveImageResourceVersionArgsForCall

func (fake *FakeBuild) SaveImageResourceVersionArgsForCall(i int) (atc.PlanID, db.ResourceCacheIdentifier)

func (*FakeBuild) SaveImageResourceVersionCallCount

func (fake *FakeBuild) SaveImageResourceVersionCallCount() int

func (*FakeBuild) SaveImageResourceVersionReturns

func (fake *FakeBuild) SaveImageResourceVersionReturns(result1 error)

func (*FakeBuild) SaveImageResourceVersionReturnsOnCall

func (fake *FakeBuild) SaveImageResourceVersionReturnsOnCall(i int, result1 error)

func (*FakeBuild) SaveInput

func (fake *FakeBuild) SaveInput(input db.BuildInput) (db.SavedVersionedResource, error)

func (*FakeBuild) SaveInputArgsForCall

func (fake *FakeBuild) SaveInputArgsForCall(i int) db.BuildInput

func (*FakeBuild) SaveInputCallCount

func (fake *FakeBuild) SaveInputCallCount() int

func (*FakeBuild) SaveInputReturns

func (fake *FakeBuild) SaveInputReturns(result1 db.SavedVersionedResource, result2 error)

func (*FakeBuild) SaveInputReturnsOnCall

func (fake *FakeBuild) SaveInputReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 error)

func (*FakeBuild) SaveOutput

func (fake *FakeBuild) SaveOutput(vr db.VersionedResource, explicit bool) (db.SavedVersionedResource, error)

func (*FakeBuild) SaveOutputArgsForCall

func (fake *FakeBuild) SaveOutputArgsForCall(i int) (db.VersionedResource, bool)

func (*FakeBuild) SaveOutputCallCount

func (fake *FakeBuild) SaveOutputCallCount() int

func (*FakeBuild) SaveOutputReturns

func (fake *FakeBuild) SaveOutputReturns(result1 db.SavedVersionedResource, result2 error)

func (*FakeBuild) SaveOutputReturnsOnCall

func (fake *FakeBuild) SaveOutputReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 error)

func (*FakeBuild) Start

func (fake *FakeBuild) Start(arg1 string, arg2 string) (bool, error)

func (*FakeBuild) StartArgsForCall

func (fake *FakeBuild) StartArgsForCall(i int) (string, string)

func (*FakeBuild) StartCallCount

func (fake *FakeBuild) StartCallCount() int

func (*FakeBuild) StartReturns

func (fake *FakeBuild) StartReturns(result1 bool, result2 error)

func (*FakeBuild) StartReturnsOnCall

func (fake *FakeBuild) StartReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeBuild) StartTime

func (fake *FakeBuild) StartTime() time.Time

func (*FakeBuild) StartTimeCallCount

func (fake *FakeBuild) StartTimeCallCount() int

func (*FakeBuild) StartTimeReturns

func (fake *FakeBuild) StartTimeReturns(result1 time.Time)

func (*FakeBuild) StartTimeReturnsOnCall

func (fake *FakeBuild) StartTimeReturnsOnCall(i int, result1 time.Time)

func (*FakeBuild) Status

func (fake *FakeBuild) Status() db.Status

func (*FakeBuild) StatusCallCount

func (fake *FakeBuild) StatusCallCount() int

func (*FakeBuild) StatusReturns

func (fake *FakeBuild) StatusReturns(result1 db.Status)

func (*FakeBuild) StatusReturnsOnCall

func (fake *FakeBuild) StatusReturnsOnCall(i int, result1 db.Status)

func (*FakeBuild) TeamID

func (fake *FakeBuild) TeamID() int

func (*FakeBuild) TeamIDCallCount

func (fake *FakeBuild) TeamIDCallCount() int

func (*FakeBuild) TeamIDReturns

func (fake *FakeBuild) TeamIDReturns(result1 int)

func (*FakeBuild) TeamIDReturnsOnCall

func (fake *FakeBuild) TeamIDReturnsOnCall(i int, result1 int)

func (*FakeBuild) TeamName

func (fake *FakeBuild) TeamName() string

func (*FakeBuild) TeamNameCallCount

func (fake *FakeBuild) TeamNameCallCount() int

func (*FakeBuild) TeamNameReturns

func (fake *FakeBuild) TeamNameReturns(result1 string)

func (*FakeBuild) TeamNameReturnsOnCall

func (fake *FakeBuild) TeamNameReturnsOnCall(i int, result1 string)

type FakeConn

type FakeConn struct {
	BeginStub func() (db.Tx, error)

	CloseStub func() error

	DriverStub func() driver.Driver

	ExecStub func(query string, args ...interface{}) (sql.Result, error)

	PingStub func() error

	PrepareStub func(query string) (*sql.Stmt, error)

	QueryStub func(query string, args ...interface{}) (*sql.Rows, error)

	QueryRowStub func(query string, args ...interface{}) *sql.Row

	SetMaxIdleConnsStub func(n int)

	SetMaxOpenConnsStub func(n int)
	// contains filtered or unexported fields
}

func (*FakeConn) Begin

func (fake *FakeConn) Begin() (db.Tx, error)

func (*FakeConn) BeginCallCount

func (fake *FakeConn) BeginCallCount() int

func (*FakeConn) BeginReturns

func (fake *FakeConn) BeginReturns(result1 db.Tx, result2 error)

func (*FakeConn) BeginReturnsOnCall

func (fake *FakeConn) BeginReturnsOnCall(i int, result1 db.Tx, result2 error)

func (*FakeConn) Close

func (fake *FakeConn) Close() error

func (*FakeConn) CloseCallCount

func (fake *FakeConn) CloseCallCount() int

func (*FakeConn) CloseReturns

func (fake *FakeConn) CloseReturns(result1 error)

func (*FakeConn) CloseReturnsOnCall

func (fake *FakeConn) CloseReturnsOnCall(i int, result1 error)

func (*FakeConn) Driver

func (fake *FakeConn) Driver() driver.Driver

func (*FakeConn) DriverCallCount

func (fake *FakeConn) DriverCallCount() int

func (*FakeConn) DriverReturns

func (fake *FakeConn) DriverReturns(result1 driver.Driver)

func (*FakeConn) DriverReturnsOnCall

func (fake *FakeConn) DriverReturnsOnCall(i int, result1 driver.Driver)

func (*FakeConn) Exec

func (fake *FakeConn) Exec(query string, args ...interface{}) (sql.Result, error)

func (*FakeConn) ExecArgsForCall

func (fake *FakeConn) ExecArgsForCall(i int) (string, []interface{})

func (*FakeConn) ExecCallCount

func (fake *FakeConn) ExecCallCount() int

func (*FakeConn) ExecReturns

func (fake *FakeConn) ExecReturns(result1 sql.Result, result2 error)

func (*FakeConn) ExecReturnsOnCall

func (fake *FakeConn) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)

func (*FakeConn) Invocations

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

func (*FakeConn) Ping

func (fake *FakeConn) Ping() error

func (*FakeConn) PingCallCount

func (fake *FakeConn) PingCallCount() int

func (*FakeConn) PingReturns

func (fake *FakeConn) PingReturns(result1 error)

func (*FakeConn) PingReturnsOnCall

func (fake *FakeConn) PingReturnsOnCall(i int, result1 error)

func (*FakeConn) Prepare

func (fake *FakeConn) Prepare(query string) (*sql.Stmt, error)

func (*FakeConn) PrepareArgsForCall

func (fake *FakeConn) PrepareArgsForCall(i int) string

func (*FakeConn) PrepareCallCount

func (fake *FakeConn) PrepareCallCount() int

func (*FakeConn) PrepareReturns

func (fake *FakeConn) PrepareReturns(result1 *sql.Stmt, result2 error)

func (*FakeConn) PrepareReturnsOnCall

func (fake *FakeConn) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)

func (*FakeConn) Query

func (fake *FakeConn) Query(query string, args ...interface{}) (*sql.Rows, error)

func (*FakeConn) QueryArgsForCall

func (fake *FakeConn) QueryArgsForCall(i int) (string, []interface{})

func (*FakeConn) QueryCallCount

func (fake *FakeConn) QueryCallCount() int

func (*FakeConn) QueryReturns

func (fake *FakeConn) QueryReturns(result1 *sql.Rows, result2 error)

func (*FakeConn) QueryReturnsOnCall

func (fake *FakeConn) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)

func (*FakeConn) QueryRow

func (fake *FakeConn) QueryRow(query string, args ...interface{}) *sql.Row

func (*FakeConn) QueryRowArgsForCall

func (fake *FakeConn) QueryRowArgsForCall(i int) (string, []interface{})

func (*FakeConn) QueryRowCallCount

func (fake *FakeConn) QueryRowCallCount() int

func (*FakeConn) QueryRowReturns

func (fake *FakeConn) QueryRowReturns(result1 *sql.Row)

func (*FakeConn) QueryRowReturnsOnCall

func (fake *FakeConn) QueryRowReturnsOnCall(i int, result1 *sql.Row)

func (*FakeConn) SetMaxIdleConns

func (fake *FakeConn) SetMaxIdleConns(n int)

func (*FakeConn) SetMaxIdleConnsArgsForCall

func (fake *FakeConn) SetMaxIdleConnsArgsForCall(i int) int

func (*FakeConn) SetMaxIdleConnsCallCount

func (fake *FakeConn) SetMaxIdleConnsCallCount() int

func (*FakeConn) SetMaxOpenConns

func (fake *FakeConn) SetMaxOpenConns(n int)

func (*FakeConn) SetMaxOpenConnsArgsForCall

func (fake *FakeConn) SetMaxOpenConnsArgsForCall(i int) int

func (*FakeConn) SetMaxOpenConnsCallCount

func (fake *FakeConn) SetMaxOpenConnsCallCount() int

type FakeEventSource

type FakeEventSource struct {
	NextStub func() (event.Envelope, error)

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeEventSource) Close

func (fake *FakeEventSource) Close() error

func (*FakeEventSource) CloseCallCount

func (fake *FakeEventSource) CloseCallCount() int

func (*FakeEventSource) CloseReturns

func (fake *FakeEventSource) CloseReturns(result1 error)

func (*FakeEventSource) CloseReturnsOnCall

func (fake *FakeEventSource) CloseReturnsOnCall(i int, result1 error)

func (*FakeEventSource) Invocations

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

func (*FakeEventSource) Next

func (fake *FakeEventSource) Next() (event.Envelope, error)

func (*FakeEventSource) NextCallCount

func (fake *FakeEventSource) NextCallCount() int

func (*FakeEventSource) NextReturns

func (fake *FakeEventSource) NextReturns(result1 event.Envelope, result2 error)

func (*FakeEventSource) NextReturnsOnCall

func (fake *FakeEventSource) NextReturnsOnCall(i int, result1 event.Envelope, result2 error)

type FakeNotifier

type FakeNotifier struct {
	NotifyStub func() <-chan struct{}

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeNotifier) Close

func (fake *FakeNotifier) Close() error

func (*FakeNotifier) CloseCallCount

func (fake *FakeNotifier) CloseCallCount() int

func (*FakeNotifier) CloseReturns

func (fake *FakeNotifier) CloseReturns(result1 error)

func (*FakeNotifier) CloseReturnsOnCall

func (fake *FakeNotifier) CloseReturnsOnCall(i int, result1 error)

func (*FakeNotifier) Invocations

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

func (*FakeNotifier) Notify

func (fake *FakeNotifier) Notify() <-chan struct{}

func (*FakeNotifier) NotifyCallCount

func (fake *FakeNotifier) NotifyCallCount() int

func (*FakeNotifier) NotifyReturns

func (fake *FakeNotifier) NotifyReturns(result1 <-chan struct{})

func (*FakeNotifier) NotifyReturnsOnCall

func (fake *FakeNotifier) NotifyReturnsOnCall(i int, result1 <-chan struct{})

type FakePipelineDB

type FakePipelineDB struct {
	PipelineStub func() db.SavedPipeline

	GetPipelineNameStub func() string

	GetPipelineIDStub func() int

	ScopedNameStub func(string) string

	TeamIDStub func() int

	ConfigStub func() atc.Config

	ConfigVersionStub func() db.ConfigVersion

	ReloadStub func() (bool, error)

	PauseStub func() error

	UnpauseStub func() error

	IsPausedStub func() (bool, error)

	IsPublicStub func() bool

	UpdateNameStub func(string) error

	DestroyStub func() error

	AcquireSchedulingLockStub func(lager.Logger, time.Duration) (lock.Lock, bool, error)

	GetResourceStub func(resourceName string) (db.SavedResource, bool, error)

	GetResourcesStub func() ([]db.SavedResource, bool, error)

	GetResourceTypeStub func(resourceTypeName string) (db.SavedResourceType, bool, error)

	GetResourceVersionsStub func(resourceName string, page db.Page) ([]db.SavedVersionedResource, db.Pagination, bool, error)

	PauseResourceStub func(resourceName string) error

	UnpauseResourceStub func(resourceName string) error

	SaveResourceVersionsStub func(atc.ResourceConfig, []atc.Version) error

	SaveResourceTypeVersionStub func(atc.ResourceType, atc.Version) error

	GetLatestVersionedResourceStub func(resourceName string) (db.SavedVersionedResource, bool, error)

	GetLatestEnabledVersionedResourceStub func(resourceName string) (db.SavedVersionedResource, bool, error)

	EnableVersionedResourceStub func(versionedResourceID int) error

	DisableVersionedResourceStub func(versionedResourceID int) error

	SetResourceCheckErrorStub func(resource db.SavedResource, err error) error

	GetJobsStub func() ([]db.SavedJob, error)

	GetJobStub func(job string) (db.SavedJob, bool, error)

	PauseJobStub func(job string) error

	UnpauseJobStub func(job string) error

	SetMaxInFlightReachedStub func(string, bool) error

	UpdateFirstLoggedBuildIDStub func(job string, newFirstLoggedBuildID int) error

	GetJobFinishedAndNextBuildStub func(job string) (db.Build, db.Build, error)

	GetJobBuildsStub func(job string, page db.Page) ([]db.Build, db.Pagination, error)

	GetAllJobBuildsStub func(job string) ([]db.Build, error)

	GetJobBuildStub func(job string, build string) (db.Build, bool, error)

	CreateJobBuildStub func(job string) (db.Build, error)

	EnsurePendingBuildExistsStub func(jobName string) error

	GetPendingBuildsForJobStub func(jobName string) ([]db.Build, error)

	GetAllPendingBuildsStub func() (map[string][]db.Build, error)

	UseInputsForBuildStub func(buildID int, inputs []db.BuildInput) error

	GetVersionedResourceByVersionStub func(atcVersion atc.Version, resourceName string) (db.SavedVersionedResource, bool, error)

	SaveIndependentInputMappingStub func(inputMapping algorithm.InputMapping, jobName string) error

	GetIndependentBuildInputsStub func(jobName string) ([]db.BuildInput, error)

	SaveNextInputMappingStub func(inputMapping algorithm.InputMapping, jobName string) error

	GetNextBuildInputsStub func(jobName string) ([]db.BuildInput, bool, error)

	DeleteNextInputMappingStub func(jobName string) error

	GetRunningBuildsBySerialGroupStub func(jobName string, serialGroups []string) ([]db.Build, error)

	GetNextPendingBuildBySerialGroupStub func(jobName string, serialGroups []string) (db.Build, bool, error)

	UpdateBuildToScheduledStub func(buildID int) (bool, error)

	SaveInputStub func(buildID int, input db.BuildInput) (db.SavedVersionedResource, error)

	SaveOutputStub func(buildID int, vr db.VersionedResource, explicit bool) (db.SavedVersionedResource, error)

	GetBuildsWithVersionAsInputStub func(versionedResourceID int) ([]db.Build, error)

	GetBuildsWithVersionAsOutputStub func(versionedResourceID int) ([]db.Build, error)

	GetDashboardStub func() (db.Dashboard, atc.GroupConfigs, error)

	ExposeStub func() error

	HideStub func() error
	// contains filtered or unexported fields
}

func (*FakePipelineDB) AcquireSchedulingLock

func (fake *FakePipelineDB) AcquireSchedulingLock(arg1 lager.Logger, arg2 time.Duration) (lock.Lock, bool, error)

func (*FakePipelineDB) AcquireSchedulingLockArgsForCall

func (fake *FakePipelineDB) AcquireSchedulingLockArgsForCall(i int) (lager.Logger, time.Duration)

func (*FakePipelineDB) AcquireSchedulingLockCallCount

func (fake *FakePipelineDB) AcquireSchedulingLockCallCount() int

func (*FakePipelineDB) AcquireSchedulingLockReturns

func (fake *FakePipelineDB) AcquireSchedulingLockReturns(result1 lock.Lock, result2 bool, result3 error)

func (*FakePipelineDB) AcquireSchedulingLockReturnsOnCall

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

func (*FakePipelineDB) Config

func (fake *FakePipelineDB) Config() atc.Config

func (*FakePipelineDB) ConfigCallCount

func (fake *FakePipelineDB) ConfigCallCount() int

func (*FakePipelineDB) ConfigReturns

func (fake *FakePipelineDB) ConfigReturns(result1 atc.Config)

func (*FakePipelineDB) ConfigReturnsOnCall

func (fake *FakePipelineDB) ConfigReturnsOnCall(i int, result1 atc.Config)

func (*FakePipelineDB) ConfigVersion

func (fake *FakePipelineDB) ConfigVersion() db.ConfigVersion

func (*FakePipelineDB) ConfigVersionCallCount

func (fake *FakePipelineDB) ConfigVersionCallCount() int

func (*FakePipelineDB) ConfigVersionReturns

func (fake *FakePipelineDB) ConfigVersionReturns(result1 db.ConfigVersion)

func (*FakePipelineDB) ConfigVersionReturnsOnCall

func (fake *FakePipelineDB) ConfigVersionReturnsOnCall(i int, result1 db.ConfigVersion)

func (*FakePipelineDB) CreateJobBuild

func (fake *FakePipelineDB) CreateJobBuild(job string) (db.Build, error)

func (*FakePipelineDB) CreateJobBuildArgsForCall

func (fake *FakePipelineDB) CreateJobBuildArgsForCall(i int) string

func (*FakePipelineDB) CreateJobBuildCallCount

func (fake *FakePipelineDB) CreateJobBuildCallCount() int

func (*FakePipelineDB) CreateJobBuildReturns

func (fake *FakePipelineDB) CreateJobBuildReturns(result1 db.Build, result2 error)

func (*FakePipelineDB) CreateJobBuildReturnsOnCall

func (fake *FakePipelineDB) CreateJobBuildReturnsOnCall(i int, result1 db.Build, result2 error)

func (*FakePipelineDB) DeleteNextInputMapping

func (fake *FakePipelineDB) DeleteNextInputMapping(jobName string) error

func (*FakePipelineDB) DeleteNextInputMappingArgsForCall

func (fake *FakePipelineDB) DeleteNextInputMappingArgsForCall(i int) string

func (*FakePipelineDB) DeleteNextInputMappingCallCount

func (fake *FakePipelineDB) DeleteNextInputMappingCallCount() int

func (*FakePipelineDB) DeleteNextInputMappingReturns

func (fake *FakePipelineDB) DeleteNextInputMappingReturns(result1 error)

func (*FakePipelineDB) DeleteNextInputMappingReturnsOnCall

func (fake *FakePipelineDB) DeleteNextInputMappingReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) Destroy

func (fake *FakePipelineDB) Destroy() error

func (*FakePipelineDB) DestroyCallCount

func (fake *FakePipelineDB) DestroyCallCount() int

func (*FakePipelineDB) DestroyReturns

func (fake *FakePipelineDB) DestroyReturns(result1 error)

func (*FakePipelineDB) DestroyReturnsOnCall

func (fake *FakePipelineDB) DestroyReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) DisableVersionedResource

func (fake *FakePipelineDB) DisableVersionedResource(versionedResourceID int) error

func (*FakePipelineDB) DisableVersionedResourceArgsForCall

func (fake *FakePipelineDB) DisableVersionedResourceArgsForCall(i int) int

func (*FakePipelineDB) DisableVersionedResourceCallCount

func (fake *FakePipelineDB) DisableVersionedResourceCallCount() int

func (*FakePipelineDB) DisableVersionedResourceReturns

func (fake *FakePipelineDB) DisableVersionedResourceReturns(result1 error)

func (*FakePipelineDB) DisableVersionedResourceReturnsOnCall

func (fake *FakePipelineDB) DisableVersionedResourceReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) EnableVersionedResource

func (fake *FakePipelineDB) EnableVersionedResource(versionedResourceID int) error

func (*FakePipelineDB) EnableVersionedResourceArgsForCall

func (fake *FakePipelineDB) EnableVersionedResourceArgsForCall(i int) int

func (*FakePipelineDB) EnableVersionedResourceCallCount

func (fake *FakePipelineDB) EnableVersionedResourceCallCount() int

func (*FakePipelineDB) EnableVersionedResourceReturns

func (fake *FakePipelineDB) EnableVersionedResourceReturns(result1 error)

func (*FakePipelineDB) EnableVersionedResourceReturnsOnCall

func (fake *FakePipelineDB) EnableVersionedResourceReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) EnsurePendingBuildExists

func (fake *FakePipelineDB) EnsurePendingBuildExists(jobName string) error

func (*FakePipelineDB) EnsurePendingBuildExistsArgsForCall

func (fake *FakePipelineDB) EnsurePendingBuildExistsArgsForCall(i int) string

func (*FakePipelineDB) EnsurePendingBuildExistsCallCount

func (fake *FakePipelineDB) EnsurePendingBuildExistsCallCount() int

func (*FakePipelineDB) EnsurePendingBuildExistsReturns

func (fake *FakePipelineDB) EnsurePendingBuildExistsReturns(result1 error)

func (*FakePipelineDB) EnsurePendingBuildExistsReturnsOnCall

func (fake *FakePipelineDB) EnsurePendingBuildExistsReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) Expose

func (fake *FakePipelineDB) Expose() error

func (*FakePipelineDB) ExposeCallCount

func (fake *FakePipelineDB) ExposeCallCount() int

func (*FakePipelineDB) ExposeReturns

func (fake *FakePipelineDB) ExposeReturns(result1 error)

func (*FakePipelineDB) ExposeReturnsOnCall

func (fake *FakePipelineDB) ExposeReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) GetAllJobBuilds

func (fake *FakePipelineDB) GetAllJobBuilds(job string) ([]db.Build, error)

func (*FakePipelineDB) GetAllJobBuildsArgsForCall

func (fake *FakePipelineDB) GetAllJobBuildsArgsForCall(i int) string

func (*FakePipelineDB) GetAllJobBuildsCallCount

func (fake *FakePipelineDB) GetAllJobBuildsCallCount() int

func (*FakePipelineDB) GetAllJobBuildsReturns

func (fake *FakePipelineDB) GetAllJobBuildsReturns(result1 []db.Build, result2 error)

func (*FakePipelineDB) GetAllJobBuildsReturnsOnCall

func (fake *FakePipelineDB) GetAllJobBuildsReturnsOnCall(i int, result1 []db.Build, result2 error)

func (*FakePipelineDB) GetAllPendingBuilds

func (fake *FakePipelineDB) GetAllPendingBuilds() (map[string][]db.Build, error)

func (*FakePipelineDB) GetAllPendingBuildsCallCount

func (fake *FakePipelineDB) GetAllPendingBuildsCallCount() int

func (*FakePipelineDB) GetAllPendingBuildsReturns

func (fake *FakePipelineDB) GetAllPendingBuildsReturns(result1 map[string][]db.Build, result2 error)

func (*FakePipelineDB) GetAllPendingBuildsReturnsOnCall

func (fake *FakePipelineDB) GetAllPendingBuildsReturnsOnCall(i int, result1 map[string][]db.Build, result2 error)

func (*FakePipelineDB) GetBuildsWithVersionAsInput

func (fake *FakePipelineDB) GetBuildsWithVersionAsInput(versionedResourceID int) ([]db.Build, error)

func (*FakePipelineDB) GetBuildsWithVersionAsInputArgsForCall

func (fake *FakePipelineDB) GetBuildsWithVersionAsInputArgsForCall(i int) int

func (*FakePipelineDB) GetBuildsWithVersionAsInputCallCount

func (fake *FakePipelineDB) GetBuildsWithVersionAsInputCallCount() int

func (*FakePipelineDB) GetBuildsWithVersionAsInputReturns

func (fake *FakePipelineDB) GetBuildsWithVersionAsInputReturns(result1 []db.Build, result2 error)

func (*FakePipelineDB) GetBuildsWithVersionAsInputReturnsOnCall

func (fake *FakePipelineDB) GetBuildsWithVersionAsInputReturnsOnCall(i int, result1 []db.Build, result2 error)

func (*FakePipelineDB) GetBuildsWithVersionAsOutput

func (fake *FakePipelineDB) GetBuildsWithVersionAsOutput(versionedResourceID int) ([]db.Build, error)

func (*FakePipelineDB) GetBuildsWithVersionAsOutputArgsForCall

func (fake *FakePipelineDB) GetBuildsWithVersionAsOutputArgsForCall(i int) int

func (*FakePipelineDB) GetBuildsWithVersionAsOutputCallCount

func (fake *FakePipelineDB) GetBuildsWithVersionAsOutputCallCount() int

func (*FakePipelineDB) GetBuildsWithVersionAsOutputReturns

func (fake *FakePipelineDB) GetBuildsWithVersionAsOutputReturns(result1 []db.Build, result2 error)

func (*FakePipelineDB) GetBuildsWithVersionAsOutputReturnsOnCall

func (fake *FakePipelineDB) GetBuildsWithVersionAsOutputReturnsOnCall(i int, result1 []db.Build, result2 error)

func (*FakePipelineDB) GetDashboard

func (fake *FakePipelineDB) GetDashboard() (db.Dashboard, atc.GroupConfigs, error)

func (*FakePipelineDB) GetDashboardCallCount

func (fake *FakePipelineDB) GetDashboardCallCount() int

func (*FakePipelineDB) GetDashboardReturns

func (fake *FakePipelineDB) GetDashboardReturns(result1 db.Dashboard, result2 atc.GroupConfigs, result3 error)

func (*FakePipelineDB) GetDashboardReturnsOnCall

func (fake *FakePipelineDB) GetDashboardReturnsOnCall(i int, result1 db.Dashboard, result2 atc.GroupConfigs, result3 error)

func (*FakePipelineDB) GetIndependentBuildInputs

func (fake *FakePipelineDB) GetIndependentBuildInputs(jobName string) ([]db.BuildInput, error)

func (*FakePipelineDB) GetIndependentBuildInputsArgsForCall

func (fake *FakePipelineDB) GetIndependentBuildInputsArgsForCall(i int) string

func (*FakePipelineDB) GetIndependentBuildInputsCallCount

func (fake *FakePipelineDB) GetIndependentBuildInputsCallCount() int

func (*FakePipelineDB) GetIndependentBuildInputsReturns

func (fake *FakePipelineDB) GetIndependentBuildInputsReturns(result1 []db.BuildInput, result2 error)

func (*FakePipelineDB) GetIndependentBuildInputsReturnsOnCall

func (fake *FakePipelineDB) GetIndependentBuildInputsReturnsOnCall(i int, result1 []db.BuildInput, result2 error)

func (*FakePipelineDB) GetJob

func (fake *FakePipelineDB) GetJob(job string) (db.SavedJob, bool, error)

func (*FakePipelineDB) GetJobArgsForCall

func (fake *FakePipelineDB) GetJobArgsForCall(i int) string

func (*FakePipelineDB) GetJobBuild

func (fake *FakePipelineDB) GetJobBuild(job string, build string) (db.Build, bool, error)

func (*FakePipelineDB) GetJobBuildArgsForCall

func (fake *FakePipelineDB) GetJobBuildArgsForCall(i int) (string, string)

func (*FakePipelineDB) GetJobBuildCallCount

func (fake *FakePipelineDB) GetJobBuildCallCount() int

func (*FakePipelineDB) GetJobBuildReturns

func (fake *FakePipelineDB) GetJobBuildReturns(result1 db.Build, result2 bool, result3 error)

func (*FakePipelineDB) GetJobBuildReturnsOnCall

func (fake *FakePipelineDB) GetJobBuildReturnsOnCall(i int, result1 db.Build, result2 bool, result3 error)

func (*FakePipelineDB) GetJobBuilds

func (fake *FakePipelineDB) GetJobBuilds(job string, page db.Page) ([]db.Build, db.Pagination, error)

func (*FakePipelineDB) GetJobBuildsArgsForCall

func (fake *FakePipelineDB) GetJobBuildsArgsForCall(i int) (string, db.Page)

func (*FakePipelineDB) GetJobBuildsCallCount

func (fake *FakePipelineDB) GetJobBuildsCallCount() int

func (*FakePipelineDB) GetJobBuildsReturns

func (fake *FakePipelineDB) GetJobBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakePipelineDB) GetJobBuildsReturnsOnCall

func (fake *FakePipelineDB) GetJobBuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)

func (*FakePipelineDB) GetJobCallCount

func (fake *FakePipelineDB) GetJobCallCount() int

func (*FakePipelineDB) GetJobFinishedAndNextBuild

func (fake *FakePipelineDB) GetJobFinishedAndNextBuild(job string) (db.Build, db.Build, error)

func (*FakePipelineDB) GetJobFinishedAndNextBuildArgsForCall

func (fake *FakePipelineDB) GetJobFinishedAndNextBuildArgsForCall(i int) string

func (*FakePipelineDB) GetJobFinishedAndNextBuildCallCount

func (fake *FakePipelineDB) GetJobFinishedAndNextBuildCallCount() int

func (*FakePipelineDB) GetJobFinishedAndNextBuildReturns

func (fake *FakePipelineDB) GetJobFinishedAndNextBuildReturns(result1 db.Build, result2 db.Build, result3 error)

func (*FakePipelineDB) GetJobFinishedAndNextBuildReturnsOnCall

func (fake *FakePipelineDB) GetJobFinishedAndNextBuildReturnsOnCall(i int, result1 db.Build, result2 db.Build, result3 error)

func (*FakePipelineDB) GetJobReturns

func (fake *FakePipelineDB) GetJobReturns(result1 db.SavedJob, result2 bool, result3 error)

func (*FakePipelineDB) GetJobReturnsOnCall

func (fake *FakePipelineDB) GetJobReturnsOnCall(i int, result1 db.SavedJob, result2 bool, result3 error)

func (*FakePipelineDB) GetJobs

func (fake *FakePipelineDB) GetJobs() ([]db.SavedJob, error)

func (*FakePipelineDB) GetJobsCallCount

func (fake *FakePipelineDB) GetJobsCallCount() int

func (*FakePipelineDB) GetJobsReturns

func (fake *FakePipelineDB) GetJobsReturns(result1 []db.SavedJob, result2 error)

func (*FakePipelineDB) GetJobsReturnsOnCall

func (fake *FakePipelineDB) GetJobsReturnsOnCall(i int, result1 []db.SavedJob, result2 error)

func (*FakePipelineDB) GetLatestEnabledVersionedResource

func (fake *FakePipelineDB) GetLatestEnabledVersionedResource(resourceName string) (db.SavedVersionedResource, bool, error)

func (*FakePipelineDB) GetLatestEnabledVersionedResourceArgsForCall

func (fake *FakePipelineDB) GetLatestEnabledVersionedResourceArgsForCall(i int) string

func (*FakePipelineDB) GetLatestEnabledVersionedResourceCallCount

func (fake *FakePipelineDB) GetLatestEnabledVersionedResourceCallCount() int

func (*FakePipelineDB) GetLatestEnabledVersionedResourceReturns

func (fake *FakePipelineDB) GetLatestEnabledVersionedResourceReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)

func (*FakePipelineDB) GetLatestEnabledVersionedResourceReturnsOnCall

func (fake *FakePipelineDB) GetLatestEnabledVersionedResourceReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)

func (*FakePipelineDB) GetLatestVersionedResource

func (fake *FakePipelineDB) GetLatestVersionedResource(resourceName string) (db.SavedVersionedResource, bool, error)

func (*FakePipelineDB) GetLatestVersionedResourceArgsForCall

func (fake *FakePipelineDB) GetLatestVersionedResourceArgsForCall(i int) string

func (*FakePipelineDB) GetLatestVersionedResourceCallCount

func (fake *FakePipelineDB) GetLatestVersionedResourceCallCount() int

func (*FakePipelineDB) GetLatestVersionedResourceReturns

func (fake *FakePipelineDB) GetLatestVersionedResourceReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)

func (*FakePipelineDB) GetLatestVersionedResourceReturnsOnCall

func (fake *FakePipelineDB) GetLatestVersionedResourceReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)

func (*FakePipelineDB) GetNextBuildInputs

func (fake *FakePipelineDB) GetNextBuildInputs(jobName string) ([]db.BuildInput, bool, error)

func (*FakePipelineDB) GetNextBuildInputsArgsForCall

func (fake *FakePipelineDB) GetNextBuildInputsArgsForCall(i int) string

func (*FakePipelineDB) GetNextBuildInputsCallCount

func (fake *FakePipelineDB) GetNextBuildInputsCallCount() int

func (*FakePipelineDB) GetNextBuildInputsReturns

func (fake *FakePipelineDB) GetNextBuildInputsReturns(result1 []db.BuildInput, result2 bool, result3 error)

func (*FakePipelineDB) GetNextBuildInputsReturnsOnCall

func (fake *FakePipelineDB) GetNextBuildInputsReturnsOnCall(i int, result1 []db.BuildInput, result2 bool, result3 error)

func (*FakePipelineDB) GetNextPendingBuildBySerialGroup

func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroup(jobName string, serialGroups []string) (db.Build, bool, error)

func (*FakePipelineDB) GetNextPendingBuildBySerialGroupArgsForCall

func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroupArgsForCall(i int) (string, []string)

func (*FakePipelineDB) GetNextPendingBuildBySerialGroupCallCount

func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroupCallCount() int

func (*FakePipelineDB) GetNextPendingBuildBySerialGroupReturns

func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroupReturns(result1 db.Build, result2 bool, result3 error)

func (*FakePipelineDB) GetNextPendingBuildBySerialGroupReturnsOnCall

func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroupReturnsOnCall(i int, result1 db.Build, result2 bool, result3 error)

func (*FakePipelineDB) GetPendingBuildsForJob

func (fake *FakePipelineDB) GetPendingBuildsForJob(jobName string) ([]db.Build, error)

func (*FakePipelineDB) GetPendingBuildsForJobArgsForCall

func (fake *FakePipelineDB) GetPendingBuildsForJobArgsForCall(i int) string

func (*FakePipelineDB) GetPendingBuildsForJobCallCount

func (fake *FakePipelineDB) GetPendingBuildsForJobCallCount() int

func (*FakePipelineDB) GetPendingBuildsForJobReturns

func (fake *FakePipelineDB) GetPendingBuildsForJobReturns(result1 []db.Build, result2 error)

func (*FakePipelineDB) GetPendingBuildsForJobReturnsOnCall

func (fake *FakePipelineDB) GetPendingBuildsForJobReturnsOnCall(i int, result1 []db.Build, result2 error)

func (*FakePipelineDB) GetPipelineID

func (fake *FakePipelineDB) GetPipelineID() int

func (*FakePipelineDB) GetPipelineIDCallCount

func (fake *FakePipelineDB) GetPipelineIDCallCount() int

func (*FakePipelineDB) GetPipelineIDReturns

func (fake *FakePipelineDB) GetPipelineIDReturns(result1 int)

func (*FakePipelineDB) GetPipelineIDReturnsOnCall

func (fake *FakePipelineDB) GetPipelineIDReturnsOnCall(i int, result1 int)

func (*FakePipelineDB) GetPipelineName

func (fake *FakePipelineDB) GetPipelineName() string

func (*FakePipelineDB) GetPipelineNameCallCount

func (fake *FakePipelineDB) GetPipelineNameCallCount() int

func (*FakePipelineDB) GetPipelineNameReturns

func (fake *FakePipelineDB) GetPipelineNameReturns(result1 string)

func (*FakePipelineDB) GetPipelineNameReturnsOnCall

func (fake *FakePipelineDB) GetPipelineNameReturnsOnCall(i int, result1 string)

func (*FakePipelineDB) GetResource

func (fake *FakePipelineDB) GetResource(resourceName string) (db.SavedResource, bool, error)

func (*FakePipelineDB) GetResourceArgsForCall

func (fake *FakePipelineDB) GetResourceArgsForCall(i int) string

func (*FakePipelineDB) GetResourceCallCount

func (fake *FakePipelineDB) GetResourceCallCount() int

func (*FakePipelineDB) GetResourceReturns

func (fake *FakePipelineDB) GetResourceReturns(result1 db.SavedResource, result2 bool, result3 error)

func (*FakePipelineDB) GetResourceReturnsOnCall

func (fake *FakePipelineDB) GetResourceReturnsOnCall(i int, result1 db.SavedResource, result2 bool, result3 error)

func (*FakePipelineDB) GetResourceType

func (fake *FakePipelineDB) GetResourceType(resourceTypeName string) (db.SavedResourceType, bool, error)

func (*FakePipelineDB) GetResourceTypeArgsForCall

func (fake *FakePipelineDB) GetResourceTypeArgsForCall(i int) string

func (*FakePipelineDB) GetResourceTypeCallCount

func (fake *FakePipelineDB) GetResourceTypeCallCount() int

func (*FakePipelineDB) GetResourceTypeReturns

func (fake *FakePipelineDB) GetResourceTypeReturns(result1 db.SavedResourceType, result2 bool, result3 error)

func (*FakePipelineDB) GetResourceTypeReturnsOnCall

func (fake *FakePipelineDB) GetResourceTypeReturnsOnCall(i int, result1 db.SavedResourceType, result2 bool, result3 error)

func (*FakePipelineDB) GetResourceVersions

func (fake *FakePipelineDB) GetResourceVersions(resourceName string, page db.Page) ([]db.SavedVersionedResource, db.Pagination, bool, error)

func (*FakePipelineDB) GetResourceVersionsArgsForCall

func (fake *FakePipelineDB) GetResourceVersionsArgsForCall(i int) (string, db.Page)

func (*FakePipelineDB) GetResourceVersionsCallCount

func (fake *FakePipelineDB) GetResourceVersionsCallCount() int

func (*FakePipelineDB) GetResourceVersionsReturns

func (fake *FakePipelineDB) GetResourceVersionsReturns(result1 []db.SavedVersionedResource, result2 db.Pagination, result3 bool, result4 error)

func (*FakePipelineDB) GetResourceVersionsReturnsOnCall

func (fake *FakePipelineDB) GetResourceVersionsReturnsOnCall(i int, result1 []db.SavedVersionedResource, result2 db.Pagination, result3 bool, result4 error)

func (*FakePipelineDB) GetResources

func (fake *FakePipelineDB) GetResources() ([]db.SavedResource, bool, error)

func (*FakePipelineDB) GetResourcesCallCount

func (fake *FakePipelineDB) GetResourcesCallCount() int

func (*FakePipelineDB) GetResourcesReturns

func (fake *FakePipelineDB) GetResourcesReturns(result1 []db.SavedResource, result2 bool, result3 error)

func (*FakePipelineDB) GetResourcesReturnsOnCall

func (fake *FakePipelineDB) GetResourcesReturnsOnCall(i int, result1 []db.SavedResource, result2 bool, result3 error)

func (*FakePipelineDB) GetRunningBuildsBySerialGroup

func (fake *FakePipelineDB) GetRunningBuildsBySerialGroup(jobName string, serialGroups []string) ([]db.Build, error)

func (*FakePipelineDB) GetRunningBuildsBySerialGroupArgsForCall

func (fake *FakePipelineDB) GetRunningBuildsBySerialGroupArgsForCall(i int) (string, []string)

func (*FakePipelineDB) GetRunningBuildsBySerialGroupCallCount

func (fake *FakePipelineDB) GetRunningBuildsBySerialGroupCallCount() int

func (*FakePipelineDB) GetRunningBuildsBySerialGroupReturns

func (fake *FakePipelineDB) GetRunningBuildsBySerialGroupReturns(result1 []db.Build, result2 error)

func (*FakePipelineDB) GetRunningBuildsBySerialGroupReturnsOnCall

func (fake *FakePipelineDB) GetRunningBuildsBySerialGroupReturnsOnCall(i int, result1 []db.Build, result2 error)

func (*FakePipelineDB) GetVersionedResourceByVersion

func (fake *FakePipelineDB) GetVersionedResourceByVersion(atcVersion atc.Version, resourceName string) (db.SavedVersionedResource, bool, error)

func (*FakePipelineDB) GetVersionedResourceByVersionArgsForCall

func (fake *FakePipelineDB) GetVersionedResourceByVersionArgsForCall(i int) (atc.Version, string)

func (*FakePipelineDB) GetVersionedResourceByVersionCallCount

func (fake *FakePipelineDB) GetVersionedResourceByVersionCallCount() int

func (*FakePipelineDB) GetVersionedResourceByVersionReturns

func (fake *FakePipelineDB) GetVersionedResourceByVersionReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)

func (*FakePipelineDB) GetVersionedResourceByVersionReturnsOnCall

func (fake *FakePipelineDB) GetVersionedResourceByVersionReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)

func (*FakePipelineDB) Hide

func (fake *FakePipelineDB) Hide() error

func (*FakePipelineDB) HideCallCount

func (fake *FakePipelineDB) HideCallCount() int

func (*FakePipelineDB) HideReturns

func (fake *FakePipelineDB) HideReturns(result1 error)

func (*FakePipelineDB) HideReturnsOnCall

func (fake *FakePipelineDB) HideReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) Invocations

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

func (*FakePipelineDB) IsPaused

func (fake *FakePipelineDB) IsPaused() (bool, error)

func (*FakePipelineDB) IsPausedCallCount

func (fake *FakePipelineDB) IsPausedCallCount() int

func (*FakePipelineDB) IsPausedReturns

func (fake *FakePipelineDB) IsPausedReturns(result1 bool, result2 error)

func (*FakePipelineDB) IsPausedReturnsOnCall

func (fake *FakePipelineDB) IsPausedReturnsOnCall(i int, result1 bool, result2 error)

func (*FakePipelineDB) IsPublic

func (fake *FakePipelineDB) IsPublic() bool

func (*FakePipelineDB) IsPublicCallCount

func (fake *FakePipelineDB) IsPublicCallCount() int

func (*FakePipelineDB) IsPublicReturns

func (fake *FakePipelineDB) IsPublicReturns(result1 bool)

func (*FakePipelineDB) IsPublicReturnsOnCall

func (fake *FakePipelineDB) IsPublicReturnsOnCall(i int, result1 bool)

func (*FakePipelineDB) Pause

func (fake *FakePipelineDB) Pause() error

func (*FakePipelineDB) PauseCallCount

func (fake *FakePipelineDB) PauseCallCount() int

func (*FakePipelineDB) PauseJob

func (fake *FakePipelineDB) PauseJob(job string) error

func (*FakePipelineDB) PauseJobArgsForCall

func (fake *FakePipelineDB) PauseJobArgsForCall(i int) string

func (*FakePipelineDB) PauseJobCallCount

func (fake *FakePipelineDB) PauseJobCallCount() int

func (*FakePipelineDB) PauseJobReturns

func (fake *FakePipelineDB) PauseJobReturns(result1 error)

func (*FakePipelineDB) PauseJobReturnsOnCall

func (fake *FakePipelineDB) PauseJobReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) PauseResource

func (fake *FakePipelineDB) PauseResource(resourceName string) error

func (*FakePipelineDB) PauseResourceArgsForCall

func (fake *FakePipelineDB) PauseResourceArgsForCall(i int) string

func (*FakePipelineDB) PauseResourceCallCount

func (fake *FakePipelineDB) PauseResourceCallCount() int

func (*FakePipelineDB) PauseResourceReturns

func (fake *FakePipelineDB) PauseResourceReturns(result1 error)

func (*FakePipelineDB) PauseResourceReturnsOnCall

func (fake *FakePipelineDB) PauseResourceReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) PauseReturns

func (fake *FakePipelineDB) PauseReturns(result1 error)

func (*FakePipelineDB) PauseReturnsOnCall

func (fake *FakePipelineDB) PauseReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) Pipeline

func (fake *FakePipelineDB) Pipeline() db.SavedPipeline

func (*FakePipelineDB) PipelineCallCount

func (fake *FakePipelineDB) PipelineCallCount() int

func (*FakePipelineDB) PipelineReturns

func (fake *FakePipelineDB) PipelineReturns(result1 db.SavedPipeline)

func (*FakePipelineDB) PipelineReturnsOnCall

func (fake *FakePipelineDB) PipelineReturnsOnCall(i int, result1 db.SavedPipeline)

func (*FakePipelineDB) Reload

func (fake *FakePipelineDB) Reload() (bool, error)

func (*FakePipelineDB) ReloadCallCount

func (fake *FakePipelineDB) ReloadCallCount() int

func (*FakePipelineDB) ReloadReturns

func (fake *FakePipelineDB) ReloadReturns(result1 bool, result2 error)

func (*FakePipelineDB) ReloadReturnsOnCall

func (fake *FakePipelineDB) ReloadReturnsOnCall(i int, result1 bool, result2 error)

func (*FakePipelineDB) SaveIndependentInputMapping

func (fake *FakePipelineDB) SaveIndependentInputMapping(inputMapping algorithm.InputMapping, jobName string) error

func (*FakePipelineDB) SaveIndependentInputMappingArgsForCall

func (fake *FakePipelineDB) SaveIndependentInputMappingArgsForCall(i int) (algorithm.InputMapping, string)

func (*FakePipelineDB) SaveIndependentInputMappingCallCount

func (fake *FakePipelineDB) SaveIndependentInputMappingCallCount() int

func (*FakePipelineDB) SaveIndependentInputMappingReturns

func (fake *FakePipelineDB) SaveIndependentInputMappingReturns(result1 error)

func (*FakePipelineDB) SaveIndependentInputMappingReturnsOnCall

func (fake *FakePipelineDB) SaveIndependentInputMappingReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) SaveInput

func (fake *FakePipelineDB) SaveInput(buildID int, input db.BuildInput) (db.SavedVersionedResource, error)

func (*FakePipelineDB) SaveInputArgsForCall

func (fake *FakePipelineDB) SaveInputArgsForCall(i int) (int, db.BuildInput)

func (*FakePipelineDB) SaveInputCallCount

func (fake *FakePipelineDB) SaveInputCallCount() int

func (*FakePipelineDB) SaveInputReturns

func (fake *FakePipelineDB) SaveInputReturns(result1 db.SavedVersionedResource, result2 error)

func (*FakePipelineDB) SaveInputReturnsOnCall

func (fake *FakePipelineDB) SaveInputReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 error)

func (*FakePipelineDB) SaveNextInputMapping

func (fake *FakePipelineDB) SaveNextInputMapping(inputMapping algorithm.InputMapping, jobName string) error

func (*FakePipelineDB) SaveNextInputMappingArgsForCall

func (fake *FakePipelineDB) SaveNextInputMappingArgsForCall(i int) (algorithm.InputMapping, string)

func (*FakePipelineDB) SaveNextInputMappingCallCount

func (fake *FakePipelineDB) SaveNextInputMappingCallCount() int

func (*FakePipelineDB) SaveNextInputMappingReturns

func (fake *FakePipelineDB) SaveNextInputMappingReturns(result1 error)

func (*FakePipelineDB) SaveNextInputMappingReturnsOnCall

func (fake *FakePipelineDB) SaveNextInputMappingReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) SaveOutput

func (fake *FakePipelineDB) SaveOutput(buildID int, vr db.VersionedResource, explicit bool) (db.SavedVersionedResource, error)

func (*FakePipelineDB) SaveOutputArgsForCall

func (fake *FakePipelineDB) SaveOutputArgsForCall(i int) (int, db.VersionedResource, bool)

func (*FakePipelineDB) SaveOutputCallCount

func (fake *FakePipelineDB) SaveOutputCallCount() int

func (*FakePipelineDB) SaveOutputReturns

func (fake *FakePipelineDB) SaveOutputReturns(result1 db.SavedVersionedResource, result2 error)

func (*FakePipelineDB) SaveOutputReturnsOnCall

func (fake *FakePipelineDB) SaveOutputReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 error)

func (*FakePipelineDB) SaveResourceTypeVersion

func (fake *FakePipelineDB) SaveResourceTypeVersion(arg1 atc.ResourceType, arg2 atc.Version) error

func (*FakePipelineDB) SaveResourceTypeVersionArgsForCall

func (fake *FakePipelineDB) SaveResourceTypeVersionArgsForCall(i int) (atc.ResourceType, atc.Version)

func (*FakePipelineDB) SaveResourceTypeVersionCallCount

func (fake *FakePipelineDB) SaveResourceTypeVersionCallCount() int

func (*FakePipelineDB) SaveResourceTypeVersionReturns

func (fake *FakePipelineDB) SaveResourceTypeVersionReturns(result1 error)

func (*FakePipelineDB) SaveResourceTypeVersionReturnsOnCall

func (fake *FakePipelineDB) SaveResourceTypeVersionReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) SaveResourceVersions

func (fake *FakePipelineDB) SaveResourceVersions(arg1 atc.ResourceConfig, arg2 []atc.Version) error

func (*FakePipelineDB) SaveResourceVersionsArgsForCall

func (fake *FakePipelineDB) SaveResourceVersionsArgsForCall(i int) (atc.ResourceConfig, []atc.Version)

func (*FakePipelineDB) SaveResourceVersionsCallCount

func (fake *FakePipelineDB) SaveResourceVersionsCallCount() int

func (*FakePipelineDB) SaveResourceVersionsReturns

func (fake *FakePipelineDB) SaveResourceVersionsReturns(result1 error)

func (*FakePipelineDB) SaveResourceVersionsReturnsOnCall

func (fake *FakePipelineDB) SaveResourceVersionsReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) ScopedName

func (fake *FakePipelineDB) ScopedName(arg1 string) string

func (*FakePipelineDB) ScopedNameArgsForCall

func (fake *FakePipelineDB) ScopedNameArgsForCall(i int) string

func (*FakePipelineDB) ScopedNameCallCount

func (fake *FakePipelineDB) ScopedNameCallCount() int

func (*FakePipelineDB) ScopedNameReturns

func (fake *FakePipelineDB) ScopedNameReturns(result1 string)

func (*FakePipelineDB) ScopedNameReturnsOnCall

func (fake *FakePipelineDB) ScopedNameReturnsOnCall(i int, result1 string)

func (*FakePipelineDB) SetMaxInFlightReached

func (fake *FakePipelineDB) SetMaxInFlightReached(arg1 string, arg2 bool) error

func (*FakePipelineDB) SetMaxInFlightReachedArgsForCall

func (fake *FakePipelineDB) SetMaxInFlightReachedArgsForCall(i int) (string, bool)

func (*FakePipelineDB) SetMaxInFlightReachedCallCount

func (fake *FakePipelineDB) SetMaxInFlightReachedCallCount() int

func (*FakePipelineDB) SetMaxInFlightReachedReturns

func (fake *FakePipelineDB) SetMaxInFlightReachedReturns(result1 error)

func (*FakePipelineDB) SetMaxInFlightReachedReturnsOnCall

func (fake *FakePipelineDB) SetMaxInFlightReachedReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) SetResourceCheckError

func (fake *FakePipelineDB) SetResourceCheckError(resource db.SavedResource, err error) error

func (*FakePipelineDB) SetResourceCheckErrorArgsForCall

func (fake *FakePipelineDB) SetResourceCheckErrorArgsForCall(i int) (db.SavedResource, error)

func (*FakePipelineDB) SetResourceCheckErrorCallCount

func (fake *FakePipelineDB) SetResourceCheckErrorCallCount() int

func (*FakePipelineDB) SetResourceCheckErrorReturns

func (fake *FakePipelineDB) SetResourceCheckErrorReturns(result1 error)

func (*FakePipelineDB) SetResourceCheckErrorReturnsOnCall

func (fake *FakePipelineDB) SetResourceCheckErrorReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) TeamID

func (fake *FakePipelineDB) TeamID() int

func (*FakePipelineDB) TeamIDCallCount

func (fake *FakePipelineDB) TeamIDCallCount() int

func (*FakePipelineDB) TeamIDReturns

func (fake *FakePipelineDB) TeamIDReturns(result1 int)

func (*FakePipelineDB) TeamIDReturnsOnCall

func (fake *FakePipelineDB) TeamIDReturnsOnCall(i int, result1 int)

func (*FakePipelineDB) Unpause

func (fake *FakePipelineDB) Unpause() error

func (*FakePipelineDB) UnpauseCallCount

func (fake *FakePipelineDB) UnpauseCallCount() int

func (*FakePipelineDB) UnpauseJob

func (fake *FakePipelineDB) UnpauseJob(job string) error

func (*FakePipelineDB) UnpauseJobArgsForCall

func (fake *FakePipelineDB) UnpauseJobArgsForCall(i int) string

func (*FakePipelineDB) UnpauseJobCallCount

func (fake *FakePipelineDB) UnpauseJobCallCount() int

func (*FakePipelineDB) UnpauseJobReturns

func (fake *FakePipelineDB) UnpauseJobReturns(result1 error)

func (*FakePipelineDB) UnpauseJobReturnsOnCall

func (fake *FakePipelineDB) UnpauseJobReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) UnpauseResource

func (fake *FakePipelineDB) UnpauseResource(resourceName string) error

func (*FakePipelineDB) UnpauseResourceArgsForCall

func (fake *FakePipelineDB) UnpauseResourceArgsForCall(i int) string

func (*FakePipelineDB) UnpauseResourceCallCount

func (fake *FakePipelineDB) UnpauseResourceCallCount() int

func (*FakePipelineDB) UnpauseResourceReturns

func (fake *FakePipelineDB) UnpauseResourceReturns(result1 error)

func (*FakePipelineDB) UnpauseResourceReturnsOnCall

func (fake *FakePipelineDB) UnpauseResourceReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) UnpauseReturns

func (fake *FakePipelineDB) UnpauseReturns(result1 error)

func (*FakePipelineDB) UnpauseReturnsOnCall

func (fake *FakePipelineDB) UnpauseReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) UpdateBuildToScheduled

func (fake *FakePipelineDB) UpdateBuildToScheduled(buildID int) (bool, error)

func (*FakePipelineDB) UpdateBuildToScheduledArgsForCall

func (fake *FakePipelineDB) UpdateBuildToScheduledArgsForCall(i int) int

func (*FakePipelineDB) UpdateBuildToScheduledCallCount

func (fake *FakePipelineDB) UpdateBuildToScheduledCallCount() int

func (*FakePipelineDB) UpdateBuildToScheduledReturns

func (fake *FakePipelineDB) UpdateBuildToScheduledReturns(result1 bool, result2 error)

func (*FakePipelineDB) UpdateBuildToScheduledReturnsOnCall

func (fake *FakePipelineDB) UpdateBuildToScheduledReturnsOnCall(i int, result1 bool, result2 error)

func (*FakePipelineDB) UpdateFirstLoggedBuildID

func (fake *FakePipelineDB) UpdateFirstLoggedBuildID(job string, newFirstLoggedBuildID int) error

func (*FakePipelineDB) UpdateFirstLoggedBuildIDArgsForCall

func (fake *FakePipelineDB) UpdateFirstLoggedBuildIDArgsForCall(i int) (string, int)

func (*FakePipelineDB) UpdateFirstLoggedBuildIDCallCount

func (fake *FakePipelineDB) UpdateFirstLoggedBuildIDCallCount() int

func (*FakePipelineDB) UpdateFirstLoggedBuildIDReturns

func (fake *FakePipelineDB) UpdateFirstLoggedBuildIDReturns(result1 error)

func (*FakePipelineDB) UpdateFirstLoggedBuildIDReturnsOnCall

func (fake *FakePipelineDB) UpdateFirstLoggedBuildIDReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) UpdateName

func (fake *FakePipelineDB) UpdateName(arg1 string) error

func (*FakePipelineDB) UpdateNameArgsForCall

func (fake *FakePipelineDB) UpdateNameArgsForCall(i int) string

func (*FakePipelineDB) UpdateNameCallCount

func (fake *FakePipelineDB) UpdateNameCallCount() int

func (*FakePipelineDB) UpdateNameReturns

func (fake *FakePipelineDB) UpdateNameReturns(result1 error)

func (*FakePipelineDB) UpdateNameReturnsOnCall

func (fake *FakePipelineDB) UpdateNameReturnsOnCall(i int, result1 error)

func (*FakePipelineDB) UseInputsForBuild

func (fake *FakePipelineDB) UseInputsForBuild(buildID int, inputs []db.BuildInput) error

func (*FakePipelineDB) UseInputsForBuildArgsForCall

func (fake *FakePipelineDB) UseInputsForBuildArgsForCall(i int) (int, []db.BuildInput)

func (*FakePipelineDB) UseInputsForBuildCallCount

func (fake *FakePipelineDB) UseInputsForBuildCallCount() int

func (*FakePipelineDB) UseInputsForBuildReturns

func (fake *FakePipelineDB) UseInputsForBuildReturns(result1 error)

func (*FakePipelineDB) UseInputsForBuildReturnsOnCall

func (fake *FakePipelineDB) UseInputsForBuildReturnsOnCall(i int, result1 error)

type FakePipelineDBFactory

type FakePipelineDBFactory struct {
	BuildStub func(pipeline db.SavedPipeline) db.PipelineDB
	// contains filtered or unexported fields
}

func (*FakePipelineDBFactory) Build

func (fake *FakePipelineDBFactory) Build(pipeline db.SavedPipeline) db.PipelineDB

func (*FakePipelineDBFactory) BuildArgsForCall

func (fake *FakePipelineDBFactory) BuildArgsForCall(i int) db.SavedPipeline

func (*FakePipelineDBFactory) BuildCallCount

func (fake *FakePipelineDBFactory) BuildCallCount() int

func (*FakePipelineDBFactory) BuildReturns

func (fake *FakePipelineDBFactory) BuildReturns(result1 db.PipelineDB)

func (*FakePipelineDBFactory) BuildReturnsOnCall

func (fake *FakePipelineDBFactory) BuildReturnsOnCall(i int, result1 db.PipelineDB)

func (*FakePipelineDBFactory) Invocations

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

type FakeTeamDB

type FakeTeamDB struct {
	GetPipelineByNameStub func(pipelineName string) (db.SavedPipeline, bool, error)

	GetTeamStub func() (db.SavedTeam, bool, error)

	GetConfigStub func(pipelineName string) (atc.Config, atc.RawConfig, db.ConfigVersion, error)

	SaveConfigToBeDeprecatedStub func(string, atc.Config, db.ConfigVersion, db.PipelinePausedState) (db.SavedPipeline, bool, error)

	CreateOneOffBuildStub func() (db.Build, error)
	// contains filtered or unexported fields
}

func (*FakeTeamDB) CreateOneOffBuild

func (fake *FakeTeamDB) CreateOneOffBuild() (db.Build, error)

func (*FakeTeamDB) CreateOneOffBuildCallCount

func (fake *FakeTeamDB) CreateOneOffBuildCallCount() int

func (*FakeTeamDB) CreateOneOffBuildReturns

func (fake *FakeTeamDB) CreateOneOffBuildReturns(result1 db.Build, result2 error)

func (*FakeTeamDB) CreateOneOffBuildReturnsOnCall

func (fake *FakeTeamDB) CreateOneOffBuildReturnsOnCall(i int, result1 db.Build, result2 error)

func (*FakeTeamDB) GetConfig

func (fake *FakeTeamDB) GetConfig(pipelineName string) (atc.Config, atc.RawConfig, db.ConfigVersion, error)

func (*FakeTeamDB) GetConfigArgsForCall

func (fake *FakeTeamDB) GetConfigArgsForCall(i int) string

func (*FakeTeamDB) GetConfigCallCount

func (fake *FakeTeamDB) GetConfigCallCount() int

func (*FakeTeamDB) GetConfigReturns

func (fake *FakeTeamDB) GetConfigReturns(result1 atc.Config, result2 atc.RawConfig, result3 db.ConfigVersion, result4 error)

func (*FakeTeamDB) GetConfigReturnsOnCall

func (fake *FakeTeamDB) GetConfigReturnsOnCall(i int, result1 atc.Config, result2 atc.RawConfig, result3 db.ConfigVersion, result4 error)

func (*FakeTeamDB) GetPipelineByName

func (fake *FakeTeamDB) GetPipelineByName(pipelineName string) (db.SavedPipeline, bool, error)

func (*FakeTeamDB) GetPipelineByNameArgsForCall

func (fake *FakeTeamDB) GetPipelineByNameArgsForCall(i int) string

func (*FakeTeamDB) GetPipelineByNameCallCount

func (fake *FakeTeamDB) GetPipelineByNameCallCount() int

func (*FakeTeamDB) GetPipelineByNameReturns

func (fake *FakeTeamDB) GetPipelineByNameReturns(result1 db.SavedPipeline, result2 bool, result3 error)

func (*FakeTeamDB) GetPipelineByNameReturnsOnCall

func (fake *FakeTeamDB) GetPipelineByNameReturnsOnCall(i int, result1 db.SavedPipeline, result2 bool, result3 error)

func (*FakeTeamDB) GetTeam

func (fake *FakeTeamDB) GetTeam() (db.SavedTeam, bool, error)

func (*FakeTeamDB) GetTeamCallCount

func (fake *FakeTeamDB) GetTeamCallCount() int

func (*FakeTeamDB) GetTeamReturns

func (fake *FakeTeamDB) GetTeamReturns(result1 db.SavedTeam, result2 bool, result3 error)

func (*FakeTeamDB) GetTeamReturnsOnCall

func (fake *FakeTeamDB) GetTeamReturnsOnCall(i int, result1 db.SavedTeam, result2 bool, result3 error)

func (*FakeTeamDB) Invocations

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

func (*FakeTeamDB) SaveConfigToBeDeprecated

func (fake *FakeTeamDB) SaveConfigToBeDeprecated(arg1 string, arg2 atc.Config, arg3 db.ConfigVersion, arg4 db.PipelinePausedState) (db.SavedPipeline, bool, error)

func (*FakeTeamDB) SaveConfigToBeDeprecatedArgsForCall

func (fake *FakeTeamDB) SaveConfigToBeDeprecatedArgsForCall(i int) (string, atc.Config, db.ConfigVersion, db.PipelinePausedState)

func (*FakeTeamDB) SaveConfigToBeDeprecatedCallCount

func (fake *FakeTeamDB) SaveConfigToBeDeprecatedCallCount() int

func (*FakeTeamDB) SaveConfigToBeDeprecatedReturns

func (fake *FakeTeamDB) SaveConfigToBeDeprecatedReturns(result1 db.SavedPipeline, result2 bool, result3 error)

func (*FakeTeamDB) SaveConfigToBeDeprecatedReturnsOnCall

func (fake *FakeTeamDB) SaveConfigToBeDeprecatedReturnsOnCall(i int, result1 db.SavedPipeline, result2 bool, result3 error)

type FakeTeamDBFactory

type FakeTeamDBFactory struct {
	GetTeamDBStub func(string) db.TeamDB
	// contains filtered or unexported fields
}

func (*FakeTeamDBFactory) GetTeamDB

func (fake *FakeTeamDBFactory) GetTeamDB(arg1 string) db.TeamDB

func (*FakeTeamDBFactory) GetTeamDBArgsForCall

func (fake *FakeTeamDBFactory) GetTeamDBArgsForCall(i int) string

func (*FakeTeamDBFactory) GetTeamDBCallCount

func (fake *FakeTeamDBFactory) GetTeamDBCallCount() int

func (*FakeTeamDBFactory) GetTeamDBReturns

func (fake *FakeTeamDBFactory) GetTeamDBReturns(result1 db.TeamDB)

func (*FakeTeamDBFactory) GetTeamDBReturnsOnCall

func (fake *FakeTeamDBFactory) GetTeamDBReturnsOnCall(i int, result1 db.TeamDB)

func (*FakeTeamDBFactory) Invocations

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

type FakeTx

type FakeTx struct {
	CommitStub func() error

	ExecStub func(query string, args ...interface{}) (sql.Result, error)

	PrepareStub func(query string) (*sql.Stmt, error)

	QueryStub func(query string, args ...interface{}) (*sql.Rows, error)

	QueryRowStub func(query string, args ...interface{}) *sql.Row

	RollbackStub func() error

	StmtStub func(stmt *sql.Stmt) *sql.Stmt
	// contains filtered or unexported fields
}

func (*FakeTx) Commit

func (fake *FakeTx) Commit() error

func (*FakeTx) CommitCallCount

func (fake *FakeTx) CommitCallCount() int

func (*FakeTx) CommitReturns

func (fake *FakeTx) CommitReturns(result1 error)

func (*FakeTx) CommitReturnsOnCall

func (fake *FakeTx) CommitReturnsOnCall(i int, result1 error)

func (*FakeTx) Exec

func (fake *FakeTx) Exec(query string, args ...interface{}) (sql.Result, error)

func (*FakeTx) ExecArgsForCall

func (fake *FakeTx) ExecArgsForCall(i int) (string, []interface{})

func (*FakeTx) ExecCallCount

func (fake *FakeTx) ExecCallCount() int

func (*FakeTx) ExecReturns

func (fake *FakeTx) ExecReturns(result1 sql.Result, result2 error)

func (*FakeTx) ExecReturnsOnCall

func (fake *FakeTx) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)

func (*FakeTx) Invocations

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

func (*FakeTx) Prepare

func (fake *FakeTx) Prepare(query string) (*sql.Stmt, error)

func (*FakeTx) PrepareArgsForCall

func (fake *FakeTx) PrepareArgsForCall(i int) string

func (*FakeTx) PrepareCallCount

func (fake *FakeTx) PrepareCallCount() int

func (*FakeTx) PrepareReturns

func (fake *FakeTx) PrepareReturns(result1 *sql.Stmt, result2 error)

func (*FakeTx) PrepareReturnsOnCall

func (fake *FakeTx) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)

func (*FakeTx) Query

func (fake *FakeTx) Query(query string, args ...interface{}) (*sql.Rows, error)

func (*FakeTx) QueryArgsForCall

func (fake *FakeTx) QueryArgsForCall(i int) (string, []interface{})

func (*FakeTx) QueryCallCount

func (fake *FakeTx) QueryCallCount() int

func (*FakeTx) QueryReturns

func (fake *FakeTx) QueryReturns(result1 *sql.Rows, result2 error)

func (*FakeTx) QueryReturnsOnCall

func (fake *FakeTx) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)

func (*FakeTx) QueryRow

func (fake *FakeTx) QueryRow(query string, args ...interface{}) *sql.Row

func (*FakeTx) QueryRowArgsForCall

func (fake *FakeTx) QueryRowArgsForCall(i int) (string, []interface{})

func (*FakeTx) QueryRowCallCount

func (fake *FakeTx) QueryRowCallCount() int

func (*FakeTx) QueryRowReturns

func (fake *FakeTx) QueryRowReturns(result1 *sql.Row)

func (*FakeTx) QueryRowReturnsOnCall

func (fake *FakeTx) QueryRowReturnsOnCall(i int, result1 *sql.Row)

func (*FakeTx) Rollback

func (fake *FakeTx) Rollback() error

func (*FakeTx) RollbackCallCount

func (fake *FakeTx) RollbackCallCount() int

func (*FakeTx) RollbackReturns

func (fake *FakeTx) RollbackReturns(result1 error)

func (*FakeTx) RollbackReturnsOnCall

func (fake *FakeTx) RollbackReturnsOnCall(i int, result1 error)

func (*FakeTx) Stmt

func (fake *FakeTx) Stmt(stmt *sql.Stmt) *sql.Stmt

func (*FakeTx) StmtArgsForCall

func (fake *FakeTx) StmtArgsForCall(i int) *sql.Stmt

func (*FakeTx) StmtCallCount

func (fake *FakeTx) StmtCallCount() int

func (*FakeTx) StmtReturns

func (fake *FakeTx) StmtReturns(result1 *sql.Stmt)

func (*FakeTx) StmtReturnsOnCall

func (fake *FakeTx) StmtReturnsOnCall(i int, result1 *sql.Stmt)

Jump to

Keyboard shortcuts

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