Documentation
¶
Overview ¶
Package agentproctest contains utility functions for testing process management in the agent.
Package agentproctest is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockSyscaller ¶
type MockSyscaller struct {
// contains filtered or unexported fields
}
MockSyscaller is a mock of Syscaller interface.
func NewMockSyscaller ¶
func NewMockSyscaller(ctrl *gomock.Controller) *MockSyscaller
NewMockSyscaller creates a new mock instance.
func (*MockSyscaller) EXPECT ¶
func (m *MockSyscaller) EXPECT() *MockSyscallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSyscaller) GetPriority ¶
func (m *MockSyscaller) GetPriority(arg0 int32) (int, error)
GetPriority mocks base method.
func (*MockSyscaller) Kill ¶
func (m *MockSyscaller) Kill(arg0 int32, arg1 syscall.Signal) error
Kill mocks base method.
func (*MockSyscaller) SetPriority ¶
func (m *MockSyscaller) SetPriority(arg0 int32, arg1 int) error
SetPriority mocks base method.
type MockSyscallerMockRecorder ¶
type MockSyscallerMockRecorder struct {
// contains filtered or unexported fields
}
MockSyscallerMockRecorder is the mock recorder for MockSyscaller.
func (*MockSyscallerMockRecorder) GetPriority ¶
func (mr *MockSyscallerMockRecorder) GetPriority(arg0 any) *gomock.Call
GetPriority indicates an expected call of GetPriority.
func (*MockSyscallerMockRecorder) Kill ¶
func (mr *MockSyscallerMockRecorder) Kill(arg0, arg1 any) *gomock.Call
Kill indicates an expected call of Kill.
func (*MockSyscallerMockRecorder) SetPriority ¶
func (mr *MockSyscallerMockRecorder) SetPriority(arg0, arg1 any) *gomock.Call
SetPriority indicates an expected call of SetPriority.
Click to show internal directories.
Click to hide internal directories.