scriptfakes

package
v2.91.10+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2019 License: Apache-2.0 Imports: 3 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCancellableScript

type FakeCancellableScript struct {
	TagStub func() string

	PathStub func() string

	ExistsStub func() bool

	RunStub func() error

	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)

func (*FakeCancellableScript) CancelReturnsOnCall

func (fake *FakeCancellableScript) CancelReturnsOnCall(i int, result1 error)

func (*FakeCancellableScript) Exists

func (fake *FakeCancellableScript) Exists() bool

func (*FakeCancellableScript) ExistsCallCount

func (fake *FakeCancellableScript) ExistsCallCount() int

func (*FakeCancellableScript) ExistsReturns

func (fake *FakeCancellableScript) ExistsReturns(result1 bool)

func (*FakeCancellableScript) ExistsReturnsOnCall

func (fake *FakeCancellableScript) ExistsReturnsOnCall(i int, result1 bool)

func (*FakeCancellableScript) Invocations

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

func (*FakeCancellableScript) Path

func (fake *FakeCancellableScript) Path() string

func (*FakeCancellableScript) PathCallCount

func (fake *FakeCancellableScript) PathCallCount() int

func (*FakeCancellableScript) PathReturns

func (fake *FakeCancellableScript) PathReturns(result1 string)

func (*FakeCancellableScript) PathReturnsOnCall

func (fake *FakeCancellableScript) PathReturnsOnCall(i int, result1 string)

func (*FakeCancellableScript) Run

func (fake *FakeCancellableScript) Run() error

func (*FakeCancellableScript) RunCallCount

func (fake *FakeCancellableScript) RunCallCount() int

func (*FakeCancellableScript) RunReturns

func (fake *FakeCancellableScript) RunReturns(result1 error)

func (*FakeCancellableScript) RunReturnsOnCall

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

func (*FakeCancellableScript) Tag

func (fake *FakeCancellableScript) Tag() string

func (*FakeCancellableScript) TagCallCount

func (fake *FakeCancellableScript) TagCallCount() int

func (*FakeCancellableScript) TagReturns

func (fake *FakeCancellableScript) TagReturns(result1 string)

func (*FakeCancellableScript) TagReturnsOnCall

func (fake *FakeCancellableScript) TagReturnsOnCall(i int, result1 string)

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

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

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

func (fake *FakeJobScriptProvider) NewDrainScriptReturnsOnCall(i int, 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) NewParallelScriptReturnsOnCall

func (fake *FakeJobScriptProvider) NewParallelScriptReturnsOnCall(i int, 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)

func (*FakeJobScriptProvider) NewScriptReturnsOnCall

func (fake *FakeJobScriptProvider) NewScriptReturnsOnCall(i int, 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) ExistsReturnsOnCall

func (fake *FakeScript) ExistsReturnsOnCall(i int, result1 bool)

func (*FakeScript) Invocations

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

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

func (fake *FakeScript) PathReturnsOnCall(i int, 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) RunReturnsOnCall

func (fake *FakeScript) RunReturnsOnCall(i int, 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)

func (*FakeScript) TagReturnsOnCall

func (fake *FakeScript) TagReturnsOnCall(i int, result1 string)

Jump to

Keyboard shortcuts

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