mocks

package
v1.173.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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

func (m *MockIProcess) Children(ctx context.Context) ([]proc.IProcess, error)

Children mocks base method.

func (*MockIProcess) Cmdline

func (m *MockIProcess) Cmdline() string

Cmdline mocks base method.

func (*MockIProcess) Cwd

func (m *MockIProcess) Cwd() string

Cwd mocks base method.

func (*MockIProcess) EXPECT

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

func (m *MockIProcess) Name() string

Name mocks base method.

func (*MockIProcess) PPid

func (m *MockIProcess) PPid() int

PPid mocks base method.

func (*MockIProcess) Parent

func (m *MockIProcess) Parent() proc.IProcess

Parent mocks base method.

func (*MockIProcess) Pid

func (m *MockIProcess) Pid() int

Pid mocks base method.

func (*MockIProcess) Terminate

func (m *MockIProcess) Terminate(arg0 context.Context) error

Terminate 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

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

Pid indicates an expected call of Pid.

func (*MockIProcessMockRecorder) Terminate

func (mr *MockIProcessMockRecorder) Terminate(arg0 any) *gomock.Call

Terminate indicates an expected call of Terminate.

Jump to

Keyboard shortcuts

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