Documentation
¶
Overview ¶
Package process is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) Add(arg0 *process.Process)
- func (m *MockManager) Context() context.Context
- func (m *MockManager) Count() int
- func (m *MockManager) Create(arg0 *process.Config) *process.Process
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) Find(arg0 string) (*process.Process, bool)
- func (m *MockManager) Logger() logger.Logger
- func (m *MockManager) Processes() []*process.Process
- func (m *MockManager) Run(arg0 string) bool
- func (m *MockManager) SetContext(arg0 context.Context)
- func (m *MockManager) SetLogger(arg0 logger.Logger)
- func (m *MockManager) Stop(arg0 string) bool
- func (m *MockManager) StopAll() process.StopAllResults
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) Add(arg0 any) *gomock.Call
- func (mr *MockManagerMockRecorder) Context() *gomock.Call
- func (mr *MockManagerMockRecorder) Count() *gomock.Call
- func (mr *MockManagerMockRecorder) Create(arg0 any) *gomock.Call
- func (mr *MockManagerMockRecorder) Find(arg0 any) *gomock.Call
- func (mr *MockManagerMockRecorder) Logger() *gomock.Call
- func (mr *MockManagerMockRecorder) Processes() *gomock.Call
- func (mr *MockManagerMockRecorder) Run(arg0 any) *gomock.Call
- func (mr *MockManagerMockRecorder) SetContext(arg0 any) *gomock.Call
- func (mr *MockManagerMockRecorder) SetLogger(arg0 any) *gomock.Call
- func (mr *MockManagerMockRecorder) Stop(arg0 any) *gomock.Call
- func (mr *MockManagerMockRecorder) StopAll() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) Context ¶
func (m *MockManager) Context() context.Context
Context mocks base method.
func (*MockManager) Create ¶
func (m *MockManager) Create(arg0 *process.Config) *process.Process
Create mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) Find ¶
func (m *MockManager) Find(arg0 string) (*process.Process, bool)
Find mocks base method.
func (*MockManager) Processes ¶
func (m *MockManager) Processes() []*process.Process
Processes mocks base method.
func (*MockManager) SetContext ¶
func (m *MockManager) SetContext(arg0 context.Context)
SetContext mocks base method.
func (*MockManager) SetLogger ¶
func (m *MockManager) SetLogger(arg0 logger.Logger)
SetLogger mocks base method.
func (*MockManager) StopAll ¶
func (m *MockManager) StopAll() process.StopAllResults
StopAll mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) Add ¶
func (mr *MockManagerMockRecorder) Add(arg0 any) *gomock.Call
Add indicates an expected call of Add.
func (*MockManagerMockRecorder) Context ¶
func (mr *MockManagerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockManagerMockRecorder) Count ¶
func (mr *MockManagerMockRecorder) Count() *gomock.Call
Count indicates an expected call of Count.
func (*MockManagerMockRecorder) Create ¶
func (mr *MockManagerMockRecorder) Create(arg0 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockManagerMockRecorder) Find ¶
func (mr *MockManagerMockRecorder) Find(arg0 any) *gomock.Call
Find indicates an expected call of Find.
func (*MockManagerMockRecorder) Logger ¶
func (mr *MockManagerMockRecorder) Logger() *gomock.Call
Logger indicates an expected call of Logger.
func (*MockManagerMockRecorder) Processes ¶
func (mr *MockManagerMockRecorder) Processes() *gomock.Call
Processes indicates an expected call of Processes.
func (*MockManagerMockRecorder) Run ¶
func (mr *MockManagerMockRecorder) Run(arg0 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockManagerMockRecorder) SetContext ¶
func (mr *MockManagerMockRecorder) SetContext(arg0 any) *gomock.Call
SetContext indicates an expected call of SetContext.
func (*MockManagerMockRecorder) SetLogger ¶
func (mr *MockManagerMockRecorder) SetLogger(arg0 any) *gomock.Call
SetLogger indicates an expected call of SetLogger.
func (*MockManagerMockRecorder) Stop ¶
func (mr *MockManagerMockRecorder) Stop(arg0 any) *gomock.Call
Stop indicates an expected call of Stop.
func (*MockManagerMockRecorder) StopAll ¶
func (mr *MockManagerMockRecorder) StopAll() *gomock.Call
StopAll indicates an expected call of StopAll.