fakes

package
v2.65.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 FakeCancellableScript

type FakeCancellableScript struct {
	FakeScript
	CancelStub func() error
	// contains filtered or unexported fields
}

func (*FakeCancellableScript) Cancel

func (fake *FakeCancellableScript) Cancel() error

func (*FakeCancellableScript) CancelCallCount

func (fake *FakeCancellableScript) CancelCallCount() int

func (*FakeCancellableScript) CancelReturns

func (fake *FakeCancellableScript) CancelReturns(result1 error)

type FakeJobScriptProvider

type FakeJobScriptProvider struct {
	NewScriptStub func(jobName string, scriptName string) script.Script

	NewDrainScriptStub func(jobName string, params boshdrain.ScriptParams) script.CancellableScript

	NewParallelScriptStub func(scriptName string, scripts []script.Script) script.CancellableScript
	// contains filtered or unexported fields
}

func (*FakeJobScriptProvider) NewDrainScript

func (fake *FakeJobScriptProvider) NewDrainScript(jobName string, params boshdrain.ScriptParams) script.CancellableScript

func (*FakeJobScriptProvider) NewDrainScriptArgsForCall

func (fake *FakeJobScriptProvider) NewDrainScriptArgsForCall(i int) (string, boshdrain.ScriptParams)

func (*FakeJobScriptProvider) NewDrainScriptCallCount

func (fake *FakeJobScriptProvider) NewDrainScriptCallCount() int

func (*FakeJobScriptProvider) NewDrainScriptReturns

func (fake *FakeJobScriptProvider) NewDrainScriptReturns(result1 script.CancellableScript)

func (*FakeJobScriptProvider) NewParallelScript

func (fake *FakeJobScriptProvider) NewParallelScript(scriptName string, scripts []script.Script) script.CancellableScript

func (*FakeJobScriptProvider) NewParallelScriptArgsForCall

func (fake *FakeJobScriptProvider) NewParallelScriptArgsForCall(i int) (string, []script.Script)

func (*FakeJobScriptProvider) NewParallelScriptCallCount

func (fake *FakeJobScriptProvider) NewParallelScriptCallCount() int

func (*FakeJobScriptProvider) NewParallelScriptReturns

func (fake *FakeJobScriptProvider) NewParallelScriptReturns(result1 script.CancellableScript)

func (*FakeJobScriptProvider) NewScript

func (fake *FakeJobScriptProvider) NewScript(jobName string, scriptName string) script.Script

func (*FakeJobScriptProvider) NewScriptArgsForCall

func (fake *FakeJobScriptProvider) NewScriptArgsForCall(i int) (string, string)

func (*FakeJobScriptProvider) NewScriptCallCount

func (fake *FakeJobScriptProvider) NewScriptCallCount() int

func (*FakeJobScriptProvider) NewScriptReturns

func (fake *FakeJobScriptProvider) NewScriptReturns(result1 script.Script)

type FakeScript

type FakeScript struct {
	TagStub func() string

	PathStub func() string

	ExistsStub func() bool

	RunStub func() error
	// contains filtered or unexported fields
}

func (*FakeScript) Exists

func (fake *FakeScript) Exists() bool

func (*FakeScript) ExistsCallCount

func (fake *FakeScript) ExistsCallCount() int

func (*FakeScript) ExistsReturns

func (fake *FakeScript) ExistsReturns(result1 bool)

func (*FakeScript) Path

func (fake *FakeScript) Path() string

func (*FakeScript) PathCallCount

func (fake *FakeScript) PathCallCount() int

func (*FakeScript) PathReturns

func (fake *FakeScript) PathReturns(result1 string)

func (*FakeScript) Run

func (fake *FakeScript) Run() error

func (*FakeScript) RunCallCount

func (fake *FakeScript) RunCallCount() int

func (*FakeScript) RunReturns

func (fake *FakeScript) RunReturns(result1 error)

func (*FakeScript) Tag

func (fake *FakeScript) Tag() string

func (*FakeScript) TagCallCount

func (fake *FakeScript) TagCallCount() int

func (*FakeScript) TagReturns

func (fake *FakeScript) TagReturns(result1 string)

Jump to

Keyboard shortcuts

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