mocks

package
v1.19.5 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 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 MockTracer

type MockTracer struct {
	mock.Mock
}

MockTracer is an autogenerated mock type for the Tracer type

func NewMockTracer

func NewMockTracer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockTracer

NewMockTracer creates a new instance of MockTracer. 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 (*MockTracer) Shutdown

func (_m *MockTracer) Shutdown(ctx context.Context) error

Shutdown provides a mock function with given fields: ctx

func (*MockTracer) Start

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

Start 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