Documentation
¶
Overview ¶
Package mock_opentracing is a generated GoMock package.
Index ¶
- type MockStartSpanOption
- type MockStartSpanOptionMockRecorder
- type MockTracer
- func (m *MockTracer) EXPECT() *MockTracerMockRecorder
- func (m *MockTracer) Extract(format, carrier interface{}) (opentracing_go.SpanContext, error)
- func (m *MockTracer) Inject(sm opentracing_go.SpanContext, format, carrier interface{}) error
- func (m *MockTracer) StartSpan(operationName string, opts ...opentracing_go.StartSpanOption) opentracing_go.Span
- type MockTracerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStartSpanOption ¶
type MockStartSpanOption struct {
// contains filtered or unexported fields
}
MockStartSpanOption is a mock of StartSpanOption interface.
func NewMockStartSpanOption ¶
func NewMockStartSpanOption(ctrl *gomock.Controller) *MockStartSpanOption
NewMockStartSpanOption creates a new mock instance.
func (*MockStartSpanOption) Apply ¶
func (m *MockStartSpanOption) Apply(arg0 *opentracing_go.StartSpanOptions)
Apply mocks base method.
func (*MockStartSpanOption) EXPECT ¶
func (m *MockStartSpanOption) EXPECT() *MockStartSpanOptionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStartSpanOptionMockRecorder ¶
type MockStartSpanOptionMockRecorder struct {
// contains filtered or unexported fields
}
MockStartSpanOptionMockRecorder is the mock recorder for MockStartSpanOption.
func (*MockStartSpanOptionMockRecorder) Apply ¶
func (mr *MockStartSpanOptionMockRecorder) Apply(arg0 interface{}) *gomock.Call
Apply indicates an expected call of Apply.
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_go.SpanContext, error)
Extract mocks base method.
func (*MockTracer) Inject ¶
func (m *MockTracer) Inject(sm opentracing_go.SpanContext, format, carrier interface{}) error
Inject mocks base method.
func (*MockTracer) StartSpan ¶
func (m *MockTracer) StartSpan(operationName string, opts ...opentracing_go.StartSpanOption) opentracing_go.Span
StartSpan mocks base method.
type MockTracerMockRecorder ¶
type MockTracerMockRecorder struct {
// contains filtered or unexported fields
}
MockTracerMockRecorder is the mock recorder for MockTracer.
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.