mocks

package
v0.5.60 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	mock.Mock
}

Command is an autogenerated mock type for the Command type

func NewCommand

func NewCommand(t mockConstructorTestingTNewCommand) *Command

NewCommand creates a new instance of Command. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Command) Execute

func (_m *Command) Execute(config types.CommandConfig) (int, error)

Execute provides a mock function with given fields: config

func (*Command) Kill

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

Kill provides a mock function with given fields: pid

Jump to

Keyboard shortcuts

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