execfakes

package
v3.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2017 License: Apache-2.0 Imports: 8 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.

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 FakeAction

type FakeAction struct {
	RunStub func(lager.Logger, *worker.ArtifactRepository, <-chan os.Signal, chan<- struct{}) error

	ExitStatusStub func() exec.ExitStatus
	// contains filtered or unexported fields
}

func (*FakeAction) ExitStatus

func (fake *FakeAction) ExitStatus() exec.ExitStatus

func (*FakeAction) ExitStatusCallCount

func (fake *FakeAction) ExitStatusCallCount() int

func (*FakeAction) ExitStatusReturns

func (fake *FakeAction) ExitStatusReturns(result1 exec.ExitStatus)

func (*FakeAction) ExitStatusReturnsOnCall

func (fake *FakeAction) ExitStatusReturnsOnCall(i int, result1 exec.ExitStatus)

func (*FakeAction) Invocations

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

func (*FakeAction) Run

func (fake *FakeAction) Run(arg1 lager.Logger, arg2 *worker.ArtifactRepository, arg3 <-chan os.Signal, arg4 chan<- struct{}) error

func (*FakeAction) RunArgsForCall

func (fake *FakeAction) RunArgsForCall(i int) (lager.Logger, *worker.ArtifactRepository, <-chan os.Signal, chan<- struct{})

func (*FakeAction) RunCallCount

func (fake *FakeAction) RunCallCount() int

func (*FakeAction) RunReturns

func (fake *FakeAction) RunReturns(result1 error)

func (*FakeAction) RunReturnsOnCall

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

type FakeActionsBuildEventsDelegate

type FakeActionsBuildEventsDelegate struct {
	ActionCompletedStub func(lager.Logger, exec.Action)

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

func (*FakeActionsBuildEventsDelegate) ActionCompleted

func (fake *FakeActionsBuildEventsDelegate) ActionCompleted(arg1 lager.Logger, arg2 exec.Action)

func (*FakeActionsBuildEventsDelegate) ActionCompletedArgsForCall

func (fake *FakeActionsBuildEventsDelegate) ActionCompletedArgsForCall(i int) (lager.Logger, exec.Action)

func (*FakeActionsBuildEventsDelegate) ActionCompletedCallCount

func (fake *FakeActionsBuildEventsDelegate) ActionCompletedCallCount() int

func (*FakeActionsBuildEventsDelegate) Failed

func (fake *FakeActionsBuildEventsDelegate) Failed(arg1 lager.Logger, arg2 error)

func (*FakeActionsBuildEventsDelegate) FailedArgsForCall

func (fake *FakeActionsBuildEventsDelegate) FailedArgsForCall(i int) (lager.Logger, error)

func (*FakeActionsBuildEventsDelegate) FailedCallCount

func (fake *FakeActionsBuildEventsDelegate) FailedCallCount() int

func (*FakeActionsBuildEventsDelegate) Invocations

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

type FakeFactory

func (*FakeFactory) Get

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 (*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) 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 FakeImageFetchingDelegate

type FakeImageFetchingDelegate struct {
	ImageVersionDeterminedStub func(*db.UsedResourceCache) error

	StdoutStub func() io.Writer

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

func (*FakeImageFetchingDelegate) ImageVersionDetermined

func (fake *FakeImageFetchingDelegate) ImageVersionDetermined(arg1 *db.UsedResourceCache) error

func (*FakeImageFetchingDelegate) ImageVersionDeterminedArgsForCall

func (fake *FakeImageFetchingDelegate) ImageVersionDeterminedArgsForCall(i int) *db.UsedResourceCache

func (*FakeImageFetchingDelegate) ImageVersionDeterminedCallCount

func (fake *FakeImageFetchingDelegate) ImageVersionDeterminedCallCount() int

func (*FakeImageFetchingDelegate) ImageVersionDeterminedReturns

func (fake *FakeImageFetchingDelegate) ImageVersionDeterminedReturns(result1 error)

func (*FakeImageFetchingDelegate) ImageVersionDeterminedReturnsOnCall

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

func (*FakeImageFetchingDelegate) Invocations

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

func (*FakeImageFetchingDelegate) Stderr

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

func (*FakeImageFetchingDelegate) StderrCallCount

func (fake *FakeImageFetchingDelegate) StderrCallCount() int

func (*FakeImageFetchingDelegate) StderrReturns

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

func (*FakeImageFetchingDelegate) StderrReturnsOnCall

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

func (*FakeImageFetchingDelegate) Stdout

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

func (*FakeImageFetchingDelegate) StdoutCallCount

func (fake *FakeImageFetchingDelegate) StdoutCallCount() int

func (*FakeImageFetchingDelegate) StdoutReturns

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

func (*FakeImageFetchingDelegate) StdoutReturnsOnCall

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

type FakeStep

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

	SucceededStub func() bool
	// contains filtered or unexported fields
}

func (*FakeStep) Invocations

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

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)

func (*FakeStep) Succeeded

func (fake *FakeStep) Succeeded() bool

func (*FakeStep) SucceededCallCount

func (fake *FakeStep) SucceededCallCount() int

func (*FakeStep) SucceededReturns

func (fake *FakeStep) SucceededReturns(result1 bool)

func (*FakeStep) SucceededReturnsOnCall

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

type FakeStepFactory

type FakeStepFactory struct {
	UsingStub func(*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 *worker.ArtifactRepository) exec.Step

func (*FakeStepFactory) UsingArgsForCall

func (fake *FakeStepFactory) UsingArgsForCall(i int) *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 FakeTaskBuildEventsDelegate

type FakeTaskBuildEventsDelegate struct {
	InitializingStub func(lager.Logger, atc.TaskConfig)

	StartingStub func(lager.Logger, atc.TaskConfig)
	// contains filtered or unexported fields
}

func (*FakeTaskBuildEventsDelegate) Initializing

func (fake *FakeTaskBuildEventsDelegate) Initializing(arg1 lager.Logger, arg2 atc.TaskConfig)

func (*FakeTaskBuildEventsDelegate) InitializingArgsForCall

func (fake *FakeTaskBuildEventsDelegate) InitializingArgsForCall(i int) (lager.Logger, atc.TaskConfig)

func (*FakeTaskBuildEventsDelegate) InitializingCallCount

func (fake *FakeTaskBuildEventsDelegate) InitializingCallCount() int

func (*FakeTaskBuildEventsDelegate) Invocations

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

func (*FakeTaskBuildEventsDelegate) Starting

func (fake *FakeTaskBuildEventsDelegate) Starting(arg1 lager.Logger, arg2 atc.TaskConfig)

func (*FakeTaskBuildEventsDelegate) StartingArgsForCall

func (fake *FakeTaskBuildEventsDelegate) StartingArgsForCall(i int) (lager.Logger, atc.TaskConfig)

func (*FakeTaskBuildEventsDelegate) StartingCallCount

func (fake *FakeTaskBuildEventsDelegate) StartingCallCount() int

type FakeTaskConfigFetcher

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

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

func (*FakeTaskConfigFetcher) FetchConfig

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

func (*FakeTaskConfigFetcher) FetchConfigArgsForCall

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

func (*FakeTaskConfigFetcher) FetchConfigCallCount

func (fake *FakeTaskConfigFetcher) FetchConfigCallCount() int

func (*FakeTaskConfigFetcher) FetchConfigReturns

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

func (*FakeTaskConfigFetcher) FetchConfigReturnsOnCall

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

func (*FakeTaskConfigFetcher) Invocations

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

func (*FakeTaskConfigFetcher) Warnings

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

func (*FakeTaskConfigFetcher) WarningsCallCount

func (fake *FakeTaskConfigFetcher) WarningsCallCount() int

func (*FakeTaskConfigFetcher) WarningsReturns

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

func (*FakeTaskConfigFetcher) WarningsReturnsOnCall

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

type FakeTaskConfigSource

type FakeTaskConfigSource struct {
	GetTaskConfigStub func() (atc.TaskConfig, error)
	// contains filtered or unexported fields
}

func (*FakeTaskConfigSource) GetTaskConfig

func (fake *FakeTaskConfigSource) GetTaskConfig() (atc.TaskConfig, error)

func (*FakeTaskConfigSource) GetTaskConfigCallCount

func (fake *FakeTaskConfigSource) GetTaskConfigCallCount() int

func (*FakeTaskConfigSource) GetTaskConfigReturns

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

func (*FakeTaskConfigSource) GetTaskConfigReturnsOnCall

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

func (*FakeTaskConfigSource) Invocations

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

Jump to

Keyboard shortcuts

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