Documentation ¶
Overview ¶
Package mock_stats is a generated GoMock package.
Index ¶
- type MockMeasurement
- func (m *MockMeasurement) Count(arg0 int)
- func (m *MockMeasurement) EXPECT() *MockMeasurementMockRecorder
- func (m *MockMeasurement) End()
- func (m *MockMeasurement) Gauge(arg0 interface{})
- func (m *MockMeasurement) Increment()
- func (m *MockMeasurement) Observe(arg0 float64)
- func (m *MockMeasurement) SendTiming(arg0 time.Duration)
- func (m *MockMeasurement) Since(arg0 time.Time)
- func (m *MockMeasurement) Start()
- type MockMeasurementMockRecorder
- func (mr *MockMeasurementMockRecorder) Count(arg0 interface{}) *gomock.Call
- func (mr *MockMeasurementMockRecorder) End() *gomock.Call
- func (mr *MockMeasurementMockRecorder) Gauge(arg0 interface{}) *gomock.Call
- func (mr *MockMeasurementMockRecorder) Increment() *gomock.Call
- func (mr *MockMeasurementMockRecorder) Observe(arg0 interface{}) *gomock.Call
- func (mr *MockMeasurementMockRecorder) SendTiming(arg0 interface{}) *gomock.Call
- func (mr *MockMeasurementMockRecorder) Since(arg0 interface{}) *gomock.Call
- func (mr *MockMeasurementMockRecorder) Start() *gomock.Call
- type MockStats
- func (m *MockStats) EXPECT() *MockStatsMockRecorder
- func (m *MockStats) NewSampledTaggedStat(arg0, arg1 string, arg2 stats.Tags) stats.Measurement
- func (m *MockStats) NewStat(arg0, arg1 string) stats.Measurement
- func (m *MockStats) NewTaggedStat(arg0, arg1 string, arg2 stats.Tags) stats.Measurement
- func (m *MockStats) Start(arg0 context.Context)
- func (m *MockStats) Stop()
- type MockStatsMockRecorder
- func (mr *MockStatsMockRecorder) NewSampledTaggedStat(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) NewStat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) NewTaggedStat(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMeasurement ¶ added in v1.2.0
type MockMeasurement struct {
// contains filtered or unexported fields
}
MockMeasurement is a mock of Measurement interface.
func NewMockMeasurement ¶ added in v1.2.0
func NewMockMeasurement(ctrl *gomock.Controller) *MockMeasurement
NewMockMeasurement creates a new mock instance.
func (*MockMeasurement) Count ¶ added in v1.2.0
func (m *MockMeasurement) Count(arg0 int)
Count mocks base method.
func (*MockMeasurement) EXPECT ¶ added in v1.2.0
func (m *MockMeasurement) EXPECT() *MockMeasurementMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMeasurement) End ¶ added in v1.2.0
func (m *MockMeasurement) End()
End mocks base method.
func (*MockMeasurement) Gauge ¶ added in v1.2.0
func (m *MockMeasurement) Gauge(arg0 interface{})
Gauge mocks base method.
func (*MockMeasurement) Increment ¶ added in v1.2.0
func (m *MockMeasurement) Increment()
Increment mocks base method.
func (*MockMeasurement) Observe ¶ added in v1.2.0
func (m *MockMeasurement) Observe(arg0 float64)
Observe mocks base method.
func (*MockMeasurement) SendTiming ¶ added in v1.2.0
func (m *MockMeasurement) SendTiming(arg0 time.Duration)
SendTiming mocks base method.
func (*MockMeasurement) Since ¶ added in v1.2.0
func (m *MockMeasurement) Since(arg0 time.Time)
Since mocks base method.
func (*MockMeasurement) Start ¶ added in v1.2.0
func (m *MockMeasurement) Start()
Start mocks base method.
type MockMeasurementMockRecorder ¶ added in v1.2.0
type MockMeasurementMockRecorder struct {
// contains filtered or unexported fields
}
MockMeasurementMockRecorder is the mock recorder for MockMeasurement.
func (*MockMeasurementMockRecorder) Count ¶ added in v1.2.0
func (mr *MockMeasurementMockRecorder) Count(arg0 interface{}) *gomock.Call
Count indicates an expected call of Count.
func (*MockMeasurementMockRecorder) End ¶ added in v1.2.0
func (mr *MockMeasurementMockRecorder) End() *gomock.Call
End indicates an expected call of End.
func (*MockMeasurementMockRecorder) Gauge ¶ added in v1.2.0
func (mr *MockMeasurementMockRecorder) Gauge(arg0 interface{}) *gomock.Call
Gauge indicates an expected call of Gauge.
func (*MockMeasurementMockRecorder) Increment ¶ added in v1.2.0
func (mr *MockMeasurementMockRecorder) Increment() *gomock.Call
Increment indicates an expected call of Increment.
func (*MockMeasurementMockRecorder) Observe ¶ added in v1.2.0
func (mr *MockMeasurementMockRecorder) Observe(arg0 interface{}) *gomock.Call
Observe indicates an expected call of Observe.
func (*MockMeasurementMockRecorder) SendTiming ¶ added in v1.2.0
func (mr *MockMeasurementMockRecorder) SendTiming(arg0 interface{}) *gomock.Call
SendTiming indicates an expected call of SendTiming.
func (*MockMeasurementMockRecorder) Since ¶ added in v1.2.0
func (mr *MockMeasurementMockRecorder) Since(arg0 interface{}) *gomock.Call
Since indicates an expected call of Since.
func (*MockMeasurementMockRecorder) Start ¶ added in v1.2.0
func (mr *MockMeasurementMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
type MockStats ¶
type MockStats struct {
// contains filtered or unexported fields
}
MockStats is a mock of Stats interface.
func NewMockStats ¶
func NewMockStats(ctrl *gomock.Controller) *MockStats
NewMockStats creates a new mock instance.
func (*MockStats) EXPECT ¶
func (m *MockStats) EXPECT() *MockStatsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStats) NewSampledTaggedStat ¶
NewSampledTaggedStat mocks base method.
func (*MockStats) NewStat ¶
func (m *MockStats) NewStat(arg0, arg1 string) stats.Measurement
NewStat mocks base method.
func (*MockStats) NewTaggedStat ¶
NewTaggedStat mocks base method.
type MockStatsMockRecorder ¶
type MockStatsMockRecorder struct {
// contains filtered or unexported fields
}
MockStatsMockRecorder is the mock recorder for MockStats.
func (*MockStatsMockRecorder) NewSampledTaggedStat ¶
func (mr *MockStatsMockRecorder) NewSampledTaggedStat(arg0, arg1, arg2 interface{}) *gomock.Call
NewSampledTaggedStat indicates an expected call of NewSampledTaggedStat.
func (*MockStatsMockRecorder) NewStat ¶
func (mr *MockStatsMockRecorder) NewStat(arg0, arg1 interface{}) *gomock.Call
NewStat indicates an expected call of NewStat.
func (*MockStatsMockRecorder) NewTaggedStat ¶
func (mr *MockStatsMockRecorder) NewTaggedStat(arg0, arg1, arg2 interface{}) *gomock.Call
NewTaggedStat indicates an expected call of NewTaggedStat.
func (*MockStatsMockRecorder) Start ¶ added in v1.2.0
func (mr *MockStatsMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockStatsMockRecorder) Stop ¶ added in v1.2.0
func (mr *MockStatsMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.