Versions in this module Expand all Collapse all v6 v6.4.2 Aug 17, 2020 Changes in this version + type FakeAlgorithm struct + ComputeStub func(context.Context, db.Job, db.InputConfigs) (db.InputMapping, bool, bool, error) + func (fake *FakeAlgorithm) Compute(arg1 context.Context, arg2 db.Job, arg3 db.InputConfigs) (db.InputMapping, bool, bool, error) + func (fake *FakeAlgorithm) ComputeArgsForCall(i int) (context.Context, db.Job, db.InputConfigs) + func (fake *FakeAlgorithm) ComputeCallCount() int + func (fake *FakeAlgorithm) ComputeCalls(...) + func (fake *FakeAlgorithm) ComputeReturns(result1 db.InputMapping, result2 bool, result3 bool, result4 error) + func (fake *FakeAlgorithm) ComputeReturnsOnCall(i int, result1 db.InputMapping, result2 bool, result3 bool, result4 error) + func (fake *FakeAlgorithm) Invocations() map[string][][]interface{} + type FakeBuildPlanner struct + CreateStub func(atc.StepConfig, db.SchedulerResources, atc.VersionedResourceTypes, ...) (atc.Plan, error) + func (fake *FakeBuildPlanner) Create(arg1 atc.StepConfig, arg2 db.SchedulerResources, ...) (atc.Plan, error) + func (fake *FakeBuildPlanner) CreateArgsForCall(i int) (atc.StepConfig, db.SchedulerResources, atc.VersionedResourceTypes, ...) + func (fake *FakeBuildPlanner) CreateCallCount() int + func (fake *FakeBuildPlanner) CreateCalls(...) + func (fake *FakeBuildPlanner) CreateReturns(result1 atc.Plan, result2 error) + func (fake *FakeBuildPlanner) CreateReturnsOnCall(i int, result1 atc.Plan, result2 error) + func (fake *FakeBuildPlanner) Invocations() map[string][][]interface{} + type FakeBuildScheduler struct + ScheduleStub func(context.Context, lager.Logger, db.SchedulerJob) (bool, error) + func (fake *FakeBuildScheduler) Invocations() map[string][][]interface{} + func (fake *FakeBuildScheduler) Schedule(arg1 context.Context, arg2 lager.Logger, arg3 db.SchedulerJob) (bool, error) + func (fake *FakeBuildScheduler) ScheduleArgsForCall(i int) (context.Context, lager.Logger, db.SchedulerJob) + func (fake *FakeBuildScheduler) ScheduleCallCount() int + func (fake *FakeBuildScheduler) ScheduleCalls(stub func(context.Context, lager.Logger, db.SchedulerJob) (bool, error)) + func (fake *FakeBuildScheduler) ScheduleReturns(result1 bool, result2 error) + func (fake *FakeBuildScheduler) ScheduleReturnsOnCall(i int, result1 bool, result2 error) + type FakeBuildStarter struct + TryStartPendingBuildsForJobStub func(lager.Logger, db.SchedulerJob, db.InputConfigs) (bool, error) + func (fake *FakeBuildStarter) Invocations() map[string][][]interface{} + func (fake *FakeBuildStarter) TryStartPendingBuildsForJob(arg1 lager.Logger, arg2 db.SchedulerJob, arg3 db.InputConfigs) (bool, error) + func (fake *FakeBuildStarter) TryStartPendingBuildsForJobArgsForCall(i int) (lager.Logger, db.SchedulerJob, db.InputConfigs) + func (fake *FakeBuildStarter) TryStartPendingBuildsForJobCallCount() int + func (fake *FakeBuildStarter) TryStartPendingBuildsForJobCalls(stub func(lager.Logger, db.SchedulerJob, db.InputConfigs) (bool, error)) + func (fake *FakeBuildStarter) TryStartPendingBuildsForJobReturns(result1 bool, result2 error) + func (fake *FakeBuildStarter) TryStartPendingBuildsForJobReturnsOnCall(i int, result1 bool, result2 error)