Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeScript ¶
type FakeScript struct { ExistsBool bool DidRun bool RunExitStatus int RunError error RunParams drain.ScriptParams }
func NewFakeScript ¶
func NewFakeScript() (script *FakeScript)
func (*FakeScript) Exists ¶
func (script *FakeScript) Exists() bool
func (*FakeScript) Path ¶
func (script *FakeScript) Path() string
func (*FakeScript) Run ¶
func (script *FakeScript) Run(params drain.ScriptParams) (value int, err error)
type FakeScriptProvider ¶
type FakeScriptProvider struct { NewScriptTemplateName string NewScriptScript *FakeScript }
func NewFakeScriptProvider ¶
func NewFakeScriptProvider() (provider *FakeScriptProvider)
Click to show internal directories.
Click to hide internal directories.