Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeBuildsDB
- func (fake *FakeBuildsDB) CreateOneOffBuild() (db.Build, error)
- func (fake *FakeBuildsDB) CreateOneOffBuildCallCount() int
- func (fake *FakeBuildsDB) CreateOneOffBuildReturns(result1 db.Build, result2 error)
- func (fake *FakeBuildsDB) GetAllBuilds() ([]db.Build, error)
- func (fake *FakeBuildsDB) GetAllBuildsCallCount() int
- func (fake *FakeBuildsDB) GetAllBuildsReturns(result1 []db.Build, result2 error)
- func (fake *FakeBuildsDB) GetBuild(buildID int) (db.Build, error)
- func (fake *FakeBuildsDB) GetBuildArgsForCall(i int) int
- func (fake *FakeBuildsDB) GetBuildCallCount() int
- func (fake *FakeBuildsDB) GetBuildEvents(buildID int, from uint) (db.EventSource, error)
- func (fake *FakeBuildsDB) GetBuildEventsArgsForCall(i int) (int, uint)
- func (fake *FakeBuildsDB) GetBuildEventsCallCount() int
- func (fake *FakeBuildsDB) GetBuildEventsReturns(result1 db.EventSource, result2 error)
- func (fake *FakeBuildsDB) GetBuildReturns(result1 db.Build, result2 error)
- func (fake *FakeBuildsDB) GetConfigByBuildID(buildID int) (atc.Config, db.ConfigVersion, error)
- func (fake *FakeBuildsDB) GetConfigByBuildIDArgsForCall(i int) int
- func (fake *FakeBuildsDB) GetConfigByBuildIDCallCount() int
- func (fake *FakeBuildsDB) GetConfigByBuildIDReturns(result1 atc.Config, result2 db.ConfigVersion, result3 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBuildsDB ¶
type FakeBuildsDB struct { GetBuildStub func(buildID int) (db.Build, error) GetBuildEventsStub func(buildID int, from uint) (db.EventSource, error) GetAllBuildsStub func() ([]db.Build, error) CreateOneOffBuildStub func() (db.Build, error) GetConfigByBuildIDStub func(buildID int) (atc.Config, db.ConfigVersion, error) // contains filtered or unexported fields }
func (*FakeBuildsDB) CreateOneOffBuild ¶
func (fake *FakeBuildsDB) CreateOneOffBuild() (db.Build, error)
func (*FakeBuildsDB) CreateOneOffBuildCallCount ¶
func (fake *FakeBuildsDB) CreateOneOffBuildCallCount() int
func (*FakeBuildsDB) CreateOneOffBuildReturns ¶
func (fake *FakeBuildsDB) CreateOneOffBuildReturns(result1 db.Build, result2 error)
func (*FakeBuildsDB) GetAllBuilds ¶
func (fake *FakeBuildsDB) GetAllBuilds() ([]db.Build, error)
func (*FakeBuildsDB) GetAllBuildsCallCount ¶
func (fake *FakeBuildsDB) GetAllBuildsCallCount() int
func (*FakeBuildsDB) GetAllBuildsReturns ¶
func (fake *FakeBuildsDB) GetAllBuildsReturns(result1 []db.Build, result2 error)
func (*FakeBuildsDB) GetBuildArgsForCall ¶
func (fake *FakeBuildsDB) GetBuildArgsForCall(i int) int
func (*FakeBuildsDB) GetBuildCallCount ¶
func (fake *FakeBuildsDB) GetBuildCallCount() int
func (*FakeBuildsDB) GetBuildEvents ¶
func (fake *FakeBuildsDB) GetBuildEvents(buildID int, from uint) (db.EventSource, error)
func (*FakeBuildsDB) GetBuildEventsArgsForCall ¶
func (fake *FakeBuildsDB) GetBuildEventsArgsForCall(i int) (int, uint)
func (*FakeBuildsDB) GetBuildEventsCallCount ¶
func (fake *FakeBuildsDB) GetBuildEventsCallCount() int
func (*FakeBuildsDB) GetBuildEventsReturns ¶
func (fake *FakeBuildsDB) GetBuildEventsReturns(result1 db.EventSource, result2 error)
func (*FakeBuildsDB) GetBuildReturns ¶
func (fake *FakeBuildsDB) GetBuildReturns(result1 db.Build, result2 error)
func (*FakeBuildsDB) GetConfigByBuildID ¶
func (fake *FakeBuildsDB) GetConfigByBuildID(buildID int) (atc.Config, db.ConfigVersion, error)
func (*FakeBuildsDB) GetConfigByBuildIDArgsForCall ¶
func (fake *FakeBuildsDB) GetConfigByBuildIDArgsForCall(i int) int
func (*FakeBuildsDB) GetConfigByBuildIDCallCount ¶
func (fake *FakeBuildsDB) GetConfigByBuildIDCallCount() int
func (*FakeBuildsDB) GetConfigByBuildIDReturns ¶
func (fake *FakeBuildsDB) GetConfigByBuildIDReturns(result1 atc.Config, result2 db.ConfigVersion, result3 error)
Click to show internal directories.
Click to hide internal directories.