Documentation ¶
Overview ¶
Package exec is a generated GoMock package.
Index ¶
- type MockProcessListener
- type MockProcessListenerMockRecorder
- type MockProcessMonitor
- func (m *MockProcessMonitor) Close() error
- func (m *MockProcessMonitor) EXPECT() *MockProcessMonitorMockRecorder
- func (m *MockProcessMonitor) Err() error
- func (m *MockProcessMonitor) Running() bool
- func (m *MockProcessMonitor) Start() error
- func (m *MockProcessMonitor) StderrPath() string
- func (m *MockProcessMonitor) StdoutPath() string
- func (m *MockProcessMonitor) Stop() error
- type MockProcessMonitorMockRecorder
- func (mr *MockProcessMonitorMockRecorder) Close() *gomock.Call
- func (mr *MockProcessMonitorMockRecorder) Err() *gomock.Call
- func (mr *MockProcessMonitorMockRecorder) Running() *gomock.Call
- func (mr *MockProcessMonitorMockRecorder) Start() *gomock.Call
- func (mr *MockProcessMonitorMockRecorder) StderrPath() *gomock.Call
- func (mr *MockProcessMonitorMockRecorder) StdoutPath() *gomock.Call
- func (mr *MockProcessMonitorMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProcessListener ¶
type MockProcessListener struct {
// contains filtered or unexported fields
}
MockProcessListener is a mock of ProcessListener interface
func NewMockProcessListener ¶
func NewMockProcessListener(ctrl *gomock.Controller) *MockProcessListener
NewMockProcessListener creates a new mock instance
func (*MockProcessListener) EXPECT ¶
func (m *MockProcessListener) EXPECT() *MockProcessListenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProcessListener) OnComplete ¶
func (m *MockProcessListener) OnComplete()
OnComplete mocks base method
func (*MockProcessListener) OnError ¶
func (m *MockProcessListener) OnError(arg0 error)
OnError mocks base method
type MockProcessListenerMockRecorder ¶
type MockProcessListenerMockRecorder struct {
// contains filtered or unexported fields
}
MockProcessListenerMockRecorder is the mock recorder for MockProcessListener
func (*MockProcessListenerMockRecorder) OnComplete ¶
func (mr *MockProcessListenerMockRecorder) OnComplete() *gomock.Call
OnComplete indicates an expected call of OnComplete
func (*MockProcessListenerMockRecorder) OnError ¶
func (mr *MockProcessListenerMockRecorder) OnError(arg0 interface{}) *gomock.Call
OnError indicates an expected call of OnError
type MockProcessMonitor ¶
type MockProcessMonitor struct {
// contains filtered or unexported fields
}
MockProcessMonitor is a mock of ProcessMonitor interface
func NewMockProcessMonitor ¶
func NewMockProcessMonitor(ctrl *gomock.Controller) *MockProcessMonitor
NewMockProcessMonitor creates a new mock instance
func (*MockProcessMonitor) Close ¶
func (m *MockProcessMonitor) Close() error
Close mocks base method
func (*MockProcessMonitor) EXPECT ¶
func (m *MockProcessMonitor) EXPECT() *MockProcessMonitorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProcessMonitor) Running ¶
func (m *MockProcessMonitor) Running() bool
Running mocks base method
func (*MockProcessMonitor) Start ¶
func (m *MockProcessMonitor) Start() error
Start mocks base method
func (*MockProcessMonitor) StderrPath ¶
func (m *MockProcessMonitor) StderrPath() string
StderrPath mocks base method
func (*MockProcessMonitor) StdoutPath ¶
func (m *MockProcessMonitor) StdoutPath() string
StdoutPath mocks base method
type MockProcessMonitorMockRecorder ¶
type MockProcessMonitorMockRecorder struct {
// contains filtered or unexported fields
}
MockProcessMonitorMockRecorder is the mock recorder for MockProcessMonitor
func (*MockProcessMonitorMockRecorder) Close ¶
func (mr *MockProcessMonitorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockProcessMonitorMockRecorder) Err ¶
func (mr *MockProcessMonitorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err
func (*MockProcessMonitorMockRecorder) Running ¶
func (mr *MockProcessMonitorMockRecorder) Running() *gomock.Call
Running indicates an expected call of Running
func (*MockProcessMonitorMockRecorder) Start ¶
func (mr *MockProcessMonitorMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockProcessMonitorMockRecorder) StderrPath ¶
func (mr *MockProcessMonitorMockRecorder) StderrPath() *gomock.Call
StderrPath indicates an expected call of StderrPath
func (*MockProcessMonitorMockRecorder) StdoutPath ¶
func (mr *MockProcessMonitorMockRecorder) StdoutPath() *gomock.Call
StdoutPath indicates an expected call of StdoutPath
func (*MockProcessMonitorMockRecorder) Stop ¶
func (mr *MockProcessMonitorMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop