mocks

package
v11.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: GPL-3.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 RunnerInterface

type RunnerInterface struct {
	mock.Mock
}

RunnerInterface is an autogenerated mock type for the RunnerInterface type

func NewRunnerInterface

func NewRunnerInterface(t interface {
	mock.TestingT
	Cleanup(func())
},
) *RunnerInterface

NewRunnerInterface creates a new instance of RunnerInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RunnerInterface) Run

func (_m *RunnerInterface) Run(ctx context.Context, task *runnerv1.Task) error

Run provides a mock function with given fields: ctx, task

Jump to

Keyboard shortcuts

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