fakes

package
v0.75.0-no-limit Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

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 (fake *FakeRunnerDB) LeaseCacheInvalidation(interval time.Duration) (db.Lease, bool, error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL