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) GetAllPipelines() ([]db.SavedPipeline, error)
- func (fake *FakeContainerKeepAliverDB) GetAllPipelinesCallCount() int
- func (fake *FakeContainerKeepAliverDB) GetAllPipelinesReturns(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 GetAllPipelinesStub func() ([]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) GetAllPipelines ¶
func (fake *FakeContainerKeepAliverDB) GetAllPipelines() ([]db.SavedPipeline, error)
func (*FakeContainerKeepAliverDB) GetAllPipelinesCallCount ¶
func (fake *FakeContainerKeepAliverDB) GetAllPipelinesCallCount() int
func (*FakeContainerKeepAliverDB) GetAllPipelinesReturns ¶
func (fake *FakeContainerKeepAliverDB) GetAllPipelinesReturns(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.