Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
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) AbortReturns(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) EndTime() time.Time
- func (fake *FakeBuild) EndTimeCallCount() int
- func (fake *FakeBuild) EndTimeReturns(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) EngineReturns(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) 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) 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) GetImageResourceCacheIdentifiers() ([]db.ResourceCacheIdentifier, error)
- func (fake *FakeBuild) GetImageResourceCacheIdentifiersCallCount() int
- func (fake *FakeBuild) GetImageResourceCacheIdentifiersReturns(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) GetPreparation() (db.BuildPreparation, bool, error)
- func (fake *FakeBuild) GetPreparationCallCount() int
- func (fake *FakeBuild) GetPreparationReturns(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) GetVersionedResources() (db.SavedVersionedResources, error)
- func (fake *FakeBuild) GetVersionedResourcesCallCount() int
- func (fake *FakeBuild) GetVersionedResourcesReturns(result1 db.SavedVersionedResources, result2 error)
- func (fake *FakeBuild) ID() int
- func (fake *FakeBuild) IDCallCount() int
- func (fake *FakeBuild) IDReturns(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) IsOneOff() bool
- func (fake *FakeBuild) IsOneOffCallCount() int
- func (fake *FakeBuild) IsOneOffReturns(result1 bool)
- func (fake *FakeBuild) IsRunning() bool
- func (fake *FakeBuild) IsRunningCallCount() int
- func (fake *FakeBuild) IsRunningReturns(result1 bool)
- func (fake *FakeBuild) IsScheduled() bool
- func (fake *FakeBuild) IsScheduledCallCount() int
- func (fake *FakeBuild) IsScheduledReturns(result1 bool)
- func (fake *FakeBuild) JobName() string
- func (fake *FakeBuild) JobNameCallCount() int
- func (fake *FakeBuild) JobNameReturns(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) Name() string
- func (fake *FakeBuild) NameCallCount() int
- func (fake *FakeBuild) NameReturns(result1 string)
- func (fake *FakeBuild) PipelineName() string
- func (fake *FakeBuild) PipelineNameCallCount() int
- func (fake *FakeBuild) PipelineNameReturns(result1 string)
- func (fake *FakeBuild) ReapTime() time.Time
- func (fake *FakeBuild) ReapTimeCallCount() int
- func (fake *FakeBuild) ReapTimeReturns(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) 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) 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) 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) 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) 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) 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) StartTime() time.Time
- func (fake *FakeBuild) StartTimeCallCount() int
- func (fake *FakeBuild) StartTimeReturns(result1 time.Time)
- func (fake *FakeBuild) Status() db.Status
- func (fake *FakeBuild) StatusCallCount() int
- func (fake *FakeBuild) StatusReturns(result1 db.Status)
- func (fake *FakeBuild) TeamID() int
- func (fake *FakeBuild) TeamIDCallCount() int
- func (fake *FakeBuild) TeamIDReturns(result1 int)
- func (fake *FakeBuild) TeamName() string
- func (fake *FakeBuild) TeamNameCallCount() int
- func (fake *FakeBuild) TeamNameReturns(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) Close() error
- func (fake *FakeConn) CloseCallCount() int
- func (fake *FakeConn) CloseReturns(result1 error)
- func (fake *FakeConn) Driver() driver.Driver
- func (fake *FakeConn) DriverCallCount() int
- func (fake *FakeConn) DriverReturns(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) Invocations() map[string][][]interface{}
- func (fake *FakeConn) Ping() error
- func (fake *FakeConn) PingCallCount() int
- func (fake *FakeConn) PingReturns(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) 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) 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) 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) 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)
- type FakeNotifier
- func (fake *FakeNotifier) Close() error
- func (fake *FakeNotifier) CloseCallCount() int
- func (fake *FakeNotifier) CloseReturns(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{})
- type FakePipelineDB
- func (fake *FakePipelineDB) AcquireResourceTypeCheckingLock(logger lager.Logger, resourceType db.SavedResourceType, length time.Duration, ...) (lock.Lock, bool, error)
- func (fake *FakePipelineDB) AcquireResourceTypeCheckingLockArgsForCall(i int) (lager.Logger, db.SavedResourceType, time.Duration, bool)
- func (fake *FakePipelineDB) AcquireResourceTypeCheckingLockCallCount() int
- func (fake *FakePipelineDB) AcquireResourceTypeCheckingLockReturns(result1 lock.Lock, result2 bool, result3 error)
- 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) Config() atc.Config
- func (fake *FakePipelineDB) ConfigCallCount() int
- func (fake *FakePipelineDB) ConfigReturns(result1 atc.Config)
- func (fake *FakePipelineDB) ConfigVersion() db.ConfigVersion
- func (fake *FakePipelineDB) ConfigVersionCallCount() int
- func (fake *FakePipelineDB) ConfigVersionReturns(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) 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) Destroy() error
- func (fake *FakePipelineDB) DestroyCallCount() int
- func (fake *FakePipelineDB) DestroyReturns(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) 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) 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) Expose() error
- func (fake *FakePipelineDB) ExposeCallCount() int
- func (fake *FakePipelineDB) ExposeReturns(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) 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) 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) 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) 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) 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) 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) 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) 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) GetJobReturns(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) 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) 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) 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) 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) 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) GetPipelineID() int
- func (fake *FakePipelineDB) GetPipelineIDCallCount() int
- func (fake *FakePipelineDB) GetPipelineIDReturns(result1 int)
- func (fake *FakePipelineDB) GetPipelineName() string
- func (fake *FakePipelineDB) GetPipelineNameCallCount() int
- func (fake *FakePipelineDB) GetPipelineNameReturns(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) 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) 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) GetResources() ([]db.SavedResource, bool, error)
- func (fake *FakePipelineDB) GetResourcesCallCount() int
- func (fake *FakePipelineDB) GetResourcesReturns(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) 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) Hide() error
- func (fake *FakePipelineDB) HideCallCount() int
- func (fake *FakePipelineDB) HideReturns(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) IsPublic() bool
- func (fake *FakePipelineDB) IsPublicCallCount() int
- func (fake *FakePipelineDB) IsPublicReturns(result1 bool)
- func (fake *FakePipelineDB) LoadVersionsDB() (*algorithm.VersionsDB, error)
- func (fake *FakePipelineDB) LoadVersionsDBCallCount() int
- func (fake *FakePipelineDB) LoadVersionsDBReturns(result1 *algorithm.VersionsDB, result2 error)
- 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) 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) PauseReturns(result1 error)
- func (fake *FakePipelineDB) Pipeline() db.SavedPipeline
- func (fake *FakePipelineDB) PipelineCallCount() int
- func (fake *FakePipelineDB) PipelineReturns(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) 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) 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) 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) 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) 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) 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) 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) 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) 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) TeamID() int
- func (fake *FakePipelineDB) TeamIDCallCount() int
- func (fake *FakePipelineDB) TeamIDReturns(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) 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) UnpauseReturns(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) 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) 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) 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)
- 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) Invocations() map[string][][]interface{}
- type FakePipelinesDB
- func (fake *FakePipelinesDB) GetAllPublicPipelines() ([]db.SavedPipeline, error)
- func (fake *FakePipelinesDB) GetAllPublicPipelinesCallCount() int
- func (fake *FakePipelinesDB) GetAllPublicPipelinesReturns(result1 []db.SavedPipeline, result2 error)
- func (fake *FakePipelinesDB) 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) FindContainersByDescriptors(id db.Container) ([]db.SavedContainer, error)
- func (fake *FakeTeamDB) FindContainersByDescriptorsArgsForCall(i int) db.Container
- func (fake *FakeTeamDB) FindContainersByDescriptorsCallCount() int
- func (fake *FakeTeamDB) FindContainersByDescriptorsReturns(result1 []db.SavedContainer, 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) GetContainer(handle string) (db.SavedContainer, bool, error)
- func (fake *FakeTeamDB) GetContainerArgsForCall(i int) string
- func (fake *FakeTeamDB) GetContainerCallCount() int
- func (fake *FakeTeamDB) GetContainerReturns(result1 db.SavedContainer, result2 bool, result3 error)
- 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) GetPipelines() ([]db.SavedPipeline, error)
- func (fake *FakeTeamDB) GetPipelinesCallCount() int
- func (fake *FakeTeamDB) GetPipelinesReturns(result1 []db.SavedPipeline, result2 error)
- func (fake *FakeTeamDB) GetPrivateAndAllPublicPipelines() ([]db.SavedPipeline, error)
- func (fake *FakeTeamDB) GetPrivateAndAllPublicPipelinesCallCount() int
- func (fake *FakeTeamDB) GetPrivateAndAllPublicPipelinesReturns(result1 []db.SavedPipeline, result2 error)
- func (fake *FakeTeamDB) GetPrivateAndPublicBuilds(page db.Page) ([]db.Build, db.Pagination, error)
- func (fake *FakeTeamDB) GetPrivateAndPublicBuildsArgsForCall(i int) db.Page
- func (fake *FakeTeamDB) GetPrivateAndPublicBuildsCallCount() int
- func (fake *FakeTeamDB) GetPrivateAndPublicBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
- func (fake *FakeTeamDB) GetPublicPipelines() ([]db.SavedPipeline, error)
- func (fake *FakeTeamDB) GetPublicPipelinesCallCount() int
- func (fake *FakeTeamDB) GetPublicPipelinesReturns(result1 []db.SavedPipeline, result2 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) Invocations() map[string][][]interface{}
- func (fake *FakeTeamDB) OrderPipelines(arg1 []string) error
- func (fake *FakeTeamDB) OrderPipelinesArgsForCall(i int) []string
- func (fake *FakeTeamDB) OrderPipelinesCallCount() int
- func (fake *FakeTeamDB) OrderPipelinesReturns(result1 error)
- 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) UpdateBasicAuth(basicAuth *db.BasicAuth) (db.SavedTeam, error)
- func (fake *FakeTeamDB) UpdateBasicAuthArgsForCall(i int) *db.BasicAuth
- func (fake *FakeTeamDB) UpdateBasicAuthCallCount() int
- func (fake *FakeTeamDB) UpdateBasicAuthReturns(result1 db.SavedTeam, result2 error)
- func (fake *FakeTeamDB) UpdateGenericOAuth(genericOAuth *db.GenericOAuth) (db.SavedTeam, error)
- func (fake *FakeTeamDB) UpdateGenericOAuthArgsForCall(i int) *db.GenericOAuth
- func (fake *FakeTeamDB) UpdateGenericOAuthCallCount() int
- func (fake *FakeTeamDB) UpdateGenericOAuthReturns(result1 db.SavedTeam, result2 error)
- func (fake *FakeTeamDB) UpdateGitHubAuth(gitHubAuth *db.GitHubAuth) (db.SavedTeam, error)
- func (fake *FakeTeamDB) UpdateGitHubAuthArgsForCall(i int) *db.GitHubAuth
- func (fake *FakeTeamDB) UpdateGitHubAuthCallCount() int
- func (fake *FakeTeamDB) UpdateGitHubAuthReturns(result1 db.SavedTeam, result2 error)
- func (fake *FakeTeamDB) UpdateUAAAuth(uaaAuth *db.UAAAuth) (db.SavedTeam, error)
- func (fake *FakeTeamDB) UpdateUAAAuthArgsForCall(i int) *db.UAAAuth
- func (fake *FakeTeamDB) UpdateUAAAuthCallCount() int
- func (fake *FakeTeamDB) UpdateUAAAuthReturns(result1 db.SavedTeam, result2 error)
- func (fake *FakeTeamDB) Workers() ([]db.SavedWorker, error)
- func (fake *FakeTeamDB) WorkersCallCount() int
- func (fake *FakeTeamDB) WorkersReturns(result1 []db.SavedWorker, result2 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) 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) 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) 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) 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) 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) Rollback() error
- func (fake *FakeTx) RollbackCallCount() int
- func (fake *FakeTx) RollbackReturns(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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBuild ¶
type FakeBuild struct { IDStub func() int NameStub func() string JobNameStub func() string PipelineNameStub func() string TeamNameStub func() string TeamIDStub func() int EngineStub func() string EngineMetadataStub func() string StatusStub func() db.Status StartTimeStub func() time.Time EndTimeStub func() time.Time ReapTimeStub func() time.Time IsOneOffStub func() bool IsScheduledStub func() bool IsRunningStub func() bool 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) AbortReturns ¶
func (*FakeBuild) AcquireTrackingLock ¶
func (*FakeBuild) AcquireTrackingLockArgsForCall ¶
func (*FakeBuild) AcquireTrackingLockCallCount ¶
func (*FakeBuild) AcquireTrackingLockReturns ¶
func (*FakeBuild) EndTimeCallCount ¶
func (*FakeBuild) EndTimeReturns ¶
func (*FakeBuild) EngineCallCount ¶
func (*FakeBuild) EngineMetadata ¶
func (*FakeBuild) EngineMetadataCallCount ¶
func (*FakeBuild) EngineMetadataReturns ¶
func (*FakeBuild) EngineReturns ¶
func (*FakeBuild) EventsArgsForCall ¶
func (*FakeBuild) EventsCallCount ¶
func (*FakeBuild) EventsReturns ¶
func (fake *FakeBuild) EventsReturns(result1 db.EventSource, result2 error)
func (*FakeBuild) FinishCallCount ¶
func (*FakeBuild) FinishReturns ¶
func (*FakeBuild) GetConfigCallCount ¶
func (*FakeBuild) GetConfigReturns ¶
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) 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) 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) 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) 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) IDCallCount ¶
func (*FakeBuild) Invocations ¶
func (*FakeBuild) IsManuallyTriggered ¶
func (*FakeBuild) IsManuallyTriggeredCallCount ¶
func (*FakeBuild) IsManuallyTriggeredReturns ¶
func (*FakeBuild) IsOneOffCallCount ¶
func (*FakeBuild) IsOneOffReturns ¶
func (*FakeBuild) IsRunningCallCount ¶
func (*FakeBuild) IsRunningReturns ¶
func (*FakeBuild) IsScheduled ¶
func (*FakeBuild) IsScheduledCallCount ¶
func (*FakeBuild) IsScheduledReturns ¶
func (*FakeBuild) JobNameCallCount ¶
func (*FakeBuild) JobNameReturns ¶
func (*FakeBuild) MarkAsFailed ¶
func (*FakeBuild) MarkAsFailedArgsForCall ¶
func (*FakeBuild) MarkAsFailedCallCount ¶
func (*FakeBuild) MarkAsFailedReturns ¶
func (*FakeBuild) NameCallCount ¶
func (*FakeBuild) NameReturns ¶
func (*FakeBuild) PipelineName ¶
func (*FakeBuild) PipelineNameCallCount ¶
func (*FakeBuild) PipelineNameReturns ¶
func (*FakeBuild) ReapTimeCallCount ¶
func (*FakeBuild) ReapTimeReturns ¶
func (*FakeBuild) ReloadCallCount ¶
func (*FakeBuild) ReloadReturns ¶
func (*FakeBuild) SaveEngineMetadata ¶
func (*FakeBuild) SaveEngineMetadataArgsForCall ¶
func (*FakeBuild) SaveEngineMetadataCallCount ¶
func (*FakeBuild) SaveEngineMetadataReturns ¶
func (*FakeBuild) SaveEventArgsForCall ¶
func (*FakeBuild) SaveEventCallCount ¶
func (*FakeBuild) SaveEventReturns ¶
func (*FakeBuild) SaveImageResourceVersion ¶
func (*FakeBuild) SaveImageResourceVersionArgsForCall ¶
func (*FakeBuild) SaveImageResourceVersionCallCount ¶
func (*FakeBuild) SaveImageResourceVersionReturns ¶
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) 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) StartArgsForCall ¶
func (*FakeBuild) StartCallCount ¶
func (*FakeBuild) StartReturns ¶
func (*FakeBuild) StartTimeCallCount ¶
func (*FakeBuild) StartTimeReturns ¶
func (*FakeBuild) StatusCallCount ¶
func (*FakeBuild) StatusReturns ¶
func (*FakeBuild) TeamIDCallCount ¶
func (*FakeBuild) TeamIDReturns ¶
func (*FakeBuild) TeamNameCallCount ¶
func (*FakeBuild) TeamNameReturns ¶
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) CloseCallCount ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) DriverCallCount ¶
func (*FakeConn) DriverReturns ¶
func (*FakeConn) ExecArgsForCall ¶
func (*FakeConn) ExecCallCount ¶
func (*FakeConn) Invocations ¶
func (*FakeConn) PingCallCount ¶
func (*FakeConn) PingReturns ¶
func (*FakeConn) PrepareArgsForCall ¶
func (*FakeConn) PrepareCallCount ¶
func (*FakeConn) PrepareReturns ¶
func (*FakeConn) QueryArgsForCall ¶
func (*FakeConn) QueryCallCount ¶
func (*FakeConn) QueryReturns ¶
func (*FakeConn) QueryRowArgsForCall ¶
func (*FakeConn) QueryRowCallCount ¶
func (*FakeConn) QueryRowReturns ¶
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) 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)
type FakeNotifier ¶
type FakeNotifier struct { NotifyStub func() <-chan struct{} CloseStub func() error // contains filtered or unexported fields }
func (*FakeNotifier) Close ¶
func (fake *FakeNotifier) Close() error
func (*FakeNotifier) CloseCallCount ¶
func (fake *FakeNotifier) CloseCallCount() int
func (*FakeNotifier) CloseReturns ¶
func (fake *FakeNotifier) CloseReturns(result1 error)
func (*FakeNotifier) Invocations ¶
func (fake *FakeNotifier) Invocations() map[string][][]interface{}
func (*FakeNotifier) Notify ¶
func (fake *FakeNotifier) Notify() <-chan struct{}
func (*FakeNotifier) NotifyCallCount ¶
func (fake *FakeNotifier) NotifyCallCount() int
func (*FakeNotifier) NotifyReturns ¶
func (fake *FakeNotifier) NotifyReturns(result1 <-chan struct{})
type FakePipelineDB ¶
type FakePipelineDB struct { PipelineStub func() db.SavedPipeline GetPipelineNameStub func() string GetPipelineIDStub func() int ScopedNameStub func(string) string TeamIDStub func() int ConfigStub func() atc.Config ConfigVersionStub func() db.ConfigVersion ReloadStub func() (bool, error) PauseStub func() error UnpauseStub func() error IsPausedStub func() (bool, error) IsPublicStub func() bool UpdateNameStub func(string) error DestroyStub func() error AcquireSchedulingLockStub func(lager.Logger, time.Duration) (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 AcquireResourceTypeCheckingLockStub func(logger lager.Logger, resourceType db.SavedResourceType, length time.Duration, immediate bool) (lock.Lock, bool, error) GetJobsStub func() ([]db.SavedJob, error) GetJobStub func(job string) (db.SavedJob, bool, error) PauseJobStub func(job string) error UnpauseJobStub func(job string) error SetMaxInFlightReachedStub func(string, bool) error UpdateFirstLoggedBuildIDStub func(job string, newFirstLoggedBuildID int) error GetJobFinishedAndNextBuildStub func(job string) (db.Build, db.Build, error) GetJobBuildsStub func(job string, page db.Page) ([]db.Build, db.Pagination, error) GetAllJobBuildsStub func(job string) ([]db.Build, error) GetJobBuildStub func(job string, build string) (db.Build, bool, error) CreateJobBuildStub func(job string) (db.Build, error) EnsurePendingBuildExistsStub func(jobName string) error GetPendingBuildsForJobStub func(jobName string) ([]db.Build, error) GetAllPendingBuildsStub func() (map[string][]db.Build, error) UseInputsForBuildStub func(buildID int, inputs []db.BuildInput) error LoadVersionsDBStub func() (*algorithm.VersionsDB, error) GetVersionedResourceByVersionStub func(atcVersion atc.Version, resourceName string) (db.SavedVersionedResource, bool, error) SaveIndependentInputMappingStub func(inputMapping algorithm.InputMapping, jobName string) error GetIndependentBuildInputsStub func(jobName string) ([]db.BuildInput, error) SaveNextInputMappingStub func(inputMapping algorithm.InputMapping, jobName string) error GetNextBuildInputsStub func(jobName string) ([]db.BuildInput, bool, error) DeleteNextInputMappingStub func(jobName string) error GetRunningBuildsBySerialGroupStub func(jobName string, serialGroups []string) ([]db.Build, error) GetNextPendingBuildBySerialGroupStub func(jobName string, serialGroups []string) (db.Build, bool, error) UpdateBuildToScheduledStub func(buildID int) (bool, error) SaveInputStub func(buildID int, input db.BuildInput) (db.SavedVersionedResource, error) SaveOutputStub func(buildID int, vr db.VersionedResource, explicit bool) (db.SavedVersionedResource, error) GetBuildsWithVersionAsInputStub func(versionedResourceID int) ([]db.Build, error) GetBuildsWithVersionAsOutputStub func(versionedResourceID int) ([]db.Build, error) GetDashboardStub func() (db.Dashboard, atc.GroupConfigs, error) ExposeStub func() error HideStub func() error // contains filtered or unexported fields }
func (*FakePipelineDB) AcquireResourceTypeCheckingLock ¶
func (*FakePipelineDB) AcquireResourceTypeCheckingLockArgsForCall ¶
func (fake *FakePipelineDB) AcquireResourceTypeCheckingLockArgsForCall(i int) (lager.Logger, db.SavedResourceType, time.Duration, bool)
func (*FakePipelineDB) AcquireResourceTypeCheckingLockCallCount ¶
func (fake *FakePipelineDB) AcquireResourceTypeCheckingLockCallCount() int
func (*FakePipelineDB) AcquireResourceTypeCheckingLockReturns ¶
func (fake *FakePipelineDB) AcquireResourceTypeCheckingLockReturns(result1 lock.Lock, result2 bool, result3 error)
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) Config ¶
func (fake *FakePipelineDB) Config() atc.Config
func (*FakePipelineDB) ConfigCallCount ¶
func (fake *FakePipelineDB) ConfigCallCount() int
func (*FakePipelineDB) ConfigReturns ¶
func (fake *FakePipelineDB) ConfigReturns(result1 atc.Config)
func (*FakePipelineDB) ConfigVersion ¶
func (fake *FakePipelineDB) ConfigVersion() db.ConfigVersion
func (*FakePipelineDB) ConfigVersionCallCount ¶
func (fake *FakePipelineDB) ConfigVersionCallCount() int
func (*FakePipelineDB) ConfigVersionReturns ¶
func (fake *FakePipelineDB) ConfigVersionReturns(result1 db.ConfigVersion)
func (*FakePipelineDB) CreateJobBuild ¶
func (fake *FakePipelineDB) CreateJobBuild(job string) (db.Build, error)
func (*FakePipelineDB) CreateJobBuildArgsForCall ¶
func (fake *FakePipelineDB) CreateJobBuildArgsForCall(i int) string
func (*FakePipelineDB) CreateJobBuildCallCount ¶
func (fake *FakePipelineDB) CreateJobBuildCallCount() int
func (*FakePipelineDB) CreateJobBuildReturns ¶
func (fake *FakePipelineDB) CreateJobBuildReturns(result1 db.Build, result2 error)
func (*FakePipelineDB) DeleteNextInputMapping ¶
func (fake *FakePipelineDB) DeleteNextInputMapping(jobName string) error
func (*FakePipelineDB) DeleteNextInputMappingArgsForCall ¶
func (fake *FakePipelineDB) DeleteNextInputMappingArgsForCall(i int) string
func (*FakePipelineDB) DeleteNextInputMappingCallCount ¶
func (fake *FakePipelineDB) DeleteNextInputMappingCallCount() int
func (*FakePipelineDB) DeleteNextInputMappingReturns ¶
func (fake *FakePipelineDB) DeleteNextInputMappingReturns(result1 error)
func (*FakePipelineDB) Destroy ¶
func (fake *FakePipelineDB) Destroy() error
func (*FakePipelineDB) DestroyCallCount ¶
func (fake *FakePipelineDB) DestroyCallCount() int
func (*FakePipelineDB) DestroyReturns ¶
func (fake *FakePipelineDB) DestroyReturns(result1 error)
func (*FakePipelineDB) DisableVersionedResource ¶
func (fake *FakePipelineDB) DisableVersionedResource(versionedResourceID int) error
func (*FakePipelineDB) DisableVersionedResourceArgsForCall ¶
func (fake *FakePipelineDB) DisableVersionedResourceArgsForCall(i int) int
func (*FakePipelineDB) DisableVersionedResourceCallCount ¶
func (fake *FakePipelineDB) DisableVersionedResourceCallCount() int
func (*FakePipelineDB) DisableVersionedResourceReturns ¶
func (fake *FakePipelineDB) DisableVersionedResourceReturns(result1 error)
func (*FakePipelineDB) EnableVersionedResource ¶
func (fake *FakePipelineDB) EnableVersionedResource(versionedResourceID int) error
func (*FakePipelineDB) EnableVersionedResourceArgsForCall ¶
func (fake *FakePipelineDB) EnableVersionedResourceArgsForCall(i int) int
func (*FakePipelineDB) EnableVersionedResourceCallCount ¶
func (fake *FakePipelineDB) EnableVersionedResourceCallCount() int
func (*FakePipelineDB) EnableVersionedResourceReturns ¶
func (fake *FakePipelineDB) EnableVersionedResourceReturns(result1 error)
func (*FakePipelineDB) EnsurePendingBuildExists ¶
func (fake *FakePipelineDB) EnsurePendingBuildExists(jobName string) error
func (*FakePipelineDB) EnsurePendingBuildExistsArgsForCall ¶
func (fake *FakePipelineDB) EnsurePendingBuildExistsArgsForCall(i int) string
func (*FakePipelineDB) EnsurePendingBuildExistsCallCount ¶
func (fake *FakePipelineDB) EnsurePendingBuildExistsCallCount() int
func (*FakePipelineDB) EnsurePendingBuildExistsReturns ¶
func (fake *FakePipelineDB) EnsurePendingBuildExistsReturns(result1 error)
func (*FakePipelineDB) Expose ¶
func (fake *FakePipelineDB) Expose() error
func (*FakePipelineDB) ExposeCallCount ¶
func (fake *FakePipelineDB) ExposeCallCount() int
func (*FakePipelineDB) ExposeReturns ¶
func (fake *FakePipelineDB) ExposeReturns(result1 error)
func (*FakePipelineDB) GetAllJobBuilds ¶
func (fake *FakePipelineDB) GetAllJobBuilds(job string) ([]db.Build, error)
func (*FakePipelineDB) GetAllJobBuildsArgsForCall ¶
func (fake *FakePipelineDB) GetAllJobBuildsArgsForCall(i int) string
func (*FakePipelineDB) GetAllJobBuildsCallCount ¶
func (fake *FakePipelineDB) GetAllJobBuildsCallCount() int
func (*FakePipelineDB) GetAllJobBuildsReturns ¶
func (fake *FakePipelineDB) GetAllJobBuildsReturns(result1 []db.Build, result2 error)
func (*FakePipelineDB) GetAllPendingBuilds ¶
func (fake *FakePipelineDB) GetAllPendingBuilds() (map[string][]db.Build, error)
func (*FakePipelineDB) GetAllPendingBuildsCallCount ¶
func (fake *FakePipelineDB) GetAllPendingBuildsCallCount() int
func (*FakePipelineDB) GetAllPendingBuildsReturns ¶
func (fake *FakePipelineDB) GetAllPendingBuildsReturns(result1 map[string][]db.Build, result2 error)
func (*FakePipelineDB) GetBuildsWithVersionAsInput ¶
func (fake *FakePipelineDB) GetBuildsWithVersionAsInput(versionedResourceID int) ([]db.Build, error)
func (*FakePipelineDB) GetBuildsWithVersionAsInputArgsForCall ¶
func (fake *FakePipelineDB) GetBuildsWithVersionAsInputArgsForCall(i int) int
func (*FakePipelineDB) GetBuildsWithVersionAsInputCallCount ¶
func (fake *FakePipelineDB) GetBuildsWithVersionAsInputCallCount() int
func (*FakePipelineDB) GetBuildsWithVersionAsInputReturns ¶
func (fake *FakePipelineDB) GetBuildsWithVersionAsInputReturns(result1 []db.Build, result2 error)
func (*FakePipelineDB) GetBuildsWithVersionAsOutput ¶
func (fake *FakePipelineDB) GetBuildsWithVersionAsOutput(versionedResourceID int) ([]db.Build, error)
func (*FakePipelineDB) GetBuildsWithVersionAsOutputArgsForCall ¶
func (fake *FakePipelineDB) GetBuildsWithVersionAsOutputArgsForCall(i int) int
func (*FakePipelineDB) GetBuildsWithVersionAsOutputCallCount ¶
func (fake *FakePipelineDB) GetBuildsWithVersionAsOutputCallCount() int
func (*FakePipelineDB) GetBuildsWithVersionAsOutputReturns ¶
func (fake *FakePipelineDB) GetBuildsWithVersionAsOutputReturns(result1 []db.Build, result2 error)
func (*FakePipelineDB) GetDashboard ¶
func (fake *FakePipelineDB) GetDashboard() (db.Dashboard, atc.GroupConfigs, error)
func (*FakePipelineDB) GetDashboardCallCount ¶
func (fake *FakePipelineDB) GetDashboardCallCount() int
func (*FakePipelineDB) GetDashboardReturns ¶
func (fake *FakePipelineDB) GetDashboardReturns(result1 db.Dashboard, result2 atc.GroupConfigs, result3 error)
func (*FakePipelineDB) GetIndependentBuildInputs ¶
func (fake *FakePipelineDB) GetIndependentBuildInputs(jobName string) ([]db.BuildInput, error)
func (*FakePipelineDB) GetIndependentBuildInputsArgsForCall ¶
func (fake *FakePipelineDB) GetIndependentBuildInputsArgsForCall(i int) string
func (*FakePipelineDB) GetIndependentBuildInputsCallCount ¶
func (fake *FakePipelineDB) GetIndependentBuildInputsCallCount() int
func (*FakePipelineDB) GetIndependentBuildInputsReturns ¶
func (fake *FakePipelineDB) GetIndependentBuildInputsReturns(result1 []db.BuildInput, result2 error)
func (*FakePipelineDB) 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) GetJobBuilds ¶
func (fake *FakePipelineDB) GetJobBuilds(job string, page db.Page) ([]db.Build, db.Pagination, error)
func (*FakePipelineDB) GetJobBuildsArgsForCall ¶
func (fake *FakePipelineDB) GetJobBuildsArgsForCall(i int) (string, db.Page)
func (*FakePipelineDB) GetJobBuildsCallCount ¶
func (fake *FakePipelineDB) GetJobBuildsCallCount() int
func (*FakePipelineDB) GetJobBuildsReturns ¶
func (fake *FakePipelineDB) GetJobBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
func (*FakePipelineDB) GetJobCallCount ¶
func (fake *FakePipelineDB) GetJobCallCount() int
func (*FakePipelineDB) GetJobFinishedAndNextBuild ¶
func (*FakePipelineDB) GetJobFinishedAndNextBuildArgsForCall ¶
func (fake *FakePipelineDB) GetJobFinishedAndNextBuildArgsForCall(i int) string
func (*FakePipelineDB) GetJobFinishedAndNextBuildCallCount ¶
func (fake *FakePipelineDB) GetJobFinishedAndNextBuildCallCount() int
func (*FakePipelineDB) GetJobFinishedAndNextBuildReturns ¶
func (*FakePipelineDB) GetJobReturns ¶
func (fake *FakePipelineDB) GetJobReturns(result1 db.SavedJob, result2 bool, result3 error)
func (*FakePipelineDB) GetJobsCallCount ¶
func (fake *FakePipelineDB) GetJobsCallCount() int
func (*FakePipelineDB) GetJobsReturns ¶
func (fake *FakePipelineDB) GetJobsReturns(result1 []db.SavedJob, result2 error)
func (*FakePipelineDB) GetLatestEnabledVersionedResource ¶
func (fake *FakePipelineDB) GetLatestEnabledVersionedResource(resourceName string) (db.SavedVersionedResource, bool, error)
func (*FakePipelineDB) GetLatestEnabledVersionedResourceArgsForCall ¶
func (fake *FakePipelineDB) GetLatestEnabledVersionedResourceArgsForCall(i int) string
func (*FakePipelineDB) GetLatestEnabledVersionedResourceCallCount ¶
func (fake *FakePipelineDB) GetLatestEnabledVersionedResourceCallCount() int
func (*FakePipelineDB) GetLatestEnabledVersionedResourceReturns ¶
func (fake *FakePipelineDB) GetLatestEnabledVersionedResourceReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)
func (*FakePipelineDB) GetLatestVersionedResource ¶
func (fake *FakePipelineDB) GetLatestVersionedResource(resourceName string) (db.SavedVersionedResource, bool, error)
func (*FakePipelineDB) GetLatestVersionedResourceArgsForCall ¶
func (fake *FakePipelineDB) GetLatestVersionedResourceArgsForCall(i int) string
func (*FakePipelineDB) GetLatestVersionedResourceCallCount ¶
func (fake *FakePipelineDB) GetLatestVersionedResourceCallCount() int
func (*FakePipelineDB) GetLatestVersionedResourceReturns ¶
func (fake *FakePipelineDB) GetLatestVersionedResourceReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)
func (*FakePipelineDB) GetNextBuildInputs ¶
func (fake *FakePipelineDB) GetNextBuildInputs(jobName string) ([]db.BuildInput, bool, error)
func (*FakePipelineDB) GetNextBuildInputsArgsForCall ¶
func (fake *FakePipelineDB) GetNextBuildInputsArgsForCall(i int) string
func (*FakePipelineDB) GetNextBuildInputsCallCount ¶
func (fake *FakePipelineDB) GetNextBuildInputsCallCount() int
func (*FakePipelineDB) GetNextBuildInputsReturns ¶
func (fake *FakePipelineDB) GetNextBuildInputsReturns(result1 []db.BuildInput, result2 bool, result3 error)
func (*FakePipelineDB) GetNextPendingBuildBySerialGroup ¶
func (*FakePipelineDB) GetNextPendingBuildBySerialGroupArgsForCall ¶
func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroupArgsForCall(i int) (string, []string)
func (*FakePipelineDB) GetNextPendingBuildBySerialGroupCallCount ¶
func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroupCallCount() int
func (*FakePipelineDB) GetNextPendingBuildBySerialGroupReturns ¶
func (fake *FakePipelineDB) GetNextPendingBuildBySerialGroupReturns(result1 db.Build, result2 bool, result3 error)
func (*FakePipelineDB) GetPendingBuildsForJob ¶
func (fake *FakePipelineDB) GetPendingBuildsForJob(jobName string) ([]db.Build, error)
func (*FakePipelineDB) GetPendingBuildsForJobArgsForCall ¶
func (fake *FakePipelineDB) GetPendingBuildsForJobArgsForCall(i int) string
func (*FakePipelineDB) GetPendingBuildsForJobCallCount ¶
func (fake *FakePipelineDB) GetPendingBuildsForJobCallCount() int
func (*FakePipelineDB) GetPendingBuildsForJobReturns ¶
func (fake *FakePipelineDB) GetPendingBuildsForJobReturns(result1 []db.Build, result2 error)
func (*FakePipelineDB) GetPipelineID ¶
func (fake *FakePipelineDB) GetPipelineID() int
func (*FakePipelineDB) GetPipelineIDCallCount ¶
func (fake *FakePipelineDB) GetPipelineIDCallCount() int
func (*FakePipelineDB) GetPipelineIDReturns ¶
func (fake *FakePipelineDB) GetPipelineIDReturns(result1 int)
func (*FakePipelineDB) GetPipelineName ¶
func (fake *FakePipelineDB) GetPipelineName() string
func (*FakePipelineDB) GetPipelineNameCallCount ¶
func (fake *FakePipelineDB) GetPipelineNameCallCount() int
func (*FakePipelineDB) GetPipelineNameReturns ¶
func (fake *FakePipelineDB) GetPipelineNameReturns(result1 string)
func (*FakePipelineDB) GetResource ¶
func (fake *FakePipelineDB) GetResource(resourceName string) (db.SavedResource, bool, error)
func (*FakePipelineDB) GetResourceArgsForCall ¶
func (fake *FakePipelineDB) GetResourceArgsForCall(i int) string
func (*FakePipelineDB) GetResourceCallCount ¶
func (fake *FakePipelineDB) GetResourceCallCount() int
func (*FakePipelineDB) GetResourceReturns ¶
func (fake *FakePipelineDB) GetResourceReturns(result1 db.SavedResource, result2 bool, result3 error)
func (*FakePipelineDB) GetResourceType ¶
func (fake *FakePipelineDB) GetResourceType(resourceTypeName string) (db.SavedResourceType, bool, error)
func (*FakePipelineDB) GetResourceTypeArgsForCall ¶
func (fake *FakePipelineDB) GetResourceTypeArgsForCall(i int) string
func (*FakePipelineDB) GetResourceTypeCallCount ¶
func (fake *FakePipelineDB) GetResourceTypeCallCount() int
func (*FakePipelineDB) GetResourceTypeReturns ¶
func (fake *FakePipelineDB) GetResourceTypeReturns(result1 db.SavedResourceType, result2 bool, result3 error)
func (*FakePipelineDB) GetResourceVersions ¶
func (fake *FakePipelineDB) GetResourceVersions(resourceName string, page db.Page) ([]db.SavedVersionedResource, db.Pagination, bool, error)
func (*FakePipelineDB) GetResourceVersionsArgsForCall ¶
func (fake *FakePipelineDB) GetResourceVersionsArgsForCall(i int) (string, db.Page)
func (*FakePipelineDB) GetResourceVersionsCallCount ¶
func (fake *FakePipelineDB) GetResourceVersionsCallCount() int
func (*FakePipelineDB) GetResourceVersionsReturns ¶
func (fake *FakePipelineDB) GetResourceVersionsReturns(result1 []db.SavedVersionedResource, result2 db.Pagination, result3 bool, result4 error)
func (*FakePipelineDB) GetResources ¶
func (fake *FakePipelineDB) GetResources() ([]db.SavedResource, bool, error)
func (*FakePipelineDB) GetResourcesCallCount ¶
func (fake *FakePipelineDB) GetResourcesCallCount() int
func (*FakePipelineDB) GetResourcesReturns ¶
func (fake *FakePipelineDB) GetResourcesReturns(result1 []db.SavedResource, result2 bool, result3 error)
func (*FakePipelineDB) GetRunningBuildsBySerialGroup ¶
func (*FakePipelineDB) GetRunningBuildsBySerialGroupArgsForCall ¶
func (fake *FakePipelineDB) GetRunningBuildsBySerialGroupArgsForCall(i int) (string, []string)
func (*FakePipelineDB) GetRunningBuildsBySerialGroupCallCount ¶
func (fake *FakePipelineDB) GetRunningBuildsBySerialGroupCallCount() int
func (*FakePipelineDB) GetRunningBuildsBySerialGroupReturns ¶
func (fake *FakePipelineDB) GetRunningBuildsBySerialGroupReturns(result1 []db.Build, result2 error)
func (*FakePipelineDB) GetVersionedResourceByVersion ¶
func (fake *FakePipelineDB) GetVersionedResourceByVersion(atcVersion atc.Version, resourceName string) (db.SavedVersionedResource, bool, error)
func (*FakePipelineDB) GetVersionedResourceByVersionArgsForCall ¶
func (fake *FakePipelineDB) GetVersionedResourceByVersionArgsForCall(i int) (atc.Version, string)
func (*FakePipelineDB) GetVersionedResourceByVersionCallCount ¶
func (fake *FakePipelineDB) GetVersionedResourceByVersionCallCount() int
func (*FakePipelineDB) GetVersionedResourceByVersionReturns ¶
func (fake *FakePipelineDB) GetVersionedResourceByVersionReturns(result1 db.SavedVersionedResource, result2 bool, result3 error)
func (*FakePipelineDB) Hide ¶
func (fake *FakePipelineDB) Hide() error
func (*FakePipelineDB) HideCallCount ¶
func (fake *FakePipelineDB) HideCallCount() int
func (*FakePipelineDB) HideReturns ¶
func (fake *FakePipelineDB) HideReturns(result1 error)
func (*FakePipelineDB) Invocations ¶
func (fake *FakePipelineDB) Invocations() map[string][][]interface{}
func (*FakePipelineDB) IsPaused ¶
func (fake *FakePipelineDB) IsPaused() (bool, error)
func (*FakePipelineDB) IsPausedCallCount ¶
func (fake *FakePipelineDB) IsPausedCallCount() int
func (*FakePipelineDB) IsPausedReturns ¶
func (fake *FakePipelineDB) IsPausedReturns(result1 bool, result2 error)
func (*FakePipelineDB) IsPublic ¶
func (fake *FakePipelineDB) IsPublic() bool
func (*FakePipelineDB) IsPublicCallCount ¶
func (fake *FakePipelineDB) IsPublicCallCount() int
func (*FakePipelineDB) IsPublicReturns ¶
func (fake *FakePipelineDB) IsPublicReturns(result1 bool)
func (*FakePipelineDB) LoadVersionsDB ¶
func (fake *FakePipelineDB) LoadVersionsDB() (*algorithm.VersionsDB, error)
func (*FakePipelineDB) LoadVersionsDBCallCount ¶
func (fake *FakePipelineDB) LoadVersionsDBCallCount() int
func (*FakePipelineDB) LoadVersionsDBReturns ¶
func (fake *FakePipelineDB) LoadVersionsDBReturns(result1 *algorithm.VersionsDB, result2 error)
func (*FakePipelineDB) Pause ¶
func (fake *FakePipelineDB) Pause() error
func (*FakePipelineDB) PauseCallCount ¶
func (fake *FakePipelineDB) PauseCallCount() int
func (*FakePipelineDB) PauseJob ¶
func (fake *FakePipelineDB) PauseJob(job string) error
func (*FakePipelineDB) PauseJobArgsForCall ¶
func (fake *FakePipelineDB) PauseJobArgsForCall(i int) string
func (*FakePipelineDB) PauseJobCallCount ¶
func (fake *FakePipelineDB) PauseJobCallCount() int
func (*FakePipelineDB) PauseJobReturns ¶
func (fake *FakePipelineDB) PauseJobReturns(result1 error)
func (*FakePipelineDB) PauseResource ¶
func (fake *FakePipelineDB) PauseResource(resourceName string) error
func (*FakePipelineDB) PauseResourceArgsForCall ¶
func (fake *FakePipelineDB) PauseResourceArgsForCall(i int) string
func (*FakePipelineDB) PauseResourceCallCount ¶
func (fake *FakePipelineDB) PauseResourceCallCount() int
func (*FakePipelineDB) PauseResourceReturns ¶
func (fake *FakePipelineDB) PauseResourceReturns(result1 error)
func (*FakePipelineDB) PauseReturns ¶
func (fake *FakePipelineDB) PauseReturns(result1 error)
func (*FakePipelineDB) Pipeline ¶
func (fake *FakePipelineDB) Pipeline() db.SavedPipeline
func (*FakePipelineDB) PipelineCallCount ¶
func (fake *FakePipelineDB) PipelineCallCount() int
func (*FakePipelineDB) PipelineReturns ¶
func (fake *FakePipelineDB) PipelineReturns(result1 db.SavedPipeline)
func (*FakePipelineDB) Reload ¶
func (fake *FakePipelineDB) Reload() (bool, error)
func (*FakePipelineDB) ReloadCallCount ¶
func (fake *FakePipelineDB) ReloadCallCount() int
func (*FakePipelineDB) ReloadReturns ¶
func (fake *FakePipelineDB) ReloadReturns(result1 bool, result2 error)
func (*FakePipelineDB) SaveIndependentInputMapping ¶
func (fake *FakePipelineDB) SaveIndependentInputMapping(inputMapping algorithm.InputMapping, jobName string) error
func (*FakePipelineDB) SaveIndependentInputMappingArgsForCall ¶
func (fake *FakePipelineDB) SaveIndependentInputMappingArgsForCall(i int) (algorithm.InputMapping, string)
func (*FakePipelineDB) SaveIndependentInputMappingCallCount ¶
func (fake *FakePipelineDB) SaveIndependentInputMappingCallCount() int
func (*FakePipelineDB) SaveIndependentInputMappingReturns ¶
func (fake *FakePipelineDB) SaveIndependentInputMappingReturns(result1 error)
func (*FakePipelineDB) SaveInput ¶
func (fake *FakePipelineDB) SaveInput(buildID int, input db.BuildInput) (db.SavedVersionedResource, error)
func (*FakePipelineDB) SaveInputArgsForCall ¶
func (fake *FakePipelineDB) SaveInputArgsForCall(i int) (int, db.BuildInput)
func (*FakePipelineDB) SaveInputCallCount ¶
func (fake *FakePipelineDB) SaveInputCallCount() int
func (*FakePipelineDB) SaveInputReturns ¶
func (fake *FakePipelineDB) SaveInputReturns(result1 db.SavedVersionedResource, result2 error)
func (*FakePipelineDB) SaveNextInputMapping ¶
func (fake *FakePipelineDB) SaveNextInputMapping(inputMapping algorithm.InputMapping, jobName string) error
func (*FakePipelineDB) SaveNextInputMappingArgsForCall ¶
func (fake *FakePipelineDB) SaveNextInputMappingArgsForCall(i int) (algorithm.InputMapping, string)
func (*FakePipelineDB) SaveNextInputMappingCallCount ¶
func (fake *FakePipelineDB) SaveNextInputMappingCallCount() int
func (*FakePipelineDB) SaveNextInputMappingReturns ¶
func (fake *FakePipelineDB) SaveNextInputMappingReturns(result1 error)
func (*FakePipelineDB) SaveOutput ¶
func (fake *FakePipelineDB) SaveOutput(buildID int, vr db.VersionedResource, explicit bool) (db.SavedVersionedResource, error)
func (*FakePipelineDB) SaveOutputArgsForCall ¶
func (fake *FakePipelineDB) SaveOutputArgsForCall(i int) (int, db.VersionedResource, bool)
func (*FakePipelineDB) SaveOutputCallCount ¶
func (fake *FakePipelineDB) SaveOutputCallCount() int
func (*FakePipelineDB) SaveOutputReturns ¶
func (fake *FakePipelineDB) SaveOutputReturns(result1 db.SavedVersionedResource, result2 error)
func (*FakePipelineDB) SaveResourceTypeVersion ¶
func (fake *FakePipelineDB) SaveResourceTypeVersion(arg1 atc.ResourceType, arg2 atc.Version) error
func (*FakePipelineDB) SaveResourceTypeVersionArgsForCall ¶
func (fake *FakePipelineDB) SaveResourceTypeVersionArgsForCall(i int) (atc.ResourceType, atc.Version)
func (*FakePipelineDB) SaveResourceTypeVersionCallCount ¶
func (fake *FakePipelineDB) SaveResourceTypeVersionCallCount() int
func (*FakePipelineDB) SaveResourceTypeVersionReturns ¶
func (fake *FakePipelineDB) SaveResourceTypeVersionReturns(result1 error)
func (*FakePipelineDB) SaveResourceVersions ¶
func (fake *FakePipelineDB) SaveResourceVersions(arg1 atc.ResourceConfig, arg2 []atc.Version) error
func (*FakePipelineDB) SaveResourceVersionsArgsForCall ¶
func (fake *FakePipelineDB) SaveResourceVersionsArgsForCall(i int) (atc.ResourceConfig, []atc.Version)
func (*FakePipelineDB) SaveResourceVersionsCallCount ¶
func (fake *FakePipelineDB) SaveResourceVersionsCallCount() int
func (*FakePipelineDB) SaveResourceVersionsReturns ¶
func (fake *FakePipelineDB) SaveResourceVersionsReturns(result1 error)
func (*FakePipelineDB) ScopedName ¶
func (fake *FakePipelineDB) ScopedName(arg1 string) string
func (*FakePipelineDB) ScopedNameArgsForCall ¶
func (fake *FakePipelineDB) ScopedNameArgsForCall(i int) string
func (*FakePipelineDB) ScopedNameCallCount ¶
func (fake *FakePipelineDB) ScopedNameCallCount() int
func (*FakePipelineDB) ScopedNameReturns ¶
func (fake *FakePipelineDB) ScopedNameReturns(result1 string)
func (*FakePipelineDB) SetMaxInFlightReached ¶
func (fake *FakePipelineDB) SetMaxInFlightReached(arg1 string, arg2 bool) error
func (*FakePipelineDB) SetMaxInFlightReachedArgsForCall ¶
func (fake *FakePipelineDB) SetMaxInFlightReachedArgsForCall(i int) (string, bool)
func (*FakePipelineDB) SetMaxInFlightReachedCallCount ¶
func (fake *FakePipelineDB) SetMaxInFlightReachedCallCount() int
func (*FakePipelineDB) SetMaxInFlightReachedReturns ¶
func (fake *FakePipelineDB) SetMaxInFlightReachedReturns(result1 error)
func (*FakePipelineDB) SetResourceCheckError ¶
func (fake *FakePipelineDB) SetResourceCheckError(resource db.SavedResource, err error) error
func (*FakePipelineDB) SetResourceCheckErrorArgsForCall ¶
func (fake *FakePipelineDB) SetResourceCheckErrorArgsForCall(i int) (db.SavedResource, error)
func (*FakePipelineDB) SetResourceCheckErrorCallCount ¶
func (fake *FakePipelineDB) SetResourceCheckErrorCallCount() int
func (*FakePipelineDB) SetResourceCheckErrorReturns ¶
func (fake *FakePipelineDB) SetResourceCheckErrorReturns(result1 error)
func (*FakePipelineDB) TeamID ¶
func (fake *FakePipelineDB) TeamID() int
func (*FakePipelineDB) TeamIDCallCount ¶
func (fake *FakePipelineDB) TeamIDCallCount() int
func (*FakePipelineDB) TeamIDReturns ¶
func (fake *FakePipelineDB) TeamIDReturns(result1 int)
func (*FakePipelineDB) Unpause ¶
func (fake *FakePipelineDB) Unpause() error
func (*FakePipelineDB) UnpauseCallCount ¶
func (fake *FakePipelineDB) UnpauseCallCount() int
func (*FakePipelineDB) UnpauseJob ¶
func (fake *FakePipelineDB) UnpauseJob(job string) error
func (*FakePipelineDB) UnpauseJobArgsForCall ¶
func (fake *FakePipelineDB) UnpauseJobArgsForCall(i int) string
func (*FakePipelineDB) UnpauseJobCallCount ¶
func (fake *FakePipelineDB) UnpauseJobCallCount() int
func (*FakePipelineDB) UnpauseJobReturns ¶
func (fake *FakePipelineDB) UnpauseJobReturns(result1 error)
func (*FakePipelineDB) UnpauseResource ¶
func (fake *FakePipelineDB) UnpauseResource(resourceName string) error
func (*FakePipelineDB) UnpauseResourceArgsForCall ¶
func (fake *FakePipelineDB) UnpauseResourceArgsForCall(i int) string
func (*FakePipelineDB) UnpauseResourceCallCount ¶
func (fake *FakePipelineDB) UnpauseResourceCallCount() int
func (*FakePipelineDB) UnpauseResourceReturns ¶
func (fake *FakePipelineDB) UnpauseResourceReturns(result1 error)
func (*FakePipelineDB) UnpauseReturns ¶
func (fake *FakePipelineDB) UnpauseReturns(result1 error)
func (*FakePipelineDB) UpdateBuildToScheduled ¶
func (fake *FakePipelineDB) UpdateBuildToScheduled(buildID int) (bool, error)
func (*FakePipelineDB) UpdateBuildToScheduledArgsForCall ¶
func (fake *FakePipelineDB) UpdateBuildToScheduledArgsForCall(i int) int
func (*FakePipelineDB) UpdateBuildToScheduledCallCount ¶
func (fake *FakePipelineDB) UpdateBuildToScheduledCallCount() int
func (*FakePipelineDB) UpdateBuildToScheduledReturns ¶
func (fake *FakePipelineDB) UpdateBuildToScheduledReturns(result1 bool, result2 error)
func (*FakePipelineDB) UpdateFirstLoggedBuildID ¶
func (fake *FakePipelineDB) UpdateFirstLoggedBuildID(job string, newFirstLoggedBuildID int) error
func (*FakePipelineDB) UpdateFirstLoggedBuildIDArgsForCall ¶
func (fake *FakePipelineDB) UpdateFirstLoggedBuildIDArgsForCall(i int) (string, int)
func (*FakePipelineDB) UpdateFirstLoggedBuildIDCallCount ¶
func (fake *FakePipelineDB) UpdateFirstLoggedBuildIDCallCount() int
func (*FakePipelineDB) UpdateFirstLoggedBuildIDReturns ¶
func (fake *FakePipelineDB) UpdateFirstLoggedBuildIDReturns(result1 error)
func (*FakePipelineDB) UpdateName ¶
func (fake *FakePipelineDB) UpdateName(arg1 string) error
func (*FakePipelineDB) UpdateNameArgsForCall ¶
func (fake *FakePipelineDB) UpdateNameArgsForCall(i int) string
func (*FakePipelineDB) UpdateNameCallCount ¶
func (fake *FakePipelineDB) UpdateNameCallCount() int
func (*FakePipelineDB) UpdateNameReturns ¶
func (fake *FakePipelineDB) UpdateNameReturns(result1 error)
func (*FakePipelineDB) UseInputsForBuild ¶
func (fake *FakePipelineDB) UseInputsForBuild(buildID int, inputs []db.BuildInput) error
func (*FakePipelineDB) UseInputsForBuildArgsForCall ¶
func (fake *FakePipelineDB) UseInputsForBuildArgsForCall(i int) (int, []db.BuildInput)
func (*FakePipelineDB) UseInputsForBuildCallCount ¶
func (fake *FakePipelineDB) UseInputsForBuildCallCount() int
func (*FakePipelineDB) UseInputsForBuildReturns ¶
func (fake *FakePipelineDB) UseInputsForBuildReturns(result1 error)
type FakePipelineDBFactory ¶
type FakePipelineDBFactory struct { BuildStub func(pipeline db.SavedPipeline) db.PipelineDB // contains filtered or unexported fields }
func (*FakePipelineDBFactory) Build ¶
func (fake *FakePipelineDBFactory) Build(pipeline db.SavedPipeline) db.PipelineDB
func (*FakePipelineDBFactory) BuildArgsForCall ¶
func (fake *FakePipelineDBFactory) BuildArgsForCall(i int) db.SavedPipeline
func (*FakePipelineDBFactory) BuildCallCount ¶
func (fake *FakePipelineDBFactory) BuildCallCount() int
func (*FakePipelineDBFactory) BuildReturns ¶
func (fake *FakePipelineDBFactory) BuildReturns(result1 db.PipelineDB)
func (*FakePipelineDBFactory) Invocations ¶
func (fake *FakePipelineDBFactory) Invocations() map[string][][]interface{}
type FakePipelinesDB ¶
type FakePipelinesDB struct { GetAllPublicPipelinesStub func() ([]db.SavedPipeline, error) // contains filtered or unexported fields }
func (*FakePipelinesDB) GetAllPublicPipelines ¶
func (fake *FakePipelinesDB) GetAllPublicPipelines() ([]db.SavedPipeline, error)
func (*FakePipelinesDB) GetAllPublicPipelinesCallCount ¶
func (fake *FakePipelinesDB) GetAllPublicPipelinesCallCount() int
func (*FakePipelinesDB) GetAllPublicPipelinesReturns ¶
func (fake *FakePipelinesDB) GetAllPublicPipelinesReturns(result1 []db.SavedPipeline, result2 error)
func (*FakePipelinesDB) Invocations ¶
func (fake *FakePipelinesDB) Invocations() map[string][][]interface{}
type FakeTeamDB ¶
type FakeTeamDB struct { GetPipelinesStub func() ([]db.SavedPipeline, error) GetPublicPipelinesStub func() ([]db.SavedPipeline, error) GetPrivateAndAllPublicPipelinesStub func() ([]db.SavedPipeline, error) GetPipelineByNameStub func(pipelineName string) (db.SavedPipeline, bool, error) OrderPipelinesStub func([]string) error GetTeamStub func() (db.SavedTeam, bool, error) UpdateBasicAuthStub func(basicAuth *db.BasicAuth) (db.SavedTeam, error) UpdateGitHubAuthStub func(gitHubAuth *db.GitHubAuth) (db.SavedTeam, error) UpdateUAAAuthStub func(uaaAuth *db.UAAAuth) (db.SavedTeam, error) UpdateGenericOAuthStub func(genericOAuth *db.GenericOAuth) (db.SavedTeam, error) GetConfigStub func(pipelineName string) (atc.Config, atc.RawConfig, db.ConfigVersion, error) SaveConfigToBeDeprecatedStub func(string, atc.Config, db.ConfigVersion, db.PipelinePausedState) (db.SavedPipeline, bool, error) CreateOneOffBuildStub func() (db.Build, error) GetPrivateAndPublicBuildsStub func(page db.Page) ([]db.Build, db.Pagination, error) WorkersStub func() ([]db.SavedWorker, error) GetContainerStub func(handle string) (db.SavedContainer, bool, error) FindContainersByDescriptorsStub func(id db.Container) ([]db.SavedContainer, error) // contains filtered or unexported fields }
func (*FakeTeamDB) CreateOneOffBuild ¶
func (fake *FakeTeamDB) CreateOneOffBuild() (db.Build, error)
func (*FakeTeamDB) CreateOneOffBuildCallCount ¶
func (fake *FakeTeamDB) CreateOneOffBuildCallCount() int
func (*FakeTeamDB) CreateOneOffBuildReturns ¶
func (fake *FakeTeamDB) CreateOneOffBuildReturns(result1 db.Build, result2 error)
func (*FakeTeamDB) FindContainersByDescriptors ¶
func (fake *FakeTeamDB) FindContainersByDescriptors(id db.Container) ([]db.SavedContainer, error)
func (*FakeTeamDB) FindContainersByDescriptorsArgsForCall ¶
func (fake *FakeTeamDB) FindContainersByDescriptorsArgsForCall(i int) db.Container
func (*FakeTeamDB) FindContainersByDescriptorsCallCount ¶
func (fake *FakeTeamDB) FindContainersByDescriptorsCallCount() int
func (*FakeTeamDB) FindContainersByDescriptorsReturns ¶
func (fake *FakeTeamDB) FindContainersByDescriptorsReturns(result1 []db.SavedContainer, result2 error)
func (*FakeTeamDB) GetConfig ¶
func (fake *FakeTeamDB) GetConfig(pipelineName string) (atc.Config, atc.RawConfig, db.ConfigVersion, error)
func (*FakeTeamDB) GetConfigArgsForCall ¶
func (fake *FakeTeamDB) GetConfigArgsForCall(i int) string
func (*FakeTeamDB) GetConfigCallCount ¶
func (fake *FakeTeamDB) GetConfigCallCount() int
func (*FakeTeamDB) GetConfigReturns ¶
func (fake *FakeTeamDB) GetConfigReturns(result1 atc.Config, result2 atc.RawConfig, result3 db.ConfigVersion, result4 error)
func (*FakeTeamDB) GetContainer ¶
func (fake *FakeTeamDB) GetContainer(handle string) (db.SavedContainer, bool, error)
func (*FakeTeamDB) GetContainerArgsForCall ¶
func (fake *FakeTeamDB) GetContainerArgsForCall(i int) string
func (*FakeTeamDB) GetContainerCallCount ¶
func (fake *FakeTeamDB) GetContainerCallCount() int
func (*FakeTeamDB) GetContainerReturns ¶
func (fake *FakeTeamDB) GetContainerReturns(result1 db.SavedContainer, result2 bool, result3 error)
func (*FakeTeamDB) GetPipelineByName ¶
func (fake *FakeTeamDB) GetPipelineByName(pipelineName string) (db.SavedPipeline, bool, error)
func (*FakeTeamDB) GetPipelineByNameArgsForCall ¶
func (fake *FakeTeamDB) GetPipelineByNameArgsForCall(i int) string
func (*FakeTeamDB) GetPipelineByNameCallCount ¶
func (fake *FakeTeamDB) GetPipelineByNameCallCount() int
func (*FakeTeamDB) GetPipelineByNameReturns ¶
func (fake *FakeTeamDB) GetPipelineByNameReturns(result1 db.SavedPipeline, result2 bool, result3 error)
func (*FakeTeamDB) GetPipelines ¶
func (fake *FakeTeamDB) GetPipelines() ([]db.SavedPipeline, error)
func (*FakeTeamDB) GetPipelinesCallCount ¶
func (fake *FakeTeamDB) GetPipelinesCallCount() int
func (*FakeTeamDB) GetPipelinesReturns ¶
func (fake *FakeTeamDB) GetPipelinesReturns(result1 []db.SavedPipeline, result2 error)
func (*FakeTeamDB) GetPrivateAndAllPublicPipelines ¶
func (fake *FakeTeamDB) GetPrivateAndAllPublicPipelines() ([]db.SavedPipeline, error)
func (*FakeTeamDB) GetPrivateAndAllPublicPipelinesCallCount ¶
func (fake *FakeTeamDB) GetPrivateAndAllPublicPipelinesCallCount() int
func (*FakeTeamDB) GetPrivateAndAllPublicPipelinesReturns ¶
func (fake *FakeTeamDB) GetPrivateAndAllPublicPipelinesReturns(result1 []db.SavedPipeline, result2 error)
func (*FakeTeamDB) GetPrivateAndPublicBuilds ¶
func (fake *FakeTeamDB) GetPrivateAndPublicBuilds(page db.Page) ([]db.Build, db.Pagination, error)
func (*FakeTeamDB) GetPrivateAndPublicBuildsArgsForCall ¶
func (fake *FakeTeamDB) GetPrivateAndPublicBuildsArgsForCall(i int) db.Page
func (*FakeTeamDB) GetPrivateAndPublicBuildsCallCount ¶
func (fake *FakeTeamDB) GetPrivateAndPublicBuildsCallCount() int
func (*FakeTeamDB) GetPrivateAndPublicBuildsReturns ¶
func (fake *FakeTeamDB) GetPrivateAndPublicBuildsReturns(result1 []db.Build, result2 db.Pagination, result3 error)
func (*FakeTeamDB) GetPublicPipelines ¶
func (fake *FakeTeamDB) GetPublicPipelines() ([]db.SavedPipeline, error)
func (*FakeTeamDB) GetPublicPipelinesCallCount ¶
func (fake *FakeTeamDB) GetPublicPipelinesCallCount() int
func (*FakeTeamDB) GetPublicPipelinesReturns ¶
func (fake *FakeTeamDB) GetPublicPipelinesReturns(result1 []db.SavedPipeline, result2 error)
func (*FakeTeamDB) GetTeamCallCount ¶
func (fake *FakeTeamDB) GetTeamCallCount() int
func (*FakeTeamDB) GetTeamReturns ¶
func (fake *FakeTeamDB) GetTeamReturns(result1 db.SavedTeam, result2 bool, result3 error)
func (*FakeTeamDB) Invocations ¶
func (fake *FakeTeamDB) Invocations() map[string][][]interface{}
func (*FakeTeamDB) OrderPipelines ¶
func (fake *FakeTeamDB) OrderPipelines(arg1 []string) error
func (*FakeTeamDB) OrderPipelinesArgsForCall ¶
func (fake *FakeTeamDB) OrderPipelinesArgsForCall(i int) []string
func (*FakeTeamDB) OrderPipelinesCallCount ¶
func (fake *FakeTeamDB) OrderPipelinesCallCount() int
func (*FakeTeamDB) OrderPipelinesReturns ¶
func (fake *FakeTeamDB) OrderPipelinesReturns(result1 error)
func (*FakeTeamDB) 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) UpdateBasicAuth ¶
func (*FakeTeamDB) UpdateBasicAuthArgsForCall ¶
func (fake *FakeTeamDB) UpdateBasicAuthArgsForCall(i int) *db.BasicAuth
func (*FakeTeamDB) UpdateBasicAuthCallCount ¶
func (fake *FakeTeamDB) UpdateBasicAuthCallCount() int
func (*FakeTeamDB) UpdateBasicAuthReturns ¶
func (fake *FakeTeamDB) UpdateBasicAuthReturns(result1 db.SavedTeam, result2 error)
func (*FakeTeamDB) UpdateGenericOAuth ¶
func (fake *FakeTeamDB) UpdateGenericOAuth(genericOAuth *db.GenericOAuth) (db.SavedTeam, error)
func (*FakeTeamDB) UpdateGenericOAuthArgsForCall ¶
func (fake *FakeTeamDB) UpdateGenericOAuthArgsForCall(i int) *db.GenericOAuth
func (*FakeTeamDB) UpdateGenericOAuthCallCount ¶
func (fake *FakeTeamDB) UpdateGenericOAuthCallCount() int
func (*FakeTeamDB) UpdateGenericOAuthReturns ¶
func (fake *FakeTeamDB) UpdateGenericOAuthReturns(result1 db.SavedTeam, result2 error)
func (*FakeTeamDB) UpdateGitHubAuth ¶
func (fake *FakeTeamDB) UpdateGitHubAuth(gitHubAuth *db.GitHubAuth) (db.SavedTeam, error)
func (*FakeTeamDB) UpdateGitHubAuthArgsForCall ¶
func (fake *FakeTeamDB) UpdateGitHubAuthArgsForCall(i int) *db.GitHubAuth
func (*FakeTeamDB) UpdateGitHubAuthCallCount ¶
func (fake *FakeTeamDB) UpdateGitHubAuthCallCount() int
func (*FakeTeamDB) UpdateGitHubAuthReturns ¶
func (fake *FakeTeamDB) UpdateGitHubAuthReturns(result1 db.SavedTeam, result2 error)
func (*FakeTeamDB) UpdateUAAAuth ¶
func (*FakeTeamDB) UpdateUAAAuthArgsForCall ¶
func (fake *FakeTeamDB) UpdateUAAAuthArgsForCall(i int) *db.UAAAuth
func (*FakeTeamDB) UpdateUAAAuthCallCount ¶
func (fake *FakeTeamDB) UpdateUAAAuthCallCount() int
func (*FakeTeamDB) UpdateUAAAuthReturns ¶
func (fake *FakeTeamDB) UpdateUAAAuthReturns(result1 db.SavedTeam, result2 error)
func (*FakeTeamDB) Workers ¶
func (fake *FakeTeamDB) Workers() ([]db.SavedWorker, error)
func (*FakeTeamDB) WorkersCallCount ¶
func (fake *FakeTeamDB) WorkersCallCount() int
func (*FakeTeamDB) WorkersReturns ¶
func (fake *FakeTeamDB) WorkersReturns(result1 []db.SavedWorker, result2 error)
type FakeTeamDBFactory ¶
type FakeTeamDBFactory struct { GetTeamDBStub func(string) db.TeamDB // contains filtered or unexported fields }
func (*FakeTeamDBFactory) GetTeamDB ¶
func (fake *FakeTeamDBFactory) GetTeamDB(arg1 string) db.TeamDB
func (*FakeTeamDBFactory) GetTeamDBArgsForCall ¶
func (fake *FakeTeamDBFactory) GetTeamDBArgsForCall(i int) string
func (*FakeTeamDBFactory) GetTeamDBCallCount ¶
func (fake *FakeTeamDBFactory) GetTeamDBCallCount() int
func (*FakeTeamDBFactory) GetTeamDBReturns ¶
func (fake *FakeTeamDBFactory) GetTeamDBReturns(result1 db.TeamDB)
func (*FakeTeamDBFactory) Invocations ¶
func (fake *FakeTeamDBFactory) Invocations() map[string][][]interface{}
type FakeTx ¶
type FakeTx struct { CommitStub func() error ExecStub func(query string, args ...interface{}) (sql.Result, error) PrepareStub func(query string) (*sql.Stmt, error) QueryStub func(query string, args ...interface{}) (*sql.Rows, error) QueryRowStub func(query string, args ...interface{}) *sql.Row RollbackStub func() error StmtStub func(stmt *sql.Stmt) *sql.Stmt // contains filtered or unexported fields }
func (*FakeTx) CommitCallCount ¶
func (*FakeTx) CommitReturns ¶
func (*FakeTx) ExecArgsForCall ¶
func (*FakeTx) ExecCallCount ¶
func (*FakeTx) Invocations ¶
func (*FakeTx) PrepareArgsForCall ¶
func (*FakeTx) PrepareCallCount ¶
func (*FakeTx) PrepareReturns ¶
func (*FakeTx) QueryArgsForCall ¶
func (*FakeTx) QueryCallCount ¶
func (*FakeTx) QueryRowArgsForCall ¶
func (*FakeTx) QueryRowCallCount ¶
func (*FakeTx) QueryRowReturns ¶
func (*FakeTx) RollbackCallCount ¶
func (*FakeTx) RollbackReturns ¶
func (*FakeTx) StmtCallCount ¶
func (*FakeTx) StmtReturns ¶
Click to show internal directories.
Click to hide internal directories.