mocks

package
v0.0.0-...-1dd1f65 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	mock.Mock
}

Runner is an autogenerated mock type for the Runner type

func (*Runner) Run

func (_m *Runner) Run(ctx context.Context, r service.RunInfo) error

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

func (*Runner) WithGrace

func (_m *Runner) WithGrace(d time.Duration) service.Runner

WithGrace provides a mock function with given fields: d

func (*Runner) WithStderr

func (_m *Runner) WithStderr(w io.Writer) service.Runner

WithStderr provides a mock function with given fields: w

func (*Runner) WithStdout

func (_m *Runner) WithStdout(w io.Writer) service.Runner

WithStdout provides a mock function with given fields: w

Jump to

Keyboard shortcuts

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