Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeCancellableScript
- type FakeJobScriptProvider
- func (fake *FakeJobScriptProvider) NewDrainScript(jobName string, params boshdrain.ScriptParams) script.CancellableScript
- func (fake *FakeJobScriptProvider) NewDrainScriptArgsForCall(i int) (string, boshdrain.ScriptParams)
- func (fake *FakeJobScriptProvider) NewDrainScriptCallCount() int
- func (fake *FakeJobScriptProvider) NewDrainScriptReturns(result1 script.CancellableScript)
- func (fake *FakeJobScriptProvider) NewParallelScript(scriptName string, scripts []script.Script) script.CancellableScript
- func (fake *FakeJobScriptProvider) NewParallelScriptArgsForCall(i int) (string, []script.Script)
- func (fake *FakeJobScriptProvider) NewParallelScriptCallCount() int
- func (fake *FakeJobScriptProvider) NewParallelScriptReturns(result1 script.CancellableScript)
- func (fake *FakeJobScriptProvider) NewScript(jobName string, scriptName string) script.Script
- func (fake *FakeJobScriptProvider) NewScriptArgsForCall(i int) (string, string)
- func (fake *FakeJobScriptProvider) NewScriptCallCount() int
- func (fake *FakeJobScriptProvider) NewScriptReturns(result1 script.Script)
- type FakeScript
- func (fake *FakeScript) Exists() bool
- func (fake *FakeScript) ExistsCallCount() int
- func (fake *FakeScript) ExistsReturns(result1 bool)
- func (fake *FakeScript) Path() string
- func (fake *FakeScript) PathCallCount() int
- func (fake *FakeScript) PathReturns(result1 string)
- func (fake *FakeScript) Run() error
- func (fake *FakeScript) RunCallCount() int
- func (fake *FakeScript) RunReturns(result1 error)
- func (fake *FakeScript) Tag() string
- func (fake *FakeScript) TagCallCount() int
- func (fake *FakeScript) TagReturns(result1 string)
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)
Click to show internal directories.
Click to hide internal directories.