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
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)
- func (fake *FakeBuildFactory) Invocations() map[string][][]interface{}
- type FakeBuildStarter
- func (fake *FakeBuildStarter) Invocations() map[string][][]interface{}
- func (fake *FakeBuildStarter) TryStartAllPendingBuilds(logger lager.Logger, jobConfig atc.JobConfig, ...) error
- func (fake *FakeBuildStarter) TryStartAllPendingBuildsArgsForCall(i int) (lager.Logger, atc.JobConfig, atc.ResourceConfigs, atc.ResourceTypes)
- func (fake *FakeBuildStarter) TryStartAllPendingBuildsCallCount() int
- func (fake *FakeBuildStarter) TryStartAllPendingBuildsReturns(result1 error)
- type FakeBuildStarterBuildsDB
- func (fake *FakeBuildStarterBuildsDB) FinishBuild(buildID int, pipelineID int, status db.Status) error
- func (fake *FakeBuildStarterBuildsDB) FinishBuildArgsForCall(i int) (int, int, db.Status)
- func (fake *FakeBuildStarterBuildsDB) FinishBuildCallCount() int
- func (fake *FakeBuildStarterBuildsDB) FinishBuildReturns(result1 error)
- func (fake *FakeBuildStarterBuildsDB) Invocations() map[string][][]interface{}
- type FakeBuildStarterDB
- func (fake *FakeBuildStarterDB) GetJob(job string) (db.SavedJob, error)
- func (fake *FakeBuildStarterDB) GetJobArgsForCall(i int) string
- func (fake *FakeBuildStarterDB) GetJobCallCount() int
- func (fake *FakeBuildStarterDB) GetJobReturns(result1 db.SavedJob, result2 error)
- func (fake *FakeBuildStarterDB) GetNextBuildInputs(jobName string) ([]db.BuildInput, bool, error)
- func (fake *FakeBuildStarterDB) GetNextBuildInputsArgsForCall(i int) string
- func (fake *FakeBuildStarterDB) GetNextBuildInputsCallCount() int
- func (fake *FakeBuildStarterDB) GetNextBuildInputsReturns(result1 []db.BuildInput, result2 bool, result3 error)
- func (fake *FakeBuildStarterDB) GetNextPendingBuild(job string) (db.Build, bool, error)
- func (fake *FakeBuildStarterDB) GetNextPendingBuildArgsForCall(i int) string
- func (fake *FakeBuildStarterDB) GetNextPendingBuildCallCount() int
- func (fake *FakeBuildStarterDB) GetNextPendingBuildReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakeBuildStarterDB) Invocations() map[string][][]interface{}
- func (fake *FakeBuildStarterDB) IsPaused() (bool, error)
- func (fake *FakeBuildStarterDB) IsPausedCallCount() int
- func (fake *FakeBuildStarterDB) IsPausedReturns(result1 bool, result2 error)
- func (fake *FakeBuildStarterDB) UpdateBuildToScheduled(arg1 int) (bool, error)
- func (fake *FakeBuildStarterDB) UpdateBuildToScheduledArgsForCall(i int) int
- func (fake *FakeBuildStarterDB) UpdateBuildToScheduledCallCount() int
- func (fake *FakeBuildStarterDB) UpdateBuildToScheduledReturns(result1 bool, result2 error)
- func (fake *FakeBuildStarterDB) UseInputsForBuild(buildID int, inputs []db.BuildInput) error
- func (fake *FakeBuildStarterDB) UseInputsForBuildArgsForCall(i int) (int, []db.BuildInput)
- func (fake *FakeBuildStarterDB) UseInputsForBuildCallCount() int
- func (fake *FakeBuildStarterDB) UseInputsForBuildReturns(result1 error)
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)
func (*FakeBuildFactory) Invocations ¶
func (fake *FakeBuildFactory) Invocations() map[string][][]interface{}
type FakeBuildStarter ¶
type FakeBuildStarter struct { TryStartAllPendingBuildsStub func(logger lager.Logger, jobConfig atc.JobConfig, resourceConfigs atc.ResourceConfigs, resourceTypes atc.ResourceTypes) error // contains filtered or unexported fields }
func (*FakeBuildStarter) Invocations ¶
func (fake *FakeBuildStarter) Invocations() map[string][][]interface{}
func (*FakeBuildStarter) TryStartAllPendingBuilds ¶
func (fake *FakeBuildStarter) TryStartAllPendingBuilds(logger lager.Logger, jobConfig atc.JobConfig, resourceConfigs atc.ResourceConfigs, resourceTypes atc.ResourceTypes) error
func (*FakeBuildStarter) TryStartAllPendingBuildsArgsForCall ¶
func (fake *FakeBuildStarter) TryStartAllPendingBuildsArgsForCall(i int) (lager.Logger, atc.JobConfig, atc.ResourceConfigs, atc.ResourceTypes)
func (*FakeBuildStarter) TryStartAllPendingBuildsCallCount ¶
func (fake *FakeBuildStarter) TryStartAllPendingBuildsCallCount() int
func (*FakeBuildStarter) TryStartAllPendingBuildsReturns ¶
func (fake *FakeBuildStarter) TryStartAllPendingBuildsReturns(result1 error)
type FakeBuildStarterBuildsDB ¶
type FakeBuildStarterBuildsDB struct { FinishBuildStub func(buildID int, pipelineID int, status db.Status) error // contains filtered or unexported fields }
func (*FakeBuildStarterBuildsDB) FinishBuild ¶
func (*FakeBuildStarterBuildsDB) FinishBuildArgsForCall ¶
func (*FakeBuildStarterBuildsDB) FinishBuildCallCount ¶
func (fake *FakeBuildStarterBuildsDB) FinishBuildCallCount() int
func (*FakeBuildStarterBuildsDB) FinishBuildReturns ¶
func (fake *FakeBuildStarterBuildsDB) FinishBuildReturns(result1 error)
func (*FakeBuildStarterBuildsDB) Invocations ¶
func (fake *FakeBuildStarterBuildsDB) Invocations() map[string][][]interface{}
type FakeBuildStarterDB ¶
type FakeBuildStarterDB struct { GetNextPendingBuildStub func(job string) (db.Build, bool, error) GetNextBuildInputsStub func(jobName string) ([]db.BuildInput, bool, error) IsPausedStub func() (bool, error) GetJobStub func(job string) (db.SavedJob, error) UpdateBuildToScheduledStub func(int) (bool, error) UseInputsForBuildStub func(buildID int, inputs []db.BuildInput) error // contains filtered or unexported fields }
func (*FakeBuildStarterDB) GetJob ¶
func (fake *FakeBuildStarterDB) GetJob(job string) (db.SavedJob, error)
func (*FakeBuildStarterDB) GetJobArgsForCall ¶
func (fake *FakeBuildStarterDB) GetJobArgsForCall(i int) string
func (*FakeBuildStarterDB) GetJobCallCount ¶
func (fake *FakeBuildStarterDB) GetJobCallCount() int
func (*FakeBuildStarterDB) GetJobReturns ¶
func (fake *FakeBuildStarterDB) GetJobReturns(result1 db.SavedJob, result2 error)
func (*FakeBuildStarterDB) GetNextBuildInputs ¶
func (fake *FakeBuildStarterDB) GetNextBuildInputs(jobName string) ([]db.BuildInput, bool, error)
func (*FakeBuildStarterDB) GetNextBuildInputsArgsForCall ¶
func (fake *FakeBuildStarterDB) GetNextBuildInputsArgsForCall(i int) string
func (*FakeBuildStarterDB) GetNextBuildInputsCallCount ¶
func (fake *FakeBuildStarterDB) GetNextBuildInputsCallCount() int
func (*FakeBuildStarterDB) GetNextBuildInputsReturns ¶
func (fake *FakeBuildStarterDB) GetNextBuildInputsReturns(result1 []db.BuildInput, result2 bool, result3 error)
func (*FakeBuildStarterDB) GetNextPendingBuild ¶
func (*FakeBuildStarterDB) GetNextPendingBuildArgsForCall ¶
func (fake *FakeBuildStarterDB) GetNextPendingBuildArgsForCall(i int) string
func (*FakeBuildStarterDB) GetNextPendingBuildCallCount ¶
func (fake *FakeBuildStarterDB) GetNextPendingBuildCallCount() int
func (*FakeBuildStarterDB) GetNextPendingBuildReturns ¶
func (fake *FakeBuildStarterDB) GetNextPendingBuildReturns(result1 db.Build, result2 bool, result3 error)
func (*FakeBuildStarterDB) Invocations ¶
func (fake *FakeBuildStarterDB) Invocations() map[string][][]interface{}
func (*FakeBuildStarterDB) IsPaused ¶
func (fake *FakeBuildStarterDB) IsPaused() (bool, error)
func (*FakeBuildStarterDB) IsPausedCallCount ¶
func (fake *FakeBuildStarterDB) IsPausedCallCount() int
func (*FakeBuildStarterDB) IsPausedReturns ¶
func (fake *FakeBuildStarterDB) IsPausedReturns(result1 bool, result2 error)
func (*FakeBuildStarterDB) UpdateBuildToScheduled ¶
func (fake *FakeBuildStarterDB) UpdateBuildToScheduled(arg1 int) (bool, error)
func (*FakeBuildStarterDB) UpdateBuildToScheduledArgsForCall ¶
func (fake *FakeBuildStarterDB) UpdateBuildToScheduledArgsForCall(i int) int
func (*FakeBuildStarterDB) UpdateBuildToScheduledCallCount ¶
func (fake *FakeBuildStarterDB) UpdateBuildToScheduledCallCount() int
func (*FakeBuildStarterDB) UpdateBuildToScheduledReturns ¶
func (fake *FakeBuildStarterDB) UpdateBuildToScheduledReturns(result1 bool, result2 error)
func (*FakeBuildStarterDB) UseInputsForBuild ¶
func (fake *FakeBuildStarterDB) UseInputsForBuild(buildID int, inputs []db.BuildInput) error
func (*FakeBuildStarterDB) UseInputsForBuildArgsForCall ¶
func (fake *FakeBuildStarterDB) UseInputsForBuildArgsForCall(i int) (int, []db.BuildInput)
func (*FakeBuildStarterDB) UseInputsForBuildCallCount ¶
func (fake *FakeBuildStarterDB) UseInputsForBuildCallCount() int
func (*FakeBuildStarterDB) UseInputsForBuildReturns ¶
func (fake *FakeBuildStarterDB) UseInputsForBuildReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.