mocks

package
v1.51.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-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 MockRunnableService

type MockRunnableService struct {
	mock.Mock
}

MockRunnableService is an autogenerated mock type for the RunnableService type

func NewMockRunnableService

func NewMockRunnableService(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRunnableService

NewMockRunnableService creates a new instance of MockRunnableService. 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 (*MockRunnableService) Error

func (_m *MockRunnableService) Error() <-chan error

Error provides a mock function with given fields:

func (*MockRunnableService) Start

func (_m *MockRunnableService) Start(ctx context.Context) error

Start provides a mock function with given fields: ctx

func (*MockRunnableService) Stop

func (_m *MockRunnableService) Stop(ctx context.Context) error

Stop provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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