Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- func ExpectServerSpan(ctx context.Context, mock interface{})
- type MockTracer
- func (m *MockTracer) EXPECT() *MockTracerMockRecorder
- func (m *MockTracer) NewClientInterceptorSpan(arg0 context.Context, arg1 string) (context.Context, *tracing.Span)
- func (m *MockTracer) NewClientSpan(arg0 context.Context, arg1, arg2 string) (context.Context, *tracing.Span)
- func (m *MockTracer) NewServerInterceptorSpan(arg0 context.Context, arg1 string) (context.Context, *tracing.Span)
- func (m *MockTracer) NewServerSpan(arg0 context.Context, arg1, arg2 string) (context.Context, *tracing.Span)
- func (m *MockTracer) NewSpan(arg0 context.Context, arg1, arg2 string) (context.Context, *tracing.Span)
- func (m *MockTracer) NewSpanHTTP(arg0 *http.Request, arg1, arg2 string) (*http.Request, *tracing.Span)
- type MockTracerMockRecorder
- func (mr *MockTracerMockRecorder) NewClientInterceptorSpan(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTracerMockRecorder) NewClientSpan(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTracerMockRecorder) NewServerInterceptorSpan(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTracerMockRecorder) NewServerSpan(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTracerMockRecorder) NewSpan(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTracerMockRecorder) NewSpanHTTP(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectServerSpan ¶
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 NewSimpleMockTracer ¶
func NewSimpleMockTracer(t *testing.T) *MockTracer
func (*MockTracer) EXPECT ¶
func (m *MockTracer) EXPECT() *MockTracerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTracer) NewClientInterceptorSpan ¶
func (m *MockTracer) NewClientInterceptorSpan(arg0 context.Context, arg1 string) (context.Context, *tracing.Span)
NewClientInterceptorSpan mocks base method
func (*MockTracer) NewClientSpan ¶
func (m *MockTracer) NewClientSpan(arg0 context.Context, arg1, arg2 string) (context.Context, *tracing.Span)
NewClientSpan mocks base method
func (*MockTracer) NewServerInterceptorSpan ¶
func (m *MockTracer) NewServerInterceptorSpan(arg0 context.Context, arg1 string) (context.Context, *tracing.Span)
NewServerInterceptorSpan mocks base method
func (*MockTracer) NewServerSpan ¶
func (m *MockTracer) NewServerSpan(arg0 context.Context, arg1, arg2 string) (context.Context, *tracing.Span)
NewServerSpan mocks base method
func (*MockTracer) NewSpan ¶
func (m *MockTracer) NewSpan(arg0 context.Context, arg1, arg2 string) (context.Context, *tracing.Span)
NewSpan mocks base method
func (*MockTracer) NewSpanHTTP ¶
func (m *MockTracer) NewSpanHTTP(arg0 *http.Request, arg1, arg2 string) (*http.Request, *tracing.Span)
NewSpanHTTP mocks base method
type MockTracerMockRecorder ¶
type MockTracerMockRecorder struct {
// contains filtered or unexported fields
}
MockTracerMockRecorder is the mock recorder for MockTracer
func (*MockTracerMockRecorder) NewClientInterceptorSpan ¶
func (mr *MockTracerMockRecorder) NewClientInterceptorSpan(arg0, arg1 interface{}) *gomock.Call
NewClientInterceptorSpan indicates an expected call of NewClientInterceptorSpan
func (*MockTracerMockRecorder) NewClientSpan ¶
func (mr *MockTracerMockRecorder) NewClientSpan(arg0, arg1, arg2 interface{}) *gomock.Call
NewClientSpan indicates an expected call of NewClientSpan
func (*MockTracerMockRecorder) NewServerInterceptorSpan ¶
func (mr *MockTracerMockRecorder) NewServerInterceptorSpan(arg0, arg1 interface{}) *gomock.Call
NewServerInterceptorSpan indicates an expected call of NewServerInterceptorSpan
func (*MockTracerMockRecorder) NewServerSpan ¶
func (mr *MockTracerMockRecorder) NewServerSpan(arg0, arg1, arg2 interface{}) *gomock.Call
NewServerSpan indicates an expected call of NewServerSpan
func (*MockTracerMockRecorder) NewSpan ¶
func (mr *MockTracerMockRecorder) NewSpan(arg0, arg1, arg2 interface{}) *gomock.Call
NewSpan indicates an expected call of NewSpan
func (*MockTracerMockRecorder) NewSpanHTTP ¶
func (mr *MockTracerMockRecorder) NewSpanHTTP(arg0, arg1, arg2 interface{}) *gomock.Call
NewSpanHTTP indicates an expected call of NewSpanHTTP