enginefakes

package
v4.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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

	AbortStub func(lager.Logger) error

	ResumeStub func(lager.Logger)

	ReceiveInputStub func(lager.Logger, atc.PlanID, io.ReadCloser)

	SendOutputStub func(lager.Logger, atc.PlanID, io.Writer)
	// 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) AbortReturnsOnCall

func (fake *FakeBuild) AbortReturnsOnCall(i int, 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) MetadataReturnsOnCall

func (fake *FakeBuild) MetadataReturnsOnCall(i int, result1 string)

func (*FakeBuild) ReceiveInput

func (fake *FakeBuild) ReceiveInput(arg1 lager.Logger, arg2 atc.PlanID, arg3 io.ReadCloser)

func (*FakeBuild) ReceiveInputArgsForCall

func (fake *FakeBuild) ReceiveInputArgsForCall(i int) (lager.Logger, atc.PlanID, io.ReadCloser)

func (*FakeBuild) ReceiveInputCallCount

func (fake *FakeBuild) ReceiveInputCallCount() int

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

func (*FakeBuild) SendOutput

func (fake *FakeBuild) SendOutput(arg1 lager.Logger, arg2 atc.PlanID, arg3 io.Writer)

func (*FakeBuild) SendOutputArgsForCall

func (fake *FakeBuild) SendOutputArgsForCall(i int) (lager.Logger, atc.PlanID, io.Writer)

func (*FakeBuild) SendOutputCallCount

func (fake *FakeBuild) SendOutputCallCount() int

type FakeBuildDelegate

type FakeBuildDelegate struct {
	GetDelegateStub func(atc.PlanID) exec.GetDelegate

	PutDelegateStub func(atc.PlanID) exec.PutDelegate

	TaskDelegateStub func(atc.PlanID) exec.TaskDelegate

	BuildStepDelegateStub func(atc.PlanID) exec.BuildStepDelegate

	FinishStub func(lager.Logger, error, bool)
	// contains filtered or unexported fields
}

func (*FakeBuildDelegate) BuildStepDelegate

func (fake *FakeBuildDelegate) BuildStepDelegate(arg1 atc.PlanID) exec.BuildStepDelegate

func (*FakeBuildDelegate) BuildStepDelegateArgsForCall

func (fake *FakeBuildDelegate) BuildStepDelegateArgsForCall(i int) atc.PlanID

func (*FakeBuildDelegate) BuildStepDelegateCallCount

func (fake *FakeBuildDelegate) BuildStepDelegateCallCount() int

func (*FakeBuildDelegate) BuildStepDelegateReturns

func (fake *FakeBuildDelegate) BuildStepDelegateReturns(result1 exec.BuildStepDelegate)

func (*FakeBuildDelegate) BuildStepDelegateReturnsOnCall

func (fake *FakeBuildDelegate) BuildStepDelegateReturnsOnCall(i int, result1 exec.BuildStepDelegate)

func (*FakeBuildDelegate) Finish

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

func (*FakeBuildDelegate) FinishArgsForCall

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

func (*FakeBuildDelegate) FinishCallCount

func (fake *FakeBuildDelegate) FinishCallCount() int

func (*FakeBuildDelegate) GetDelegate

func (fake *FakeBuildDelegate) GetDelegate(arg1 atc.PlanID) exec.GetDelegate

func (*FakeBuildDelegate) GetDelegateArgsForCall

func (fake *FakeBuildDelegate) GetDelegateArgsForCall(i int) atc.PlanID

func (*FakeBuildDelegate) GetDelegateCallCount

func (fake *FakeBuildDelegate) GetDelegateCallCount() int

func (*FakeBuildDelegate) GetDelegateReturns

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

func (*FakeBuildDelegate) GetDelegateReturnsOnCall

func (fake *FakeBuildDelegate) GetDelegateReturnsOnCall(i int, result1 exec.GetDelegate)

func (*FakeBuildDelegate) Invocations

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

func (*FakeBuildDelegate) PutDelegate

func (fake *FakeBuildDelegate) PutDelegate(arg1 atc.PlanID) exec.PutDelegate

func (*FakeBuildDelegate) PutDelegateArgsForCall

func (fake *FakeBuildDelegate) PutDelegateArgsForCall(i int) atc.PlanID

func (*FakeBuildDelegate) PutDelegateCallCount

func (fake *FakeBuildDelegate) PutDelegateCallCount() int

func (*FakeBuildDelegate) PutDelegateReturns

func (fake *FakeBuildDelegate) PutDelegateReturns(result1 exec.PutDelegate)

func (*FakeBuildDelegate) PutDelegateReturnsOnCall

func (fake *FakeBuildDelegate) PutDelegateReturnsOnCall(i int, result1 exec.PutDelegate)

func (*FakeBuildDelegate) TaskDelegate

func (fake *FakeBuildDelegate) TaskDelegate(arg1 atc.PlanID) exec.TaskDelegate

func (*FakeBuildDelegate) TaskDelegateArgsForCall

func (fake *FakeBuildDelegate) TaskDelegateArgsForCall(i int) atc.PlanID

func (*FakeBuildDelegate) TaskDelegateCallCount

func (fake *FakeBuildDelegate) TaskDelegateCallCount() int

func (*FakeBuildDelegate) TaskDelegateReturns

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

func (*FakeBuildDelegate) TaskDelegateReturnsOnCall

func (fake *FakeBuildDelegate) TaskDelegateReturnsOnCall(i int, result1 exec.TaskDelegate)

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) DelegateReturnsOnCall

func (fake *FakeBuildDelegateFactory) DelegateReturnsOnCall(i int, 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)

	ReleaseAllStub func(lager.Logger)
	// 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) CreateBuildReturnsOnCall

func (fake *FakeEngine) CreateBuildReturnsOnCall(i int, 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) LookupBuildReturnsOnCall

func (fake *FakeEngine) LookupBuildReturnsOnCall(i int, 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)

func (*FakeEngine) NameReturnsOnCall

func (fake *FakeEngine) NameReturnsOnCall(i int, result1 string)

func (*FakeEngine) ReleaseAll

func (fake *FakeEngine) ReleaseAll(arg1 lager.Logger)

func (*FakeEngine) ReleaseAllArgsForCall

func (fake *FakeEngine) ReleaseAllArgsForCall(i int) lager.Logger

func (*FakeEngine) ReleaseAllCallCount

func (fake *FakeEngine) ReleaseAllCallCount() int

Jump to

Keyboard shortcuts

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