Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCancellableScript
- func (fake *FakeCancellableScript) Cancel() error
- func (fake *FakeCancellableScript) CancelCallCount() int
- func (fake *FakeCancellableScript) CancelCalls(stub func() error)
- func (fake *FakeCancellableScript) CancelReturns(result1 error)
- func (fake *FakeCancellableScript) CancelReturnsOnCall(i int, result1 error)
- func (fake *FakeCancellableScript) Exists() bool
- func (fake *FakeCancellableScript) ExistsCallCount() int
- func (fake *FakeCancellableScript) ExistsCalls(stub func() bool)
- func (fake *FakeCancellableScript) ExistsReturns(result1 bool)
- func (fake *FakeCancellableScript) ExistsReturnsOnCall(i int, result1 bool)
- func (fake *FakeCancellableScript) Invocations() map[string][][]interface{}
- func (fake *FakeCancellableScript) Path() string
- func (fake *FakeCancellableScript) PathCallCount() int
- func (fake *FakeCancellableScript) PathCalls(stub func() string)
- func (fake *FakeCancellableScript) PathReturns(result1 string)
- func (fake *FakeCancellableScript) PathReturnsOnCall(i int, result1 string)
- func (fake *FakeCancellableScript) Run() error
- func (fake *FakeCancellableScript) RunCallCount() int
- func (fake *FakeCancellableScript) RunCalls(stub func() error)
- func (fake *FakeCancellableScript) RunReturns(result1 error)
- func (fake *FakeCancellableScript) RunReturnsOnCall(i int, result1 error)
- func (fake *FakeCancellableScript) Tag() string
- func (fake *FakeCancellableScript) TagCallCount() int
- func (fake *FakeCancellableScript) TagCalls(stub func() string)
- func (fake *FakeCancellableScript) TagReturns(result1 string)
- func (fake *FakeCancellableScript) TagReturnsOnCall(i int, result1 string)
- type FakeJobScriptProvider
- func (fake *FakeJobScriptProvider) Invocations() map[string][][]interface{}
- func (fake *FakeJobScriptProvider) NewDrainScript(arg1 string, arg2 drain.ScriptParams) script.CancellableScript
- func (fake *FakeJobScriptProvider) NewDrainScriptArgsForCall(i int) (string, drain.ScriptParams)
- func (fake *FakeJobScriptProvider) NewDrainScriptCallCount() int
- func (fake *FakeJobScriptProvider) NewDrainScriptCalls(stub func(string, drain.ScriptParams) script.CancellableScript)
- func (fake *FakeJobScriptProvider) NewDrainScriptReturns(result1 script.CancellableScript)
- func (fake *FakeJobScriptProvider) NewDrainScriptReturnsOnCall(i int, result1 script.CancellableScript)
- func (fake *FakeJobScriptProvider) NewParallelScript(arg1 string, arg2 []script.Script) script.CancellableScript
- func (fake *FakeJobScriptProvider) NewParallelScriptArgsForCall(i int) (string, []script.Script)
- func (fake *FakeJobScriptProvider) NewParallelScriptCallCount() int
- func (fake *FakeJobScriptProvider) NewParallelScriptCalls(stub func(string, []script.Script) script.CancellableScript)
- func (fake *FakeJobScriptProvider) NewParallelScriptReturns(result1 script.CancellableScript)
- func (fake *FakeJobScriptProvider) NewParallelScriptReturnsOnCall(i int, result1 script.CancellableScript)
- func (fake *FakeJobScriptProvider) NewScript(arg1 string, arg2 string, arg3 map[string]string) script.Script
- func (fake *FakeJobScriptProvider) NewScriptArgsForCall(i int) (string, string, map[string]string)
- func (fake *FakeJobScriptProvider) NewScriptCallCount() int
- func (fake *FakeJobScriptProvider) NewScriptCalls(stub func(string, string, map[string]string) script.Script)
- func (fake *FakeJobScriptProvider) NewScriptReturns(result1 script.Script)
- func (fake *FakeJobScriptProvider) NewScriptReturnsOnCall(i int, result1 script.Script)
- type FakeScript
- func (fake *FakeScript) Exists() bool
- func (fake *FakeScript) ExistsCallCount() int
- func (fake *FakeScript) ExistsCalls(stub func() bool)
- func (fake *FakeScript) ExistsReturns(result1 bool)
- func (fake *FakeScript) ExistsReturnsOnCall(i int, result1 bool)
- func (fake *FakeScript) Invocations() map[string][][]interface{}
- func (fake *FakeScript) Path() string
- func (fake *FakeScript) PathCallCount() int
- func (fake *FakeScript) PathCalls(stub func() string)
- func (fake *FakeScript) PathReturns(result1 string)
- func (fake *FakeScript) PathReturnsOnCall(i int, result1 string)
- func (fake *FakeScript) Run() error
- func (fake *FakeScript) RunCallCount() int
- func (fake *FakeScript) RunCalls(stub func() error)
- func (fake *FakeScript) RunReturns(result1 error)
- func (fake *FakeScript) RunReturnsOnCall(i int, result1 error)
- func (fake *FakeScript) Tag() string
- func (fake *FakeScript) TagCallCount() int
- func (fake *FakeScript) TagCalls(stub func() string)
- func (fake *FakeScript) TagReturns(result1 string)
- func (fake *FakeScript) TagReturnsOnCall(i int, result1 string)
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) NewScriptArgsForCall ¶
func (*FakeJobScriptProvider) NewScriptCallCount ¶
func (fake *FakeJobScriptProvider) NewScriptCallCount() int
func (*FakeJobScriptProvider) NewScriptCalls ¶
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)
Click to show internal directories.
Click to hide internal directories.