Documentation
¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeContainerKeepAliverDB
- func (fake *FakeContainerKeepAliverDB) FindJobContainersFromUnsuccessfulBuilds() ([]db.SavedContainer, error)
- func (fake *FakeContainerKeepAliverDB) FindJobContainersFromUnsuccessfulBuildsCallCount() int
- func (fake *FakeContainerKeepAliverDB) FindJobContainersFromUnsuccessfulBuildsReturns(result1 []db.SavedContainer, result2 error)
- func (fake *FakeContainerKeepAliverDB) FindJobIDForBuild(buildID int) (int, bool, error)
- func (fake *FakeContainerKeepAliverDB) FindJobIDForBuildArgsForCall(i int) int
- func (fake *FakeContainerKeepAliverDB) FindJobIDForBuildCallCount() int
- func (fake *FakeContainerKeepAliverDB) FindJobIDForBuildReturns(result1 int, result2 bool, result3 error)
- func (fake *FakeContainerKeepAliverDB) FindLatestSuccessfulBuildsPerJob() (map[int]int, error)
- func (fake *FakeContainerKeepAliverDB) FindLatestSuccessfulBuildsPerJobCallCount() int
- func (fake *FakeContainerKeepAliverDB) FindLatestSuccessfulBuildsPerJobReturns(result1 map[int]int, result2 error)
- func (fake *FakeContainerKeepAliverDB) GetPipelineByID(pipelineID int) (db.SavedPipeline, error)
- func (fake *FakeContainerKeepAliverDB) GetPipelineByIDArgsForCall(i int) int
- func (fake *FakeContainerKeepAliverDB) GetPipelineByIDCallCount() int
- func (fake *FakeContainerKeepAliverDB) GetPipelineByIDReturns(result1 db.SavedPipeline, result2 error)
- func (fake *FakeContainerKeepAliverDB) Invocations() map[string][][]interface{}
- func (fake *FakeContainerKeepAliverDB) UpdateExpiresAtOnContainer(handle string, ttl time.Duration) error
- func (fake *FakeContainerKeepAliverDB) UpdateExpiresAtOnContainerArgsForCall(i int) (string, time.Duration)
- func (fake *FakeContainerKeepAliverDB) UpdateExpiresAtOnContainerCallCount() int
- func (fake *FakeContainerKeepAliverDB) UpdateExpiresAtOnContainerReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeContainerKeepAliverDB ¶
type FakeContainerKeepAliverDB struct { FindJobIDForBuildStub func(buildID int) (int, bool, error) FindLatestSuccessfulBuildsPerJobStub func() (map[int]int, error) FindJobContainersFromUnsuccessfulBuildsStub func() ([]db.SavedContainer, error) UpdateExpiresAtOnContainerStub func(handle string, ttl time.Duration) error GetPipelineByIDStub func(pipelineID int) (db.SavedPipeline, error) // contains filtered or unexported fields }
func (*FakeContainerKeepAliverDB) FindJobContainersFromUnsuccessfulBuilds ¶
func (fake *FakeContainerKeepAliverDB) FindJobContainersFromUnsuccessfulBuilds() ([]db.SavedContainer, error)
func (*FakeContainerKeepAliverDB) FindJobContainersFromUnsuccessfulBuildsCallCount ¶
func (fake *FakeContainerKeepAliverDB) FindJobContainersFromUnsuccessfulBuildsCallCount() int
func (*FakeContainerKeepAliverDB) FindJobContainersFromUnsuccessfulBuildsReturns ¶
func (fake *FakeContainerKeepAliverDB) FindJobContainersFromUnsuccessfulBuildsReturns(result1 []db.SavedContainer, result2 error)
func (*FakeContainerKeepAliverDB) FindJobIDForBuild ¶
func (fake *FakeContainerKeepAliverDB) FindJobIDForBuild(buildID int) (int, bool, error)
func (*FakeContainerKeepAliverDB) FindJobIDForBuildArgsForCall ¶
func (fake *FakeContainerKeepAliverDB) FindJobIDForBuildArgsForCall(i int) int
func (*FakeContainerKeepAliverDB) FindJobIDForBuildCallCount ¶
func (fake *FakeContainerKeepAliverDB) FindJobIDForBuildCallCount() int
func (*FakeContainerKeepAliverDB) FindJobIDForBuildReturns ¶
func (fake *FakeContainerKeepAliverDB) FindJobIDForBuildReturns(result1 int, result2 bool, result3 error)
func (*FakeContainerKeepAliverDB) FindLatestSuccessfulBuildsPerJob ¶
func (fake *FakeContainerKeepAliverDB) FindLatestSuccessfulBuildsPerJob() (map[int]int, error)
func (*FakeContainerKeepAliverDB) FindLatestSuccessfulBuildsPerJobCallCount ¶
func (fake *FakeContainerKeepAliverDB) FindLatestSuccessfulBuildsPerJobCallCount() int
func (*FakeContainerKeepAliverDB) FindLatestSuccessfulBuildsPerJobReturns ¶
func (fake *FakeContainerKeepAliverDB) FindLatestSuccessfulBuildsPerJobReturns(result1 map[int]int, result2 error)
func (*FakeContainerKeepAliverDB) GetPipelineByID ¶
func (fake *FakeContainerKeepAliverDB) GetPipelineByID(pipelineID int) (db.SavedPipeline, error)
func (*FakeContainerKeepAliverDB) GetPipelineByIDArgsForCall ¶
func (fake *FakeContainerKeepAliverDB) GetPipelineByIDArgsForCall(i int) int
func (*FakeContainerKeepAliverDB) GetPipelineByIDCallCount ¶
func (fake *FakeContainerKeepAliverDB) GetPipelineByIDCallCount() int
func (*FakeContainerKeepAliverDB) GetPipelineByIDReturns ¶
func (fake *FakeContainerKeepAliverDB) GetPipelineByIDReturns(result1 db.SavedPipeline, result2 error)
func (*FakeContainerKeepAliverDB) Invocations ¶
func (fake *FakeContainerKeepAliverDB) Invocations() map[string][][]interface{}
func (*FakeContainerKeepAliverDB) UpdateExpiresAtOnContainer ¶
func (fake *FakeContainerKeepAliverDB) UpdateExpiresAtOnContainer(handle string, ttl time.Duration) error
func (*FakeContainerKeepAliverDB) UpdateExpiresAtOnContainerArgsForCall ¶
func (fake *FakeContainerKeepAliverDB) UpdateExpiresAtOnContainerArgsForCall(i int) (string, time.Duration)
func (*FakeContainerKeepAliverDB) UpdateExpiresAtOnContainerCallCount ¶
func (fake *FakeContainerKeepAliverDB) UpdateExpiresAtOnContainerCallCount() int
func (*FakeContainerKeepAliverDB) UpdateExpiresAtOnContainerReturns ¶
func (fake *FakeContainerKeepAliverDB) UpdateExpiresAtOnContainerReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.