Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeScript
- type FakeScriptParams
- func (fake *FakeScriptParams) HashChange() (change string)
- func (fake *FakeScriptParams) HashChangeCallCount() int
- func (fake *FakeScriptParams) HashChangeReturns(result1 string)
- func (fake *FakeScriptParams) JobChange() (change string)
- func (fake *FakeScriptParams) JobChangeCallCount() int
- func (fake *FakeScriptParams) JobChangeReturns(result1 string)
- func (fake *FakeScriptParams) JobNextState() (string, error)
- func (fake *FakeScriptParams) JobNextStateCallCount() int
- func (fake *FakeScriptParams) JobNextStateReturns(result1 string, result2 error)
- func (fake *FakeScriptParams) JobState() (string, error)
- func (fake *FakeScriptParams) JobStateCallCount() int
- func (fake *FakeScriptParams) JobStateReturns(result1 string, result2 error)
- func (fake *FakeScriptParams) ToStatusParams() drain.ScriptParams
- func (fake *FakeScriptParams) ToStatusParamsCallCount() int
- func (fake *FakeScriptParams) ToStatusParamsReturns(result1 drain.ScriptParams)
- func (fake *FakeScriptParams) UpdatedPackages() (pkgs []string)
- func (fake *FakeScriptParams) UpdatedPackagesCallCount() int
- func (fake *FakeScriptParams) UpdatedPackagesReturns(result1 []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeScript ¶
type FakeScript struct { Params drain.ScriptParams ExistsBool bool RunCallCount int DidRun bool RunError error RunStub func() error WasCanceled bool // contains filtered or unexported fields }
func NewFakeScript ¶
func NewFakeScript(tag string) *FakeScript
func (*FakeScript) Cancel ¶
func (s *FakeScript) Cancel() error
func (*FakeScript) Exists ¶
func (s *FakeScript) Exists() bool
func (*FakeScript) Path ¶
func (s *FakeScript) Path() string
func (*FakeScript) Run ¶
func (s *FakeScript) Run() error
func (*FakeScript) Tag ¶
func (s *FakeScript) Tag() string
type FakeScriptParams ¶
type FakeScriptParams struct { JobChangeStub func() (change string) HashChangeStub func() (change string) UpdatedPackagesStub func() (pkgs []string) JobStateStub func() (string, error) JobNextStateStub func() (string, error) ToStatusParamsStub func() drain.ScriptParams // contains filtered or unexported fields }
func (*FakeScriptParams) HashChange ¶
func (fake *FakeScriptParams) HashChange() (change string)
func (*FakeScriptParams) HashChangeCallCount ¶
func (fake *FakeScriptParams) HashChangeCallCount() int
func (*FakeScriptParams) HashChangeReturns ¶
func (fake *FakeScriptParams) HashChangeReturns(result1 string)
func (*FakeScriptParams) JobChange ¶
func (fake *FakeScriptParams) JobChange() (change string)
func (*FakeScriptParams) JobChangeCallCount ¶
func (fake *FakeScriptParams) JobChangeCallCount() int
func (*FakeScriptParams) JobChangeReturns ¶
func (fake *FakeScriptParams) JobChangeReturns(result1 string)
func (*FakeScriptParams) JobNextState ¶
func (fake *FakeScriptParams) JobNextState() (string, error)
func (*FakeScriptParams) JobNextStateCallCount ¶
func (fake *FakeScriptParams) JobNextStateCallCount() int
func (*FakeScriptParams) JobNextStateReturns ¶
func (fake *FakeScriptParams) JobNextStateReturns(result1 string, result2 error)
func (*FakeScriptParams) JobState ¶
func (fake *FakeScriptParams) JobState() (string, error)
func (*FakeScriptParams) JobStateCallCount ¶
func (fake *FakeScriptParams) JobStateCallCount() int
func (*FakeScriptParams) JobStateReturns ¶
func (fake *FakeScriptParams) JobStateReturns(result1 string, result2 error)
func (*FakeScriptParams) ToStatusParams ¶
func (fake *FakeScriptParams) ToStatusParams() drain.ScriptParams
func (*FakeScriptParams) ToStatusParamsCallCount ¶
func (fake *FakeScriptParams) ToStatusParamsCallCount() int
func (*FakeScriptParams) ToStatusParamsReturns ¶
func (fake *FakeScriptParams) ToStatusParamsReturns(result1 drain.ScriptParams)
func (*FakeScriptParams) UpdatedPackages ¶
func (fake *FakeScriptParams) UpdatedPackages() (pkgs []string)
func (*FakeScriptParams) UpdatedPackagesCallCount ¶
func (fake *FakeScriptParams) UpdatedPackagesCallCount() int
func (*FakeScriptParams) UpdatedPackagesReturns ¶
func (fake *FakeScriptParams) UpdatedPackagesReturns(result1 []string)
Click to show internal directories.
Click to hide internal directories.