fakes

package
Version: v0.0.0-...-0e89551 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2015 License: Apache-2.0 Imports: 6 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

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) 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)
	// contains filtered or unexported fields
}

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)

type FakeFactory

func (*FakeFactory) DependentGet

func (fake *FakeFactory) DependentGet(arg1 exec.SourceName, arg2 worker.Identifier, arg3 exec.GetDelegate, arg4 atc.ResourceConfig, arg5 atc.Tags, arg6 atc.Params) exec.StepFactory

func (*FakeFactory) DependentGetArgsForCall

func (fake *FakeFactory) DependentGetArgsForCall(i int) (exec.SourceName, worker.Identifier, exec.GetDelegate, atc.ResourceConfig, atc.Tags, atc.Params)

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 exec.SourceName, arg2 worker.Identifier, arg3 exec.GetDelegate, arg4 atc.ResourceConfig, arg5 atc.Params, arg6 atc.Tags, arg7 atc.Version) exec.StepFactory

func (*FakeFactory) GetCallCount

func (fake *FakeFactory) GetCallCount() int

func (*FakeFactory) GetReturns

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

func (*FakeFactory) Put

func (fake *FakeFactory) Put(arg1 worker.Identifier, arg2 exec.PutDelegate, arg3 atc.ResourceConfig, arg4 atc.Tags, arg5 atc.Params) exec.StepFactory

func (*FakeFactory) PutArgsForCall

func (*FakeFactory) PutCallCount

func (fake *FakeFactory) PutCallCount() int

func (*FakeFactory) PutReturns

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

func (*FakeFactory) Task

func (*FakeFactory) TaskCallCount

func (fake *FakeFactory) TaskCallCount() int

func (*FakeFactory) TaskReturns

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

type FakeGetDelegate

type FakeGetDelegate struct {
	CompletedStub func(exec.ExitStatus, *exec.VersionInfo)

	FailedStub func(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) 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 {
	CompletedStub func(exec.ExitStatus, *exec.VersionInfo)

	FailedStub func(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) 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() error

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

func (*FakeStep) Release

func (fake *FakeStep) Release() error

func (*FakeStep) ReleaseCallCount

func (fake *FakeStep) ReleaseCallCount() int

func (*FakeStep) ReleaseReturns

func (fake *FakeStep) ReleaseReturns(result1 error)

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

type FakeTaskDelegate

type FakeTaskDelegate struct {
	InitializingStub func(atc.TaskConfig)

	StartedStub func()

	FinishedStub func(exec.ExitStatus)

	FailedStub func(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) 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) 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)

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