enginefakes

package
v6.7.3-0...-1f455d7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 6 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.

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 FakeCoreStepFactory

type FakeCoreStepFactory struct {
	ArtifactInputStepStub func(atc.Plan, db.Build) exec.Step

	ArtifactOutputStepStub func(atc.Plan, db.Build) exec.Step

	CheckStepStub func(atc.Plan, exec.StepMetadata, db.ContainerMetadata, engine.DelegateFactory) exec.Step

	GetStepStub func(atc.Plan, exec.StepMetadata, db.ContainerMetadata, engine.DelegateFactory) exec.Step

	LoadVarStepStub func(atc.Plan, exec.StepMetadata, engine.DelegateFactory) exec.Step

	PutStepStub func(atc.Plan, exec.StepMetadata, db.ContainerMetadata, engine.DelegateFactory) exec.Step

	SetPipelineStepStub func(atc.Plan, exec.StepMetadata, engine.DelegateFactory) exec.Step

	TaskStepStub func(atc.Plan, exec.StepMetadata, db.ContainerMetadata, engine.DelegateFactory) exec.Step
	// contains filtered or unexported fields
}

func (*FakeCoreStepFactory) ArtifactInputStep

func (fake *FakeCoreStepFactory) ArtifactInputStep(arg1 atc.Plan, arg2 db.Build) exec.Step

func (*FakeCoreStepFactory) ArtifactInputStepArgsForCall

func (fake *FakeCoreStepFactory) ArtifactInputStepArgsForCall(i int) (atc.Plan, db.Build)

func (*FakeCoreStepFactory) ArtifactInputStepCallCount

func (fake *FakeCoreStepFactory) ArtifactInputStepCallCount() int

func (*FakeCoreStepFactory) ArtifactInputStepCalls

func (fake *FakeCoreStepFactory) ArtifactInputStepCalls(stub func(atc.Plan, db.Build) exec.Step)

func (*FakeCoreStepFactory) ArtifactInputStepReturns

func (fake *FakeCoreStepFactory) ArtifactInputStepReturns(result1 exec.Step)

func (*FakeCoreStepFactory) ArtifactInputStepReturnsOnCall

func (fake *FakeCoreStepFactory) ArtifactInputStepReturnsOnCall(i int, result1 exec.Step)

func (*FakeCoreStepFactory) ArtifactOutputStep

func (fake *FakeCoreStepFactory) ArtifactOutputStep(arg1 atc.Plan, arg2 db.Build) exec.Step

func (*FakeCoreStepFactory) ArtifactOutputStepArgsForCall

func (fake *FakeCoreStepFactory) ArtifactOutputStepArgsForCall(i int) (atc.Plan, db.Build)

func (*FakeCoreStepFactory) ArtifactOutputStepCallCount

func (fake *FakeCoreStepFactory) ArtifactOutputStepCallCount() int

func (*FakeCoreStepFactory) ArtifactOutputStepCalls

func (fake *FakeCoreStepFactory) ArtifactOutputStepCalls(stub func(atc.Plan, db.Build) exec.Step)

func (*FakeCoreStepFactory) ArtifactOutputStepReturns

func (fake *FakeCoreStepFactory) ArtifactOutputStepReturns(result1 exec.Step)

func (*FakeCoreStepFactory) ArtifactOutputStepReturnsOnCall

func (fake *FakeCoreStepFactory) ArtifactOutputStepReturnsOnCall(i int, result1 exec.Step)

func (*FakeCoreStepFactory) CheckStep

func (*FakeCoreStepFactory) CheckStepArgsForCall

func (*FakeCoreStepFactory) CheckStepCallCount

func (fake *FakeCoreStepFactory) CheckStepCallCount() int

func (*FakeCoreStepFactory) CheckStepCalls

func (*FakeCoreStepFactory) CheckStepReturns

func (fake *FakeCoreStepFactory) CheckStepReturns(result1 exec.Step)

func (*FakeCoreStepFactory) CheckStepReturnsOnCall

func (fake *FakeCoreStepFactory) CheckStepReturnsOnCall(i int, result1 exec.Step)

func (*FakeCoreStepFactory) GetStep

func (*FakeCoreStepFactory) GetStepArgsForCall

func (*FakeCoreStepFactory) GetStepCallCount

func (fake *FakeCoreStepFactory) GetStepCallCount() int

func (*FakeCoreStepFactory) GetStepCalls

func (*FakeCoreStepFactory) GetStepReturns

func (fake *FakeCoreStepFactory) GetStepReturns(result1 exec.Step)

func (*FakeCoreStepFactory) GetStepReturnsOnCall

func (fake *FakeCoreStepFactory) GetStepReturnsOnCall(i int, result1 exec.Step)

func (*FakeCoreStepFactory) Invocations

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

func (*FakeCoreStepFactory) LoadVarStep

func (fake *FakeCoreStepFactory) LoadVarStep(arg1 atc.Plan, arg2 exec.StepMetadata, arg3 engine.DelegateFactory) exec.Step

func (*FakeCoreStepFactory) LoadVarStepArgsForCall

func (fake *FakeCoreStepFactory) LoadVarStepArgsForCall(i int) (atc.Plan, exec.StepMetadata, engine.DelegateFactory)

func (*FakeCoreStepFactory) LoadVarStepCallCount

func (fake *FakeCoreStepFactory) LoadVarStepCallCount() int

func (*FakeCoreStepFactory) LoadVarStepCalls

func (fake *FakeCoreStepFactory) LoadVarStepCalls(stub func(atc.Plan, exec.StepMetadata, engine.DelegateFactory) exec.Step)

func (*FakeCoreStepFactory) LoadVarStepReturns

func (fake *FakeCoreStepFactory) LoadVarStepReturns(result1 exec.Step)

func (*FakeCoreStepFactory) LoadVarStepReturnsOnCall

func (fake *FakeCoreStepFactory) LoadVarStepReturnsOnCall(i int, result1 exec.Step)

func (*FakeCoreStepFactory) PutStep

func (*FakeCoreStepFactory) PutStepArgsForCall

func (*FakeCoreStepFactory) PutStepCallCount

func (fake *FakeCoreStepFactory) PutStepCallCount() int

func (*FakeCoreStepFactory) PutStepCalls

func (*FakeCoreStepFactory) PutStepReturns

func (fake *FakeCoreStepFactory) PutStepReturns(result1 exec.Step)

func (*FakeCoreStepFactory) PutStepReturnsOnCall

func (fake *FakeCoreStepFactory) PutStepReturnsOnCall(i int, result1 exec.Step)

func (*FakeCoreStepFactory) SetPipelineStep

func (fake *FakeCoreStepFactory) SetPipelineStep(arg1 atc.Plan, arg2 exec.StepMetadata, arg3 engine.DelegateFactory) exec.Step

func (*FakeCoreStepFactory) SetPipelineStepArgsForCall

func (fake *FakeCoreStepFactory) SetPipelineStepArgsForCall(i int) (atc.Plan, exec.StepMetadata, engine.DelegateFactory)

func (*FakeCoreStepFactory) SetPipelineStepCallCount

func (fake *FakeCoreStepFactory) SetPipelineStepCallCount() int

func (*FakeCoreStepFactory) SetPipelineStepCalls

func (fake *FakeCoreStepFactory) SetPipelineStepCalls(stub func(atc.Plan, exec.StepMetadata, engine.DelegateFactory) exec.Step)

func (*FakeCoreStepFactory) SetPipelineStepReturns

func (fake *FakeCoreStepFactory) SetPipelineStepReturns(result1 exec.Step)

func (*FakeCoreStepFactory) SetPipelineStepReturnsOnCall

func (fake *FakeCoreStepFactory) SetPipelineStepReturnsOnCall(i int, result1 exec.Step)

func (*FakeCoreStepFactory) TaskStep

func (*FakeCoreStepFactory) TaskStepArgsForCall

func (*FakeCoreStepFactory) TaskStepCallCount

func (fake *FakeCoreStepFactory) TaskStepCallCount() int

func (*FakeCoreStepFactory) TaskStepCalls

func (*FakeCoreStepFactory) TaskStepReturns

func (fake *FakeCoreStepFactory) TaskStepReturns(result1 exec.Step)

func (*FakeCoreStepFactory) TaskStepReturnsOnCall

func (fake *FakeCoreStepFactory) TaskStepReturnsOnCall(i int, result1 exec.Step)

type FakeEngine

type FakeEngine struct {
	DrainStub func(context.Context)

	NewBuildStub func(db.Build) engine.Runnable
	// contains filtered or unexported fields
}

func (*FakeEngine) Drain

func (fake *FakeEngine) Drain(arg1 context.Context)

func (*FakeEngine) DrainArgsForCall

func (fake *FakeEngine) DrainArgsForCall(i int) context.Context

func (*FakeEngine) DrainCallCount

func (fake *FakeEngine) DrainCallCount() int

func (*FakeEngine) DrainCalls

func (fake *FakeEngine) DrainCalls(stub func(context.Context))

func (*FakeEngine) Invocations

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

func (*FakeEngine) NewBuild

func (fake *FakeEngine) NewBuild(arg1 db.Build) engine.Runnable

func (*FakeEngine) NewBuildArgsForCall

func (fake *FakeEngine) NewBuildArgsForCall(i int) db.Build

func (*FakeEngine) NewBuildCallCount

func (fake *FakeEngine) NewBuildCallCount() int

func (*FakeEngine) NewBuildCalls

func (fake *FakeEngine) NewBuildCalls(stub func(db.Build) engine.Runnable)

func (*FakeEngine) NewBuildReturns

func (fake *FakeEngine) NewBuildReturns(result1 engine.Runnable)

func (*FakeEngine) NewBuildReturnsOnCall

func (fake *FakeEngine) NewBuildReturnsOnCall(i int, result1 engine.Runnable)

type FakeRateLimiter

type FakeRateLimiter struct {
	WaitStub func(context.Context) error
	// contains filtered or unexported fields
}

func (*FakeRateLimiter) Invocations

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

func (*FakeRateLimiter) Wait

func (fake *FakeRateLimiter) Wait(arg1 context.Context) error

func (*FakeRateLimiter) WaitArgsForCall

func (fake *FakeRateLimiter) WaitArgsForCall(i int) context.Context

func (*FakeRateLimiter) WaitCallCount

func (fake *FakeRateLimiter) WaitCallCount() int

func (*FakeRateLimiter) WaitCalls

func (fake *FakeRateLimiter) WaitCalls(stub func(context.Context) error)

func (*FakeRateLimiter) WaitReturns

func (fake *FakeRateLimiter) WaitReturns(result1 error)

func (*FakeRateLimiter) WaitReturnsOnCall

func (fake *FakeRateLimiter) WaitReturnsOnCall(i int, result1 error)

type FakeRunnable

type FakeRunnable struct {
	RunStub func(context.Context)
	// contains filtered or unexported fields
}

func (*FakeRunnable) Invocations

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

func (*FakeRunnable) Run

func (fake *FakeRunnable) Run(arg1 context.Context)

func (*FakeRunnable) RunArgsForCall

func (fake *FakeRunnable) RunArgsForCall(i int) context.Context

func (*FakeRunnable) RunCallCount

func (fake *FakeRunnable) RunCallCount() int

func (*FakeRunnable) RunCalls

func (fake *FakeRunnable) RunCalls(stub func(context.Context))

type FakeStepperFactory

type FakeStepperFactory struct {
	StepperForBuildStub func(db.Build) (exec.Stepper, error)
	// contains filtered or unexported fields
}

func (*FakeStepperFactory) Invocations

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

func (*FakeStepperFactory) StepperForBuild

func (fake *FakeStepperFactory) StepperForBuild(arg1 db.Build) (exec.Stepper, error)

func (*FakeStepperFactory) StepperForBuildArgsForCall

func (fake *FakeStepperFactory) StepperForBuildArgsForCall(i int) db.Build

func (*FakeStepperFactory) StepperForBuildCallCount

func (fake *FakeStepperFactory) StepperForBuildCallCount() int

func (*FakeStepperFactory) StepperForBuildCalls

func (fake *FakeStepperFactory) StepperForBuildCalls(stub func(db.Build) (exec.Stepper, error))

func (*FakeStepperFactory) StepperForBuildReturns

func (fake *FakeStepperFactory) StepperForBuildReturns(result1 exec.Stepper, result2 error)

func (*FakeStepperFactory) StepperForBuildReturnsOnCall

func (fake *FakeStepperFactory) StepperForBuildReturnsOnCall(i int, result1 exec.Stepper, result2 error)

Jump to

Keyboard shortcuts

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