enginefakes

package
v0.0.0-...-7fe2d08 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

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

Index

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, error)

	AbortStub func(lager.Logger) error

	ResumeStub func(lager.Logger)
	// contains filtered or unexported fields
}

func (*FakeBuild) Abort

func (fake *FakeBuild) Abort(arg1 lager.Logger) error

func (*FakeBuild) AbortArgsForCall

func (fake *FakeBuild) AbortArgsForCall(i int) lager.Logger

func (*FakeBuild) AbortCallCount

func (fake *FakeBuild) AbortCallCount() int

func (*FakeBuild) AbortReturns

func (fake *FakeBuild) AbortReturns(result1 error)

func (*FakeBuild) Invocations

func (fake *FakeBuild) Invocations() map[string][][]interface{}

func (*FakeBuild) Metadata

func (fake *FakeBuild) Metadata() string

func (*FakeBuild) MetadataCallCount

func (fake *FakeBuild) MetadataCallCount() int

func (*FakeBuild) MetadataReturns

func (fake *FakeBuild) MetadataReturns(result1 string)

func (*FakeBuild) PublicPlan

func (fake *FakeBuild) PublicPlan(arg1 lager.Logger) (atc.PublicBuildPlan, error)

func (*FakeBuild) PublicPlanArgsForCall

func (fake *FakeBuild) PublicPlanArgsForCall(i int) lager.Logger

func (*FakeBuild) PublicPlanCallCount

func (fake *FakeBuild) PublicPlanCallCount() int

func (*FakeBuild) PublicPlanReturns

func (fake *FakeBuild) PublicPlanReturns(result1 atc.PublicBuildPlan, result2 error)

func (*FakeBuild) Resume

func (fake *FakeBuild) Resume(arg1 lager.Logger)

func (*FakeBuild) ResumeArgsForCall

func (fake *FakeBuild) ResumeArgsForCall(i int) lager.Logger

func (*FakeBuild) ResumeCallCount

func (fake *FakeBuild) ResumeCallCount() int

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 (fake *FakeBuildDelegate) ExecutionDelegateArgsForCall(i int) (lager.Logger, atc.TaskPlan, event.OriginID)

func (*FakeBuildDelegate) ExecutionDelegateCallCount

func (fake *FakeBuildDelegate) ExecutionDelegateCallCount() int

func (*FakeBuildDelegate) ExecutionDelegateReturns

func (fake *FakeBuildDelegate) ExecutionDelegateReturns(result1 exec.TaskDelegate)

func (*FakeBuildDelegate) Finish

func (fake *FakeBuildDelegate) Finish(arg1 lager.Logger, arg2 error, arg3 exec.Success, arg4 bool)

func (*FakeBuildDelegate) FinishArgsForCall

func (fake *FakeBuildDelegate) FinishArgsForCall(i int) (lager.Logger, error, exec.Success, bool)

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 (fake *FakeBuildDelegate) InputDelegateArgsForCall(i int) (lager.Logger, atc.GetPlan, event.OriginID)

func (*FakeBuildDelegate) InputDelegateCallCount

func (fake *FakeBuildDelegate) InputDelegateCallCount() int

func (*FakeBuildDelegate) InputDelegateReturns

func (fake *FakeBuildDelegate) InputDelegateReturns(result1 exec.GetDelegate)

func (*FakeBuildDelegate) Invocations

func (fake *FakeBuildDelegate) Invocations() map[string][][]interface{}

func (*FakeBuildDelegate) OutputDelegate

func (fake *FakeBuildDelegate) OutputDelegate(arg1 lager.Logger, arg2 atc.PutPlan, arg3 event.OriginID) exec.PutDelegate

func (*FakeBuildDelegate) OutputDelegateArgsForCall

func (fake *FakeBuildDelegate) OutputDelegateArgsForCall(i int) (lager.Logger, atc.PutPlan, event.OriginID)

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(db.Build) engine.BuildDelegate
	// contains filtered or unexported fields
}

func (*FakeBuildDelegateFactory) Delegate

func (fake *FakeBuildDelegateFactory) Delegate(arg1 db.Build) engine.BuildDelegate

func (*FakeBuildDelegateFactory) DelegateArgsForCall

func (fake *FakeBuildDelegateFactory) DelegateArgsForCall(i int) db.Build

func (*FakeBuildDelegateFactory) DelegateCallCount

func (fake *FakeBuildDelegateFactory) DelegateCallCount() int

func (*FakeBuildDelegateFactory) DelegateReturns

func (fake *FakeBuildDelegateFactory) DelegateReturns(result1 engine.BuildDelegate)

func (*FakeBuildDelegateFactory) Invocations

func (fake *FakeBuildDelegateFactory) Invocations() map[string][][]interface{}

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 (fake *FakeEngine) CreateBuild(arg1 lager.Logger, arg2 db.Build, arg3 atc.Plan) (engine.Build, error)

func (*FakeEngine) CreateBuildArgsForCall

func (fake *FakeEngine) CreateBuildArgsForCall(i int) (lager.Logger, db.Build, atc.Plan)

func (*FakeEngine) CreateBuildCallCount

func (fake *FakeEngine) CreateBuildCallCount() int

func (*FakeEngine) CreateBuildReturns

func (fake *FakeEngine) CreateBuildReturns(result1 engine.Build, result2 error)

func (*FakeEngine) Invocations

func (fake *FakeEngine) Invocations() map[string][][]interface{}

func (*FakeEngine) LookupBuild

func (fake *FakeEngine) LookupBuild(arg1 lager.Logger, arg2 db.Build) (engine.Build, error)

func (*FakeEngine) LookupBuildArgsForCall

func (fake *FakeEngine) LookupBuildArgsForCall(i int) (lager.Logger, db.Build)

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)

Jump to

Keyboard shortcuts

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