mock

package
v1.110.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTaskFn

type MockTaskFn struct {
	// contains filtered or unexported fields
}

MockTaskFn is a mock of TaskFn interface.

func NewMockTaskFn

func NewMockTaskFn(ctrl *gomock.Controller) *MockTaskFn

NewMockTaskFn creates a new mock instance.

func (*MockTaskFn) Do

func (m *MockTaskFn) Do(arg0 context.Context) error

Do mocks base method.

func (*MockTaskFn) EXPECT

func (m *MockTaskFn) EXPECT() *MockTaskFnMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockTaskFnMockRecorder

type MockTaskFnMockRecorder struct {
	// contains filtered or unexported fields
}

MockTaskFnMockRecorder is the mock recorder for MockTaskFn.

func (*MockTaskFnMockRecorder) Do

func (mr *MockTaskFnMockRecorder) Do(arg0 any) *gomock.Call

Do indicates an expected call of Do.

type TaskFn

type TaskFn interface {
	Do(context.Context) error
}

TaskFn is an interface that allows mocking `flow.TaskFn`s.

Jump to

Keyboard shortcuts

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