process

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package process is a generated GoMock package.

Index

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) Add

func (m *MockManager) Add(arg0 *process.Process)

Add mocks base method.

func (*MockManager) Context

func (m *MockManager) Context() context.Context

Context mocks base method.

func (*MockManager) Count

func (m *MockManager) Count() int

Count 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) Logger

func (m *MockManager) Logger() logger.Logger

Logger mocks base method.

func (*MockManager) Processes

func (m *MockManager) Processes() []*process.Process

Processes mocks base method.

func (*MockManager) Run

func (m *MockManager) Run(arg0 string) bool

Run 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) Stop

func (m *MockManager) Stop(arg0 string) bool

Stop 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL