Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeUpdater
- func (fake *FakeUpdater) Invocations() map[string][][]interface{}
- func (fake *FakeUpdater) UpdateMaxInFlightReached(logger lager.Logger, jobConfig atc.JobConfig, buildID int) (bool, error)
- func (fake *FakeUpdater) UpdateMaxInFlightReachedArgsForCall(i int) (lager.Logger, atc.JobConfig, int)
- func (fake *FakeUpdater) UpdateMaxInFlightReachedCallCount() int
- func (fake *FakeUpdater) UpdateMaxInFlightReachedReturns(result1 bool, result2 error)
- type FakeUpdaterDB
- func (fake *FakeUpdaterDB) GetNextPendingBuildBySerialGroup(jobName string, serialGroups []string) (db.Build, bool, error)
- func (fake *FakeUpdaterDB) GetNextPendingBuildBySerialGroupArgsForCall(i int) (string, []string)
- func (fake *FakeUpdaterDB) GetNextPendingBuildBySerialGroupCallCount() int
- func (fake *FakeUpdaterDB) GetNextPendingBuildBySerialGroupReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakeUpdaterDB) GetRunningBuildsBySerialGroup(jobName string, serialGroups []string) ([]db.Build, error)
- func (fake *FakeUpdaterDB) GetRunningBuildsBySerialGroupArgsForCall(i int) (string, []string)
- func (fake *FakeUpdaterDB) GetRunningBuildsBySerialGroupCallCount() int
- func (fake *FakeUpdaterDB) GetRunningBuildsBySerialGroupReturns(result1 []db.Build, result2 error)
- func (fake *FakeUpdaterDB) Invocations() map[string][][]interface{}
- func (fake *FakeUpdaterDB) SetMaxInFlightReached(jobName string, reached bool) error
- func (fake *FakeUpdaterDB) SetMaxInFlightReachedArgsForCall(i int) (string, bool)
- func (fake *FakeUpdaterDB) SetMaxInFlightReachedCallCount() int
- func (fake *FakeUpdaterDB) SetMaxInFlightReachedReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeUpdater ¶
type FakeUpdater struct { UpdateMaxInFlightReachedStub func(logger lager.Logger, jobConfig atc.JobConfig, buildID int) (bool, error) // contains filtered or unexported fields }
func (*FakeUpdater) Invocations ¶
func (fake *FakeUpdater) Invocations() map[string][][]interface{}
func (*FakeUpdater) UpdateMaxInFlightReached ¶
func (*FakeUpdater) UpdateMaxInFlightReachedArgsForCall ¶
func (*FakeUpdater) UpdateMaxInFlightReachedCallCount ¶
func (fake *FakeUpdater) UpdateMaxInFlightReachedCallCount() int
func (*FakeUpdater) UpdateMaxInFlightReachedReturns ¶
func (fake *FakeUpdater) UpdateMaxInFlightReachedReturns(result1 bool, result2 error)
type FakeUpdaterDB ¶
type FakeUpdaterDB struct { GetRunningBuildsBySerialGroupStub func(jobName string, serialGroups []string) ([]db.Build, error) GetNextPendingBuildBySerialGroupStub func(jobName string, serialGroups []string) (db.Build, bool, error) SetMaxInFlightReachedStub func(jobName string, reached bool) error // contains filtered or unexported fields }
func (*FakeUpdaterDB) GetNextPendingBuildBySerialGroup ¶
func (*FakeUpdaterDB) GetNextPendingBuildBySerialGroupArgsForCall ¶
func (fake *FakeUpdaterDB) GetNextPendingBuildBySerialGroupArgsForCall(i int) (string, []string)
func (*FakeUpdaterDB) GetNextPendingBuildBySerialGroupCallCount ¶
func (fake *FakeUpdaterDB) GetNextPendingBuildBySerialGroupCallCount() int
func (*FakeUpdaterDB) GetNextPendingBuildBySerialGroupReturns ¶
func (fake *FakeUpdaterDB) GetNextPendingBuildBySerialGroupReturns(result1 db.Build, result2 bool, result3 error)
func (*FakeUpdaterDB) GetRunningBuildsBySerialGroup ¶
func (*FakeUpdaterDB) GetRunningBuildsBySerialGroupArgsForCall ¶
func (fake *FakeUpdaterDB) GetRunningBuildsBySerialGroupArgsForCall(i int) (string, []string)
func (*FakeUpdaterDB) GetRunningBuildsBySerialGroupCallCount ¶
func (fake *FakeUpdaterDB) GetRunningBuildsBySerialGroupCallCount() int
func (*FakeUpdaterDB) GetRunningBuildsBySerialGroupReturns ¶
func (fake *FakeUpdaterDB) GetRunningBuildsBySerialGroupReturns(result1 []db.Build, result2 error)
func (*FakeUpdaterDB) Invocations ¶
func (fake *FakeUpdaterDB) Invocations() map[string][][]interface{}
func (*FakeUpdaterDB) SetMaxInFlightReached ¶
func (fake *FakeUpdaterDB) SetMaxInFlightReached(jobName string, reached bool) error
func (*FakeUpdaterDB) SetMaxInFlightReachedArgsForCall ¶
func (fake *FakeUpdaterDB) SetMaxInFlightReachedArgsForCall(i int) (string, bool)
func (*FakeUpdaterDB) SetMaxInFlightReachedCallCount ¶
func (fake *FakeUpdaterDB) SetMaxInFlightReachedCallCount() int
func (*FakeUpdaterDB) SetMaxInFlightReachedReturns ¶
func (fake *FakeUpdaterDB) SetMaxInFlightReachedReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.