mock

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: GPL-3.0 Imports: 4 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 MockTracer

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

MockTracer is a mock of Tracer interface.

func NewMockTracer

func NewMockTracer(ctrl *gomock.Controller) *MockTracer

NewMockTracer creates a new mock instance.

func (*MockTracer) EXPECT

func (m *MockTracer) EXPECT() *MockTracerMockRecorder

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

func (*MockTracer) EndSpan

func (m *MockTracer) EndSpan(arg0 context.Context)

EndSpan mocks base method.

func (*MockTracer) GetSpanID

func (m *MockTracer) GetSpanID(arg0 context.Context) string

GetSpanID mocks base method.

func (*MockTracer) GetTraceID

func (m *MockTracer) GetTraceID(arg0 context.Context) string

GetTraceID mocks base method.

func (*MockTracer) StartSpan

func (m *MockTracer) StartSpan(arg0 context.Context, arg1 string) context.Context

StartSpan mocks base method.

type MockTracerMockRecorder

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

MockTracerMockRecorder is the mock recorder for MockTracer.

func (*MockTracerMockRecorder) EndSpan

func (mr *MockTracerMockRecorder) EndSpan(arg0 any) *gomock.Call

EndSpan indicates an expected call of EndSpan.

func (*MockTracerMockRecorder) GetSpanID

func (mr *MockTracerMockRecorder) GetSpanID(arg0 any) *gomock.Call

GetSpanID indicates an expected call of GetSpanID.

func (*MockTracerMockRecorder) GetTraceID

func (mr *MockTracerMockRecorder) GetTraceID(arg0 any) *gomock.Call

GetTraceID indicates an expected call of GetTraceID.

func (*MockTracerMockRecorder) StartSpan

func (mr *MockTracerMockRecorder) StartSpan(arg0, arg1 any) *gomock.Call

StartSpan indicates an expected call of StartSpan.

Jump to

Keyboard shortcuts

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