Documentation
¶
Overview ¶
- Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
- SPDX-License-Identifier: Apache-2.0
Package mocks is a generated GoMock package.
Index ¶
- type MockIProcess
- func (m *MockIProcess) Children(ctx context.Context) ([]proc.IProcess, error)
- func (m *MockIProcess) Cmdline() string
- func (m *MockIProcess) Cwd() string
- func (m *MockIProcess) EXPECT() *MockIProcessMockRecorder
- func (m *MockIProcess) Environ(ctx context.Context) ([]string, error)
- func (m *MockIProcess) Executable() string
- func (m *MockIProcess) Interrupt(arg0 context.Context) error
- func (m *MockIProcess) IsAZombie() bool
- func (m *MockIProcess) IsRunning() bool
- func (m *MockIProcess) KillWithChildren(arg0 context.Context) error
- func (m *MockIProcess) Name() string
- func (m *MockIProcess) PPid() int
- func (m *MockIProcess) Parent() proc.IProcess
- func (m *MockIProcess) Pid() int
- func (m *MockIProcess) Terminate(arg0 context.Context) error
- type MockIProcessMockRecorder
- func (mr *MockIProcessMockRecorder) Children(ctx any) *gomock.Call
- func (mr *MockIProcessMockRecorder) Cmdline() *gomock.Call
- func (mr *MockIProcessMockRecorder) Cwd() *gomock.Call
- func (mr *MockIProcessMockRecorder) Environ(ctx any) *gomock.Call
- func (mr *MockIProcessMockRecorder) Executable() *gomock.Call
- func (mr *MockIProcessMockRecorder) Interrupt(arg0 any) *gomock.Call
- func (mr *MockIProcessMockRecorder) IsAZombie() *gomock.Call
- func (mr *MockIProcessMockRecorder) IsRunning() *gomock.Call
- func (mr *MockIProcessMockRecorder) KillWithChildren(arg0 any) *gomock.Call
- func (mr *MockIProcessMockRecorder) Name() *gomock.Call
- func (mr *MockIProcessMockRecorder) PPid() *gomock.Call
- func (mr *MockIProcessMockRecorder) Parent() *gomock.Call
- func (mr *MockIProcessMockRecorder) Pid() *gomock.Call
- func (mr *MockIProcessMockRecorder) Terminate(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIProcess ¶
type MockIProcess struct {
// contains filtered or unexported fields
}
MockIProcess is a mock of IProcess interface.
func NewMockIProcess ¶
func NewMockIProcess(ctrl *gomock.Controller) *MockIProcess
NewMockIProcess creates a new mock instance.
func (*MockIProcess) EXPECT ¶
func (m *MockIProcess) EXPECT() *MockIProcessMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIProcess) Environ ¶
func (m *MockIProcess) Environ(ctx context.Context) ([]string, error)
Environ mocks base method.
func (*MockIProcess) Executable ¶
func (m *MockIProcess) Executable() string
Executable mocks base method.
func (*MockIProcess) Interrupt ¶
func (m *MockIProcess) Interrupt(arg0 context.Context) error
Interrupt mocks base method.
func (*MockIProcess) IsAZombie ¶
func (m *MockIProcess) IsAZombie() bool
IsAZombie mocks base method.
func (*MockIProcess) IsRunning ¶
func (m *MockIProcess) IsRunning() bool
IsRunning mocks base method.
func (*MockIProcess) KillWithChildren ¶
func (m *MockIProcess) KillWithChildren(arg0 context.Context) error
KillWithChildren mocks base method.
func (*MockIProcess) Parent ¶
func (m *MockIProcess) Parent() proc.IProcess
Parent mocks base method.
type MockIProcessMockRecorder ¶
type MockIProcessMockRecorder struct {
// contains filtered or unexported fields
}
MockIProcessMockRecorder is the mock recorder for MockIProcess.
func (*MockIProcessMockRecorder) Children ¶
func (mr *MockIProcessMockRecorder) Children(ctx any) *gomock.Call
Children indicates an expected call of Children.
func (*MockIProcessMockRecorder) Cmdline ¶
func (mr *MockIProcessMockRecorder) Cmdline() *gomock.Call
Cmdline indicates an expected call of Cmdline.
func (*MockIProcessMockRecorder) Cwd ¶
func (mr *MockIProcessMockRecorder) Cwd() *gomock.Call
Cwd indicates an expected call of Cwd.
func (*MockIProcessMockRecorder) Environ ¶
func (mr *MockIProcessMockRecorder) Environ(ctx any) *gomock.Call
Environ indicates an expected call of Environ.
func (*MockIProcessMockRecorder) Executable ¶
func (mr *MockIProcessMockRecorder) Executable() *gomock.Call
Executable indicates an expected call of Executable.
func (*MockIProcessMockRecorder) Interrupt ¶
func (mr *MockIProcessMockRecorder) Interrupt(arg0 any) *gomock.Call
Interrupt indicates an expected call of Interrupt.
func (*MockIProcessMockRecorder) IsAZombie ¶
func (mr *MockIProcessMockRecorder) IsAZombie() *gomock.Call
IsAZombie indicates an expected call of IsAZombie.
func (*MockIProcessMockRecorder) IsRunning ¶
func (mr *MockIProcessMockRecorder) IsRunning() *gomock.Call
IsRunning indicates an expected call of IsRunning.
func (*MockIProcessMockRecorder) KillWithChildren ¶
func (mr *MockIProcessMockRecorder) KillWithChildren(arg0 any) *gomock.Call
KillWithChildren indicates an expected call of KillWithChildren.
func (*MockIProcessMockRecorder) Name ¶
func (mr *MockIProcessMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockIProcessMockRecorder) PPid ¶
func (mr *MockIProcessMockRecorder) PPid() *gomock.Call
PPid indicates an expected call of PPid.
func (*MockIProcessMockRecorder) Parent ¶
func (mr *MockIProcessMockRecorder) Parent() *gomock.Call
Parent indicates an expected call of Parent.
func (*MockIProcessMockRecorder) Pid ¶
func (mr *MockIProcessMockRecorder) Pid() *gomock.Call
Pid indicates an expected call of Pid.