Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTraceService
- func (m *MockTraceService) AddSpanError(span trace.Span, err error)
- func (m *MockTraceService) AddSpanEvents(span trace.Span, name string, events map[string]string)
- func (m *MockTraceService) AddSpanTags(span trace.Span, tags map[string]string)
- func (m *MockTraceService) EXPECT() *MockTraceServiceMockRecorder
- func (m *MockTraceService) FailSpan(span trace.Span, msg string)
- type MockTraceServiceMockRecorder
- func (mr *MockTraceServiceMockRecorder) AddSpanError(span, err interface{}) *gomock.Call
- func (mr *MockTraceServiceMockRecorder) AddSpanEvents(span, name, events interface{}) *gomock.Call
- func (mr *MockTraceServiceMockRecorder) AddSpanTags(span, tags interface{}) *gomock.Call
- func (mr *MockTraceServiceMockRecorder) FailSpan(span, msg interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTraceService ¶
type MockTraceService struct {
// contains filtered or unexported fields
}
MockTraceService is a mock of TraceService interface.
func NewMockTraceService ¶
func NewMockTraceService(ctrl *gomock.Controller) *MockTraceService
NewMockTraceService creates a new mock instance.
func (*MockTraceService) AddSpanError ¶
func (m *MockTraceService) AddSpanError(span trace.Span, err error)
AddSpanError mocks base method.
func (*MockTraceService) AddSpanEvents ¶
AddSpanEvents mocks base method.
func (*MockTraceService) AddSpanTags ¶
func (m *MockTraceService) AddSpanTags(span trace.Span, tags map[string]string)
AddSpanTags mocks base method.
func (*MockTraceService) EXPECT ¶
func (m *MockTraceService) EXPECT() *MockTraceServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTraceServiceMockRecorder ¶
type MockTraceServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTraceServiceMockRecorder is the mock recorder for MockTraceService.
func (*MockTraceServiceMockRecorder) AddSpanError ¶
func (mr *MockTraceServiceMockRecorder) AddSpanError(span, err interface{}) *gomock.Call
AddSpanError indicates an expected call of AddSpanError.
func (*MockTraceServiceMockRecorder) AddSpanEvents ¶
func (mr *MockTraceServiceMockRecorder) AddSpanEvents(span, name, events interface{}) *gomock.Call
AddSpanEvents indicates an expected call of AddSpanEvents.
func (*MockTraceServiceMockRecorder) AddSpanTags ¶
func (mr *MockTraceServiceMockRecorder) AddSpanTags(span, tags interface{}) *gomock.Call
AddSpanTags indicates an expected call of AddSpanTags.
func (*MockTraceServiceMockRecorder) FailSpan ¶
func (mr *MockTraceServiceMockRecorder) FailSpan(span, msg interface{}) *gomock.Call
FailSpan indicates an expected call of FailSpan.
Click to show internal directories.
Click to hide internal directories.