scriptfakes

package
v2.247.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 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 {
	CancelStub func() error

	ExistsStub func() bool

	PathStub func() string

	RunStub func() error

	TagStub func() string
	// contains filtered or unexported fields
}

func (*FakeCancellableScript) Cancel

func (fake *FakeCancellableScript) Cancel() error

func (*FakeCancellableScript) CancelCallCount

func (fake *FakeCancellableScript) CancelCallCount() int

func (*FakeCancellableScript) CancelCalls

func (fake *FakeCancellableScript) CancelCalls(stub func() error)

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

func (fake *FakeCancellableScript) ExistsCalls(stub func() bool)

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

func (fake *FakeCancellableScript) PathCalls(stub func() string)

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

func (fake *FakeCancellableScript) RunCalls(stub func() error)

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

func (fake *FakeCancellableScript) TagCalls(stub func() string)

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 {
	NewDrainScriptStub func(string, drain.ScriptParams) script.CancellableScript

	NewParallelScriptStub func(string, []script.Script) script.CancellableScript

	NewScriptStub func(string, string, map[string]string) script.Script
	// contains filtered or unexported fields
}

func (*FakeJobScriptProvider) Invocations

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

func (*FakeJobScriptProvider) NewDrainScript

func (fake *FakeJobScriptProvider) NewDrainScript(arg1 string, arg2 drain.ScriptParams) script.CancellableScript

func (*FakeJobScriptProvider) NewDrainScriptArgsForCall

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

func (*FakeJobScriptProvider) NewDrainScriptCallCount

func (fake *FakeJobScriptProvider) NewDrainScriptCallCount() int

func (*FakeJobScriptProvider) NewDrainScriptCalls

func (fake *FakeJobScriptProvider) NewDrainScriptCalls(stub func(string, drain.ScriptParams) script.CancellableScript)

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(arg1 string, arg2 []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) NewParallelScriptCalls

func (fake *FakeJobScriptProvider) NewParallelScriptCalls(stub func(string, []script.Script) script.CancellableScript)

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(arg1 string, arg2 string, arg3 map[string]string) script.Script

func (*FakeJobScriptProvider) NewScriptArgsForCall

func (fake *FakeJobScriptProvider) NewScriptArgsForCall(i int) (string, string, map[string]string)

func (*FakeJobScriptProvider) NewScriptCallCount

func (fake *FakeJobScriptProvider) NewScriptCallCount() int

func (*FakeJobScriptProvider) NewScriptCalls

func (fake *FakeJobScriptProvider) NewScriptCalls(stub func(string, string, map[string]string) script.Script)

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 {
	ExistsStub func() bool

	PathStub func() string

	RunStub func() error

	TagStub func() string
	// contains filtered or unexported fields
}

func (*FakeScript) Exists

func (fake *FakeScript) Exists() bool

func (*FakeScript) ExistsCallCount

func (fake *FakeScript) ExistsCallCount() int

func (*FakeScript) ExistsCalls

func (fake *FakeScript) ExistsCalls(stub func() bool)

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

func (fake *FakeScript) PathCalls(stub func() string)

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

func (fake *FakeScript) RunCalls(stub func() error)

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

func (fake *FakeScript) TagCalls(stub func() string)

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