dbfakes

package
v0.0.0-...-8b5a1e4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2016 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

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

	JobNameStub func() string

	PipelineNameStub func() string

	TeamNameStub func() string

	TeamIDStub func() int

	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

	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) (db.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) AbortReturns

func (fake *FakeBuild) AbortReturns(result1 error)

func (*FakeBuild) AcquireTrackingLock

func (fake *FakeBuild) AcquireTrackingLock(logger lager.Logger, interval time.Duration) (db.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 db.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) 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) EngineReturns

func (fake *FakeBuild) EngineReturns(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) 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) 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) 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) 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) 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) 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) 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) 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) Invocations

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

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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) TeamName

func (fake *FakeBuild) TeamName() string

func (*FakeBuild) TeamNameCallCount

func (fake *FakeBuild) TeamNameCallCount() int

func (*FakeBuild) TeamNameReturns

func (fake *FakeBuild) TeamNameReturns(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) 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) 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) 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) 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) 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) 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) 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) 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 FakeConnector

type FakeConnector struct {
	ConnectStub func() (db.DelegateConn, error)
	// contains filtered or unexported fields
}

func (*FakeConnector) Connect

func (fake *FakeConnector) Connect() (db.DelegateConn, error)

func (*FakeConnector) ConnectCallCount

func (fake *FakeConnector) ConnectCallCount() int

func (*FakeConnector) ConnectReturns

func (fake *FakeConnector) ConnectReturns(result1 db.DelegateConn, result2 error)

func (*FakeConnector) Invocations

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

type FakeDelegateConn

type FakeDelegateConn struct {
	QueryStub func(sql string, args ...interface{}) (*pgx.Rows, error)

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

	ExecStub func(sql string, arguments ...interface{}) (commandTag pgx.CommandTag, err error)
	// contains filtered or unexported fields
}

func (*FakeDelegateConn) Exec

func (fake *FakeDelegateConn) Exec(sql string, arguments ...interface{}) (commandTag pgx.CommandTag, err error)

func (*FakeDelegateConn) ExecArgsForCall

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

func (*FakeDelegateConn) ExecCallCount

func (fake *FakeDelegateConn) ExecCallCount() int

func (*FakeDelegateConn) ExecReturns

func (fake *FakeDelegateConn) ExecReturns(result1 pgx.CommandTag, result2 error)

func (*FakeDelegateConn) Invocations

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

func (*FakeDelegateConn) Query

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

func (*FakeDelegateConn) QueryArgsForCall

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

func (*FakeDelegateConn) QueryCallCount

func (fake *FakeDelegateConn) QueryCallCount() int

func (*FakeDelegateConn) QueryReturns

func (fake *FakeDelegateConn) QueryReturns(result1 *pgx.Rows, result2 error)

func (*FakeDelegateConn) QueryRow

func (fake *FakeDelegateConn) QueryRow(sql string, args ...interface{}) *pgx.Row

func (*FakeDelegateConn) QueryRowArgsForCall

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

func (*FakeDelegateConn) QueryRowCallCount

func (fake *FakeDelegateConn) QueryRowCallCount() int

func (*FakeDelegateConn) QueryRowReturns

func (fake *FakeDelegateConn) QueryRowReturns(result1 *pgx.Row)

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

type FakeLease

type FakeLease struct {
	AttemptSignStub func() (bool, error)

	BreakStub func() error

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

func (*FakeLease) Acquire

func (fake *FakeLease) Acquire() (bool, error)

func (*FakeLease) AfterBreakArgsForCall

func (fake *FakeLease) AfterBreakArgsForCall(i int) func() error

func (*FakeLease) AfterBreakCallCount

func (fake *FakeLease) AfterBreakCallCount() int

func (*FakeLease) AfterRelease

func (fake *FakeLease) AfterRelease(arg1 func() error)

func (*FakeLease) AttemptSignCallCount

func (fake *FakeLease) AttemptSignCallCount() int

func (*FakeLease) AttemptSignReturns

func (fake *FakeLease) AttemptSignReturns(result1 bool, result2 error)

func (*FakeLease) BreakCallCount

func (fake *FakeLease) BreakCallCount() int

func (*FakeLease) BreakReturns

func (fake *FakeLease) BreakReturns(result1 error)

func (*FakeLease) Invocations

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

func (*FakeLease) Release

func (fake *FakeLease) Release() error

type FakeLock

type FakeLock struct {
	AcquireStub func() (bool, error)

	ReleaseStub func() error

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

func (*FakeLock) Acquire

func (fake *FakeLock) Acquire() (bool, error)

func (*FakeLock) AcquireCallCount

func (fake *FakeLock) AcquireCallCount() int

func (*FakeLock) AcquireReturns

func (fake *FakeLock) AcquireReturns(result1 bool, result2 error)

func (*FakeLock) AfterRelease

func (fake *FakeLock) AfterRelease(arg1 func() error)

func (*FakeLock) AfterReleaseArgsForCall

func (fake *FakeLock) AfterReleaseArgsForCall(i int) func() error

func (*FakeLock) AfterReleaseCallCount

func (fake *FakeLock) AfterReleaseCallCount() int

func (*FakeLock) Invocations

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

func (*FakeLock) Release

func (fake *FakeLock) Release() error

func (*FakeLock) ReleaseCallCount

func (fake *FakeLock) ReleaseCallCount() int

func (*FakeLock) ReleaseReturns

func (fake *FakeLock) ReleaseReturns(result1 error)

type FakeLockDB

type FakeLockDB struct {
	AcquireStub func(id db.LockID) (bool, error)

	ReleaseStub func(id db.LockID) error
	// contains filtered or unexported fields
}

func (*FakeLockDB) Acquire

func (fake *FakeLockDB) Acquire(id db.LockID) (bool, error)

func (*FakeLockDB) AcquireArgsForCall

func (fake *FakeLockDB) AcquireArgsForCall(i int) db.LockID

func (*FakeLockDB) AcquireCallCount

func (fake *FakeLockDB) AcquireCallCount() int

func (*FakeLockDB) AcquireReturns

func (fake *FakeLockDB) AcquireReturns(result1 bool, result2 error)

func (*FakeLockDB) Invocations

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

func (*FakeLockDB) Release

func (fake *FakeLockDB) Release(id db.LockID) error

func (*FakeLockDB) ReleaseArgsForCall

func (fake *FakeLockDB) ReleaseArgsForCall(i int) db.LockID

func (*FakeLockDB) ReleaseCallCount

func (fake *FakeLockDB) ReleaseCallCount() int

func (*FakeLockDB) ReleaseReturns

func (fake *FakeLockDB) ReleaseReturns(result1 error)

type FakeLockFactory

type FakeLockFactory struct {
	NewLockStub func(logger lager.Logger, ids db.LockID) db.Lock
	// contains filtered or unexported fields
}

func (*FakeLockFactory) Invocations

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

func (*FakeLockFactory) NewLock

func (fake *FakeLockFactory) NewLock(logger lager.Logger, ids db.LockID) db.Lock

func (*FakeLockFactory) NewLockArgsForCall

func (fake *FakeLockFactory) NewLockArgsForCall(i int) (lager.Logger, db.LockID)

func (*FakeLockFactory) NewLockCallCount

func (fake *FakeLockFactory) NewLockCallCount() int

func (*FakeLockFactory) NewLockReturns

func (fake *FakeLockFactory) NewLockReturns(result1 db.Lock)

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) 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{})

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) (db.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

	AcquireResourceCheckingLockStub func(logger lager.Logger, resource db.SavedResource, length time.Duration, immediate bool) (db.Lock, bool, error)

	AcquireResourceTypeCheckingLockStub func(logger lager.Logger, resourceType db.SavedResourceType, length time.Duration, immediate bool) (db.Lock, bool, 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

	AcquireResourceCheckingForJobLockStub func(logger lager.Logger, jobName string) (db.Lock, bool, error)

	LoadVersionsDBStub func() (*algorithm.VersionsDB, 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) AcquireResourceCheckingForJobLock

func (fake *FakePipelineDB) AcquireResourceCheckingForJobLock(logger lager.Logger, jobName string) (db.Lock, bool, error)

func (*FakePipelineDB) AcquireResourceCheckingForJobLockArgsForCall

func (fake *FakePipelineDB) AcquireResourceCheckingForJobLockArgsForCall(i int) (lager.Logger, string)

func (*FakePipelineDB) AcquireResourceCheckingForJobLockCallCount

func (fake *FakePipelineDB) AcquireResourceCheckingForJobLockCallCount() int

func (*FakePipelineDB) AcquireResourceCheckingForJobLockReturns

func (fake *FakePipelineDB) AcquireResourceCheckingForJobLockReturns(result1 db.Lock, result2 bool, result3 error)

func (*FakePipelineDB) AcquireResourceCheckingLock

func (fake *FakePipelineDB) AcquireResourceCheckingLock(logger lager.Logger, resource db.SavedResource, length time.Duration, immediate bool) (db.Lock, bool, error)

func (*FakePipelineDB) AcquireResourceCheckingLockArgsForCall

func (fake *FakePipelineDB) AcquireResourceCheckingLockArgsForCall(i int) (lager.Logger, db.SavedResource, time.Duration, bool)

func (*FakePipelineDB) AcquireResourceCheckingLockCallCount

func (fake *FakePipelineDB) AcquireResourceCheckingLockCallCount() int

func (*FakePipelineDB) AcquireResourceCheckingLockReturns

func (fake *FakePipelineDB) AcquireResourceCheckingLockReturns(result1 db.Lock, result2 bool, result3 error)

func (*FakePipelineDB) AcquireResourceTypeCheckingLock

func (fake *FakePipelineDB) AcquireResourceTypeCheckingLock(logger lager.Logger, resourceType db.SavedResourceType, length time.Duration, immediate bool) (db.Lock, bool, error)

func (*FakePipelineDB) AcquireResourceTypeCheckingLockArgsForCall

func (fake *FakePipelineDB) AcquireResourceTypeCheckingLockArgsForCall(i int) (lager.Logger, db.SavedResourceType, time.Duration, bool)

func (*FakePipelineDB) AcquireResourceTypeCheckingLockCallCount

func (fake *FakePipelineDB) AcquireResourceTypeCheckingLockCallCount() int

func (*FakePipelineDB) AcquireResourceTypeCheckingLockReturns

func (fake *FakePipelineDB) AcquireResourceTypeCheckingLockReturns(result1 db.Lock, result2 bool, result3 error)

func (*FakePipelineDB) AcquireSchedulingLock

func (fake *FakePipelineDB) AcquireSchedulingLock(arg1 lager.Logger, arg2 time.Duration) (db.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 db.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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) GetJobReturns

func (fake *FakePipelineDB) GetJobReturns(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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) LoadVersionsDB

func (fake *FakePipelineDB) LoadVersionsDB() (*algorithm.VersionsDB, error)

func (*FakePipelineDB) LoadVersionsDBCallCount

func (fake *FakePipelineDB) LoadVersionsDBCallCount() int

func (*FakePipelineDB) LoadVersionsDBReturns

func (fake *FakePipelineDB) LoadVersionsDBReturns(result1 *algorithm.VersionsDB, result2 error)

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) 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) PauseReturns

func (fake *FakePipelineDB) PauseReturns(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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) UnpauseReturns

func (fake *FakePipelineDB) UnpauseReturns(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) 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) 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) 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)

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) Invocations

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

type FakePipelinesDB

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

func (*FakePipelinesDB) GetAllPublicPipelines

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

func (*FakePipelinesDB) GetAllPublicPipelinesCallCount

func (fake *FakePipelinesDB) GetAllPublicPipelinesCallCount() int

func (*FakePipelinesDB) GetAllPublicPipelinesReturns

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

func (*FakePipelinesDB) Invocations

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

type FakeTeamDB

type FakeTeamDB struct {
	GetPipelinesStub func() ([]db.SavedPipeline, error)

	GetPublicPipelinesStub func() ([]db.SavedPipeline, error)

	GetPrivateAndAllPublicPipelinesStub func() ([]db.SavedPipeline, error)

	GetPipelineByNameStub func(pipelineName string) (db.SavedPipeline, bool, error)

	OrderPipelinesStub func([]string) error

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

	UpdateBasicAuthStub func(basicAuth *db.BasicAuth) (db.SavedTeam, error)

	UpdateGitHubAuthStub func(gitHubAuth *db.GitHubAuth) (db.SavedTeam, error)

	UpdateUAAAuthStub func(uaaAuth *db.UAAAuth) (db.SavedTeam, error)

	UpdateGenericOAuthStub func(genericOAuth *db.GenericOAuth) (db.SavedTeam, error)

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

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

	CreateOneOffBuildStub func() (db.Build, error)

	GetPrivateAndPublicBuildsStub func(page db.Page) ([]db.Build, db.Pagination, error)

	WorkersStub func() ([]db.SavedWorker, error)

	GetContainerStub func(handle string) (db.SavedContainer, bool, error)

	FindContainersByDescriptorsStub func(id db.Container) ([]db.SavedContainer, error)

	GetVolumesStub func() ([]db.SavedVolume, 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) FindContainersByDescriptors

func (fake *FakeTeamDB) FindContainersByDescriptors(id db.Container) ([]db.SavedContainer, error)

func (*FakeTeamDB) FindContainersByDescriptorsArgsForCall

func (fake *FakeTeamDB) FindContainersByDescriptorsArgsForCall(i int) db.Container

func (*FakeTeamDB) FindContainersByDescriptorsCallCount

func (fake *FakeTeamDB) FindContainersByDescriptorsCallCount() int

func (*FakeTeamDB) FindContainersByDescriptorsReturns

func (fake *FakeTeamDB) FindContainersByDescriptorsReturns(result1 []db.SavedContainer, 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) GetContainer

func (fake *FakeTeamDB) GetContainer(handle string) (db.SavedContainer, bool, error)

func (*FakeTeamDB) GetContainerArgsForCall

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

func (*FakeTeamDB) GetContainerCallCount

func (fake *FakeTeamDB) GetContainerCallCount() int

func (*FakeTeamDB) GetContainerReturns

func (fake *FakeTeamDB) GetContainerReturns(result1 db.SavedContainer, result2 bool, result3 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) GetPipelines

func (fake *FakeTeamDB) GetPipelines() ([]db.SavedPipeline, error)

func (*FakeTeamDB) GetPipelinesCallCount

func (fake *FakeTeamDB) GetPipelinesCallCount() int

func (*FakeTeamDB) GetPipelinesReturns

func (fake *FakeTeamDB) GetPipelinesReturns(result1 []db.SavedPipeline, result2 error)

func (*FakeTeamDB) GetPrivateAndAllPublicPipelines

func (fake *FakeTeamDB) GetPrivateAndAllPublicPipelines() ([]db.SavedPipeline, error)

func (*FakeTeamDB) GetPrivateAndAllPublicPipelinesCallCount

func (fake *FakeTeamDB) GetPrivateAndAllPublicPipelinesCallCount() int

func (*FakeTeamDB) GetPrivateAndAllPublicPipelinesReturns

func (fake *FakeTeamDB) GetPrivateAndAllPublicPipelinesReturns(result1 []db.SavedPipeline, result2 error)

func (*FakeTeamDB) GetPrivateAndPublicBuilds

func (fake *FakeTeamDB) GetPrivateAndPublicBuilds(page db.Page) ([]db.Build, db.Pagination, error)

func (*FakeTeamDB) GetPrivateAndPublicBuildsArgsForCall

func (fake *FakeTeamDB) GetPrivateAndPublicBuildsArgsForCall(i int) db.Page

func (*FakeTeamDB) GetPrivateAndPublicBuildsCallCount

func (fake *FakeTeamDB) GetPrivateAndPublicBuildsCallCount() int

func (*FakeTeamDB) GetPrivateAndPublicBuildsReturns

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

func (*FakeTeamDB) GetPublicPipelines

func (fake *FakeTeamDB) GetPublicPipelines() ([]db.SavedPipeline, error)

func (*FakeTeamDB) GetPublicPipelinesCallCount

func (fake *FakeTeamDB) GetPublicPipelinesCallCount() int

func (*FakeTeamDB) GetPublicPipelinesReturns

func (fake *FakeTeamDB) GetPublicPipelinesReturns(result1 []db.SavedPipeline, result2 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) GetVolumes

func (fake *FakeTeamDB) GetVolumes() ([]db.SavedVolume, error)

func (*FakeTeamDB) GetVolumesCallCount

func (fake *FakeTeamDB) GetVolumesCallCount() int

func (*FakeTeamDB) GetVolumesReturns

func (fake *FakeTeamDB) GetVolumesReturns(result1 []db.SavedVolume, result2 error)

func (*FakeTeamDB) Invocations

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

func (*FakeTeamDB) OrderPipelines

func (fake *FakeTeamDB) OrderPipelines(arg1 []string) error

func (*FakeTeamDB) OrderPipelinesArgsForCall

func (fake *FakeTeamDB) OrderPipelinesArgsForCall(i int) []string

func (*FakeTeamDB) OrderPipelinesCallCount

func (fake *FakeTeamDB) OrderPipelinesCallCount() int

func (*FakeTeamDB) OrderPipelinesReturns

func (fake *FakeTeamDB) OrderPipelinesReturns(result1 error)

func (*FakeTeamDB) SaveConfig

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

func (*FakeTeamDB) SaveConfigArgsForCall

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

func (*FakeTeamDB) SaveConfigCallCount

func (fake *FakeTeamDB) SaveConfigCallCount() int

func (*FakeTeamDB) SaveConfigReturns

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

func (*FakeTeamDB) UpdateBasicAuth

func (fake *FakeTeamDB) UpdateBasicAuth(basicAuth *db.BasicAuth) (db.SavedTeam, error)

func (*FakeTeamDB) UpdateBasicAuthArgsForCall

func (fake *FakeTeamDB) UpdateBasicAuthArgsForCall(i int) *db.BasicAuth

func (*FakeTeamDB) UpdateBasicAuthCallCount

func (fake *FakeTeamDB) UpdateBasicAuthCallCount() int

func (*FakeTeamDB) UpdateBasicAuthReturns

func (fake *FakeTeamDB) UpdateBasicAuthReturns(result1 db.SavedTeam, result2 error)

func (*FakeTeamDB) UpdateGenericOAuth

func (fake *FakeTeamDB) UpdateGenericOAuth(genericOAuth *db.GenericOAuth) (db.SavedTeam, error)

func (*FakeTeamDB) UpdateGenericOAuthArgsForCall

func (fake *FakeTeamDB) UpdateGenericOAuthArgsForCall(i int) *db.GenericOAuth

func (*FakeTeamDB) UpdateGenericOAuthCallCount

func (fake *FakeTeamDB) UpdateGenericOAuthCallCount() int

func (*FakeTeamDB) UpdateGenericOAuthReturns

func (fake *FakeTeamDB) UpdateGenericOAuthReturns(result1 db.SavedTeam, result2 error)

func (*FakeTeamDB) UpdateGitHubAuth

func (fake *FakeTeamDB) UpdateGitHubAuth(gitHubAuth *db.GitHubAuth) (db.SavedTeam, error)

func (*FakeTeamDB) UpdateGitHubAuthArgsForCall

func (fake *FakeTeamDB) UpdateGitHubAuthArgsForCall(i int) *db.GitHubAuth

func (*FakeTeamDB) UpdateGitHubAuthCallCount

func (fake *FakeTeamDB) UpdateGitHubAuthCallCount() int

func (*FakeTeamDB) UpdateGitHubAuthReturns

func (fake *FakeTeamDB) UpdateGitHubAuthReturns(result1 db.SavedTeam, result2 error)

func (*FakeTeamDB) UpdateUAAAuth

func (fake *FakeTeamDB) UpdateUAAAuth(uaaAuth *db.UAAAuth) (db.SavedTeam, error)

func (*FakeTeamDB) UpdateUAAAuthArgsForCall

func (fake *FakeTeamDB) UpdateUAAAuthArgsForCall(i int) *db.UAAAuth

func (*FakeTeamDB) UpdateUAAAuthCallCount

func (fake *FakeTeamDB) UpdateUAAAuthCallCount() int

func (*FakeTeamDB) UpdateUAAAuthReturns

func (fake *FakeTeamDB) UpdateUAAAuthReturns(result1 db.SavedTeam, result2 error)

func (*FakeTeamDB) Workers

func (fake *FakeTeamDB) Workers() ([]db.SavedWorker, error)

func (*FakeTeamDB) WorkersCallCount

func (fake *FakeTeamDB) WorkersCallCount() int

func (*FakeTeamDB) WorkersReturns

func (fake *FakeTeamDB) WorkersReturns(result1 []db.SavedWorker, result2 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) 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) 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) 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) 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) 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) 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) 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)

Jump to

Keyboard shortcuts

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