mocks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeProcess

type NodeProcess struct {
	mock.Mock
}

NodeProcess is an autogenerated mock type for the NodeProcess type

func NewNodeProcess

func NewNodeProcess(t testing.TB) *NodeProcess

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

func (*NodeProcess) Status

func (_m *NodeProcess) Status() status.Status

Status provides a mock function with given fields:

func (*NodeProcess) Stop

func (_m *NodeProcess) Stop(ctx context.Context) int

Stop provides a mock function with given fields: ctx

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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