Documentation
¶
Index ¶
- type OnOutputFunc
- type OnOutputFunc_Execute_Call
- func (_c *OnOutputFunc_Execute_Call) Return() *OnOutputFunc_Execute_Call
- func (_c *OnOutputFunc_Execute_Call) Run(run func(typ process.OutputType, line []byte)) *OnOutputFunc_Execute_Call
- func (_c *OnOutputFunc_Execute_Call) RunAndReturn(run func(process.OutputType, []byte)) *OnOutputFunc_Execute_Call
- type OnOutputFunc_Expecter
- type Process
- func (_m *Process) EXPECT() *Process_Expecter
- func (_m *Process) Env(vars map[string]string) process.Process
- func (_m *Process) Input(in io.Reader) process.Process
- func (_m *Process) OnOutput(handler process.OnOutputFunc) process.Process
- func (_m *Process) Path(path string) process.Process
- func (_m *Process) Quietly() process.Process
- func (_m *Process) Run(name string, arg ...string) (process.Result, error)
- func (_m *Process) Start(name string, arg ...string) (process.Running, error)
- func (_m *Process) TTY() process.Process
- func (_m *Process) Timeout(timeout time.Duration) process.Process
- func (_m *Process) WithContext(ctx context.Context) process.Process
- type Process_Env_Call
- type Process_Expecter
- func (_e *Process_Expecter) Env(vars interface{}) *Process_Env_Call
- func (_e *Process_Expecter) Input(in interface{}) *Process_Input_Call
- func (_e *Process_Expecter) OnOutput(handler interface{}) *Process_OnOutput_Call
- func (_e *Process_Expecter) Path(path interface{}) *Process_Path_Call
- func (_e *Process_Expecter) Quietly() *Process_Quietly_Call
- func (_e *Process_Expecter) Run(name interface{}, arg ...interface{}) *Process_Run_Call
- func (_e *Process_Expecter) Start(name interface{}, arg ...interface{}) *Process_Start_Call
- func (_e *Process_Expecter) TTY() *Process_TTY_Call
- func (_e *Process_Expecter) Timeout(timeout interface{}) *Process_Timeout_Call
- func (_e *Process_Expecter) WithContext(ctx interface{}) *Process_WithContext_Call
- type Process_Input_Call
- type Process_OnOutput_Call
- func (_c *Process_OnOutput_Call) Return(_a0 process.Process) *Process_OnOutput_Call
- func (_c *Process_OnOutput_Call) Run(run func(handler process.OnOutputFunc)) *Process_OnOutput_Call
- func (_c *Process_OnOutput_Call) RunAndReturn(run func(process.OnOutputFunc) process.Process) *Process_OnOutput_Call
- type Process_Path_Call
- type Process_Quietly_Call
- type Process_Run_Call
- type Process_Start_Call
- type Process_TTY_Call
- type Process_Timeout_Call
- type Process_WithContext_Call
- func (_c *Process_WithContext_Call) Return(_a0 process.Process) *Process_WithContext_Call
- func (_c *Process_WithContext_Call) Run(run func(ctx context.Context)) *Process_WithContext_Call
- func (_c *Process_WithContext_Call) RunAndReturn(run func(context.Context) process.Process) *Process_WithContext_Call
- type Result
- func (_m *Result) Command() string
- func (_m *Result) EXPECT() *Result_Expecter
- func (_m *Result) ErrorOutput() string
- func (_m *Result) ExitCode() int
- func (_m *Result) Failed() bool
- func (_m *Result) Output() string
- func (_m *Result) SeeInErrorOutput(needle string) bool
- func (_m *Result) SeeInOutput(needle string) bool
- func (_m *Result) Successful() bool
- type Result_Command_Call
- type Result_ErrorOutput_Call
- type Result_ExitCode_Call
- type Result_Expecter
- func (_e *Result_Expecter) Command() *Result_Command_Call
- func (_e *Result_Expecter) ErrorOutput() *Result_ErrorOutput_Call
- func (_e *Result_Expecter) ExitCode() *Result_ExitCode_Call
- func (_e *Result_Expecter) Failed() *Result_Failed_Call
- func (_e *Result_Expecter) Output() *Result_Output_Call
- func (_e *Result_Expecter) SeeInErrorOutput(needle interface{}) *Result_SeeInErrorOutput_Call
- func (_e *Result_Expecter) SeeInOutput(needle interface{}) *Result_SeeInOutput_Call
- func (_e *Result_Expecter) Successful() *Result_Successful_Call
- type Result_Failed_Call
- type Result_Output_Call
- type Result_SeeInErrorOutput_Call
- type Result_SeeInOutput_Call
- type Result_Successful_Call
- type Running
- func (_m *Running) EXPECT() *Running_Expecter
- func (_m *Running) ErrorOutput() string
- func (_m *Running) LatestErrorOutput() string
- func (_m *Running) LatestOutput() string
- func (_m *Running) Output() string
- func (_m *Running) PID() int
- func (_m *Running) Running() bool
- func (_m *Running) Signal(sig os.Signal) error
- func (_m *Running) Stop(timeout time.Duration, sig ...os.Signal) error
- func (_m *Running) Wait() process.Result
- type Running_ErrorOutput_Call
- type Running_Expecter
- func (_e *Running_Expecter) ErrorOutput() *Running_ErrorOutput_Call
- func (_e *Running_Expecter) LatestErrorOutput() *Running_LatestErrorOutput_Call
- func (_e *Running_Expecter) LatestOutput() *Running_LatestOutput_Call
- func (_e *Running_Expecter) Output() *Running_Output_Call
- func (_e *Running_Expecter) PID() *Running_PID_Call
- func (_e *Running_Expecter) Running() *Running_Running_Call
- func (_e *Running_Expecter) Signal(sig interface{}) *Running_Signal_Call
- func (_e *Running_Expecter) Stop(timeout interface{}, sig ...interface{}) *Running_Stop_Call
- func (_e *Running_Expecter) Wait() *Running_Wait_Call
- type Running_LatestErrorOutput_Call
- type Running_LatestOutput_Call
- type Running_Output_Call
- type Running_PID_Call
- type Running_Running_Call
- type Running_Signal_Call
- type Running_Stop_Call
- type Running_Wait_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OnOutputFunc ¶
OnOutputFunc is an autogenerated mock type for the OnOutputFunc type
func NewOnOutputFunc ¶
func NewOnOutputFunc(t interface {
mock.TestingT
Cleanup(func())
}) *OnOutputFunc
NewOnOutputFunc creates a new instance of OnOutputFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*OnOutputFunc) EXPECT ¶
func (_m *OnOutputFunc) EXPECT() *OnOutputFunc_Expecter
func (*OnOutputFunc) Execute ¶
func (_m *OnOutputFunc) Execute(typ process.OutputType, line []byte)
Execute provides a mock function with given fields: typ, line
type OnOutputFunc_Execute_Call ¶
OnOutputFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*OnOutputFunc_Execute_Call) Return ¶
func (_c *OnOutputFunc_Execute_Call) Return() *OnOutputFunc_Execute_Call
func (*OnOutputFunc_Execute_Call) Run ¶
func (_c *OnOutputFunc_Execute_Call) Run(run func(typ process.OutputType, line []byte)) *OnOutputFunc_Execute_Call
func (*OnOutputFunc_Execute_Call) RunAndReturn ¶
func (_c *OnOutputFunc_Execute_Call) RunAndReturn(run func(process.OutputType, []byte)) *OnOutputFunc_Execute_Call
type OnOutputFunc_Expecter ¶
type OnOutputFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*OnOutputFunc_Expecter) Execute ¶
func (_e *OnOutputFunc_Expecter) Execute(typ interface{}, line interface{}) *OnOutputFunc_Execute_Call
Execute is a helper method to define mock.On call
- typ process.OutputType
- line []byte
type Process ¶
Process is an autogenerated mock type for the Process type
func NewProcess ¶
NewProcess creates a new instance of Process. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Process) EXPECT ¶
func (_m *Process) EXPECT() *Process_Expecter
func (*Process) OnOutput ¶
func (_m *Process) OnOutput(handler process.OnOutputFunc) process.Process
OnOutput provides a mock function with given fields: handler
type Process_Env_Call ¶
Process_Env_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Env'
func (*Process_Env_Call) Return ¶
func (_c *Process_Env_Call) Return(_a0 process.Process) *Process_Env_Call
func (*Process_Env_Call) Run ¶
func (_c *Process_Env_Call) Run(run func(vars map[string]string)) *Process_Env_Call
func (*Process_Env_Call) RunAndReturn ¶
func (_c *Process_Env_Call) RunAndReturn(run func(map[string]string) process.Process) *Process_Env_Call
type Process_Expecter ¶
type Process_Expecter struct {
// contains filtered or unexported fields
}
func (*Process_Expecter) Env ¶
func (_e *Process_Expecter) Env(vars interface{}) *Process_Env_Call
Env is a helper method to define mock.On call
- vars map[string]string
func (*Process_Expecter) Input ¶
func (_e *Process_Expecter) Input(in interface{}) *Process_Input_Call
Input is a helper method to define mock.On call
- in io.Reader
func (*Process_Expecter) OnOutput ¶
func (_e *Process_Expecter) OnOutput(handler interface{}) *Process_OnOutput_Call
OnOutput is a helper method to define mock.On call
- handler process.OnOutputFunc
func (*Process_Expecter) Path ¶
func (_e *Process_Expecter) Path(path interface{}) *Process_Path_Call
Path is a helper method to define mock.On call
- path string
func (*Process_Expecter) Quietly ¶
func (_e *Process_Expecter) Quietly() *Process_Quietly_Call
Quietly is a helper method to define mock.On call
func (*Process_Expecter) Run ¶
func (_e *Process_Expecter) Run(name interface{}, arg ...interface{}) *Process_Run_Call
Run is a helper method to define mock.On call
- name string
- arg ...string
func (*Process_Expecter) Start ¶
func (_e *Process_Expecter) Start(name interface{}, arg ...interface{}) *Process_Start_Call
Start is a helper method to define mock.On call
- name string
- arg ...string
func (*Process_Expecter) TTY ¶
func (_e *Process_Expecter) TTY() *Process_TTY_Call
TTY is a helper method to define mock.On call
func (*Process_Expecter) Timeout ¶
func (_e *Process_Expecter) Timeout(timeout interface{}) *Process_Timeout_Call
Timeout is a helper method to define mock.On call
- timeout time.Duration
func (*Process_Expecter) WithContext ¶
func (_e *Process_Expecter) WithContext(ctx interface{}) *Process_WithContext_Call
WithContext is a helper method to define mock.On call
- ctx context.Context
type Process_Input_Call ¶
Process_Input_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Input'
func (*Process_Input_Call) Return ¶
func (_c *Process_Input_Call) Return(_a0 process.Process) *Process_Input_Call
func (*Process_Input_Call) Run ¶
func (_c *Process_Input_Call) Run(run func(in io.Reader)) *Process_Input_Call
func (*Process_Input_Call) RunAndReturn ¶
func (_c *Process_Input_Call) RunAndReturn(run func(io.Reader) process.Process) *Process_Input_Call
type Process_OnOutput_Call ¶
Process_OnOutput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnOutput'
func (*Process_OnOutput_Call) Return ¶
func (_c *Process_OnOutput_Call) Return(_a0 process.Process) *Process_OnOutput_Call
func (*Process_OnOutput_Call) Run ¶
func (_c *Process_OnOutput_Call) Run(run func(handler process.OnOutputFunc)) *Process_OnOutput_Call
func (*Process_OnOutput_Call) RunAndReturn ¶
func (_c *Process_OnOutput_Call) RunAndReturn(run func(process.OnOutputFunc) process.Process) *Process_OnOutput_Call
type Process_Path_Call ¶
Process_Path_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Path'
func (*Process_Path_Call) Return ¶
func (_c *Process_Path_Call) Return(_a0 process.Process) *Process_Path_Call
func (*Process_Path_Call) Run ¶
func (_c *Process_Path_Call) Run(run func(path string)) *Process_Path_Call
func (*Process_Path_Call) RunAndReturn ¶
func (_c *Process_Path_Call) RunAndReturn(run func(string) process.Process) *Process_Path_Call
type Process_Quietly_Call ¶
Process_Quietly_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Quietly'
func (*Process_Quietly_Call) Return ¶
func (_c *Process_Quietly_Call) Return(_a0 process.Process) *Process_Quietly_Call
func (*Process_Quietly_Call) Run ¶
func (_c *Process_Quietly_Call) Run(run func()) *Process_Quietly_Call
func (*Process_Quietly_Call) RunAndReturn ¶
func (_c *Process_Quietly_Call) RunAndReturn(run func() process.Process) *Process_Quietly_Call
type Process_Run_Call ¶
Process_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*Process_Run_Call) Return ¶
func (_c *Process_Run_Call) Return(_a0 process.Result, _a1 error) *Process_Run_Call
func (*Process_Run_Call) Run ¶
func (_c *Process_Run_Call) Run(run func(name string, arg ...string)) *Process_Run_Call
func (*Process_Run_Call) RunAndReturn ¶
func (_c *Process_Run_Call) RunAndReturn(run func(string, ...string) (process.Result, error)) *Process_Run_Call
type Process_Start_Call ¶
Process_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Process_Start_Call) Return ¶
func (_c *Process_Start_Call) Return(_a0 process.Running, _a1 error) *Process_Start_Call
func (*Process_Start_Call) Run ¶
func (_c *Process_Start_Call) Run(run func(name string, arg ...string)) *Process_Start_Call
func (*Process_Start_Call) RunAndReturn ¶
func (_c *Process_Start_Call) RunAndReturn(run func(string, ...string) (process.Running, error)) *Process_Start_Call
type Process_TTY_Call ¶
Process_TTY_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TTY'
func (*Process_TTY_Call) Return ¶
func (_c *Process_TTY_Call) Return(_a0 process.Process) *Process_TTY_Call
func (*Process_TTY_Call) Run ¶
func (_c *Process_TTY_Call) Run(run func()) *Process_TTY_Call
func (*Process_TTY_Call) RunAndReturn ¶
func (_c *Process_TTY_Call) RunAndReturn(run func() process.Process) *Process_TTY_Call
type Process_Timeout_Call ¶
Process_Timeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Timeout'
func (*Process_Timeout_Call) Return ¶
func (_c *Process_Timeout_Call) Return(_a0 process.Process) *Process_Timeout_Call
func (*Process_Timeout_Call) Run ¶
func (_c *Process_Timeout_Call) Run(run func(timeout time.Duration)) *Process_Timeout_Call
func (*Process_Timeout_Call) RunAndReturn ¶
func (_c *Process_Timeout_Call) RunAndReturn(run func(time.Duration) process.Process) *Process_Timeout_Call
type Process_WithContext_Call ¶
Process_WithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithContext'
func (*Process_WithContext_Call) Return ¶
func (_c *Process_WithContext_Call) Return(_a0 process.Process) *Process_WithContext_Call
func (*Process_WithContext_Call) Run ¶
func (_c *Process_WithContext_Call) Run(run func(ctx context.Context)) *Process_WithContext_Call
func (*Process_WithContext_Call) RunAndReturn ¶
func (_c *Process_WithContext_Call) RunAndReturn(run func(context.Context) process.Process) *Process_WithContext_Call
type Result ¶
Result is an autogenerated mock type for the Result type
func NewResult ¶
NewResult creates a new instance of Result. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Result) EXPECT ¶
func (_m *Result) EXPECT() *Result_Expecter
func (*Result) ErrorOutput ¶
ErrorOutput provides a mock function with no fields
func (*Result) SeeInErrorOutput ¶
SeeInErrorOutput provides a mock function with given fields: needle
func (*Result) SeeInOutput ¶
SeeInOutput provides a mock function with given fields: needle
func (*Result) Successful ¶
Successful provides a mock function with no fields
type Result_Command_Call ¶
Result_Command_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Command'
func (*Result_Command_Call) Return ¶
func (_c *Result_Command_Call) Return(_a0 string) *Result_Command_Call
func (*Result_Command_Call) Run ¶
func (_c *Result_Command_Call) Run(run func()) *Result_Command_Call
func (*Result_Command_Call) RunAndReturn ¶
func (_c *Result_Command_Call) RunAndReturn(run func() string) *Result_Command_Call
type Result_ErrorOutput_Call ¶
Result_ErrorOutput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ErrorOutput'
func (*Result_ErrorOutput_Call) Return ¶
func (_c *Result_ErrorOutput_Call) Return(_a0 string) *Result_ErrorOutput_Call
func (*Result_ErrorOutput_Call) Run ¶
func (_c *Result_ErrorOutput_Call) Run(run func()) *Result_ErrorOutput_Call
func (*Result_ErrorOutput_Call) RunAndReturn ¶
func (_c *Result_ErrorOutput_Call) RunAndReturn(run func() string) *Result_ErrorOutput_Call
type Result_ExitCode_Call ¶
Result_ExitCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExitCode'
func (*Result_ExitCode_Call) Return ¶
func (_c *Result_ExitCode_Call) Return(_a0 int) *Result_ExitCode_Call
func (*Result_ExitCode_Call) Run ¶
func (_c *Result_ExitCode_Call) Run(run func()) *Result_ExitCode_Call
func (*Result_ExitCode_Call) RunAndReturn ¶
func (_c *Result_ExitCode_Call) RunAndReturn(run func() int) *Result_ExitCode_Call
type Result_Expecter ¶
type Result_Expecter struct {
// contains filtered or unexported fields
}
func (*Result_Expecter) Command ¶
func (_e *Result_Expecter) Command() *Result_Command_Call
Command is a helper method to define mock.On call
func (*Result_Expecter) ErrorOutput ¶
func (_e *Result_Expecter) ErrorOutput() *Result_ErrorOutput_Call
ErrorOutput is a helper method to define mock.On call
func (*Result_Expecter) ExitCode ¶
func (_e *Result_Expecter) ExitCode() *Result_ExitCode_Call
ExitCode is a helper method to define mock.On call
func (*Result_Expecter) Failed ¶
func (_e *Result_Expecter) Failed() *Result_Failed_Call
Failed is a helper method to define mock.On call
func (*Result_Expecter) Output ¶
func (_e *Result_Expecter) Output() *Result_Output_Call
Output is a helper method to define mock.On call
func (*Result_Expecter) SeeInErrorOutput ¶
func (_e *Result_Expecter) SeeInErrorOutput(needle interface{}) *Result_SeeInErrorOutput_Call
SeeInErrorOutput is a helper method to define mock.On call
- needle string
func (*Result_Expecter) SeeInOutput ¶
func (_e *Result_Expecter) SeeInOutput(needle interface{}) *Result_SeeInOutput_Call
SeeInOutput is a helper method to define mock.On call
- needle string
func (*Result_Expecter) Successful ¶
func (_e *Result_Expecter) Successful() *Result_Successful_Call
Successful is a helper method to define mock.On call
type Result_Failed_Call ¶
Result_Failed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Failed'
func (*Result_Failed_Call) Return ¶
func (_c *Result_Failed_Call) Return(_a0 bool) *Result_Failed_Call
func (*Result_Failed_Call) Run ¶
func (_c *Result_Failed_Call) Run(run func()) *Result_Failed_Call
func (*Result_Failed_Call) RunAndReturn ¶
func (_c *Result_Failed_Call) RunAndReturn(run func() bool) *Result_Failed_Call
type Result_Output_Call ¶
Result_Output_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Output'
func (*Result_Output_Call) Return ¶
func (_c *Result_Output_Call) Return(_a0 string) *Result_Output_Call
func (*Result_Output_Call) Run ¶
func (_c *Result_Output_Call) Run(run func()) *Result_Output_Call
func (*Result_Output_Call) RunAndReturn ¶
func (_c *Result_Output_Call) RunAndReturn(run func() string) *Result_Output_Call
type Result_SeeInErrorOutput_Call ¶
Result_SeeInErrorOutput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SeeInErrorOutput'
func (*Result_SeeInErrorOutput_Call) Return ¶
func (_c *Result_SeeInErrorOutput_Call) Return(_a0 bool) *Result_SeeInErrorOutput_Call
func (*Result_SeeInErrorOutput_Call) Run ¶
func (_c *Result_SeeInErrorOutput_Call) Run(run func(needle string)) *Result_SeeInErrorOutput_Call
func (*Result_SeeInErrorOutput_Call) RunAndReturn ¶
func (_c *Result_SeeInErrorOutput_Call) RunAndReturn(run func(string) bool) *Result_SeeInErrorOutput_Call
type Result_SeeInOutput_Call ¶
Result_SeeInOutput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SeeInOutput'
func (*Result_SeeInOutput_Call) Return ¶
func (_c *Result_SeeInOutput_Call) Return(_a0 bool) *Result_SeeInOutput_Call
func (*Result_SeeInOutput_Call) Run ¶
func (_c *Result_SeeInOutput_Call) Run(run func(needle string)) *Result_SeeInOutput_Call
func (*Result_SeeInOutput_Call) RunAndReturn ¶
func (_c *Result_SeeInOutput_Call) RunAndReturn(run func(string) bool) *Result_SeeInOutput_Call
type Result_Successful_Call ¶
Result_Successful_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Successful'
func (*Result_Successful_Call) Return ¶
func (_c *Result_Successful_Call) Return(_a0 bool) *Result_Successful_Call
func (*Result_Successful_Call) Run ¶
func (_c *Result_Successful_Call) Run(run func()) *Result_Successful_Call
func (*Result_Successful_Call) RunAndReturn ¶
func (_c *Result_Successful_Call) RunAndReturn(run func() bool) *Result_Successful_Call
type Running ¶
Running is an autogenerated mock type for the Running type
func NewRunning ¶
NewRunning creates a new instance of Running. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Running) EXPECT ¶
func (_m *Running) EXPECT() *Running_Expecter
func (*Running) ErrorOutput ¶
ErrorOutput provides a mock function with no fields
func (*Running) LatestErrorOutput ¶
LatestErrorOutput provides a mock function with no fields
func (*Running) LatestOutput ¶
LatestOutput provides a mock function with no fields
type Running_ErrorOutput_Call ¶
Running_ErrorOutput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ErrorOutput'
func (*Running_ErrorOutput_Call) Return ¶
func (_c *Running_ErrorOutput_Call) Return(_a0 string) *Running_ErrorOutput_Call
func (*Running_ErrorOutput_Call) Run ¶
func (_c *Running_ErrorOutput_Call) Run(run func()) *Running_ErrorOutput_Call
func (*Running_ErrorOutput_Call) RunAndReturn ¶
func (_c *Running_ErrorOutput_Call) RunAndReturn(run func() string) *Running_ErrorOutput_Call
type Running_Expecter ¶
type Running_Expecter struct {
// contains filtered or unexported fields
}
func (*Running_Expecter) ErrorOutput ¶
func (_e *Running_Expecter) ErrorOutput() *Running_ErrorOutput_Call
ErrorOutput is a helper method to define mock.On call
func (*Running_Expecter) LatestErrorOutput ¶
func (_e *Running_Expecter) LatestErrorOutput() *Running_LatestErrorOutput_Call
LatestErrorOutput is a helper method to define mock.On call
func (*Running_Expecter) LatestOutput ¶
func (_e *Running_Expecter) LatestOutput() *Running_LatestOutput_Call
LatestOutput is a helper method to define mock.On call
func (*Running_Expecter) Output ¶
func (_e *Running_Expecter) Output() *Running_Output_Call
Output is a helper method to define mock.On call
func (*Running_Expecter) PID ¶
func (_e *Running_Expecter) PID() *Running_PID_Call
PID is a helper method to define mock.On call
func (*Running_Expecter) Running ¶
func (_e *Running_Expecter) Running() *Running_Running_Call
Running is a helper method to define mock.On call
func (*Running_Expecter) Signal ¶
func (_e *Running_Expecter) Signal(sig interface{}) *Running_Signal_Call
Signal is a helper method to define mock.On call
- sig os.Signal
func (*Running_Expecter) Stop ¶
func (_e *Running_Expecter) Stop(timeout interface{}, sig ...interface{}) *Running_Stop_Call
Stop is a helper method to define mock.On call
- timeout time.Duration
- sig ...os.Signal
func (*Running_Expecter) Wait ¶
func (_e *Running_Expecter) Wait() *Running_Wait_Call
Wait is a helper method to define mock.On call
type Running_LatestErrorOutput_Call ¶
Running_LatestErrorOutput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestErrorOutput'
func (*Running_LatestErrorOutput_Call) Return ¶
func (_c *Running_LatestErrorOutput_Call) Return(_a0 string) *Running_LatestErrorOutput_Call
func (*Running_LatestErrorOutput_Call) Run ¶
func (_c *Running_LatestErrorOutput_Call) Run(run func()) *Running_LatestErrorOutput_Call
func (*Running_LatestErrorOutput_Call) RunAndReturn ¶
func (_c *Running_LatestErrorOutput_Call) RunAndReturn(run func() string) *Running_LatestErrorOutput_Call
type Running_LatestOutput_Call ¶
Running_LatestOutput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestOutput'
func (*Running_LatestOutput_Call) Return ¶
func (_c *Running_LatestOutput_Call) Return(_a0 string) *Running_LatestOutput_Call
func (*Running_LatestOutput_Call) Run ¶
func (_c *Running_LatestOutput_Call) Run(run func()) *Running_LatestOutput_Call
func (*Running_LatestOutput_Call) RunAndReturn ¶
func (_c *Running_LatestOutput_Call) RunAndReturn(run func() string) *Running_LatestOutput_Call
type Running_Output_Call ¶
Running_Output_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Output'
func (*Running_Output_Call) Return ¶
func (_c *Running_Output_Call) Return(_a0 string) *Running_Output_Call
func (*Running_Output_Call) Run ¶
func (_c *Running_Output_Call) Run(run func()) *Running_Output_Call
func (*Running_Output_Call) RunAndReturn ¶
func (_c *Running_Output_Call) RunAndReturn(run func() string) *Running_Output_Call
type Running_PID_Call ¶
Running_PID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PID'
func (*Running_PID_Call) Return ¶
func (_c *Running_PID_Call) Return(_a0 int) *Running_PID_Call
func (*Running_PID_Call) Run ¶
func (_c *Running_PID_Call) Run(run func()) *Running_PID_Call
func (*Running_PID_Call) RunAndReturn ¶
func (_c *Running_PID_Call) RunAndReturn(run func() int) *Running_PID_Call
type Running_Running_Call ¶
Running_Running_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Running'
func (*Running_Running_Call) Return ¶
func (_c *Running_Running_Call) Return(_a0 bool) *Running_Running_Call
func (*Running_Running_Call) Run ¶
func (_c *Running_Running_Call) Run(run func()) *Running_Running_Call
func (*Running_Running_Call) RunAndReturn ¶
func (_c *Running_Running_Call) RunAndReturn(run func() bool) *Running_Running_Call
type Running_Signal_Call ¶
Running_Signal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Signal'
func (*Running_Signal_Call) Return ¶
func (_c *Running_Signal_Call) Return(_a0 error) *Running_Signal_Call
func (*Running_Signal_Call) Run ¶
func (_c *Running_Signal_Call) Run(run func(sig os.Signal)) *Running_Signal_Call
func (*Running_Signal_Call) RunAndReturn ¶
func (_c *Running_Signal_Call) RunAndReturn(run func(os.Signal) error) *Running_Signal_Call
type Running_Stop_Call ¶
Running_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*Running_Stop_Call) Return ¶
func (_c *Running_Stop_Call) Return(_a0 error) *Running_Stop_Call
func (*Running_Stop_Call) Run ¶
func (_c *Running_Stop_Call) Run(run func(timeout time.Duration, sig ...os.Signal)) *Running_Stop_Call
func (*Running_Stop_Call) RunAndReturn ¶
func (_c *Running_Stop_Call) RunAndReturn(run func(time.Duration, ...os.Signal) error) *Running_Stop_Call
type Running_Wait_Call ¶
Running_Wait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Wait'
func (*Running_Wait_Call) Return ¶
func (_c *Running_Wait_Call) Return(_a0 process.Result) *Running_Wait_Call
func (*Running_Wait_Call) Run ¶
func (_c *Running_Wait_Call) Run(run func()) *Running_Wait_Call
func (*Running_Wait_Call) RunAndReturn ¶
func (_c *Running_Wait_Call) RunAndReturn(run func() process.Result) *Running_Wait_Call