-
Notifications
You must be signed in to change notification settings - Fork 2
/
tracer_mocks.go
60 lines (49 loc) · 1.57 KB
/
tracer_mocks.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Code generated by MockGen. DO NOT EDIT.
// Source: tracer.go
// Package klogga is a generated GoMock package.
package klogga
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockTracer is a mock of Tracer interface.
type MockTracer struct {
ctrl *gomock.Controller
recorder *MockTracerMockRecorder
}
// MockTracerMockRecorder is the mock recorder for MockTracer.
type MockTracerMockRecorder struct {
mock *MockTracer
}
// NewMockTracer creates a new mock instance.
func NewMockTracer(ctrl *gomock.Controller) *MockTracer {
mock := &MockTracer{ctrl: ctrl}
mock.recorder = &MockTracerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockTracer) EXPECT() *MockTracerMockRecorder {
return m.recorder
}
// Finish mocks base method.
func (m *MockTracer) Finish(span *Span) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "Finish", span)
}
// Finish indicates an expected call of Finish.
func (mr *MockTracerMockRecorder) Finish(span interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Finish", reflect.TypeOf((*MockTracer)(nil).Finish), span)
}
// Name mocks base method.
func (m *MockTracer) Name() ComponentName {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Name")
ret0, _ := ret[0].(ComponentName)
return ret0
}
// Name indicates an expected call of Name.
func (mr *MockTracerMockRecorder) Name() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Name", reflect.TypeOf((*MockTracer)(nil).Name))
}