execfakes

package
v0.0.0-...-8b5a1e4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2016 License: Apache-2.0 Imports: 10 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

This file was generated by counterfeiter

This file was generated by counterfeiter

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 FakeArtifactDestination

type FakeArtifactDestination struct {
	StreamInStub func(string, io.Reader) error
	// contains filtered or unexported fields
}

func (*FakeArtifactDestination) Invocations

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

func (*FakeArtifactDestination) StreamIn

func (fake *FakeArtifactDestination) StreamIn(arg1 string, arg2 io.Reader) error

func (*FakeArtifactDestination) StreamInArgsForCall

func (fake *FakeArtifactDestination) StreamInArgsForCall(i int) (string, io.Reader)

func (*FakeArtifactDestination) StreamInCallCount

func (fake *FakeArtifactDestination) StreamInCallCount() int

func (*FakeArtifactDestination) StreamInReturns

func (fake *FakeArtifactDestination) StreamInReturns(result1 error)

type FakeArtifactSource

type FakeArtifactSource struct {
	StreamToStub func(exec.ArtifactDestination) error

	StreamFileStub func(path string) (io.ReadCloser, error)

	VolumeOnStub func(worker.Worker) (worker.Volume, bool, error)
	// contains filtered or unexported fields
}

func (*FakeArtifactSource) Invocations

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

func (*FakeArtifactSource) StreamFile

func (fake *FakeArtifactSource) StreamFile(path string) (io.ReadCloser, error)

func (*FakeArtifactSource) StreamFileArgsForCall

func (fake *FakeArtifactSource) StreamFileArgsForCall(i int) string

func (*FakeArtifactSource) StreamFileCallCount

func (fake *FakeArtifactSource) StreamFileCallCount() int

func (*FakeArtifactSource) StreamFileReturns

func (fake *FakeArtifactSource) StreamFileReturns(result1 io.ReadCloser, result2 error)

func (*FakeArtifactSource) StreamTo

func (fake *FakeArtifactSource) StreamTo(arg1 exec.ArtifactDestination) error

func (*FakeArtifactSource) StreamToArgsForCall

func (fake *FakeArtifactSource) StreamToArgsForCall(i int) exec.ArtifactDestination

func (*FakeArtifactSource) StreamToCallCount

func (fake *FakeArtifactSource) StreamToCallCount() int

func (*FakeArtifactSource) StreamToReturns

func (fake *FakeArtifactSource) StreamToReturns(result1 error)

func (*FakeArtifactSource) VolumeOn

func (fake *FakeArtifactSource) VolumeOn(arg1 worker.Worker) (worker.Volume, bool, error)

func (*FakeArtifactSource) VolumeOnArgsForCall

func (fake *FakeArtifactSource) VolumeOnArgsForCall(i int) worker.Worker

func (*FakeArtifactSource) VolumeOnCallCount

func (fake *FakeArtifactSource) VolumeOnCallCount() int

func (*FakeArtifactSource) VolumeOnReturns

func (fake *FakeArtifactSource) VolumeOnReturns(result1 worker.Volume, result2 bool, result3 error)

type FakeFactory

func (*FakeFactory) DependentGet

func (fake *FakeFactory) DependentGet(arg1 lager.Logger, arg2 exec.StepMetadata, arg3 exec.SourceName, arg4 worker.Identifier, arg5 worker.Metadata, arg6 exec.GetDelegate, arg7 atc.ResourceConfig, arg8 atc.Tags, arg9 int, arg10 atc.Params, arg11 atc.ResourceTypes, arg12 time.Duration, arg13 time.Duration) exec.StepFactory

func (*FakeFactory) DependentGetCallCount

func (fake *FakeFactory) DependentGetCallCount() int

func (*FakeFactory) DependentGetReturns

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

func (*FakeFactory) Get

func (fake *FakeFactory) Get(arg1 lager.Logger, arg2 exec.StepMetadata, arg3 exec.SourceName, arg4 worker.Identifier, arg5 worker.Metadata, arg6 exec.GetDelegate, arg7 atc.ResourceConfig, arg8 atc.Tags, arg9 int, arg10 atc.Params, arg11 atc.Version, arg12 atc.ResourceTypes, arg13 time.Duration, arg14 time.Duration) exec.StepFactory

func (*FakeFactory) GetCallCount

func (fake *FakeFactory) GetCallCount() int

func (*FakeFactory) GetReturns

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

func (*FakeFactory) Invocations

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

func (*FakeFactory) Put

func (fake *FakeFactory) Put(arg1 lager.Logger, arg2 exec.StepMetadata, arg3 worker.Identifier, arg4 worker.Metadata, arg5 exec.PutDelegate, arg6 atc.ResourceConfig, arg7 atc.Tags, arg8 int, arg9 atc.Params, arg10 atc.ResourceTypes, arg11 time.Duration, arg12 time.Duration) exec.StepFactory

func (*FakeFactory) PutCallCount

func (fake *FakeFactory) PutCallCount() int

func (*FakeFactory) PutReturns

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

func (*FakeFactory) Task

func (fake *FakeFactory) Task(arg1 lager.Logger, arg2 exec.SourceName, arg3 worker.Identifier, arg4 worker.Metadata, arg5 exec.TaskDelegate, arg6 exec.Privileged, arg7 atc.Tags, arg8 int, arg9 exec.TaskConfigSource, arg10 atc.ResourceTypes, arg11 map[string]string, arg12 map[string]string, arg13 string, arg14 clock.Clock, arg15 time.Duration, arg16 time.Duration) exec.StepFactory

func (*FakeFactory) TaskCallCount

func (fake *FakeFactory) TaskCallCount() int

func (*FakeFactory) TaskReturns

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

type FakeGetDelegate

type FakeGetDelegate struct {
	InitializingStub func()

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

	FailedStub func(error)

	ImageVersionDeterminedStub func(worker.VolumeIdentifier) 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.VolumeIdentifier) error

func (*FakeGetDelegate) ImageVersionDeterminedArgsForCall

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

func (*FakeGetDelegate) ImageVersionDeterminedCallCount

func (fake *FakeGetDelegate) ImageVersionDeterminedCallCount() int

func (*FakeGetDelegate) ImageVersionDeterminedReturns

func (fake *FakeGetDelegate) ImageVersionDeterminedReturns(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) 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)

type FakePutDelegate

type FakePutDelegate struct {
	InitializingStub func()

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

	FailedStub func(error)

	ImageVersionDeterminedStub func(worker.VolumeIdentifier) 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.VolumeIdentifier) error

func (*FakePutDelegate) ImageVersionDeterminedArgsForCall

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

func (*FakePutDelegate) ImageVersionDeterminedCallCount

func (fake *FakePutDelegate) ImageVersionDeterminedCallCount() int

func (*FakePutDelegate) ImageVersionDeterminedReturns

func (fake *FakePutDelegate) ImageVersionDeterminedReturns(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) 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)

type FakeStep

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

	ReleaseStub func()

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

func (*FakeStep) Invocations

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

func (*FakeStep) Release

func (fake *FakeStep) Release()

func (*FakeStep) ReleaseCallCount

func (fake *FakeStep) ReleaseCallCount() int

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

type FakeStepFactory

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

func (*FakeStepFactory) UsingArgsForCall

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

func (*FakeStepFactory) UsingCallCount

func (fake *FakeStepFactory) UsingCallCount() int

func (*FakeStepFactory) UsingReturns

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

type FakeTaskConfigSource

type FakeTaskConfigSource struct {
	FetchConfigStub func(*exec.SourceRepository) (atc.TaskConfig, error)

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

func (*FakeTaskConfigSource) FetchConfig

func (fake *FakeTaskConfigSource) FetchConfig(arg1 *exec.SourceRepository) (atc.TaskConfig, error)

func (*FakeTaskConfigSource) FetchConfigArgsForCall

func (fake *FakeTaskConfigSource) FetchConfigArgsForCall(i int) *exec.SourceRepository

func (*FakeTaskConfigSource) FetchConfigCallCount

func (fake *FakeTaskConfigSource) FetchConfigCallCount() int

func (*FakeTaskConfigSource) FetchConfigReturns

func (fake *FakeTaskConfigSource) FetchConfigReturns(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)

type FakeTaskDelegate

type FakeTaskDelegate struct {
	InitializingStub func(atc.TaskConfig)

	StartedStub func()

	FinishedStub func(exec.ExitStatus)

	FailedStub func(error)

	ImageVersionDeterminedStub func(worker.VolumeIdentifier) 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.VolumeIdentifier) error

func (*FakeTaskDelegate) ImageVersionDeterminedArgsForCall

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

func (*FakeTaskDelegate) ImageVersionDeterminedCallCount

func (fake *FakeTaskDelegate) ImageVersionDeterminedCallCount() int

func (*FakeTaskDelegate) ImageVersionDeterminedReturns

func (fake *FakeTaskDelegate) ImageVersionDeterminedReturns(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) 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)

type FakeTrackerFactory

type FakeTrackerFactory struct {
	TrackerForStub func(client worker.Client) resource.Tracker
	// contains filtered or unexported fields
}

func (*FakeTrackerFactory) Invocations

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

func (*FakeTrackerFactory) TrackerFor

func (fake *FakeTrackerFactory) TrackerFor(client worker.Client) resource.Tracker

func (*FakeTrackerFactory) TrackerForArgsForCall

func (fake *FakeTrackerFactory) TrackerForArgsForCall(i int) worker.Client

func (*FakeTrackerFactory) TrackerForCallCount

func (fake *FakeTrackerFactory) TrackerForCallCount() int

func (*FakeTrackerFactory) TrackerForReturns

func (fake *FakeTrackerFactory) TrackerForReturns(result1 resource.Tracker)

Jump to

Keyboard shortcuts

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