Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockTracer
- func (m *MockTracer) EXPECT() *MockTracerMockRecorder
- func (m *MockTracer) EndSpan(arg0 context.Context)
- func (m *MockTracer) GetSpanID(arg0 context.Context) string
- func (m *MockTracer) GetTraceID(arg0 context.Context) string
- func (m *MockTracer) StartSpan(arg0 context.Context, arg1 string) context.Context
- type MockTracerMockRecorder
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.
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.
Click to show internal directories.
Click to hide internal directories.