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 ¶
- type FakeBuild
- func (fake *FakeBuild) Abort() error
- func (fake *FakeBuild) AbortCallCount() int
- func (fake *FakeBuild) AbortNotifier() (db.Notifier, error)
- func (fake *FakeBuild) AbortNotifierCallCount() int
- func (fake *FakeBuild) AbortNotifierReturns(result1 db.Notifier, result2 error)
- func (fake *FakeBuild) AbortNotifierReturnsOnCall(i int, result1 db.Notifier, result2 error)
- func (fake *FakeBuild) AbortReturns(result1 error)
- func (fake *FakeBuild) AbortReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) AcquireTrackingLock(logger lager.Logger, interval time.Duration) (lock.Lock, bool, error)
- func (fake *FakeBuild) AcquireTrackingLockArgsForCall(i int) (lager.Logger, time.Duration)
- func (fake *FakeBuild) AcquireTrackingLockCallCount() int
- func (fake *FakeBuild) AcquireTrackingLockReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeBuild) AcquireTrackingLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeBuild) EndTime() time.Time
- func (fake *FakeBuild) EndTimeCallCount() int
- func (fake *FakeBuild) EndTimeReturns(result1 time.Time)
- func (fake *FakeBuild) EndTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeBuild) Engine() string
- func (fake *FakeBuild) EngineCallCount() int
- func (fake *FakeBuild) EngineMetadata() string
- func (fake *FakeBuild) EngineMetadataCallCount() int
- func (fake *FakeBuild) EngineMetadataReturns(result1 string)
- func (fake *FakeBuild) EngineMetadataReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) EngineReturns(result1 string)
- func (fake *FakeBuild) EngineReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) Events(from uint) (db.EventSource, error)
- func (fake *FakeBuild) EventsArgsForCall(i int) uint
- func (fake *FakeBuild) EventsCallCount() int
- func (fake *FakeBuild) EventsReturns(result1 db.EventSource, result2 error)
- func (fake *FakeBuild) EventsReturnsOnCall(i int, result1 db.EventSource, result2 error)
- func (fake *FakeBuild) Finish(status db.Status) error
- func (fake *FakeBuild) FinishArgsForCall(i int) db.Status
- func (fake *FakeBuild) FinishCallCount() int
- func (fake *FakeBuild) FinishReturns(result1 error)
- func (fake *FakeBuild) FinishReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) GetConfig() (atc.Config, db.ConfigVersion, error)
- func (fake *FakeBuild) GetConfigCallCount() int
- func (fake *FakeBuild) GetConfigReturns(result1 atc.Config, result2 db.ConfigVersion, result3 error)
- func (fake *FakeBuild) GetConfigReturnsOnCall(i int, result1 atc.Config, result2 db.ConfigVersion, result3 error)
- func (fake *FakeBuild) GetImageResourceCacheIdentifiers() ([]db.ResourceCacheIdentifier, error)
- func (fake *FakeBuild) GetImageResourceCacheIdentifiersCallCount() int
- func (fake *FakeBuild) GetImageResourceCacheIdentifiersReturns(result1 []db.ResourceCacheIdentifier, result2 error)
- func (fake *FakeBuild) GetImageResourceCacheIdentifiersReturnsOnCall(i int, result1 []db.ResourceCacheIdentifier, result2 error)
- func (fake *FakeBuild) GetPipeline() (db.SavedPipeline, error)
- func (fake *FakeBuild) GetPipelineCallCount() int
- func (fake *FakeBuild) GetPipelineReturns(result1 db.SavedPipeline, result2 error)
- func (fake *FakeBuild) GetPipelineReturnsOnCall(i int, result1 db.SavedPipeline, result2 error)
- func (fake *FakeBuild) GetPreparation() (db.BuildPreparation, bool, error)
- func (fake *FakeBuild) GetPreparationCallCount() int
- func (fake *FakeBuild) GetPreparationReturns(result1 db.BuildPreparation, result2 bool, result3 error)
- func (fake *FakeBuild) GetPreparationReturnsOnCall(i int, result1 db.BuildPreparation, result2 bool, result3 error)
- func (fake *FakeBuild) GetResources() ([]db.BuildInput, []db.BuildOutput, error)
- func (fake *FakeBuild) GetResourcesCallCount() int
- func (fake *FakeBuild) GetResourcesReturns(result1 []db.BuildInput, result2 []db.BuildOutput, result3 error)
- func (fake *FakeBuild) GetResourcesReturnsOnCall(i int, result1 []db.BuildInput, result2 []db.BuildOutput, result3 error)
- func (fake *FakeBuild) GetVersionedResources() (db.SavedVersionedResources, error)
- func (fake *FakeBuild) GetVersionedResourcesCallCount() int
- func (fake *FakeBuild) GetVersionedResourcesReturns(result1 db.SavedVersionedResources, result2 error)
- func (fake *FakeBuild) GetVersionedResourcesReturnsOnCall(i int, result1 db.SavedVersionedResources, result2 error)
- func (fake *FakeBuild) ID() int
- func (fake *FakeBuild) IDCallCount() int
- func (fake *FakeBuild) IDReturns(result1 int)
- func (fake *FakeBuild) IDReturnsOnCall(i int, result1 int)
- func (fake *FakeBuild) Invocations() map[string][][]interface{}
- func (fake *FakeBuild) IsManuallyTriggered() bool
- func (fake *FakeBuild) IsManuallyTriggeredCallCount() int
- func (fake *FakeBuild) IsManuallyTriggeredReturns(result1 bool)
- func (fake *FakeBuild) IsManuallyTriggeredReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) IsOneOff() bool
- func (fake *FakeBuild) IsOneOffCallCount() int
- func (fake *FakeBuild) IsOneOffReturns(result1 bool)
- func (fake *FakeBuild) IsOneOffReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) IsRunning() bool
- func (fake *FakeBuild) IsRunningCallCount() int
- func (fake *FakeBuild) IsRunningReturns(result1 bool)
- func (fake *FakeBuild) IsRunningReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) IsScheduled() bool
- func (fake *FakeBuild) IsScheduledCallCount() int
- func (fake *FakeBuild) IsScheduledReturns(result1 bool)
- func (fake *FakeBuild) IsScheduledReturnsOnCall(i int, result1 bool)
- func (fake *FakeBuild) JobID() int
- func (fake *FakeBuild) JobIDCallCount() int
- func (fake *FakeBuild) JobIDReturns(result1 int)
- func (fake *FakeBuild) JobIDReturnsOnCall(i int, result1 int)
- func (fake *FakeBuild) JobName() string
- func (fake *FakeBuild) JobNameCallCount() int
- func (fake *FakeBuild) JobNameReturns(result1 string)
- func (fake *FakeBuild) JobNameReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) MarkAsFailed(cause error) error
- func (fake *FakeBuild) MarkAsFailedArgsForCall(i int) error
- func (fake *FakeBuild) MarkAsFailedCallCount() int
- func (fake *FakeBuild) MarkAsFailedReturns(result1 error)
- func (fake *FakeBuild) MarkAsFailedReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) Name() string
- func (fake *FakeBuild) NameCallCount() int
- func (fake *FakeBuild) NameReturns(result1 string)
- func (fake *FakeBuild) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) PipelineID() int
- func (fake *FakeBuild) PipelineIDCallCount() int
- func (fake *FakeBuild) PipelineIDReturns(result1 int)
- func (fake *FakeBuild) PipelineIDReturnsOnCall(i int, result1 int)
- func (fake *FakeBuild) PipelineName() string
- func (fake *FakeBuild) PipelineNameCallCount() int
- func (fake *FakeBuild) PipelineNameReturns(result1 string)
- func (fake *FakeBuild) PipelineNameReturnsOnCall(i int, result1 string)
- func (fake *FakeBuild) ReapTime() time.Time
- func (fake *FakeBuild) ReapTimeCallCount() int
- func (fake *FakeBuild) ReapTimeReturns(result1 time.Time)
- func (fake *FakeBuild) ReapTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeBuild) Reload() (bool, error)
- func (fake *FakeBuild) ReloadCallCount() int
- func (fake *FakeBuild) ReloadReturns(result1 bool, result2 error)
- func (fake *FakeBuild) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeBuild) SaveEngineMetadata(engineMetadata string) error
- func (fake *FakeBuild) SaveEngineMetadataArgsForCall(i int) string
- func (fake *FakeBuild) SaveEngineMetadataCallCount() int
- func (fake *FakeBuild) SaveEngineMetadataReturns(result1 error)
- func (fake *FakeBuild) SaveEngineMetadataReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SaveEvent(event atc.Event) error
- func (fake *FakeBuild) SaveEventArgsForCall(i int) atc.Event
- func (fake *FakeBuild) SaveEventCallCount() int
- func (fake *FakeBuild) SaveEventReturns(result1 error)
- func (fake *FakeBuild) SaveEventReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SaveImageResourceVersion(planID atc.PlanID, identifier db.ResourceCacheIdentifier) error
- func (fake *FakeBuild) SaveImageResourceVersionArgsForCall(i int) (atc.PlanID, db.ResourceCacheIdentifier)
- func (fake *FakeBuild) SaveImageResourceVersionCallCount() int
- func (fake *FakeBuild) SaveImageResourceVersionReturns(result1 error)
- func (fake *FakeBuild) SaveImageResourceVersionReturnsOnCall(i int, result1 error)
- func (fake *FakeBuild) SaveInput(input db.BuildInput) (db.SavedVersionedResource, error)
- func (fake *FakeBuild) SaveInputArgsForCall(i int) db.BuildInput
- func (fake *FakeBuild) SaveInputCallCount() int
- func (fake *FakeBuild) SaveInputReturns(result1 db.SavedVersionedResource, result2 error)
- func (fake *FakeBuild) SaveInputReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 error)
- func (fake *FakeBuild) SaveOutput(vr db.VersionedResource, explicit bool) (db.SavedVersionedResource, error)
- func (fake *FakeBuild) SaveOutputArgsForCall(i int) (db.VersionedResource, bool)
- func (fake *FakeBuild) SaveOutputCallCount() int
- func (fake *FakeBuild) SaveOutputReturns(result1 db.SavedVersionedResource, result2 error)
- func (fake *FakeBuild) SaveOutputReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 error)
- func (fake *FakeBuild) Start(arg1 string, arg2 string) (bool, error)
- func (fake *FakeBuild) StartArgsForCall(i int) (string, string)
- func (fake *FakeBuild) StartCallCount() int
- func (fake *FakeBuild) StartReturns(result1 bool, result2 error)
- func (fake *FakeBuild) StartReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeBuild) StartTime() time.Time
- func (fake *FakeBuild) StartTimeCallCount() int
- func (fake *FakeBuild) StartTimeReturns(result1 time.Time)
- func (fake *FakeBuild) StartTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeBuild) Status() db.Status
- func (fake *FakeBuild) StatusCallCount() int
- func (fake *FakeBuild) StatusReturns(result1 db.Status)
- func (fake *FakeBuild) StatusReturnsOnCall(i int, result1 db.Status)
- func (fake *FakeBuild) TeamID() int
- func (fake *FakeBuild) TeamIDCallCount() int
- func (fake *FakeBuild) TeamIDReturns(result1 int)
- func (fake *FakeBuild) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakeBuild) TeamName() string
- func (fake *FakeBuild) TeamNameCallCount() int
- func (fake *FakeBuild) TeamNameReturns(result1 string)
- func (fake *FakeBuild) TeamNameReturnsOnCall(i int, result1 string)
- type FakeConn
- func (fake *FakeConn) Begin() (db.Tx, error)
- func (fake *FakeConn) BeginCallCount() int
- func (fake *FakeConn) BeginReturns(result1 db.Tx, result2 error)
- func (fake *FakeConn) BeginReturnsOnCall(i int, result1 db.Tx, result2 error)
- func (fake *FakeConn) Close() error
- func (fake *FakeConn) CloseCallCount() int
- func (fake *FakeConn) CloseReturns(result1 error)
- func (fake *FakeConn) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeConn) Driver() driver.Driver
- func (fake *FakeConn) DriverCallCount() int
- func (fake *FakeConn) DriverReturns(result1 driver.Driver)
- func (fake *FakeConn) DriverReturnsOnCall(i int, result1 driver.Driver)
- func (fake *FakeConn) Exec(query string, args ...interface{}) (sql.Result, error)
- func (fake *FakeConn) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeConn) ExecCallCount() int
- func (fake *FakeConn) ExecReturns(result1 sql.Result, result2 error)
- func (fake *FakeConn) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeConn) Invocations() map[string][][]interface{}
- func (fake *FakeConn) Ping() error
- func (fake *FakeConn) PingCallCount() int
- func (fake *FakeConn) PingReturns(result1 error)
- func (fake *FakeConn) PingReturnsOnCall(i int, result1 error)
- func (fake *FakeConn) Prepare(query string) (*sql.Stmt, error)
- func (fake *FakeConn) PrepareArgsForCall(i int) string
- func (fake *FakeConn) PrepareCallCount() int
- func (fake *FakeConn) PrepareReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeConn) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeConn) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (fake *FakeConn) QueryArgsForCall(i int) (string, []interface{})
- func (fake *FakeConn) QueryCallCount() int
- func (fake *FakeConn) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeConn) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeConn) QueryRow(query string, args ...interface{}) *sql.Row
- func (fake *FakeConn) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *FakeConn) QueryRowCallCount() int
- func (fake *FakeConn) QueryRowReturns(result1 *sql.Row)
- func (fake *FakeConn) QueryRowReturnsOnCall(i int, result1 *sql.Row)
- func (fake *FakeConn) SetMaxIdleConns(n int)
- func (fake *FakeConn) SetMaxIdleConnsArgsForCall(i int) int
- func (fake *FakeConn) SetMaxIdleConnsCallCount() int
- func (fake *FakeConn) SetMaxOpenConns(n int)
- func (fake *FakeConn) SetMaxOpenConnsArgsForCall(i int) int
- func (fake *FakeConn) SetMaxOpenConnsCallCount() int
- type FakeEventSource
- func (fake *FakeEventSource) Close() error
- func (fake *FakeEventSource) CloseCallCount() int
- func (fake *FakeEventSource) CloseReturns(result1 error)
- func (fake *FakeEventSource) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeEventSource) Invocations() map[string][][]interface{}
- func (fake *FakeEventSource) Next() (event.Envelope, error)
- func (fake *FakeEventSource) NextCallCount() int
- func (fake *FakeEventSource) NextReturns(result1 event.Envelope, result2 error)
- func (fake *FakeEventSource) NextReturnsOnCall(i int, result1 event.Envelope, result2 error)
- type FakeNotifier
- func (fake *FakeNotifier) Close() error
- func (fake *FakeNotifier) CloseCallCount() int
- func (fake *FakeNotifier) CloseReturns(result1 error)
- func (fake *FakeNotifier) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeNotifier) Invocations() map[string][][]interface{}
- func (fake *FakeNotifier) Notify() <-chan struct{}
- func (fake *FakeNotifier) NotifyCallCount() int
- func (fake *FakeNotifier) NotifyReturns(result1 <-chan struct{})
- func (fake *FakeNotifier) NotifyReturnsOnCall(i int, result1 <-chan struct{})
- type FakePipelineDB
- func (fake *FakePipelineDB) AcquireSchedulingLock(arg1 lager.Logger, arg2 time.Duration) (lock.Lock, bool, error)
- func (fake *FakePipelineDB) AcquireSchedulingLockArgsForCall(i int) (lager.Logger, time.Duration)
- func (fake *FakePipelineDB) AcquireSchedulingLockCallCount() int
- func (fake *FakePipelineDB) AcquireSchedulingLockReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakePipelineDB) AcquireSchedulingLockReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakePipelineDB) Config() atc.Config
- func (fake *FakePipelineDB) ConfigCallCount() int
- func (fake *FakePipelineDB) ConfigReturns(result1 atc.Config)
- func (fake *FakePipelineDB) ConfigReturnsOnCall(i int, result1 atc.Config)
- func (fake *FakePipelineDB) ConfigVersion() db.ConfigVersion
- func (fake *FakePipelineDB) ConfigVersionCallCount() int
- func (fake *FakePipelineDB) ConfigVersionReturns(result1 db.ConfigVersion)
- func (fake *FakePipelineDB) ConfigVersionReturnsOnCall(i int, result1 db.ConfigVersion)
- func (fake *FakePipelineDB) CreateJobBuild(job string) (db.Build, error)
- func (fake *FakePipelineDB) CreateJobBuildArgsForCall(i int) string
- func (fake *FakePipelineDB) CreateJobBuildCallCount() int
- func (fake *FakePipelineDB) CreateJobBuildReturns(result1 db.Build, result2 error)
- func (fake *FakePipelineDB) CreateJobBuildReturnsOnCall(i int, result1 db.Build, result2 error)
- func (fake *FakePipelineDB) DeleteNextInputMapping(jobName string) error
- func (fake *FakePipelineDB) DeleteNextInputMappingArgsForCall(i int) string
- func (fake *FakePipelineDB) DeleteNextInputMappingCallCount() int
- func (fake *FakePipelineDB) DeleteNextInputMappingReturns(result1 error)
- func (fake *FakePipelineDB) DeleteNextInputMappingReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) Destroy() error
- func (fake *FakePipelineDB) DestroyCallCount() int
- func (fake *FakePipelineDB) DestroyReturns(result1 error)
- func (fake *FakePipelineDB) DestroyReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) DisableVersionedResource(versionedResourceID int) error
- func (fake *FakePipelineDB) DisableVersionedResourceArgsForCall(i int) int
- func (fake *FakePipelineDB) DisableVersionedResourceCallCount() int
- func (fake *FakePipelineDB) DisableVersionedResourceReturns(result1 error)
- func (fake *FakePipelineDB) DisableVersionedResourceReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) EnableVersionedResource(versionedResourceID int) error
- func (fake *FakePipelineDB) EnableVersionedResourceArgsForCall(i int) int
- func (fake *FakePipelineDB) EnableVersionedResourceCallCount() int
- func (fake *FakePipelineDB) EnableVersionedResourceReturns(result1 error)
- func (fake *FakePipelineDB) EnableVersionedResourceReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) EnsurePendingBuildExists(jobName string) error
- func (fake *FakePipelineDB) EnsurePendingBuildExistsArgsForCall(i int) string
- func (fake *FakePipelineDB) EnsurePendingBuildExistsCallCount() int
- func (fake *FakePipelineDB) EnsurePendingBuildExistsReturns(result1 error)
- func (fake *FakePipelineDB) EnsurePendingBuildExistsReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) Expose() error
- func (fake *FakePipelineDB) ExposeCallCount() int
- func (fake *FakePipelineDB) ExposeReturns(result1 error)
- func (fake *FakePipelineDB) ExposeReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) GetAllJobBuilds(job string) ([]db.Build, error)
- func (fake *FakePipelineDB) GetAllJobBuildsArgsForCall(i int) string
- func (fake *FakePipelineDB) GetAllJobBuildsCallCount() int
- func (fake *FakePipelineDB) GetAllJobBuildsReturns(result1 []db.Build, result2 error)
- func (fake *FakePipelineDB) GetAllJobBuildsReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakePipelineDB) GetAllPendingBuilds() (map[string][]db.Build, error)
- func (fake *FakePipelineDB) GetAllPendingBuildsCallCount() int
- func (fake *FakePipelineDB) GetAllPendingBuildsReturns(result1 map[string][]db.Build, result2 error)
- func (fake *FakePipelineDB) GetAllPendingBuildsReturnsOnCall(i int, result1 map[string][]db.Build, result2 error)
- func (fake *FakePipelineDB) GetBuildsWithVersionAsInput(versionedResourceID int) ([]db.Build, error)
- func (fake *FakePipelineDB) GetBuildsWithVersionAsInputArgsForCall(i int) int
- func (fake *FakePipelineDB) GetBuildsWithVersionAsInputCallCount() int
- func (fake *FakePipelineDB) GetBuildsWithVersionAsInputReturns(result1 []db.Build, result2 error)
- func (fake *FakePipelineDB) GetBuildsWithVersionAsInputReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakePipelineDB) GetBuildsWithVersionAsOutput(versionedResourceID int) ([]db.Build, error)
- func (fake *FakePipelineDB) GetBuildsWithVersionAsOutputArgsForCall(i int) int
- func (fake *FakePipelineDB) GetBuildsWithVersionAsOutputCallCount() int
- func (fake *FakePipelineDB) GetBuildsWithVersionAsOutputReturns(result1 []db.Build, result2 error)
- func (fake *FakePipelineDB) GetBuildsWithVersionAsOutputReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakePipelineDB) GetDashboard() (db.Dashboard, atc.GroupConfigs, error)
- func (fake *FakePipelineDB) GetDashboardCallCount() int
- func (fake *FakePipelineDB) GetDashboardReturns(result1 db.Dashboard, result2 atc.GroupConfigs, result3 error)
- func (fake *FakePipelineDB) GetDashboardReturnsOnCall(i int, result1 db.Dashboard, result2 atc.GroupConfigs, result3 error)
- func (fake *FakePipelineDB) GetIndependentBuildInputs(jobName string) ([]db.BuildInput, error)
- func (fake *FakePipelineDB) GetIndependentBuildInputsArgsForCall(i int) string
- func (fake *FakePipelineDB) GetIndependentBuildInputsCallCount() int
- func (fake *FakePipelineDB) GetIndependentBuildInputsReturns(result1 []db.BuildInput, result2 error)
- func (fake *FakePipelineDB) GetIndependentBuildInputsReturnsOnCall(i int, result1 []db.BuildInput, result2 error)
- func (fake *FakePipelineDB) GetJob(job string) (db.SavedJob, bool, error)
- func (fake *FakePipelineDB) GetJobArgsForCall(i int) string
- func (fake *FakePipelineDB) GetJobBuild(job string, build string) (db.Build, bool, error)
- func (fake *FakePipelineDB) GetJobBuildArgsForCall(i int) (string, string)
- func (fake *FakePipelineDB) GetJobBuildCallCount() int
- func (fake *FakePipelineDB) GetJobBuildReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetJobBuildReturnsOnCall(i int, result1 db.Build, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetJobBuilds(job string, page db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakePipelineDB) GetJobBuildsArgsForCall(i int) (string, db.Page)
- func (fake *FakePipelineDB) GetJobBuildsCallCount() int
- func (fake *FakePipelineDB) GetJobBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakePipelineDB) GetJobBuildsReturnsOnCall(i int, result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakePipelineDB) GetJobCallCount() int
- func (fake *FakePipelineDB) GetJobFinishedAndNextBuild(job string) (db.Build, db.Build, error)
- func (fake *FakePipelineDB) GetJobFinishedAndNextBuildArgsForCall(i int) string
- func (fake *FakePipelineDB) GetJobFinishedAndNextBuildCallCount() int
- func (fake *FakePipelineDB) GetJobFinishedAndNextBuildReturns(result1 db.Build, result2 db.Build, result3 error)
- func (fake *FakePipelineDB) GetJobFinishedAndNextBuildReturnsOnCall(i int, result1 db.Build, result2 db.Build, result3 error)
- func (fake *FakePipelineDB) GetJobReturns(result1 db.SavedJob, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetJobReturnsOnCall(i int, result1 db.SavedJob, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetJobs() ([]db.SavedJob, error)
- func (fake *FakePipelineDB) GetJobsCallCount() int
- func (fake *FakePipelineDB) GetJobsReturns(result1 []db.SavedJob, result2 error)
- func (fake *FakePipelineDB) GetJobsReturnsOnCall(i int, result1 []db.SavedJob, result2 error)
- func (fake *FakePipelineDB) GetLatestEnabledVersionedResource(resourceName string) (db.SavedVersionedResource, bool, error)
- func (fake *FakePipelineDB) GetLatestEnabledVersionedResourceArgsForCall(i int) string
- func (fake *FakePipelineDB) GetLatestEnabledVersionedResourceCallCount() int
- func (fake *FakePipelineDB) GetLatestEnabledVersionedResourceReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetLatestEnabledVersionedResourceReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetLatestVersionedResource(resourceName string) (db.SavedVersionedResource, bool, error)
- func (fake *FakePipelineDB) GetLatestVersionedResourceArgsForCall(i int) string
- func (fake *FakePipelineDB) GetLatestVersionedResourceCallCount() int
- func (fake *FakePipelineDB) GetLatestVersionedResourceReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetLatestVersionedResourceReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetNextBuildInputs(jobName string) ([]db.BuildInput, bool, error)
- func (fake *FakePipelineDB) GetNextBuildInputsArgsForCall(i int) string
- func (fake *FakePipelineDB) GetNextBuildInputsCallCount() int
- func (fake *FakePipelineDB) GetNextBuildInputsReturns(result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetNextBuildInputsReturnsOnCall(i int, result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroup(jobName string, serialGroups []string) (db.Build, bool, error)
- func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroupArgsForCall(i int) (string, []string)
- func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroupCallCount() int
- func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroupReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroupReturnsOnCall(i int, result1 db.Build, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetPendingBuildsForJob(jobName string) ([]db.Build, error)
- func (fake *FakePipelineDB) GetPendingBuildsForJobArgsForCall(i int) string
- func (fake *FakePipelineDB) GetPendingBuildsForJobCallCount() int
- func (fake *FakePipelineDB) GetPendingBuildsForJobReturns(result1 []db.Build, result2 error)
- func (fake *FakePipelineDB) GetPendingBuildsForJobReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakePipelineDB) GetPipelineID() int
- func (fake *FakePipelineDB) GetPipelineIDCallCount() int
- func (fake *FakePipelineDB) GetPipelineIDReturns(result1 int)
- func (fake *FakePipelineDB) GetPipelineIDReturnsOnCall(i int, result1 int)
- func (fake *FakePipelineDB) GetPipelineName() string
- func (fake *FakePipelineDB) GetPipelineNameCallCount() int
- func (fake *FakePipelineDB) GetPipelineNameReturns(result1 string)
- func (fake *FakePipelineDB) GetPipelineNameReturnsOnCall(i int, result1 string)
- func (fake *FakePipelineDB) GetResource(resourceName string) (db.SavedResource, bool, error)
- func (fake *FakePipelineDB) GetResourceArgsForCall(i int) string
- func (fake *FakePipelineDB) GetResourceCallCount() int
- func (fake *FakePipelineDB) GetResourceReturns(result1 db.SavedResource, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetResourceReturnsOnCall(i int, result1 db.SavedResource, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetResourceType(resourceTypeName string) (db.SavedResourceType, bool, error)
- func (fake *FakePipelineDB) GetResourceTypeArgsForCall(i int) string
- func (fake *FakePipelineDB) GetResourceTypeCallCount() int
- func (fake *FakePipelineDB) GetResourceTypeReturns(result1 db.SavedResourceType, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetResourceTypeReturnsOnCall(i int, result1 db.SavedResourceType, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetResourceVersions(resourceName string, page db.Page) ([]db.SavedVersionedResource, db.Pagination, bool, error)
- func (fake *FakePipelineDB) GetResourceVersionsArgsForCall(i int) (string, db.Page)
- func (fake *FakePipelineDB) GetResourceVersionsCallCount() int
- func (fake *FakePipelineDB) GetResourceVersionsReturns(result1 []db.SavedVersionedResource, result2 db.Pagination, result3 bool, ...)
- func (fake *FakePipelineDB) GetResourceVersionsReturnsOnCall(i int, result1 []db.SavedVersionedResource, result2 db.Pagination, ...)
- func (fake *FakePipelineDB) GetResources() ([]db.SavedResource, bool, error)
- func (fake *FakePipelineDB) GetResourcesCallCount() int
- func (fake *FakePipelineDB) GetResourcesReturns(result1 []db.SavedResource, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetResourcesReturnsOnCall(i int, result1 []db.SavedResource, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetRunningBuildsBySerialGroup(jobName string, serialGroups []string) ([]db.Build, error)
- func (fake *FakePipelineDB) GetRunningBuildsBySerialGroupArgsForCall(i int) (string, []string)
- func (fake *FakePipelineDB) GetRunningBuildsBySerialGroupCallCount() int
- func (fake *FakePipelineDB) GetRunningBuildsBySerialGroupReturns(result1 []db.Build, result2 error)
- func (fake *FakePipelineDB) GetRunningBuildsBySerialGroupReturnsOnCall(i int, result1 []db.Build, result2 error)
- func (fake *FakePipelineDB) GetVersionedResourceByVersion(atcVersion atc.Version, resourceName string) (db.SavedVersionedResource, bool, error)
- func (fake *FakePipelineDB) GetVersionedResourceByVersionArgsForCall(i int) (atc.Version, string)
- func (fake *FakePipelineDB) GetVersionedResourceByVersionCallCount() int
- func (fake *FakePipelineDB) GetVersionedResourceByVersionReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetVersionedResourceByVersionReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 bool, result3 error)
- func (fake *FakePipelineDB) Hide() error
- func (fake *FakePipelineDB) HideCallCount() int
- func (fake *FakePipelineDB) HideReturns(result1 error)
- func (fake *FakePipelineDB) HideReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) Invocations() map[string][][]interface{}
- func (fake *FakePipelineDB) IsPaused() (bool, error)
- func (fake *FakePipelineDB) IsPausedCallCount() int
- func (fake *FakePipelineDB) IsPausedReturns(result1 bool, result2 error)
- func (fake *FakePipelineDB) IsPausedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakePipelineDB) IsPublic() bool
- func (fake *FakePipelineDB) IsPublicCallCount() int
- func (fake *FakePipelineDB) IsPublicReturns(result1 bool)
- func (fake *FakePipelineDB) IsPublicReturnsOnCall(i int, result1 bool)
- func (fake *FakePipelineDB) Pause() error
- func (fake *FakePipelineDB) PauseCallCount() int
- func (fake *FakePipelineDB) PauseJob(job string) error
- func (fake *FakePipelineDB) PauseJobArgsForCall(i int) string
- func (fake *FakePipelineDB) PauseJobCallCount() int
- func (fake *FakePipelineDB) PauseJobReturns(result1 error)
- func (fake *FakePipelineDB) PauseJobReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) PauseResource(resourceName string) error
- func (fake *FakePipelineDB) PauseResourceArgsForCall(i int) string
- func (fake *FakePipelineDB) PauseResourceCallCount() int
- func (fake *FakePipelineDB) PauseResourceReturns(result1 error)
- func (fake *FakePipelineDB) PauseResourceReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) PauseReturns(result1 error)
- func (fake *FakePipelineDB) PauseReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) Pipeline() db.SavedPipeline
- func (fake *FakePipelineDB) PipelineCallCount() int
- func (fake *FakePipelineDB) PipelineReturns(result1 db.SavedPipeline)
- func (fake *FakePipelineDB) PipelineReturnsOnCall(i int, result1 db.SavedPipeline)
- func (fake *FakePipelineDB) Reload() (bool, error)
- func (fake *FakePipelineDB) ReloadCallCount() int
- func (fake *FakePipelineDB) ReloadReturns(result1 bool, result2 error)
- func (fake *FakePipelineDB) ReloadReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakePipelineDB) SaveIndependentInputMapping(inputMapping algorithm.InputMapping, jobName string) error
- func (fake *FakePipelineDB) SaveIndependentInputMappingArgsForCall(i int) (algorithm.InputMapping, string)
- func (fake *FakePipelineDB) SaveIndependentInputMappingCallCount() int
- func (fake *FakePipelineDB) SaveIndependentInputMappingReturns(result1 error)
- func (fake *FakePipelineDB) SaveIndependentInputMappingReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) SaveInput(buildID int, input db.BuildInput) (db.SavedVersionedResource, error)
- func (fake *FakePipelineDB) SaveInputArgsForCall(i int) (int, db.BuildInput)
- func (fake *FakePipelineDB) SaveInputCallCount() int
- func (fake *FakePipelineDB) SaveInputReturns(result1 db.SavedVersionedResource, result2 error)
- func (fake *FakePipelineDB) SaveInputReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 error)
- func (fake *FakePipelineDB) SaveNextInputMapping(inputMapping algorithm.InputMapping, jobName string) error
- func (fake *FakePipelineDB) SaveNextInputMappingArgsForCall(i int) (algorithm.InputMapping, string)
- func (fake *FakePipelineDB) SaveNextInputMappingCallCount() int
- func (fake *FakePipelineDB) SaveNextInputMappingReturns(result1 error)
- func (fake *FakePipelineDB) SaveNextInputMappingReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) SaveOutput(buildID int, vr db.VersionedResource, explicit bool) (db.SavedVersionedResource, error)
- func (fake *FakePipelineDB) SaveOutputArgsForCall(i int) (int, db.VersionedResource, bool)
- func (fake *FakePipelineDB) SaveOutputCallCount() int
- func (fake *FakePipelineDB) SaveOutputReturns(result1 db.SavedVersionedResource, result2 error)
- func (fake *FakePipelineDB) SaveOutputReturnsOnCall(i int, result1 db.SavedVersionedResource, result2 error)
- func (fake *FakePipelineDB) SaveResourceTypeVersion(arg1 atc.ResourceType, arg2 atc.Version) error
- func (fake *FakePipelineDB) SaveResourceTypeVersionArgsForCall(i int) (atc.ResourceType, atc.Version)
- func (fake *FakePipelineDB) SaveResourceTypeVersionCallCount() int
- func (fake *FakePipelineDB) SaveResourceTypeVersionReturns(result1 error)
- func (fake *FakePipelineDB) SaveResourceTypeVersionReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) SaveResourceVersions(arg1 atc.ResourceConfig, arg2 []atc.Version) error
- func (fake *FakePipelineDB) SaveResourceVersionsArgsForCall(i int) (atc.ResourceConfig, []atc.Version)
- func (fake *FakePipelineDB) SaveResourceVersionsCallCount() int
- func (fake *FakePipelineDB) SaveResourceVersionsReturns(result1 error)
- func (fake *FakePipelineDB) SaveResourceVersionsReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) ScopedName(arg1 string) string
- func (fake *FakePipelineDB) ScopedNameArgsForCall(i int) string
- func (fake *FakePipelineDB) ScopedNameCallCount() int
- func (fake *FakePipelineDB) ScopedNameReturns(result1 string)
- func (fake *FakePipelineDB) ScopedNameReturnsOnCall(i int, result1 string)
- func (fake *FakePipelineDB) SetMaxInFlightReached(arg1 string, arg2 bool) error
- func (fake *FakePipelineDB) SetMaxInFlightReachedArgsForCall(i int) (string, bool)
- func (fake *FakePipelineDB) SetMaxInFlightReachedCallCount() int
- func (fake *FakePipelineDB) SetMaxInFlightReachedReturns(result1 error)
- func (fake *FakePipelineDB) SetMaxInFlightReachedReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) SetResourceCheckError(resource db.SavedResource, err error) error
- func (fake *FakePipelineDB) SetResourceCheckErrorArgsForCall(i int) (db.SavedResource, error)
- func (fake *FakePipelineDB) SetResourceCheckErrorCallCount() int
- func (fake *FakePipelineDB) SetResourceCheckErrorReturns(result1 error)
- func (fake *FakePipelineDB) SetResourceCheckErrorReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) TeamID() int
- func (fake *FakePipelineDB) TeamIDCallCount() int
- func (fake *FakePipelineDB) TeamIDReturns(result1 int)
- func (fake *FakePipelineDB) TeamIDReturnsOnCall(i int, result1 int)
- func (fake *FakePipelineDB) Unpause() error
- func (fake *FakePipelineDB) UnpauseCallCount() int
- func (fake *FakePipelineDB) UnpauseJob(job string) error
- func (fake *FakePipelineDB) UnpauseJobArgsForCall(i int) string
- func (fake *FakePipelineDB) UnpauseJobCallCount() int
- func (fake *FakePipelineDB) UnpauseJobReturns(result1 error)
- func (fake *FakePipelineDB) UnpauseJobReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) UnpauseResource(resourceName string) error
- func (fake *FakePipelineDB) UnpauseResourceArgsForCall(i int) string
- func (fake *FakePipelineDB) UnpauseResourceCallCount() int
- func (fake *FakePipelineDB) UnpauseResourceReturns(result1 error)
- func (fake *FakePipelineDB) UnpauseResourceReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) UnpauseReturns(result1 error)
- func (fake *FakePipelineDB) UnpauseReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) UpdateBuildToScheduled(buildID int) (bool, error)
- func (fake *FakePipelineDB) UpdateBuildToScheduledArgsForCall(i int) int
- func (fake *FakePipelineDB) UpdateBuildToScheduledCallCount() int
- func (fake *FakePipelineDB) UpdateBuildToScheduledReturns(result1 bool, result2 error)
- func (fake *FakePipelineDB) UpdateBuildToScheduledReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakePipelineDB) UpdateFirstLoggedBuildID(job string, newFirstLoggedBuildID int) error
- func (fake *FakePipelineDB) UpdateFirstLoggedBuildIDArgsForCall(i int) (string, int)
- func (fake *FakePipelineDB) UpdateFirstLoggedBuildIDCallCount() int
- func (fake *FakePipelineDB) UpdateFirstLoggedBuildIDReturns(result1 error)
- func (fake *FakePipelineDB) UpdateFirstLoggedBuildIDReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) UpdateName(arg1 string) error
- func (fake *FakePipelineDB) UpdateNameArgsForCall(i int) string
- func (fake *FakePipelineDB) UpdateNameCallCount() int
- func (fake *FakePipelineDB) UpdateNameReturns(result1 error)
- func (fake *FakePipelineDB) UpdateNameReturnsOnCall(i int, result1 error)
- func (fake *FakePipelineDB) UseInputsForBuild(buildID int, inputs []db.BuildInput) error
- func (fake *FakePipelineDB) UseInputsForBuildArgsForCall(i int) (int, []db.BuildInput)
- func (fake *FakePipelineDB) UseInputsForBuildCallCount() int
- func (fake *FakePipelineDB) UseInputsForBuildReturns(result1 error)
- func (fake *FakePipelineDB) UseInputsForBuildReturnsOnCall(i int, result1 error)
- type FakePipelineDBFactory
- func (fake *FakePipelineDBFactory) Build(pipeline db.SavedPipeline) db.PipelineDB
- func (fake *FakePipelineDBFactory) BuildArgsForCall(i int) db.SavedPipeline
- func (fake *FakePipelineDBFactory) BuildCallCount() int
- func (fake *FakePipelineDBFactory) BuildReturns(result1 db.PipelineDB)
- func (fake *FakePipelineDBFactory) BuildReturnsOnCall(i int, result1 db.PipelineDB)
- func (fake *FakePipelineDBFactory) Invocations() map[string][][]interface{}
- type FakeTeamDB
- func (fake *FakeTeamDB) CreateOneOffBuild() (db.Build, error)
- func (fake *FakeTeamDB) CreateOneOffBuildCallCount() int
- func (fake *FakeTeamDB) CreateOneOffBuildReturns(result1 db.Build, result2 error)
- func (fake *FakeTeamDB) CreateOneOffBuildReturnsOnCall(i int, result1 db.Build, result2 error)
- func (fake *FakeTeamDB) GetConfig(pipelineName string) (atc.Config, atc.RawConfig, db.ConfigVersion, error)
- func (fake *FakeTeamDB) GetConfigArgsForCall(i int) string
- func (fake *FakeTeamDB) GetConfigCallCount() int
- func (fake *FakeTeamDB) GetConfigReturns(result1 atc.Config, result2 atc.RawConfig, result3 db.ConfigVersion, ...)
- func (fake *FakeTeamDB) GetConfigReturnsOnCall(i int, result1 atc.Config, result2 atc.RawConfig, result3 db.ConfigVersion, ...)
- func (fake *FakeTeamDB) GetPipelineByName(pipelineName string) (db.SavedPipeline, bool, error)
- func (fake *FakeTeamDB) GetPipelineByNameArgsForCall(i int) string
- func (fake *FakeTeamDB) GetPipelineByNameCallCount() int
- func (fake *FakeTeamDB) GetPipelineByNameReturns(result1 db.SavedPipeline, result2 bool, result3 error)
- func (fake *FakeTeamDB) GetPipelineByNameReturnsOnCall(i int, result1 db.SavedPipeline, result2 bool, result3 error)
- func (fake *FakeTeamDB) GetTeam() (db.SavedTeam, bool, error)
- func (fake *FakeTeamDB) GetTeamCallCount() int
- func (fake *FakeTeamDB) GetTeamReturns(result1 db.SavedTeam, result2 bool, result3 error)
- func (fake *FakeTeamDB) GetTeamReturnsOnCall(i int, result1 db.SavedTeam, result2 bool, result3 error)
- func (fake *FakeTeamDB) Invocations() map[string][][]interface{}
- func (fake *FakeTeamDB) SaveConfigToBeDeprecated(arg1 string, arg2 atc.Config, arg3 db.ConfigVersion, ...) (db.SavedPipeline, bool, error)
- func (fake *FakeTeamDB) SaveConfigToBeDeprecatedArgsForCall(i int) (string, atc.Config, db.ConfigVersion, db.PipelinePausedState)
- func (fake *FakeTeamDB) SaveConfigToBeDeprecatedCallCount() int
- func (fake *FakeTeamDB) SaveConfigToBeDeprecatedReturns(result1 db.SavedPipeline, result2 bool, result3 error)
- func (fake *FakeTeamDB) SaveConfigToBeDeprecatedReturnsOnCall(i int, result1 db.SavedPipeline, result2 bool, result3 error)
- type FakeTeamDBFactory
- func (fake *FakeTeamDBFactory) GetTeamDB(arg1 string) db.TeamDB
- func (fake *FakeTeamDBFactory) GetTeamDBArgsForCall(i int) string
- func (fake *FakeTeamDBFactory) GetTeamDBCallCount() int
- func (fake *FakeTeamDBFactory) GetTeamDBReturns(result1 db.TeamDB)
- func (fake *FakeTeamDBFactory) GetTeamDBReturnsOnCall(i int, result1 db.TeamDB)
- func (fake *FakeTeamDBFactory) Invocations() map[string][][]interface{}
- type FakeTx
- func (fake *FakeTx) Commit() error
- func (fake *FakeTx) CommitCallCount() int
- func (fake *FakeTx) CommitReturns(result1 error)
- func (fake *FakeTx) CommitReturnsOnCall(i int, result1 error)
- func (fake *FakeTx) Exec(query string, args ...interface{}) (sql.Result, error)
- func (fake *FakeTx) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeTx) ExecCallCount() int
- func (fake *FakeTx) ExecReturns(result1 sql.Result, result2 error)
- func (fake *FakeTx) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeTx) Invocations() map[string][][]interface{}
- func (fake *FakeTx) Prepare(query string) (*sql.Stmt, error)
- func (fake *FakeTx) PrepareArgsForCall(i int) string
- func (fake *FakeTx) PrepareCallCount() int
- func (fake *FakeTx) PrepareReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeTx) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeTx) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (fake *FakeTx) QueryArgsForCall(i int) (string, []interface{})
- func (fake *FakeTx) QueryCallCount() int
- func (fake *FakeTx) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeTx) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeTx) QueryRow(query string, args ...interface{}) *sql.Row
- func (fake *FakeTx) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *FakeTx) QueryRowCallCount() int
- func (fake *FakeTx) QueryRowReturns(result1 *sql.Row)
- func (fake *FakeTx) QueryRowReturnsOnCall(i int, result1 *sql.Row)
- func (fake *FakeTx) Rollback() error
- func (fake *FakeTx) RollbackCallCount() int
- func (fake *FakeTx) RollbackReturns(result1 error)
- func (fake *FakeTx) RollbackReturnsOnCall(i int, result1 error)
- func (fake *FakeTx) Stmt(stmt *sql.Stmt) *sql.Stmt
- func (fake *FakeTx) StmtArgsForCall(i int) *sql.Stmt
- func (fake *FakeTx) StmtCallCount() int
- func (fake *FakeTx) StmtReturns(result1 *sql.Stmt)
- func (fake *FakeTx) StmtReturnsOnCall(i int, result1 *sql.Stmt)
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) AbortCallCount ¶
func (*FakeBuild) AbortNotifierCallCount ¶
func (*FakeBuild) AbortNotifierReturns ¶
func (*FakeBuild) AbortNotifierReturnsOnCall ¶
func (*FakeBuild) AbortReturns ¶
func (*FakeBuild) AbortReturnsOnCall ¶
func (*FakeBuild) AcquireTrackingLock ¶
func (*FakeBuild) AcquireTrackingLockArgsForCall ¶
func (*FakeBuild) AcquireTrackingLockCallCount ¶
func (*FakeBuild) AcquireTrackingLockReturns ¶
func (*FakeBuild) AcquireTrackingLockReturnsOnCall ¶
func (*FakeBuild) EndTimeCallCount ¶
func (*FakeBuild) EndTimeReturns ¶
func (*FakeBuild) EndTimeReturnsOnCall ¶
func (*FakeBuild) EngineCallCount ¶
func (*FakeBuild) EngineMetadata ¶
func (*FakeBuild) EngineMetadataCallCount ¶
func (*FakeBuild) EngineMetadataReturns ¶
func (*FakeBuild) EngineMetadataReturnsOnCall ¶
func (*FakeBuild) EngineReturns ¶
func (*FakeBuild) EngineReturnsOnCall ¶
func (*FakeBuild) EventsArgsForCall ¶
func (*FakeBuild) EventsCallCount ¶
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) FinishCallCount ¶
func (*FakeBuild) FinishReturns ¶
func (*FakeBuild) FinishReturnsOnCall ¶
func (*FakeBuild) GetConfigCallCount ¶
func (*FakeBuild) GetConfigReturns ¶
func (*FakeBuild) GetConfigReturnsOnCall ¶
func (*FakeBuild) GetImageResourceCacheIdentifiers ¶
func (fake *FakeBuild) GetImageResourceCacheIdentifiers() ([]db.ResourceCacheIdentifier, error)
func (*FakeBuild) GetImageResourceCacheIdentifiersCallCount ¶
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 (*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 (*FakeBuild) GetPreparationReturns ¶
func (fake *FakeBuild) GetPreparationReturns(result1 db.BuildPreparation, result2 bool, result3 error)
func (*FakeBuild) GetPreparationReturnsOnCall ¶
func (*FakeBuild) GetResources ¶
func (fake *FakeBuild) GetResources() ([]db.BuildInput, []db.BuildOutput, error)
func (*FakeBuild) GetResourcesCallCount ¶
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 (*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) IDCallCount ¶
func (*FakeBuild) IDReturnsOnCall ¶
func (*FakeBuild) Invocations ¶
func (*FakeBuild) IsManuallyTriggered ¶
func (*FakeBuild) IsManuallyTriggeredCallCount ¶
func (*FakeBuild) IsManuallyTriggeredReturns ¶
func (*FakeBuild) IsManuallyTriggeredReturnsOnCall ¶
func (*FakeBuild) IsOneOffCallCount ¶
func (*FakeBuild) IsOneOffReturns ¶
func (*FakeBuild) IsOneOffReturnsOnCall ¶
func (*FakeBuild) IsRunningCallCount ¶
func (*FakeBuild) IsRunningReturns ¶
func (*FakeBuild) IsRunningReturnsOnCall ¶
func (*FakeBuild) IsScheduled ¶
func (*FakeBuild) IsScheduledCallCount ¶
func (*FakeBuild) IsScheduledReturns ¶
func (*FakeBuild) IsScheduledReturnsOnCall ¶
func (*FakeBuild) JobIDCallCount ¶
func (*FakeBuild) JobIDReturns ¶
func (*FakeBuild) JobIDReturnsOnCall ¶
func (*FakeBuild) JobNameCallCount ¶
func (*FakeBuild) JobNameReturns ¶
func (*FakeBuild) JobNameReturnsOnCall ¶
func (*FakeBuild) MarkAsFailed ¶
func (*FakeBuild) MarkAsFailedArgsForCall ¶
func (*FakeBuild) MarkAsFailedCallCount ¶
func (*FakeBuild) MarkAsFailedReturns ¶
func (*FakeBuild) MarkAsFailedReturnsOnCall ¶
func (*FakeBuild) NameCallCount ¶
func (*FakeBuild) NameReturns ¶
func (*FakeBuild) NameReturnsOnCall ¶
func (*FakeBuild) PipelineID ¶
func (*FakeBuild) PipelineIDCallCount ¶
func (*FakeBuild) PipelineIDReturns ¶
func (*FakeBuild) PipelineIDReturnsOnCall ¶
func (*FakeBuild) PipelineName ¶
func (*FakeBuild) PipelineNameCallCount ¶
func (*FakeBuild) PipelineNameReturns ¶
func (*FakeBuild) PipelineNameReturnsOnCall ¶
func (*FakeBuild) ReapTimeCallCount ¶
func (*FakeBuild) ReapTimeReturns ¶
func (*FakeBuild) ReapTimeReturnsOnCall ¶
func (*FakeBuild) ReloadCallCount ¶
func (*FakeBuild) ReloadReturns ¶
func (*FakeBuild) ReloadReturnsOnCall ¶
func (*FakeBuild) SaveEngineMetadata ¶
func (*FakeBuild) SaveEngineMetadataArgsForCall ¶
func (*FakeBuild) SaveEngineMetadataCallCount ¶
func (*FakeBuild) SaveEngineMetadataReturns ¶
func (*FakeBuild) SaveEngineMetadataReturnsOnCall ¶
func (*FakeBuild) SaveEventArgsForCall ¶
func (*FakeBuild) SaveEventCallCount ¶
func (*FakeBuild) SaveEventReturns ¶
func (*FakeBuild) SaveEventReturnsOnCall ¶
func (*FakeBuild) SaveImageResourceVersion ¶
func (*FakeBuild) SaveImageResourceVersionArgsForCall ¶
func (*FakeBuild) SaveImageResourceVersionCallCount ¶
func (*FakeBuild) SaveImageResourceVersionReturns ¶
func (*FakeBuild) SaveImageResourceVersionReturnsOnCall ¶
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 (*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 (*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) StartArgsForCall ¶
func (*FakeBuild) StartCallCount ¶
func (*FakeBuild) StartReturns ¶
func (*FakeBuild) StartReturnsOnCall ¶
func (*FakeBuild) StartTimeCallCount ¶
func (*FakeBuild) StartTimeReturns ¶
func (*FakeBuild) StartTimeReturnsOnCall ¶
func (*FakeBuild) StatusCallCount ¶
func (*FakeBuild) StatusReturns ¶
func (*FakeBuild) StatusReturnsOnCall ¶
func (*FakeBuild) TeamIDCallCount ¶
func (*FakeBuild) TeamIDReturns ¶
func (*FakeBuild) TeamIDReturnsOnCall ¶
func (*FakeBuild) TeamNameCallCount ¶
func (*FakeBuild) TeamNameReturns ¶
func (*FakeBuild) TeamNameReturnsOnCall ¶
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) BeginCallCount ¶
func (*FakeConn) BeginReturnsOnCall ¶
func (*FakeConn) CloseCallCount ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) CloseReturnsOnCall ¶
func (*FakeConn) DriverCallCount ¶
func (*FakeConn) DriverReturns ¶
func (*FakeConn) DriverReturnsOnCall ¶
func (*FakeConn) ExecArgsForCall ¶
func (*FakeConn) ExecCallCount ¶
func (*FakeConn) ExecReturnsOnCall ¶
func (*FakeConn) Invocations ¶
func (*FakeConn) PingCallCount ¶
func (*FakeConn) PingReturns ¶
func (*FakeConn) PingReturnsOnCall ¶
func (*FakeConn) PrepareArgsForCall ¶
func (*FakeConn) PrepareCallCount ¶
func (*FakeConn) PrepareReturns ¶
func (*FakeConn) PrepareReturnsOnCall ¶
func (*FakeConn) QueryArgsForCall ¶
func (*FakeConn) QueryCallCount ¶
func (*FakeConn) QueryReturns ¶
func (*FakeConn) QueryReturnsOnCall ¶
func (*FakeConn) QueryRowArgsForCall ¶
func (*FakeConn) QueryRowCallCount ¶
func (*FakeConn) QueryRowReturns ¶
func (*FakeConn) QueryRowReturnsOnCall ¶
func (*FakeConn) SetMaxIdleConns ¶
func (*FakeConn) SetMaxIdleConnsArgsForCall ¶
func (*FakeConn) SetMaxIdleConnsCallCount ¶
func (*FakeConn) SetMaxOpenConns ¶
func (*FakeConn) SetMaxOpenConnsArgsForCall ¶
func (*FakeConn) SetMaxOpenConnsCallCount ¶
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) 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 (*FakePipelineDB) AcquireSchedulingLockArgsForCall ¶
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 (*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 (*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) GetJobArgsForCall ¶
func (fake *FakePipelineDB) GetJobArgsForCall(i int) string
func (*FakePipelineDB) GetJobBuild ¶
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 (*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 (*FakePipelineDB) GetJobFinishedAndNextBuildArgsForCall ¶
func (fake *FakePipelineDB) GetJobFinishedAndNextBuildArgsForCall(i int) string
func (*FakePipelineDB) GetJobFinishedAndNextBuildCallCount ¶
func (fake *FakePipelineDB) GetJobFinishedAndNextBuildCallCount() int
func (*FakePipelineDB) GetJobFinishedAndNextBuildReturns ¶
func (*FakePipelineDB) GetJobFinishedAndNextBuildReturnsOnCall ¶
func (*FakePipelineDB) GetJobReturns ¶
func (fake *FakePipelineDB) GetJobReturns(result1 db.SavedJob, result2 bool, result3 error)
func (*FakePipelineDB) GetJobReturnsOnCall ¶
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 (*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 (*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 (*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) GetTeamCallCount ¶
func (fake *FakeTeamDB) GetTeamCallCount() int
func (*FakeTeamDB) GetTeamReturns ¶
func (fake *FakeTeamDB) GetTeamReturns(result1 db.SavedTeam, result2 bool, result3 error)
func (*FakeTeamDB) GetTeamReturnsOnCall ¶
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) CommitCallCount ¶
func (*FakeTx) CommitReturns ¶
func (*FakeTx) CommitReturnsOnCall ¶
func (*FakeTx) ExecArgsForCall ¶
func (*FakeTx) ExecCallCount ¶
func (*FakeTx) ExecReturnsOnCall ¶
func (*FakeTx) Invocations ¶
func (*FakeTx) PrepareArgsForCall ¶
func (*FakeTx) PrepareCallCount ¶
func (*FakeTx) PrepareReturns ¶
func (*FakeTx) PrepareReturnsOnCall ¶
func (*FakeTx) QueryArgsForCall ¶
func (*FakeTx) QueryCallCount ¶
func (*FakeTx) QueryReturnsOnCall ¶
func (*FakeTx) QueryRowArgsForCall ¶
func (*FakeTx) QueryRowCallCount ¶
func (*FakeTx) QueryRowReturns ¶
func (*FakeTx) QueryRowReturnsOnCall ¶
func (*FakeTx) RollbackCallCount ¶
func (*FakeTx) RollbackReturns ¶
func (*FakeTx) RollbackReturnsOnCall ¶
func (*FakeTx) StmtCallCount ¶
func (*FakeTx) StmtReturns ¶
Click to show internal directories.
Click to hide internal directories.