Documentation ¶
Overview ¶
Package mocked is a generated GoMock package.
Index ¶
- type MockedSpan
- func (m *MockedSpan) AddEvent(arg0 string, arg1 ...trace.EventOption)
- func (m *MockedSpan) EXPECT() *MockedSpanMockRecorder
- func (m *MockedSpan) End(arg0 ...trace.SpanEndOption)
- func (m *MockedSpan) IsRecording() bool
- func (m *MockedSpan) RecordError(arg0 error, arg1 ...trace.EventOption)
- func (m *MockedSpan) SetAttributes(arg0 ...attribute.KeyValue)
- func (m *MockedSpan) SetName(arg0 string)
- func (m *MockedSpan) SetStatus(arg0 codes.Code, arg1 string)
- func (m *MockedSpan) SpanContext() trace.SpanContext
- func (m *MockedSpan) TracerProvider() trace.TracerProvider
- type MockedSpanMockRecorder
- func (mr *MockedSpanMockRecorder) AddEvent(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockedSpanMockRecorder) End(arg0 ...interface{}) *gomock.Call
- func (mr *MockedSpanMockRecorder) IsRecording() *gomock.Call
- func (mr *MockedSpanMockRecorder) RecordError(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockedSpanMockRecorder) SetAttributes(arg0 ...interface{}) *gomock.Call
- func (mr *MockedSpanMockRecorder) SetName(arg0 interface{}) *gomock.Call
- func (mr *MockedSpanMockRecorder) SetStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockedSpanMockRecorder) SpanContext() *gomock.Call
- func (mr *MockedSpanMockRecorder) TracerProvider() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockedSpan ¶
type MockedSpan struct {
// contains filtered or unexported fields
}
MockedSpan is a mock of Span interface.
func NewMockedSpan ¶
func NewMockedSpan(ctrl *gomock.Controller) *MockedSpan
NewMockedSpan creates a new mock instance.
func (*MockedSpan) AddEvent ¶
func (m *MockedSpan) AddEvent(arg0 string, arg1 ...trace.EventOption)
AddEvent mocks base method.
func (*MockedSpan) EXPECT ¶
func (m *MockedSpan) EXPECT() *MockedSpanMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockedSpan) End ¶
func (m *MockedSpan) End(arg0 ...trace.SpanEndOption)
End mocks base method.
func (*MockedSpan) IsRecording ¶
func (m *MockedSpan) IsRecording() bool
IsRecording mocks base method.
func (*MockedSpan) RecordError ¶
func (m *MockedSpan) RecordError(arg0 error, arg1 ...trace.EventOption)
RecordError mocks base method.
func (*MockedSpan) SetAttributes ¶
func (m *MockedSpan) SetAttributes(arg0 ...attribute.KeyValue)
SetAttributes mocks base method.
func (*MockedSpan) SetStatus ¶
func (m *MockedSpan) SetStatus(arg0 codes.Code, arg1 string)
SetStatus mocks base method.
func (*MockedSpan) SpanContext ¶
func (m *MockedSpan) SpanContext() trace.SpanContext
SpanContext mocks base method.
func (*MockedSpan) TracerProvider ¶
func (m *MockedSpan) TracerProvider() trace.TracerProvider
TracerProvider mocks base method.
type MockedSpanMockRecorder ¶
type MockedSpanMockRecorder struct {
// contains filtered or unexported fields
}
MockedSpanMockRecorder is the mock recorder for MockedSpan.
func (*MockedSpanMockRecorder) AddEvent ¶
func (mr *MockedSpanMockRecorder) AddEvent(arg0 interface{}, arg1 ...interface{}) *gomock.Call
AddEvent indicates an expected call of AddEvent.
func (*MockedSpanMockRecorder) End ¶
func (mr *MockedSpanMockRecorder) End(arg0 ...interface{}) *gomock.Call
End indicates an expected call of End.
func (*MockedSpanMockRecorder) IsRecording ¶
func (mr *MockedSpanMockRecorder) IsRecording() *gomock.Call
IsRecording indicates an expected call of IsRecording.
func (*MockedSpanMockRecorder) RecordError ¶
func (mr *MockedSpanMockRecorder) RecordError(arg0 interface{}, arg1 ...interface{}) *gomock.Call
RecordError indicates an expected call of RecordError.
func (*MockedSpanMockRecorder) SetAttributes ¶
func (mr *MockedSpanMockRecorder) SetAttributes(arg0 ...interface{}) *gomock.Call
SetAttributes indicates an expected call of SetAttributes.
func (*MockedSpanMockRecorder) SetName ¶
func (mr *MockedSpanMockRecorder) SetName(arg0 interface{}) *gomock.Call
SetName indicates an expected call of SetName.
func (*MockedSpanMockRecorder) SetStatus ¶
func (mr *MockedSpanMockRecorder) SetStatus(arg0, arg1 interface{}) *gomock.Call
SetStatus indicates an expected call of SetStatus.
func (*MockedSpanMockRecorder) SpanContext ¶
func (mr *MockedSpanMockRecorder) SpanContext() *gomock.Call
SpanContext indicates an expected call of SpanContext.
func (*MockedSpanMockRecorder) TracerProvider ¶
func (mr *MockedSpanMockRecorder) TracerProvider() *gomock.Call
TracerProvider indicates an expected call of TracerProvider.