mocks

package
v0.0.0-...-955c50f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IExecutor

type IExecutor struct {
	mock.Mock
}

IExecutor is an autogenerated mock type for the IExecutor type

func (*IExecutor) IsPidRunning

func (_m *IExecutor) IsPidRunning(pid int) (bool, error)

IsPidRunning provides a mock function with given fields: pid

func (*IExecutor) Kill

func (_m *IExecutor) Kill(pid int) error

Kill provides a mock function with given fields: pid

func (*IExecutor) Processes

func (_m *IExecutor) Processes() ([]executor.OsProcess, error)

Processes provides a mock function with given fields:

func (*IExecutor) Start

func (_m *IExecutor) Start(_a0 *model.WorkerConfig) (*model.Process, error)

Start provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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