Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeBaggageCollector
- type FakeBaggageCollectorDB
- func (fake *FakeBaggageCollectorDB) GetAllPipelines() ([]db.SavedPipeline, error)
- func (fake *FakeBaggageCollectorDB) GetAllPipelinesCallCount() int
- func (fake *FakeBaggageCollectorDB) GetAllPipelinesReturns(result1 []db.SavedPipeline, result2 error)
- func (fake *FakeBaggageCollectorDB) GetImageVolumeIdentifiersByBuildID(buildID int) ([]db.VolumeIdentifier, error)
- func (fake *FakeBaggageCollectorDB) GetImageVolumeIdentifiersByBuildIDArgsForCall(i int) int
- func (fake *FakeBaggageCollectorDB) GetImageVolumeIdentifiersByBuildIDCallCount() int
- func (fake *FakeBaggageCollectorDB) GetImageVolumeIdentifiersByBuildIDReturns(result1 []db.VolumeIdentifier, result2 error)
- func (fake *FakeBaggageCollectorDB) GetVolumes() ([]db.SavedVolume, error)
- func (fake *FakeBaggageCollectorDB) GetVolumesCallCount() int
- func (fake *FakeBaggageCollectorDB) GetVolumesForOneOffBuildImageResources() ([]db.SavedVolume, error)
- func (fake *FakeBaggageCollectorDB) GetVolumesForOneOffBuildImageResourcesCallCount() int
- func (fake *FakeBaggageCollectorDB) GetVolumesForOneOffBuildImageResourcesReturns(result1 []db.SavedVolume, result2 error)
- func (fake *FakeBaggageCollectorDB) GetVolumesReturns(result1 []db.SavedVolume, result2 error)
- func (fake *FakeBaggageCollectorDB) ReapVolume(arg1 string) error
- func (fake *FakeBaggageCollectorDB) ReapVolumeArgsForCall(i int) string
- func (fake *FakeBaggageCollectorDB) ReapVolumeCallCount() int
- func (fake *FakeBaggageCollectorDB) ReapVolumeReturns(result1 error)
- func (fake *FakeBaggageCollectorDB) SetVolumeTTL(arg1 string, arg2 time.Duration) error
- func (fake *FakeBaggageCollectorDB) SetVolumeTTLArgsForCall(i int) (string, time.Duration)
- func (fake *FakeBaggageCollectorDB) SetVolumeTTLCallCount() int
- func (fake *FakeBaggageCollectorDB) SetVolumeTTLReturns(result1 error)
- type FakeRunnerDB
- func (fake *FakeRunnerDB) LeaseCacheInvalidation(interval time.Duration) (db.Lease, bool, error)
- func (fake *FakeRunnerDB) LeaseCacheInvalidationArgsForCall(i int) time.Duration
- func (fake *FakeRunnerDB) LeaseCacheInvalidationCallCount() int
- func (fake *FakeRunnerDB) LeaseCacheInvalidationReturns(result1 db.Lease, result2 bool, result3 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBaggageCollector ¶
type FakeBaggageCollector struct { CollectStub func() error // contains filtered or unexported fields }
func (*FakeBaggageCollector) Collect ¶
func (fake *FakeBaggageCollector) Collect() error
func (*FakeBaggageCollector) CollectCallCount ¶
func (fake *FakeBaggageCollector) CollectCallCount() int
func (*FakeBaggageCollector) CollectReturns ¶
func (fake *FakeBaggageCollector) CollectReturns(result1 error)
type FakeBaggageCollectorDB ¶
type FakeBaggageCollectorDB struct { ReapVolumeStub func(string) error GetAllPipelinesStub func() ([]db.SavedPipeline, error) GetVolumesStub func() ([]db.SavedVolume, error) SetVolumeTTLStub func(string, time.Duration) error GetImageVolumeIdentifiersByBuildIDStub func(buildID int) ([]db.VolumeIdentifier, error) GetVolumesForOneOffBuildImageResourcesStub func() ([]db.SavedVolume, error) // contains filtered or unexported fields }
func (*FakeBaggageCollectorDB) GetAllPipelines ¶
func (fake *FakeBaggageCollectorDB) GetAllPipelines() ([]db.SavedPipeline, error)
func (*FakeBaggageCollectorDB) GetAllPipelinesCallCount ¶
func (fake *FakeBaggageCollectorDB) GetAllPipelinesCallCount() int
func (*FakeBaggageCollectorDB) GetAllPipelinesReturns ¶
func (fake *FakeBaggageCollectorDB) GetAllPipelinesReturns(result1 []db.SavedPipeline, result2 error)
func (*FakeBaggageCollectorDB) GetImageVolumeIdentifiersByBuildID ¶
func (fake *FakeBaggageCollectorDB) GetImageVolumeIdentifiersByBuildID(buildID int) ([]db.VolumeIdentifier, error)
func (*FakeBaggageCollectorDB) GetImageVolumeIdentifiersByBuildIDArgsForCall ¶
func (fake *FakeBaggageCollectorDB) GetImageVolumeIdentifiersByBuildIDArgsForCall(i int) int
func (*FakeBaggageCollectorDB) GetImageVolumeIdentifiersByBuildIDCallCount ¶
func (fake *FakeBaggageCollectorDB) GetImageVolumeIdentifiersByBuildIDCallCount() int
func (*FakeBaggageCollectorDB) GetImageVolumeIdentifiersByBuildIDReturns ¶
func (fake *FakeBaggageCollectorDB) GetImageVolumeIdentifiersByBuildIDReturns(result1 []db.VolumeIdentifier, result2 error)
func (*FakeBaggageCollectorDB) GetVolumes ¶
func (fake *FakeBaggageCollectorDB) GetVolumes() ([]db.SavedVolume, error)
func (*FakeBaggageCollectorDB) GetVolumesCallCount ¶
func (fake *FakeBaggageCollectorDB) GetVolumesCallCount() int
func (*FakeBaggageCollectorDB) GetVolumesForOneOffBuildImageResources ¶
func (fake *FakeBaggageCollectorDB) GetVolumesForOneOffBuildImageResources() ([]db.SavedVolume, error)
func (*FakeBaggageCollectorDB) GetVolumesForOneOffBuildImageResourcesCallCount ¶
func (fake *FakeBaggageCollectorDB) GetVolumesForOneOffBuildImageResourcesCallCount() int
func (*FakeBaggageCollectorDB) GetVolumesForOneOffBuildImageResourcesReturns ¶
func (fake *FakeBaggageCollectorDB) GetVolumesForOneOffBuildImageResourcesReturns(result1 []db.SavedVolume, result2 error)
func (*FakeBaggageCollectorDB) GetVolumesReturns ¶
func (fake *FakeBaggageCollectorDB) GetVolumesReturns(result1 []db.SavedVolume, result2 error)
func (*FakeBaggageCollectorDB) ReapVolume ¶
func (fake *FakeBaggageCollectorDB) ReapVolume(arg1 string) error
func (*FakeBaggageCollectorDB) ReapVolumeArgsForCall ¶
func (fake *FakeBaggageCollectorDB) ReapVolumeArgsForCall(i int) string
func (*FakeBaggageCollectorDB) ReapVolumeCallCount ¶
func (fake *FakeBaggageCollectorDB) ReapVolumeCallCount() int
func (*FakeBaggageCollectorDB) ReapVolumeReturns ¶
func (fake *FakeBaggageCollectorDB) ReapVolumeReturns(result1 error)
func (*FakeBaggageCollectorDB) SetVolumeTTL ¶
func (fake *FakeBaggageCollectorDB) SetVolumeTTL(arg1 string, arg2 time.Duration) error
func (*FakeBaggageCollectorDB) SetVolumeTTLArgsForCall ¶
func (fake *FakeBaggageCollectorDB) SetVolumeTTLArgsForCall(i int) (string, time.Duration)
func (*FakeBaggageCollectorDB) SetVolumeTTLCallCount ¶
func (fake *FakeBaggageCollectorDB) SetVolumeTTLCallCount() int
func (*FakeBaggageCollectorDB) SetVolumeTTLReturns ¶
func (fake *FakeBaggageCollectorDB) SetVolumeTTLReturns(result1 error)
type FakeRunnerDB ¶
type FakeRunnerDB struct { LeaseCacheInvalidationStub func(interval time.Duration) (db.Lease, bool, error) // contains filtered or unexported fields }
func (*FakeRunnerDB) LeaseCacheInvalidation ¶
func (*FakeRunnerDB) LeaseCacheInvalidationArgsForCall ¶
func (fake *FakeRunnerDB) LeaseCacheInvalidationArgsForCall(i int) time.Duration
func (*FakeRunnerDB) LeaseCacheInvalidationCallCount ¶
func (fake *FakeRunnerDB) LeaseCacheInvalidationCallCount() int
func (*FakeRunnerDB) LeaseCacheInvalidationReturns ¶
func (fake *FakeRunnerDB) LeaseCacheInvalidationReturns(result1 db.Lease, result2 bool, result3 error)
Click to show internal directories.
Click to hide internal directories.