Documentation ¶
Overview ¶
Package tracingmock is a generated GoMock package.
Index ¶
- type MockTracer
- func (m *MockTracer) Close() error
- func (m *MockTracer) EXPECT() *MockTracerMockRecorder
- func (m *MockTracer) Extract(format, carrier interface{}) (opentracing.SpanContext, error)
- func (m *MockTracer) Inject(sm opentracing.SpanContext, format, carrier interface{}) error
- func (m *MockTracer) StartSpan(operationName string, opts ...opentracing.StartSpanOption) opentracing.Span
- type MockTracerMockRecorder
- func (mr *MockTracerMockRecorder) Close() *gomock.Call
- func (mr *MockTracerMockRecorder) Extract(format, carrier interface{}) *gomock.Call
- func (mr *MockTracerMockRecorder) Inject(sm, format, carrier interface{}) *gomock.Call
- func (mr *MockTracerMockRecorder) StartSpan(operationName interface{}, opts ...interface{}) *gomock.Call
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) Extract ¶
func (m *MockTracer) Extract(format, carrier interface{}) (opentracing.SpanContext, error)
Extract mocks base method.
func (*MockTracer) Inject ¶
func (m *MockTracer) Inject(sm opentracing.SpanContext, format, carrier interface{}) error
Inject mocks base method.
func (*MockTracer) StartSpan ¶
func (m *MockTracer) StartSpan(operationName string, opts ...opentracing.StartSpanOption) opentracing.Span
StartSpan mocks base method.
type MockTracerMockRecorder ¶
type MockTracerMockRecorder struct {
// contains filtered or unexported fields
}
MockTracerMockRecorder is the mock recorder for MockTracer.
func (*MockTracerMockRecorder) Close ¶
func (mr *MockTracerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockTracerMockRecorder) Extract ¶
func (mr *MockTracerMockRecorder) Extract(format, carrier interface{}) *gomock.Call
Extract indicates an expected call of Extract.
func (*MockTracerMockRecorder) Inject ¶
func (mr *MockTracerMockRecorder) Inject(sm, format, carrier interface{}) *gomock.Call
Inject indicates an expected call of Inject.
func (*MockTracerMockRecorder) StartSpan ¶
func (mr *MockTracerMockRecorder) StartSpan(operationName interface{}, opts ...interface{}) *gomock.Call
StartSpan indicates an expected call of StartSpan.
Click to show internal directories.
Click to hide internal directories.