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
Index ¶
- type FakeBuildFactory
- func (fake *FakeBuildFactory) Create(arg1 atc.JobConfig, arg2 atc.ResourceConfigs, arg3 atc.ResourceTypes, ...) (atc.Plan, error)
- func (fake *FakeBuildFactory) CreateArgsForCall(i int) (atc.JobConfig, atc.ResourceConfigs, atc.ResourceTypes, []db.BuildInput)
- func (fake *FakeBuildFactory) CreateCallCount() int
- func (fake *FakeBuildFactory) CreateReturns(result1 atc.Plan, result2 error)
- type FakeBuildScheduler
- func (fake *FakeBuildScheduler) BuildLatestInputs(arg1 lager.Logger, arg2 *algorithm.VersionsDB, arg3 atc.JobConfig, ...) error
- func (fake *FakeBuildScheduler) BuildLatestInputsArgsForCall(i int) (lager.Logger, *algorithm.VersionsDB, atc.JobConfig, atc.ResourceConfigs, ...)
- func (fake *FakeBuildScheduler) BuildLatestInputsCallCount() int
- func (fake *FakeBuildScheduler) BuildLatestInputsReturns(result1 error)
- func (fake *FakeBuildScheduler) TriggerImmediately(arg1 lager.Logger, arg2 atc.JobConfig, arg3 atc.ResourceConfigs, ...) (db.Build, scheduler.Waiter, error)
- func (fake *FakeBuildScheduler) TriggerImmediatelyArgsForCall(i int) (lager.Logger, atc.JobConfig, atc.ResourceConfigs, atc.ResourceTypes)
- func (fake *FakeBuildScheduler) TriggerImmediatelyCallCount() int
- func (fake *FakeBuildScheduler) TriggerImmediatelyReturns(result1 db.Build, result2 scheduler.Waiter, result3 error)
- func (fake *FakeBuildScheduler) TryNextPendingBuild(arg1 lager.Logger, arg2 *algorithm.VersionsDB, arg3 atc.JobConfig, ...) scheduler.Waiter
- func (fake *FakeBuildScheduler) TryNextPendingBuildArgsForCall(i int) (lager.Logger, *algorithm.VersionsDB, atc.JobConfig, atc.ResourceConfigs, ...)
- func (fake *FakeBuildScheduler) TryNextPendingBuildCallCount() int
- func (fake *FakeBuildScheduler) TryNextPendingBuildReturns(result1 scheduler.Waiter)
- type FakeBuildsDB
- func (fake *FakeBuildsDB) ErrorBuild(buildID int, err error) error
- func (fake *FakeBuildsDB) ErrorBuildArgsForCall(i int) (int, error)
- func (fake *FakeBuildsDB) ErrorBuildCallCount() int
- func (fake *FakeBuildsDB) ErrorBuildReturns(result1 error)
- func (fake *FakeBuildsDB) FinishBuild(arg1 int, arg2 db.Status) error
- func (fake *FakeBuildsDB) FinishBuildArgsForCall(i int) (int, db.Status)
- func (fake *FakeBuildsDB) FinishBuildCallCount() int
- func (fake *FakeBuildsDB) FinishBuildReturns(result1 error)
- func (fake *FakeBuildsDB) GetBuildPreparation(buildID int) (db.BuildPreparation, bool, error)
- func (fake *FakeBuildsDB) GetBuildPreparationArgsForCall(i int) int
- func (fake *FakeBuildsDB) GetBuildPreparationCallCount() int
- func (fake *FakeBuildsDB) GetBuildPreparationReturns(result1 db.BuildPreparation, result2 bool, result3 error)
- func (fake *FakeBuildsDB) LeaseBuildScheduling(buildID int, interval time.Duration) (db.Lease, bool, error)
- func (fake *FakeBuildsDB) LeaseBuildSchedulingArgsForCall(i int) (int, time.Duration)
- func (fake *FakeBuildsDB) LeaseBuildSchedulingCallCount() int
- func (fake *FakeBuildsDB) LeaseBuildSchedulingReturns(result1 db.Lease, result2 bool, result3 error)
- type FakeJobService
- func (fake *FakeJobService) CanBuildBeScheduled(logger lager.Logger, build db.Build, buildPrep db.BuildPreparation, ...) ([]db.BuildInput, bool, string, error)
- func (fake *FakeJobService) CanBuildBeScheduledArgsForCall(i int) (lager.Logger, db.Build, db.BuildPreparation, *algorithm.VersionsDB)
- func (fake *FakeJobService) CanBuildBeScheduledCallCount() int
- func (fake *FakeJobService) CanBuildBeScheduledReturns(result1 []db.BuildInput, result2 bool, result3 string, result4 error)
- type FakeJobServiceDB
- func (fake *FakeJobServiceDB) GetJob(job string) (db.SavedJob, error)
- func (fake *FakeJobServiceDB) GetJobArgsForCall(i int) string
- func (fake *FakeJobServiceDB) GetJobCallCount() int
- func (fake *FakeJobServiceDB) GetJobReturns(result1 db.SavedJob, result2 error)
- func (fake *FakeJobServiceDB) GetLatestInputVersions(versions *algorithm.VersionsDB, job string, inputs []config.JobInput) ([]db.BuildInput, bool, error)
- func (fake *FakeJobServiceDB) GetLatestInputVersionsArgsForCall(i int) (*algorithm.VersionsDB, string, []config.JobInput)
- func (fake *FakeJobServiceDB) GetLatestInputVersionsCallCount() int
- func (fake *FakeJobServiceDB) GetLatestInputVersionsReturns(result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakeJobServiceDB) GetNextPendingBuildBySerialGroup(jobName string, serialGroups []string) (db.Build, bool, error)
- func (fake *FakeJobServiceDB) GetNextPendingBuildBySerialGroupArgsForCall(i int) (string, []string)
- func (fake *FakeJobServiceDB) GetNextPendingBuildBySerialGroupCallCount() int
- func (fake *FakeJobServiceDB) GetNextPendingBuildBySerialGroupReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakeJobServiceDB) GetRunningBuildsBySerialGroup(jobName string, serialGroups []string) ([]db.Build, error)
- func (fake *FakeJobServiceDB) GetRunningBuildsBySerialGroupArgsForCall(i int) (string, []string)
- func (fake *FakeJobServiceDB) GetRunningBuildsBySerialGroupCallCount() int
- func (fake *FakeJobServiceDB) GetRunningBuildsBySerialGroupReturns(result1 []db.Build, result2 error)
- func (fake *FakeJobServiceDB) IsPaused() (bool, error)
- func (fake *FakeJobServiceDB) IsPausedCallCount() int
- func (fake *FakeJobServiceDB) IsPausedReturns(result1 bool, result2 error)
- func (fake *FakeJobServiceDB) LoadVersionsDB() (*algorithm.VersionsDB, error)
- func (fake *FakeJobServiceDB) LoadVersionsDBCallCount() int
- func (fake *FakeJobServiceDB) LoadVersionsDBReturns(result1 *algorithm.VersionsDB, result2 error)
- func (fake *FakeJobServiceDB) UpdateBuildPreparation(prep db.BuildPreparation) error
- func (fake *FakeJobServiceDB) UpdateBuildPreparationArgsForCall(i int) db.BuildPreparation
- func (fake *FakeJobServiceDB) UpdateBuildPreparationCallCount() int
- func (fake *FakeJobServiceDB) UpdateBuildPreparationReturns(result1 error)
- func (fake *FakeJobServiceDB) UseInputsForBuild(buildID int, inputs []db.BuildInput) error
- func (fake *FakeJobServiceDB) UseInputsForBuildArgsForCall(i int) (int, []db.BuildInput)
- func (fake *FakeJobServiceDB) UseInputsForBuildCallCount() int
- func (fake *FakeJobServiceDB) UseInputsForBuildReturns(result1 error)
- type FakePipelineDB
- func (fake *FakePipelineDB) CreateJobBuild(job string) (db.Build, error)
- func (fake *FakePipelineDB) CreateJobBuildArgsForCall(i int) string
- func (fake *FakePipelineDB) CreateJobBuildCallCount() int
- func (fake *FakePipelineDB) CreateJobBuildForCandidateInputs(job string) (db.Build, bool, error)
- func (fake *FakePipelineDB) CreateJobBuildForCandidateInputsArgsForCall(i int) string
- func (fake *FakePipelineDB) CreateJobBuildForCandidateInputsCallCount() int
- func (fake *FakePipelineDB) CreateJobBuildForCandidateInputsReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakePipelineDB) CreateJobBuildReturns(result1 db.Build, result2 error)
- func (fake *FakePipelineDB) GetJob(job string) (db.SavedJob, error)
- func (fake *FakePipelineDB) GetJobArgsForCall(i int) string
- func (fake *FakePipelineDB) GetJobBuildForInputs(job string, inputs []db.BuildInput) (db.Build, bool, error)
- func (fake *FakePipelineDB) GetJobBuildForInputsArgsForCall(i int) (string, []db.BuildInput)
- func (fake *FakePipelineDB) GetJobBuildForInputsCallCount() int
- func (fake *FakePipelineDB) GetJobBuildForInputsReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetJobCallCount() int
- func (fake *FakePipelineDB) GetJobReturns(result1 db.SavedJob, result2 error)
- func (fake *FakePipelineDB) GetLatestInputVersions(versions *algorithm.VersionsDB, job string, inputs []config.JobInput) ([]db.BuildInput, bool, error)
- func (fake *FakePipelineDB) GetLatestInputVersionsArgsForCall(i int) (*algorithm.VersionsDB, string, []config.JobInput)
- func (fake *FakePipelineDB) GetLatestInputVersionsCallCount() int
- func (fake *FakePipelineDB) GetLatestInputVersionsReturns(result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakePipelineDB) GetNextPendingBuild(job string) (db.Build, bool, error)
- func (fake *FakePipelineDB) GetNextPendingBuildArgsForCall(i int) string
- 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) GetNextPendingBuildCallCount() int
- func (fake *FakePipelineDB) GetNextPendingBuildReturns(result1 db.Build, 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) IsPaused() (bool, error)
- func (fake *FakePipelineDB) IsPausedCallCount() int
- func (fake *FakePipelineDB) IsPausedReturns(result1 bool, result2 error)
- func (fake *FakePipelineDB) LoadVersionsDB() (*algorithm.VersionsDB, error)
- func (fake *FakePipelineDB) LoadVersionsDBCallCount() int
- func (fake *FakePipelineDB) LoadVersionsDBReturns(result1 *algorithm.VersionsDB, result2 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) UpdateBuildPreparation(prep db.BuildPreparation) error
- func (fake *FakePipelineDB) UpdateBuildPreparationArgsForCall(i int) db.BuildPreparation
- func (fake *FakePipelineDB) UpdateBuildPreparationCallCount() int
- func (fake *FakePipelineDB) UpdateBuildPreparationReturns(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) 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 FakeScanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBuildFactory ¶
type FakeBuildFactory struct { CreateStub func(atc.JobConfig, atc.ResourceConfigs, atc.ResourceTypes, []db.BuildInput) (atc.Plan, error) // contains filtered or unexported fields }
func (*FakeBuildFactory) Create ¶
func (fake *FakeBuildFactory) Create(arg1 atc.JobConfig, arg2 atc.ResourceConfigs, arg3 atc.ResourceTypes, arg4 []db.BuildInput) (atc.Plan, error)
func (*FakeBuildFactory) CreateArgsForCall ¶
func (fake *FakeBuildFactory) CreateArgsForCall(i int) (atc.JobConfig, atc.ResourceConfigs, atc.ResourceTypes, []db.BuildInput)
func (*FakeBuildFactory) CreateCallCount ¶
func (fake *FakeBuildFactory) CreateCallCount() int
func (*FakeBuildFactory) CreateReturns ¶
func (fake *FakeBuildFactory) CreateReturns(result1 atc.Plan, result2 error)
type FakeBuildScheduler ¶
type FakeBuildScheduler struct { TryNextPendingBuildStub func(lager.Logger, *algorithm.VersionsDB, atc.JobConfig, atc.ResourceConfigs, atc.ResourceTypes) scheduler.Waiter BuildLatestInputsStub func(lager.Logger, *algorithm.VersionsDB, atc.JobConfig, atc.ResourceConfigs, atc.ResourceTypes) error TriggerImmediatelyStub func(lager.Logger, atc.JobConfig, atc.ResourceConfigs, atc.ResourceTypes) (db.Build, scheduler.Waiter, error) // contains filtered or unexported fields }
func (*FakeBuildScheduler) BuildLatestInputs ¶
func (fake *FakeBuildScheduler) BuildLatestInputs(arg1 lager.Logger, arg2 *algorithm.VersionsDB, arg3 atc.JobConfig, arg4 atc.ResourceConfigs, arg5 atc.ResourceTypes) error
func (*FakeBuildScheduler) BuildLatestInputsArgsForCall ¶
func (fake *FakeBuildScheduler) BuildLatestInputsArgsForCall(i int) (lager.Logger, *algorithm.VersionsDB, atc.JobConfig, atc.ResourceConfigs, atc.ResourceTypes)
func (*FakeBuildScheduler) BuildLatestInputsCallCount ¶
func (fake *FakeBuildScheduler) BuildLatestInputsCallCount() int
func (*FakeBuildScheduler) BuildLatestInputsReturns ¶
func (fake *FakeBuildScheduler) BuildLatestInputsReturns(result1 error)
func (*FakeBuildScheduler) TriggerImmediately ¶
func (fake *FakeBuildScheduler) TriggerImmediately(arg1 lager.Logger, arg2 atc.JobConfig, arg3 atc.ResourceConfigs, arg4 atc.ResourceTypes) (db.Build, scheduler.Waiter, error)
func (*FakeBuildScheduler) TriggerImmediatelyArgsForCall ¶
func (fake *FakeBuildScheduler) TriggerImmediatelyArgsForCall(i int) (lager.Logger, atc.JobConfig, atc.ResourceConfigs, atc.ResourceTypes)
func (*FakeBuildScheduler) TriggerImmediatelyCallCount ¶
func (fake *FakeBuildScheduler) TriggerImmediatelyCallCount() int
func (*FakeBuildScheduler) TriggerImmediatelyReturns ¶
func (*FakeBuildScheduler) TryNextPendingBuild ¶
func (fake *FakeBuildScheduler) TryNextPendingBuild(arg1 lager.Logger, arg2 *algorithm.VersionsDB, arg3 atc.JobConfig, arg4 atc.ResourceConfigs, arg5 atc.ResourceTypes) scheduler.Waiter
func (*FakeBuildScheduler) TryNextPendingBuildArgsForCall ¶
func (fake *FakeBuildScheduler) TryNextPendingBuildArgsForCall(i int) (lager.Logger, *algorithm.VersionsDB, atc.JobConfig, atc.ResourceConfigs, atc.ResourceTypes)
func (*FakeBuildScheduler) TryNextPendingBuildCallCount ¶
func (fake *FakeBuildScheduler) TryNextPendingBuildCallCount() int
func (*FakeBuildScheduler) TryNextPendingBuildReturns ¶
func (fake *FakeBuildScheduler) TryNextPendingBuildReturns(result1 scheduler.Waiter)
type FakeBuildsDB ¶
type FakeBuildsDB struct { LeaseBuildSchedulingStub func(buildID int, interval time.Duration) (db.Lease, bool, error) ErrorBuildStub func(buildID int, err error) error FinishBuildStub func(int, db.Status) error GetBuildPreparationStub func(buildID int) (db.BuildPreparation, bool, error) // contains filtered or unexported fields }
func (*FakeBuildsDB) ErrorBuild ¶
func (fake *FakeBuildsDB) ErrorBuild(buildID int, err error) error
func (*FakeBuildsDB) ErrorBuildArgsForCall ¶
func (fake *FakeBuildsDB) ErrorBuildArgsForCall(i int) (int, error)
func (*FakeBuildsDB) ErrorBuildCallCount ¶
func (fake *FakeBuildsDB) ErrorBuildCallCount() int
func (*FakeBuildsDB) ErrorBuildReturns ¶
func (fake *FakeBuildsDB) ErrorBuildReturns(result1 error)
func (*FakeBuildsDB) FinishBuild ¶
func (fake *FakeBuildsDB) FinishBuild(arg1 int, arg2 db.Status) error
func (*FakeBuildsDB) FinishBuildArgsForCall ¶
func (fake *FakeBuildsDB) FinishBuildArgsForCall(i int) (int, db.Status)
func (*FakeBuildsDB) FinishBuildCallCount ¶
func (fake *FakeBuildsDB) FinishBuildCallCount() int
func (*FakeBuildsDB) FinishBuildReturns ¶
func (fake *FakeBuildsDB) FinishBuildReturns(result1 error)
func (*FakeBuildsDB) GetBuildPreparation ¶
func (fake *FakeBuildsDB) GetBuildPreparation(buildID int) (db.BuildPreparation, bool, error)
func (*FakeBuildsDB) GetBuildPreparationArgsForCall ¶
func (fake *FakeBuildsDB) GetBuildPreparationArgsForCall(i int) int
func (*FakeBuildsDB) GetBuildPreparationCallCount ¶
func (fake *FakeBuildsDB) GetBuildPreparationCallCount() int
func (*FakeBuildsDB) GetBuildPreparationReturns ¶
func (fake *FakeBuildsDB) GetBuildPreparationReturns(result1 db.BuildPreparation, result2 bool, result3 error)
func (*FakeBuildsDB) LeaseBuildScheduling ¶
func (*FakeBuildsDB) LeaseBuildSchedulingArgsForCall ¶
func (fake *FakeBuildsDB) LeaseBuildSchedulingArgsForCall(i int) (int, time.Duration)
func (*FakeBuildsDB) LeaseBuildSchedulingCallCount ¶
func (fake *FakeBuildsDB) LeaseBuildSchedulingCallCount() int
func (*FakeBuildsDB) LeaseBuildSchedulingReturns ¶
func (fake *FakeBuildsDB) LeaseBuildSchedulingReturns(result1 db.Lease, result2 bool, result3 error)
type FakeJobService ¶
type FakeJobService struct { CanBuildBeScheduledStub func(logger lager.Logger, build db.Build, buildPrep db.BuildPreparation, versions *algorithm.VersionsDB) ([]db.BuildInput, bool, string, error) // contains filtered or unexported fields }
func (*FakeJobService) CanBuildBeScheduled ¶
func (fake *FakeJobService) CanBuildBeScheduled(logger lager.Logger, build db.Build, buildPrep db.BuildPreparation, versions *algorithm.VersionsDB) ([]db.BuildInput, bool, string, error)
func (*FakeJobService) CanBuildBeScheduledArgsForCall ¶
func (fake *FakeJobService) CanBuildBeScheduledArgsForCall(i int) (lager.Logger, db.Build, db.BuildPreparation, *algorithm.VersionsDB)
func (*FakeJobService) CanBuildBeScheduledCallCount ¶
func (fake *FakeJobService) CanBuildBeScheduledCallCount() int
func (*FakeJobService) CanBuildBeScheduledReturns ¶
func (fake *FakeJobService) CanBuildBeScheduledReturns(result1 []db.BuildInput, result2 bool, result3 string, result4 error)
type FakeJobServiceDB ¶
type FakeJobServiceDB struct { GetJobStub func(job string) (db.SavedJob, error) GetRunningBuildsBySerialGroupStub func(jobName string, serialGroups []string) ([]db.Build, error) GetNextPendingBuildBySerialGroupStub func(jobName string, serialGroups []string) (db.Build, bool, error) UpdateBuildPreparationStub func(prep db.BuildPreparation) error IsPausedStub func() (bool, error) LoadVersionsDBStub func() (*algorithm.VersionsDB, error) GetLatestInputVersionsStub func(versions *algorithm.VersionsDB, job string, inputs []config.JobInput) ([]db.BuildInput, bool, error) UseInputsForBuildStub func(buildID int, inputs []db.BuildInput) error // contains filtered or unexported fields }
func (*FakeJobServiceDB) GetJob ¶
func (fake *FakeJobServiceDB) GetJob(job string) (db.SavedJob, error)
func (*FakeJobServiceDB) GetJobArgsForCall ¶
func (fake *FakeJobServiceDB) GetJobArgsForCall(i int) string
func (*FakeJobServiceDB) GetJobCallCount ¶
func (fake *FakeJobServiceDB) GetJobCallCount() int
func (*FakeJobServiceDB) GetJobReturns ¶
func (fake *FakeJobServiceDB) GetJobReturns(result1 db.SavedJob, result2 error)
func (*FakeJobServiceDB) GetLatestInputVersions ¶
func (fake *FakeJobServiceDB) GetLatestInputVersions(versions *algorithm.VersionsDB, job string, inputs []config.JobInput) ([]db.BuildInput, bool, error)
func (*FakeJobServiceDB) GetLatestInputVersionsArgsForCall ¶
func (fake *FakeJobServiceDB) GetLatestInputVersionsArgsForCall(i int) (*algorithm.VersionsDB, string, []config.JobInput)
func (*FakeJobServiceDB) GetLatestInputVersionsCallCount ¶
func (fake *FakeJobServiceDB) GetLatestInputVersionsCallCount() int
func (*FakeJobServiceDB) GetLatestInputVersionsReturns ¶
func (fake *FakeJobServiceDB) GetLatestInputVersionsReturns(result1 []db.BuildInput, result2 bool, result3 error)
func (*FakeJobServiceDB) GetNextPendingBuildBySerialGroup ¶
func (*FakeJobServiceDB) GetNextPendingBuildBySerialGroupArgsForCall ¶
func (fake *FakeJobServiceDB) GetNextPendingBuildBySerialGroupArgsForCall(i int) (string, []string)
func (*FakeJobServiceDB) GetNextPendingBuildBySerialGroupCallCount ¶
func (fake *FakeJobServiceDB) GetNextPendingBuildBySerialGroupCallCount() int
func (*FakeJobServiceDB) GetNextPendingBuildBySerialGroupReturns ¶
func (fake *FakeJobServiceDB) GetNextPendingBuildBySerialGroupReturns(result1 db.Build, result2 bool, result3 error)
func (*FakeJobServiceDB) GetRunningBuildsBySerialGroup ¶
func (*FakeJobServiceDB) GetRunningBuildsBySerialGroupArgsForCall ¶
func (fake *FakeJobServiceDB) GetRunningBuildsBySerialGroupArgsForCall(i int) (string, []string)
func (*FakeJobServiceDB) GetRunningBuildsBySerialGroupCallCount ¶
func (fake *FakeJobServiceDB) GetRunningBuildsBySerialGroupCallCount() int
func (*FakeJobServiceDB) GetRunningBuildsBySerialGroupReturns ¶
func (fake *FakeJobServiceDB) GetRunningBuildsBySerialGroupReturns(result1 []db.Build, result2 error)
func (*FakeJobServiceDB) IsPaused ¶
func (fake *FakeJobServiceDB) IsPaused() (bool, error)
func (*FakeJobServiceDB) IsPausedCallCount ¶
func (fake *FakeJobServiceDB) IsPausedCallCount() int
func (*FakeJobServiceDB) IsPausedReturns ¶
func (fake *FakeJobServiceDB) IsPausedReturns(result1 bool, result2 error)
func (*FakeJobServiceDB) LoadVersionsDB ¶
func (fake *FakeJobServiceDB) LoadVersionsDB() (*algorithm.VersionsDB, error)
func (*FakeJobServiceDB) LoadVersionsDBCallCount ¶
func (fake *FakeJobServiceDB) LoadVersionsDBCallCount() int
func (*FakeJobServiceDB) LoadVersionsDBReturns ¶
func (fake *FakeJobServiceDB) LoadVersionsDBReturns(result1 *algorithm.VersionsDB, result2 error)
func (*FakeJobServiceDB) UpdateBuildPreparation ¶
func (fake *FakeJobServiceDB) UpdateBuildPreparation(prep db.BuildPreparation) error
func (*FakeJobServiceDB) UpdateBuildPreparationArgsForCall ¶
func (fake *FakeJobServiceDB) UpdateBuildPreparationArgsForCall(i int) db.BuildPreparation
func (*FakeJobServiceDB) UpdateBuildPreparationCallCount ¶
func (fake *FakeJobServiceDB) UpdateBuildPreparationCallCount() int
func (*FakeJobServiceDB) UpdateBuildPreparationReturns ¶
func (fake *FakeJobServiceDB) UpdateBuildPreparationReturns(result1 error)
func (*FakeJobServiceDB) UseInputsForBuild ¶
func (fake *FakeJobServiceDB) UseInputsForBuild(buildID int, inputs []db.BuildInput) error
func (*FakeJobServiceDB) UseInputsForBuildArgsForCall ¶
func (fake *FakeJobServiceDB) UseInputsForBuildArgsForCall(i int) (int, []db.BuildInput)
func (*FakeJobServiceDB) UseInputsForBuildCallCount ¶
func (fake *FakeJobServiceDB) UseInputsForBuildCallCount() int
func (*FakeJobServiceDB) UseInputsForBuildReturns ¶
func (fake *FakeJobServiceDB) UseInputsForBuildReturns(result1 error)
type FakePipelineDB ¶
type FakePipelineDB struct { GetJobStub func(job string) (db.SavedJob, error) GetRunningBuildsBySerialGroupStub func(jobName string, serialGroups []string) ([]db.Build, error) GetNextPendingBuildBySerialGroupStub func(jobName string, serialGroups []string) (db.Build, bool, error) UpdateBuildPreparationStub func(prep db.BuildPreparation) error IsPausedStub func() (bool, error) LoadVersionsDBStub func() (*algorithm.VersionsDB, error) GetLatestInputVersionsStub func(versions *algorithm.VersionsDB, job string, inputs []config.JobInput) ([]db.BuildInput, bool, error) UseInputsForBuildStub func(buildID int, inputs []db.BuildInput) error CreateJobBuildStub func(job string) (db.Build, error) CreateJobBuildForCandidateInputsStub func(job string) (db.Build, bool, error) UpdateBuildToScheduledStub func(buildID int) (bool, error) GetJobBuildForInputsStub func(job string, inputs []db.BuildInput) (db.Build, bool, error) GetNextPendingBuildStub func(job string) (db.Build, bool, error) SaveResourceVersionsStub func(atc.ResourceConfig, []atc.Version) error // contains filtered or unexported fields }
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) CreateJobBuildForCandidateInputs ¶
func (*FakePipelineDB) CreateJobBuildForCandidateInputsArgsForCall ¶
func (fake *FakePipelineDB) CreateJobBuildForCandidateInputsArgsForCall(i int) string
func (*FakePipelineDB) CreateJobBuildForCandidateInputsCallCount ¶
func (fake *FakePipelineDB) CreateJobBuildForCandidateInputsCallCount() int
func (*FakePipelineDB) CreateJobBuildForCandidateInputsReturns ¶
func (fake *FakePipelineDB) CreateJobBuildForCandidateInputsReturns(result1 db.Build, result2 bool, result3 error)
func (*FakePipelineDB) CreateJobBuildReturns ¶
func (fake *FakePipelineDB) CreateJobBuildReturns(result1 db.Build, result2 error)
func (*FakePipelineDB) GetJobArgsForCall ¶
func (fake *FakePipelineDB) GetJobArgsForCall(i int) string
func (*FakePipelineDB) GetJobBuildForInputs ¶
func (fake *FakePipelineDB) GetJobBuildForInputs(job string, inputs []db.BuildInput) (db.Build, bool, error)
func (*FakePipelineDB) GetJobBuildForInputsArgsForCall ¶
func (fake *FakePipelineDB) GetJobBuildForInputsArgsForCall(i int) (string, []db.BuildInput)
func (*FakePipelineDB) GetJobBuildForInputsCallCount ¶
func (fake *FakePipelineDB) GetJobBuildForInputsCallCount() int
func (*FakePipelineDB) GetJobBuildForInputsReturns ¶
func (fake *FakePipelineDB) GetJobBuildForInputsReturns(result1 db.Build, result2 bool, result3 error)
func (*FakePipelineDB) GetJobCallCount ¶
func (fake *FakePipelineDB) GetJobCallCount() int
func (*FakePipelineDB) GetJobReturns ¶
func (fake *FakePipelineDB) GetJobReturns(result1 db.SavedJob, result2 error)
func (*FakePipelineDB) GetLatestInputVersions ¶
func (fake *FakePipelineDB) GetLatestInputVersions(versions *algorithm.VersionsDB, job string, inputs []config.JobInput) ([]db.BuildInput, bool, error)
func (*FakePipelineDB) GetLatestInputVersionsArgsForCall ¶
func (fake *FakePipelineDB) GetLatestInputVersionsArgsForCall(i int) (*algorithm.VersionsDB, string, []config.JobInput)
func (*FakePipelineDB) GetLatestInputVersionsCallCount ¶
func (fake *FakePipelineDB) GetLatestInputVersionsCallCount() int
func (*FakePipelineDB) GetLatestInputVersionsReturns ¶
func (fake *FakePipelineDB) GetLatestInputVersionsReturns(result1 []db.BuildInput, result2 bool, result3 error)
func (*FakePipelineDB) GetNextPendingBuild ¶
func (*FakePipelineDB) GetNextPendingBuildArgsForCall ¶
func (fake *FakePipelineDB) GetNextPendingBuildArgsForCall(i int) string
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) GetNextPendingBuildCallCount ¶
func (fake *FakePipelineDB) GetNextPendingBuildCallCount() int
func (*FakePipelineDB) GetNextPendingBuildReturns ¶
func (fake *FakePipelineDB) GetNextPendingBuildReturns(result1 db.Build, 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) 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) 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) 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) UpdateBuildPreparation ¶
func (fake *FakePipelineDB) UpdateBuildPreparation(prep db.BuildPreparation) error
func (*FakePipelineDB) UpdateBuildPreparationArgsForCall ¶
func (fake *FakePipelineDB) UpdateBuildPreparationArgsForCall(i int) db.BuildPreparation
func (*FakePipelineDB) UpdateBuildPreparationCallCount ¶
func (fake *FakePipelineDB) UpdateBuildPreparationCallCount() int
func (*FakePipelineDB) UpdateBuildPreparationReturns ¶
func (fake *FakePipelineDB) UpdateBuildPreparationReturns(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) 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 FakeScanner ¶
type FakeScanner struct { ScanStub func(lager.Logger, string) error // contains filtered or unexported fields }
func (*FakeScanner) ScanArgsForCall ¶
func (fake *FakeScanner) ScanArgsForCall(i int) (lager.Logger, string)
func (*FakeScanner) ScanCallCount ¶
func (fake *FakeScanner) ScanCallCount() int
func (*FakeScanner) ScanReturns ¶
func (fake *FakeScanner) ScanReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.