execfakes

package
Version: v0.0.0-...-9d0dc56 Latest Latest
Warning

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

Go to latest
Published: May 25, 2017 License: Apache-2.0 Imports: 9 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.

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 FakeFactory

func (*FakeFactory) DependentGet

func (fake *FakeFactory) DependentGet(arg1 lager.Logger, arg2 int, arg3 int, arg4 atc.PlanID, arg5 exec.StepMetadata, arg6 worker.ArtifactName, arg7 dbng.ContainerMetadata, arg8 exec.GetDelegate, arg9 atc.ResourceConfig, arg10 atc.Tags, arg11 atc.Params, arg12 atc.VersionedResourceTypes) exec.StepFactory

func (*FakeFactory) DependentGetCallCount

func (fake *FakeFactory) DependentGetCallCount() int

func (*FakeFactory) DependentGetReturns

func (fake *FakeFactory) DependentGetReturns(result1 exec.StepFactory)

func (*FakeFactory) DependentGetReturnsOnCall

func (fake *FakeFactory) DependentGetReturnsOnCall(i int, result1 exec.StepFactory)

func (*FakeFactory) Get

func (fake *FakeFactory) Get(arg1 lager.Logger, arg2 int, arg3 int, arg4 atc.PlanID, arg5 exec.StepMetadata, arg6 worker.ArtifactName, arg7 dbng.ContainerMetadata, arg8 exec.GetDelegate, arg9 atc.ResourceConfig, arg10 atc.Tags, arg11 atc.Params, arg12 atc.Version, arg13 atc.VersionedResourceTypes) exec.StepFactory

func (*FakeFactory) GetCallCount

func (fake *FakeFactory) GetCallCount() int

func (*FakeFactory) GetReturns

func (fake *FakeFactory) GetReturns(result1 exec.StepFactory)

func (*FakeFactory) GetReturnsOnCall

func (fake *FakeFactory) GetReturnsOnCall(i int, result1 exec.StepFactory)

func (*FakeFactory) Invocations

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

func (*FakeFactory) Put

func (fake *FakeFactory) Put(arg1 lager.Logger, arg2 int, arg3 int, arg4 atc.PlanID, arg5 exec.StepMetadata, arg6 dbng.ContainerMetadata, arg7 exec.PutDelegate, arg8 atc.ResourceConfig, arg9 atc.Tags, arg10 atc.Params, arg11 atc.VersionedResourceTypes) exec.StepFactory

func (*FakeFactory) PutCallCount

func (fake *FakeFactory) PutCallCount() int

func (*FakeFactory) PutReturns

func (fake *FakeFactory) PutReturns(result1 exec.StepFactory)

func (*FakeFactory) PutReturnsOnCall

func (fake *FakeFactory) PutReturnsOnCall(i int, result1 exec.StepFactory)

func (*FakeFactory) Task

func (fake *FakeFactory) Task(arg1 lager.Logger, arg2 int, arg3 int, arg4 atc.PlanID, arg5 worker.ArtifactName, arg6 dbng.ContainerMetadata, arg7 exec.TaskDelegate, arg8 exec.Privileged, arg9 atc.Tags, arg10 exec.TaskConfigSource, arg11 atc.VersionedResourceTypes, arg12 map[string]string, arg13 map[string]string, arg14 string, arg15 clock.Clock) exec.StepFactory

func (*FakeFactory) TaskCallCount

func (fake *FakeFactory) TaskCallCount() int

func (*FakeFactory) TaskReturns

func (fake *FakeFactory) TaskReturns(result1 exec.StepFactory)

func (*FakeFactory) TaskReturnsOnCall

func (fake *FakeFactory) TaskReturnsOnCall(i int, result1 exec.StepFactory)

type FakeGetDelegate

type FakeGetDelegate struct {
	InitializingStub func()

	CompletedStub func(exec.ExitStatus, *exec.VersionInfo)

	FailedStub func(error)

	ImageVersionDeterminedStub func(worker.ResourceCacheIdentifier) error

	StdoutStub func() io.Writer

	StderrStub func() io.Writer
	// contains filtered or unexported fields
}

func (*FakeGetDelegate) Completed

func (fake *FakeGetDelegate) Completed(arg1 exec.ExitStatus, arg2 *exec.VersionInfo)

func (*FakeGetDelegate) CompletedArgsForCall

func (fake *FakeGetDelegate) CompletedArgsForCall(i int) (exec.ExitStatus, *exec.VersionInfo)

func (*FakeGetDelegate) CompletedCallCount

func (fake *FakeGetDelegate) CompletedCallCount() int

func (*FakeGetDelegate) Failed

func (fake *FakeGetDelegate) Failed(arg1 error)

func (*FakeGetDelegate) FailedArgsForCall

func (fake *FakeGetDelegate) FailedArgsForCall(i int) error

func (*FakeGetDelegate) FailedCallCount

func (fake *FakeGetDelegate) FailedCallCount() int

func (*FakeGetDelegate) ImageVersionDetermined

func (fake *FakeGetDelegate) ImageVersionDetermined(arg1 worker.ResourceCacheIdentifier) error

func (*FakeGetDelegate) ImageVersionDeterminedArgsForCall

func (fake *FakeGetDelegate) ImageVersionDeterminedArgsForCall(i int) worker.ResourceCacheIdentifier

func (*FakeGetDelegate) ImageVersionDeterminedCallCount

func (fake *FakeGetDelegate) ImageVersionDeterminedCallCount() int

func (*FakeGetDelegate) ImageVersionDeterminedReturns

func (fake *FakeGetDelegate) ImageVersionDeterminedReturns(result1 error)

func (*FakeGetDelegate) ImageVersionDeterminedReturnsOnCall

func (fake *FakeGetDelegate) ImageVersionDeterminedReturnsOnCall(i int, result1 error)

func (*FakeGetDelegate) Initializing

func (fake *FakeGetDelegate) Initializing()

func (*FakeGetDelegate) InitializingCallCount

func (fake *FakeGetDelegate) InitializingCallCount() int

func (*FakeGetDelegate) Invocations

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

func (*FakeGetDelegate) Stderr

func (fake *FakeGetDelegate) Stderr() io.Writer

func (*FakeGetDelegate) StderrCallCount

func (fake *FakeGetDelegate) StderrCallCount() int

func (*FakeGetDelegate) StderrReturns

func (fake *FakeGetDelegate) StderrReturns(result1 io.Writer)

func (*FakeGetDelegate) StderrReturnsOnCall

func (fake *FakeGetDelegate) StderrReturnsOnCall(i int, result1 io.Writer)

func (*FakeGetDelegate) Stdout

func (fake *FakeGetDelegate) Stdout() io.Writer

func (*FakeGetDelegate) StdoutCallCount

func (fake *FakeGetDelegate) StdoutCallCount() int

func (*FakeGetDelegate) StdoutReturns

func (fake *FakeGetDelegate) StdoutReturns(result1 io.Writer)

func (*FakeGetDelegate) StdoutReturnsOnCall

func (fake *FakeGetDelegate) StdoutReturnsOnCall(i int, result1 io.Writer)

type FakePutDelegate

type FakePutDelegate struct {
	InitializingStub func()

	CompletedStub func(exec.ExitStatus, *exec.VersionInfo)

	FailedStub func(error)

	ImageVersionDeterminedStub func(worker.ResourceCacheIdentifier) error

	StdoutStub func() io.Writer

	StderrStub func() io.Writer
	// contains filtered or unexported fields
}

func (*FakePutDelegate) Completed

func (fake *FakePutDelegate) Completed(arg1 exec.ExitStatus, arg2 *exec.VersionInfo)

func (*FakePutDelegate) CompletedArgsForCall

func (fake *FakePutDelegate) CompletedArgsForCall(i int) (exec.ExitStatus, *exec.VersionInfo)

func (*FakePutDelegate) CompletedCallCount

func (fake *FakePutDelegate) CompletedCallCount() int

func (*FakePutDelegate) Failed

func (fake *FakePutDelegate) Failed(arg1 error)

func (*FakePutDelegate) FailedArgsForCall

func (fake *FakePutDelegate) FailedArgsForCall(i int) error

func (*FakePutDelegate) FailedCallCount

func (fake *FakePutDelegate) FailedCallCount() int

func (*FakePutDelegate) ImageVersionDetermined

func (fake *FakePutDelegate) ImageVersionDetermined(arg1 worker.ResourceCacheIdentifier) error

func (*FakePutDelegate) ImageVersionDeterminedArgsForCall

func (fake *FakePutDelegate) ImageVersionDeterminedArgsForCall(i int) worker.ResourceCacheIdentifier

func (*FakePutDelegate) ImageVersionDeterminedCallCount

func (fake *FakePutDelegate) ImageVersionDeterminedCallCount() int

func (*FakePutDelegate) ImageVersionDeterminedReturns

func (fake *FakePutDelegate) ImageVersionDeterminedReturns(result1 error)

func (*FakePutDelegate) ImageVersionDeterminedReturnsOnCall

func (fake *FakePutDelegate) ImageVersionDeterminedReturnsOnCall(i int, result1 error)

func (*FakePutDelegate) Initializing

func (fake *FakePutDelegate) Initializing()

func (*FakePutDelegate) InitializingCallCount

func (fake *FakePutDelegate) InitializingCallCount() int

func (*FakePutDelegate) Invocations

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

func (*FakePutDelegate) Stderr

func (fake *FakePutDelegate) Stderr() io.Writer

func (*FakePutDelegate) StderrCallCount

func (fake *FakePutDelegate) StderrCallCount() int

func (*FakePutDelegate) StderrReturns

func (fake *FakePutDelegate) StderrReturns(result1 io.Writer)

func (*FakePutDelegate) StderrReturnsOnCall

func (fake *FakePutDelegate) StderrReturnsOnCall(i int, result1 io.Writer)

func (*FakePutDelegate) Stdout

func (fake *FakePutDelegate) Stdout() io.Writer

func (*FakePutDelegate) StdoutCallCount

func (fake *FakePutDelegate) StdoutCallCount() int

func (*FakePutDelegate) StdoutReturns

func (fake *FakePutDelegate) StdoutReturns(result1 io.Writer)

func (*FakePutDelegate) StdoutReturnsOnCall

func (fake *FakePutDelegate) StdoutReturnsOnCall(i int, result1 io.Writer)

type FakeStep

type FakeStep struct {
	RunStub func(signals <-chan os.Signal, ready chan<- struct{}) error

	ResultStub func(interface{}) bool
	// contains filtered or unexported fields
}

func (*FakeStep) Invocations

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

func (*FakeStep) Result

func (fake *FakeStep) Result(arg1 interface{}) bool

func (*FakeStep) ResultArgsForCall

func (fake *FakeStep) ResultArgsForCall(i int) interface{}

func (*FakeStep) ResultCallCount

func (fake *FakeStep) ResultCallCount() int

func (*FakeStep) ResultReturns

func (fake *FakeStep) ResultReturns(result1 bool)

func (*FakeStep) ResultReturnsOnCall

func (fake *FakeStep) ResultReturnsOnCall(i int, result1 bool)

func (*FakeStep) Run

func (fake *FakeStep) Run(signals <-chan os.Signal, ready chan<- struct{}) error

func (*FakeStep) RunArgsForCall

func (fake *FakeStep) RunArgsForCall(i int) (<-chan os.Signal, chan<- struct{})

func (*FakeStep) RunCallCount

func (fake *FakeStep) RunCallCount() int

func (*FakeStep) RunReturns

func (fake *FakeStep) RunReturns(result1 error)

func (*FakeStep) RunReturnsOnCall

func (fake *FakeStep) RunReturnsOnCall(i int, result1 error)

type FakeStepFactory

type FakeStepFactory struct {
	UsingStub func(exec.Step, *worker.ArtifactRepository) exec.Step
	// contains filtered or unexported fields
}

func (*FakeStepFactory) Invocations

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

func (*FakeStepFactory) Using

func (fake *FakeStepFactory) Using(arg1 exec.Step, arg2 *worker.ArtifactRepository) exec.Step

func (*FakeStepFactory) UsingArgsForCall

func (fake *FakeStepFactory) UsingArgsForCall(i int) (exec.Step, *worker.ArtifactRepository)

func (*FakeStepFactory) UsingCallCount

func (fake *FakeStepFactory) UsingCallCount() int

func (*FakeStepFactory) UsingReturns

func (fake *FakeStepFactory) UsingReturns(result1 exec.Step)

func (*FakeStepFactory) UsingReturnsOnCall

func (fake *FakeStepFactory) UsingReturnsOnCall(i int, result1 exec.Step)

type FakeTaskConfigSource

type FakeTaskConfigSource struct {
	FetchConfigStub func(*worker.ArtifactRepository) (atc.TaskConfig, error)

	WarningsStub func() []string
	// contains filtered or unexported fields
}

func (*FakeTaskConfigSource) FetchConfig

func (fake *FakeTaskConfigSource) FetchConfig(arg1 *worker.ArtifactRepository) (atc.TaskConfig, error)

func (*FakeTaskConfigSource) FetchConfigArgsForCall

func (fake *FakeTaskConfigSource) FetchConfigArgsForCall(i int) *worker.ArtifactRepository

func (*FakeTaskConfigSource) FetchConfigCallCount

func (fake *FakeTaskConfigSource) FetchConfigCallCount() int

func (*FakeTaskConfigSource) FetchConfigReturns

func (fake *FakeTaskConfigSource) FetchConfigReturns(result1 atc.TaskConfig, result2 error)

func (*FakeTaskConfigSource) FetchConfigReturnsOnCall

func (fake *FakeTaskConfigSource) FetchConfigReturnsOnCall(i int, result1 atc.TaskConfig, result2 error)

func (*FakeTaskConfigSource) Invocations

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

func (*FakeTaskConfigSource) Warnings

func (fake *FakeTaskConfigSource) Warnings() []string

func (*FakeTaskConfigSource) WarningsCallCount

func (fake *FakeTaskConfigSource) WarningsCallCount() int

func (*FakeTaskConfigSource) WarningsReturns

func (fake *FakeTaskConfigSource) WarningsReturns(result1 []string)

func (*FakeTaskConfigSource) WarningsReturnsOnCall

func (fake *FakeTaskConfigSource) WarningsReturnsOnCall(i int, result1 []string)

type FakeTaskDelegate

type FakeTaskDelegate struct {
	InitializingStub func(atc.TaskConfig)

	StartedStub func()

	FinishedStub func(exec.ExitStatus)

	FailedStub func(error)

	ImageVersionDeterminedStub func(worker.ResourceCacheIdentifier) error

	StdoutStub func() io.Writer

	StderrStub func() io.Writer
	// contains filtered or unexported fields
}

func (*FakeTaskDelegate) Failed

func (fake *FakeTaskDelegate) Failed(arg1 error)

func (*FakeTaskDelegate) FailedArgsForCall

func (fake *FakeTaskDelegate) FailedArgsForCall(i int) error

func (*FakeTaskDelegate) FailedCallCount

func (fake *FakeTaskDelegate) FailedCallCount() int

func (*FakeTaskDelegate) Finished

func (fake *FakeTaskDelegate) Finished(arg1 exec.ExitStatus)

func (*FakeTaskDelegate) FinishedArgsForCall

func (fake *FakeTaskDelegate) FinishedArgsForCall(i int) exec.ExitStatus

func (*FakeTaskDelegate) FinishedCallCount

func (fake *FakeTaskDelegate) FinishedCallCount() int

func (*FakeTaskDelegate) ImageVersionDetermined

func (fake *FakeTaskDelegate) ImageVersionDetermined(arg1 worker.ResourceCacheIdentifier) error

func (*FakeTaskDelegate) ImageVersionDeterminedArgsForCall

func (fake *FakeTaskDelegate) ImageVersionDeterminedArgsForCall(i int) worker.ResourceCacheIdentifier

func (*FakeTaskDelegate) ImageVersionDeterminedCallCount

func (fake *FakeTaskDelegate) ImageVersionDeterminedCallCount() int

func (*FakeTaskDelegate) ImageVersionDeterminedReturns

func (fake *FakeTaskDelegate) ImageVersionDeterminedReturns(result1 error)

func (*FakeTaskDelegate) ImageVersionDeterminedReturnsOnCall

func (fake *FakeTaskDelegate) ImageVersionDeterminedReturnsOnCall(i int, result1 error)

func (*FakeTaskDelegate) Initializing

func (fake *FakeTaskDelegate) Initializing(arg1 atc.TaskConfig)

func (*FakeTaskDelegate) InitializingArgsForCall

func (fake *FakeTaskDelegate) InitializingArgsForCall(i int) atc.TaskConfig

func (*FakeTaskDelegate) InitializingCallCount

func (fake *FakeTaskDelegate) InitializingCallCount() int

func (*FakeTaskDelegate) Invocations

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

func (*FakeTaskDelegate) Started

func (fake *FakeTaskDelegate) Started()

func (*FakeTaskDelegate) StartedCallCount

func (fake *FakeTaskDelegate) StartedCallCount() int

func (*FakeTaskDelegate) Stderr

func (fake *FakeTaskDelegate) Stderr() io.Writer

func (*FakeTaskDelegate) StderrCallCount

func (fake *FakeTaskDelegate) StderrCallCount() int

func (*FakeTaskDelegate) StderrReturns

func (fake *FakeTaskDelegate) StderrReturns(result1 io.Writer)

func (*FakeTaskDelegate) StderrReturnsOnCall

func (fake *FakeTaskDelegate) StderrReturnsOnCall(i int, result1 io.Writer)

func (*FakeTaskDelegate) Stdout

func (fake *FakeTaskDelegate) Stdout() io.Writer

func (*FakeTaskDelegate) StdoutCallCount

func (fake *FakeTaskDelegate) StdoutCallCount() int

func (*FakeTaskDelegate) StdoutReturns

func (fake *FakeTaskDelegate) StdoutReturns(result1 io.Writer)

func (*FakeTaskDelegate) StdoutReturnsOnCall

func (fake *FakeTaskDelegate) StdoutReturnsOnCall(i int, result1 io.Writer)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL