Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeBuild
- func (fake *FakeBuild) Abort(arg1 lager.Logger) error
- func (fake *FakeBuild) AbortArgsForCall(i int) lager.Logger
- func (fake *FakeBuild) AbortCallCount() int
- func (fake *FakeBuild) AbortReturns(result1 error)
- func (fake *FakeBuild) Metadata() string
- func (fake *FakeBuild) MetadataCallCount() int
- func (fake *FakeBuild) MetadataReturns(result1 string)
- func (fake *FakeBuild) PublicPlan(arg1 lager.Logger) (atc.PublicBuildPlan, bool, error)
- func (fake *FakeBuild) PublicPlanArgsForCall(i int) lager.Logger
- func (fake *FakeBuild) PublicPlanCallCount() int
- func (fake *FakeBuild) PublicPlanReturns(result1 atc.PublicBuildPlan, result2 bool, result3 error)
- func (fake *FakeBuild) Resume(arg1 lager.Logger)
- func (fake *FakeBuild) ResumeArgsForCall(i int) lager.Logger
- func (fake *FakeBuild) ResumeCallCount() int
- type FakeBuildDB
- func (fake *FakeBuildDB) AbortBuild(arg1 int) error
- func (fake *FakeBuildDB) AbortBuildArgsForCall(i int) int
- func (fake *FakeBuildDB) AbortBuildCallCount() int
- func (fake *FakeBuildDB) AbortBuildReturns(result1 error)
- func (fake *FakeBuildDB) AbortNotifier(arg1 int) (db.Notifier, error)
- func (fake *FakeBuildDB) AbortNotifierArgsForCall(i int) int
- func (fake *FakeBuildDB) AbortNotifierCallCount() int
- func (fake *FakeBuildDB) AbortNotifierReturns(result1 db.Notifier, result2 error)
- func (fake *FakeBuildDB) FinishBuild(arg1 int, arg2 db.Status) error
- func (fake *FakeBuildDB) FinishBuildArgsForCall(i int) (int, db.Status)
- func (fake *FakeBuildDB) FinishBuildCallCount() int
- func (fake *FakeBuildDB) FinishBuildReturns(result1 error)
- func (fake *FakeBuildDB) GetBuild(arg1 int) (db.Build, bool, error)
- func (fake *FakeBuildDB) GetBuildArgsForCall(i int) int
- func (fake *FakeBuildDB) GetBuildCallCount() int
- func (fake *FakeBuildDB) GetBuildReturns(result1 db.Build, result2 bool, result3 error)
- func (fake *FakeBuildDB) LeaseBuildTracking(buildID int, interval time.Duration) (db.Lease, bool, error)
- func (fake *FakeBuildDB) LeaseBuildTrackingArgsForCall(i int) (int, time.Duration)
- func (fake *FakeBuildDB) LeaseBuildTrackingCallCount() int
- func (fake *FakeBuildDB) LeaseBuildTrackingReturns(result1 db.Lease, result2 bool, result3 error)
- func (fake *FakeBuildDB) StartBuild(arg1 int, arg2 string, arg3 string) (bool, error)
- func (fake *FakeBuildDB) StartBuildArgsForCall(i int) (int, string, string)
- func (fake *FakeBuildDB) StartBuildCallCount() int
- func (fake *FakeBuildDB) StartBuildReturns(result1 bool, result2 error)
- type FakeBuildDelegate
- func (fake *FakeBuildDelegate) ExecutionDelegate(arg1 lager.Logger, arg2 atc.TaskPlan, arg3 event.OriginID) exec.TaskDelegate
- func (fake *FakeBuildDelegate) ExecutionDelegateArgsForCall(i int) (lager.Logger, atc.TaskPlan, event.OriginID)
- func (fake *FakeBuildDelegate) ExecutionDelegateCallCount() int
- func (fake *FakeBuildDelegate) ExecutionDelegateReturns(result1 exec.TaskDelegate)
- func (fake *FakeBuildDelegate) Finish(arg1 lager.Logger, arg2 error, arg3 exec.Success, arg4 bool)
- func (fake *FakeBuildDelegate) FinishArgsForCall(i int) (lager.Logger, error, exec.Success, bool)
- func (fake *FakeBuildDelegate) FinishCallCount() int
- func (fake *FakeBuildDelegate) InputDelegate(arg1 lager.Logger, arg2 atc.GetPlan, arg3 event.OriginID) exec.GetDelegate
- func (fake *FakeBuildDelegate) InputDelegateArgsForCall(i int) (lager.Logger, atc.GetPlan, event.OriginID)
- func (fake *FakeBuildDelegate) InputDelegateCallCount() int
- func (fake *FakeBuildDelegate) InputDelegateReturns(result1 exec.GetDelegate)
- func (fake *FakeBuildDelegate) OutputDelegate(arg1 lager.Logger, arg2 atc.PutPlan, arg3 event.OriginID) exec.PutDelegate
- func (fake *FakeBuildDelegate) OutputDelegateArgsForCall(i int) (lager.Logger, atc.PutPlan, event.OriginID)
- func (fake *FakeBuildDelegate) OutputDelegateCallCount() int
- func (fake *FakeBuildDelegate) OutputDelegateReturns(result1 exec.PutDelegate)
- type FakeBuildDelegateFactory
- type FakeEngine
- func (fake *FakeEngine) CreateBuild(arg1 lager.Logger, arg2 db.Build, arg3 atc.Plan) (engine.Build, error)
- func (fake *FakeEngine) CreateBuildArgsForCall(i int) (lager.Logger, db.Build, atc.Plan)
- func (fake *FakeEngine) CreateBuildCallCount() int
- func (fake *FakeEngine) CreateBuildReturns(result1 engine.Build, result2 error)
- func (fake *FakeEngine) LookupBuild(arg1 lager.Logger, arg2 db.Build) (engine.Build, error)
- func (fake *FakeEngine) LookupBuildArgsForCall(i int) (lager.Logger, db.Build)
- func (fake *FakeEngine) LookupBuildCallCount() int
- func (fake *FakeEngine) LookupBuildReturns(result1 engine.Build, result2 error)
- func (fake *FakeEngine) Name() string
- func (fake *FakeEngine) NameCallCount() int
- func (fake *FakeEngine) NameReturns(result1 string)
- type FakeEngineDB
- func (fake *FakeEngineDB) FinishBuild(buildID int, status db.Status) error
- func (fake *FakeEngineDB) FinishBuildArgsForCall(i int) (int, db.Status)
- func (fake *FakeEngineDB) FinishBuildCallCount() int
- func (fake *FakeEngineDB) FinishBuildReturns(result1 error)
- func (fake *FakeEngineDB) SaveBuildEngineMetadata(buildID int, metadata string) error
- func (fake *FakeEngineDB) SaveBuildEngineMetadataArgsForCall(i int) (int, string)
- func (fake *FakeEngineDB) SaveBuildEngineMetadataCallCount() int
- func (fake *FakeEngineDB) SaveBuildEngineMetadataReturns(result1 error)
- func (fake *FakeEngineDB) SaveBuildEvent(buildID int, event atc.Event) error
- func (fake *FakeEngineDB) SaveBuildEventArgsForCall(i int) (int, atc.Event)
- func (fake *FakeEngineDB) SaveBuildEventCallCount() int
- func (fake *FakeEngineDB) SaveBuildEventReturns(result1 error)
- func (fake *FakeEngineDB) SaveBuildInput(teamName string, buildID int, input db.BuildInput) (db.SavedVersionedResource, error)
- func (fake *FakeEngineDB) SaveBuildInputArgsForCall(i int) (string, int, db.BuildInput)
- func (fake *FakeEngineDB) SaveBuildInputCallCount() int
- func (fake *FakeEngineDB) SaveBuildInputReturns(result1 db.SavedVersionedResource, result2 error)
- func (fake *FakeEngineDB) SaveBuildOutput(teamName string, buildID int, vr db.VersionedResource, explicit bool) (db.SavedVersionedResource, error)
- func (fake *FakeEngineDB) SaveBuildOutputArgsForCall(i int) (string, int, db.VersionedResource, bool)
- func (fake *FakeEngineDB) SaveBuildOutputCallCount() int
- func (fake *FakeEngineDB) SaveBuildOutputReturns(result1 db.SavedVersionedResource, result2 error)
- func (fake *FakeEngineDB) SaveImageResourceVersion(buildID int, planID atc.PlanID, identifier db.VolumeIdentifier) error
- func (fake *FakeEngineDB) SaveImageResourceVersionArgsForCall(i int) (int, atc.PlanID, db.VolumeIdentifier)
- func (fake *FakeEngineDB) SaveImageResourceVersionCallCount() int
- func (fake *FakeEngineDB) SaveImageResourceVersionReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBuild ¶
type FakeBuild struct { MetadataStub func() string PublicPlanStub func(lager.Logger) (atc.PublicBuildPlan, bool, error) AbortStub func(lager.Logger) error ResumeStub func(lager.Logger) // contains filtered or unexported fields }
func (*FakeBuild) AbortCallCount ¶
func (*FakeBuild) AbortReturns ¶
func (*FakeBuild) MetadataCallCount ¶
func (*FakeBuild) MetadataReturns ¶
func (*FakeBuild) PublicPlan ¶
func (*FakeBuild) PublicPlanArgsForCall ¶
func (*FakeBuild) PublicPlanCallCount ¶
func (*FakeBuild) PublicPlanReturns ¶
func (fake *FakeBuild) PublicPlanReturns(result1 atc.PublicBuildPlan, result2 bool, result3 error)
func (*FakeBuild) ResumeCallCount ¶
type FakeBuildDB ¶
type FakeBuildDB struct { GetBuildStub func(int) (db.Build, bool, error) StartBuildStub func(int, string, string) (bool, error) AbortBuildStub func(int) error AbortNotifierStub func(int) (db.Notifier, error) LeaseBuildTrackingStub func(buildID int, interval time.Duration) (db.Lease, bool, error) FinishBuildStub func(int, db.Status) error // contains filtered or unexported fields }
func (*FakeBuildDB) AbortBuild ¶
func (fake *FakeBuildDB) AbortBuild(arg1 int) error
func (*FakeBuildDB) AbortBuildArgsForCall ¶
func (fake *FakeBuildDB) AbortBuildArgsForCall(i int) int
func (*FakeBuildDB) AbortBuildCallCount ¶
func (fake *FakeBuildDB) AbortBuildCallCount() int
func (*FakeBuildDB) AbortBuildReturns ¶
func (fake *FakeBuildDB) AbortBuildReturns(result1 error)
func (*FakeBuildDB) AbortNotifier ¶
func (fake *FakeBuildDB) AbortNotifier(arg1 int) (db.Notifier, error)
func (*FakeBuildDB) AbortNotifierArgsForCall ¶
func (fake *FakeBuildDB) AbortNotifierArgsForCall(i int) int
func (*FakeBuildDB) AbortNotifierCallCount ¶
func (fake *FakeBuildDB) AbortNotifierCallCount() int
func (*FakeBuildDB) AbortNotifierReturns ¶
func (fake *FakeBuildDB) AbortNotifierReturns(result1 db.Notifier, result2 error)
func (*FakeBuildDB) FinishBuild ¶
func (fake *FakeBuildDB) FinishBuild(arg1 int, arg2 db.Status) error
func (*FakeBuildDB) FinishBuildArgsForCall ¶
func (fake *FakeBuildDB) FinishBuildArgsForCall(i int) (int, db.Status)
func (*FakeBuildDB) FinishBuildCallCount ¶
func (fake *FakeBuildDB) FinishBuildCallCount() int
func (*FakeBuildDB) FinishBuildReturns ¶
func (fake *FakeBuildDB) FinishBuildReturns(result1 error)
func (*FakeBuildDB) GetBuildArgsForCall ¶
func (fake *FakeBuildDB) GetBuildArgsForCall(i int) int
func (*FakeBuildDB) GetBuildCallCount ¶
func (fake *FakeBuildDB) GetBuildCallCount() int
func (*FakeBuildDB) GetBuildReturns ¶
func (fake *FakeBuildDB) GetBuildReturns(result1 db.Build, result2 bool, result3 error)
func (*FakeBuildDB) LeaseBuildTracking ¶
func (*FakeBuildDB) LeaseBuildTrackingArgsForCall ¶
func (fake *FakeBuildDB) LeaseBuildTrackingArgsForCall(i int) (int, time.Duration)
func (*FakeBuildDB) LeaseBuildTrackingCallCount ¶
func (fake *FakeBuildDB) LeaseBuildTrackingCallCount() int
func (*FakeBuildDB) LeaseBuildTrackingReturns ¶
func (fake *FakeBuildDB) LeaseBuildTrackingReturns(result1 db.Lease, result2 bool, result3 error)
func (*FakeBuildDB) StartBuild ¶
func (*FakeBuildDB) StartBuildArgsForCall ¶
func (fake *FakeBuildDB) StartBuildArgsForCall(i int) (int, string, string)
func (*FakeBuildDB) StartBuildCallCount ¶
func (fake *FakeBuildDB) StartBuildCallCount() int
func (*FakeBuildDB) StartBuildReturns ¶
func (fake *FakeBuildDB) StartBuildReturns(result1 bool, result2 error)
type FakeBuildDelegate ¶
type FakeBuildDelegate struct { InputDelegateStub func(lager.Logger, atc.GetPlan, event.OriginID) exec.GetDelegate ExecutionDelegateStub func(lager.Logger, atc.TaskPlan, event.OriginID) exec.TaskDelegate OutputDelegateStub func(lager.Logger, atc.PutPlan, event.OriginID) exec.PutDelegate FinishStub func(lager.Logger, error, exec.Success, bool) // contains filtered or unexported fields }
func (*FakeBuildDelegate) ExecutionDelegate ¶
func (fake *FakeBuildDelegate) ExecutionDelegate(arg1 lager.Logger, arg2 atc.TaskPlan, arg3 event.OriginID) exec.TaskDelegate
func (*FakeBuildDelegate) ExecutionDelegateArgsForCall ¶
func (*FakeBuildDelegate) ExecutionDelegateCallCount ¶
func (fake *FakeBuildDelegate) ExecutionDelegateCallCount() int
func (*FakeBuildDelegate) ExecutionDelegateReturns ¶
func (fake *FakeBuildDelegate) ExecutionDelegateReturns(result1 exec.TaskDelegate)
func (*FakeBuildDelegate) FinishArgsForCall ¶
func (*FakeBuildDelegate) FinishCallCount ¶
func (fake *FakeBuildDelegate) FinishCallCount() int
func (*FakeBuildDelegate) InputDelegate ¶
func (fake *FakeBuildDelegate) InputDelegate(arg1 lager.Logger, arg2 atc.GetPlan, arg3 event.OriginID) exec.GetDelegate
func (*FakeBuildDelegate) InputDelegateArgsForCall ¶
func (*FakeBuildDelegate) InputDelegateCallCount ¶
func (fake *FakeBuildDelegate) InputDelegateCallCount() int
func (*FakeBuildDelegate) InputDelegateReturns ¶
func (fake *FakeBuildDelegate) InputDelegateReturns(result1 exec.GetDelegate)
func (*FakeBuildDelegate) OutputDelegate ¶
func (fake *FakeBuildDelegate) OutputDelegate(arg1 lager.Logger, arg2 atc.PutPlan, arg3 event.OriginID) exec.PutDelegate
func (*FakeBuildDelegate) OutputDelegateArgsForCall ¶
func (*FakeBuildDelegate) OutputDelegateCallCount ¶
func (fake *FakeBuildDelegate) OutputDelegateCallCount() int
func (*FakeBuildDelegate) OutputDelegateReturns ¶
func (fake *FakeBuildDelegate) OutputDelegateReturns(result1 exec.PutDelegate)
type FakeBuildDelegateFactory ¶
type FakeBuildDelegateFactory struct { DelegateStub func(buildID int) engine.BuildDelegate // contains filtered or unexported fields }
func (*FakeBuildDelegateFactory) Delegate ¶
func (fake *FakeBuildDelegateFactory) Delegate(buildID int) engine.BuildDelegate
func (*FakeBuildDelegateFactory) DelegateArgsForCall ¶
func (fake *FakeBuildDelegateFactory) DelegateArgsForCall(i int) int
func (*FakeBuildDelegateFactory) DelegateCallCount ¶
func (fake *FakeBuildDelegateFactory) DelegateCallCount() int
func (*FakeBuildDelegateFactory) DelegateReturns ¶
func (fake *FakeBuildDelegateFactory) DelegateReturns(result1 engine.BuildDelegate)
type FakeEngine ¶
type FakeEngine struct { NameStub func() string CreateBuildStub func(lager.Logger, db.Build, atc.Plan) (engine.Build, error) LookupBuildStub func(lager.Logger, db.Build) (engine.Build, error) // contains filtered or unexported fields }
func (*FakeEngine) CreateBuild ¶
func (*FakeEngine) CreateBuildArgsForCall ¶
func (*FakeEngine) CreateBuildCallCount ¶
func (fake *FakeEngine) CreateBuildCallCount() int
func (*FakeEngine) CreateBuildReturns ¶
func (fake *FakeEngine) CreateBuildReturns(result1 engine.Build, result2 error)
func (*FakeEngine) LookupBuild ¶
func (*FakeEngine) LookupBuildArgsForCall ¶
func (*FakeEngine) LookupBuildCallCount ¶
func (fake *FakeEngine) LookupBuildCallCount() int
func (*FakeEngine) LookupBuildReturns ¶
func (fake *FakeEngine) LookupBuildReturns(result1 engine.Build, result2 error)
func (*FakeEngine) Name ¶
func (fake *FakeEngine) Name() string
func (*FakeEngine) NameCallCount ¶
func (fake *FakeEngine) NameCallCount() int
func (*FakeEngine) NameReturns ¶
func (fake *FakeEngine) NameReturns(result1 string)
type FakeEngineDB ¶
type FakeEngineDB struct { SaveBuildEventStub func(buildID int, event atc.Event) error FinishBuildStub func(buildID int, status db.Status) error SaveBuildEngineMetadataStub func(buildID int, metadata string) error SaveBuildInputStub func(teamName string, buildID int, input db.BuildInput) (db.SavedVersionedResource, error) SaveBuildOutputStub func(teamName string, buildID int, vr db.VersionedResource, explicit bool) (db.SavedVersionedResource, error) SaveImageResourceVersionStub func(buildID int, planID atc.PlanID, identifier db.VolumeIdentifier) error // contains filtered or unexported fields }
func (*FakeEngineDB) FinishBuild ¶
func (fake *FakeEngineDB) FinishBuild(buildID int, status db.Status) error
func (*FakeEngineDB) FinishBuildArgsForCall ¶
func (fake *FakeEngineDB) FinishBuildArgsForCall(i int) (int, db.Status)
func (*FakeEngineDB) FinishBuildCallCount ¶
func (fake *FakeEngineDB) FinishBuildCallCount() int
func (*FakeEngineDB) FinishBuildReturns ¶
func (fake *FakeEngineDB) FinishBuildReturns(result1 error)
func (*FakeEngineDB) SaveBuildEngineMetadata ¶
func (fake *FakeEngineDB) SaveBuildEngineMetadata(buildID int, metadata string) error
func (*FakeEngineDB) SaveBuildEngineMetadataArgsForCall ¶
func (fake *FakeEngineDB) SaveBuildEngineMetadataArgsForCall(i int) (int, string)
func (*FakeEngineDB) SaveBuildEngineMetadataCallCount ¶
func (fake *FakeEngineDB) SaveBuildEngineMetadataCallCount() int
func (*FakeEngineDB) SaveBuildEngineMetadataReturns ¶
func (fake *FakeEngineDB) SaveBuildEngineMetadataReturns(result1 error)
func (*FakeEngineDB) SaveBuildEvent ¶
func (fake *FakeEngineDB) SaveBuildEvent(buildID int, event atc.Event) error
func (*FakeEngineDB) SaveBuildEventArgsForCall ¶
func (fake *FakeEngineDB) SaveBuildEventArgsForCall(i int) (int, atc.Event)
func (*FakeEngineDB) SaveBuildEventCallCount ¶
func (fake *FakeEngineDB) SaveBuildEventCallCount() int
func (*FakeEngineDB) SaveBuildEventReturns ¶
func (fake *FakeEngineDB) SaveBuildEventReturns(result1 error)
func (*FakeEngineDB) SaveBuildInput ¶
func (fake *FakeEngineDB) SaveBuildInput(teamName string, buildID int, input db.BuildInput) (db.SavedVersionedResource, error)
func (*FakeEngineDB) SaveBuildInputArgsForCall ¶
func (fake *FakeEngineDB) SaveBuildInputArgsForCall(i int) (string, int, db.BuildInput)
func (*FakeEngineDB) SaveBuildInputCallCount ¶
func (fake *FakeEngineDB) SaveBuildInputCallCount() int
func (*FakeEngineDB) SaveBuildInputReturns ¶
func (fake *FakeEngineDB) SaveBuildInputReturns(result1 db.SavedVersionedResource, result2 error)
func (*FakeEngineDB) SaveBuildOutput ¶
func (fake *FakeEngineDB) SaveBuildOutput(teamName string, buildID int, vr db.VersionedResource, explicit bool) (db.SavedVersionedResource, error)
func (*FakeEngineDB) SaveBuildOutputArgsForCall ¶
func (fake *FakeEngineDB) SaveBuildOutputArgsForCall(i int) (string, int, db.VersionedResource, bool)
func (*FakeEngineDB) SaveBuildOutputCallCount ¶
func (fake *FakeEngineDB) SaveBuildOutputCallCount() int
func (*FakeEngineDB) SaveBuildOutputReturns ¶
func (fake *FakeEngineDB) SaveBuildOutputReturns(result1 db.SavedVersionedResource, result2 error)
func (*FakeEngineDB) SaveImageResourceVersion ¶
func (fake *FakeEngineDB) SaveImageResourceVersion(buildID int, planID atc.PlanID, identifier db.VolumeIdentifier) error
func (*FakeEngineDB) SaveImageResourceVersionArgsForCall ¶
func (fake *FakeEngineDB) SaveImageResourceVersionArgsForCall(i int) (int, atc.PlanID, db.VolumeIdentifier)
func (*FakeEngineDB) SaveImageResourceVersionCallCount ¶
func (fake *FakeEngineDB) SaveImageResourceVersionCallCount() int
func (*FakeEngineDB) SaveImageResourceVersionReturns ¶
func (fake *FakeEngineDB) SaveImageResourceVersionReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.