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) Gauge(arg0 interface{})
- func (m *MockMeasurement) Increment()
- func (m *MockMeasurement) Observe(arg0 float64)
- func (m *MockMeasurement) RecordDuration() func()
- func (m *MockMeasurement) SendTiming(arg0 time.Duration)
- func (m *MockMeasurement) Since(arg0 time.Time)
- type MockMeasurementMockRecorder
- func (mr *MockMeasurementMockRecorder) Count(arg0 interface{}) *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) RecordDuration() *gomock.Call
- func (mr *MockMeasurementMockRecorder) SendTiming(arg0 interface{}) *gomock.Call
- func (mr *MockMeasurementMockRecorder) Since(arg0 interface{}) *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) 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) RecordDuration ¶ added in v1.5.0
func (m *MockMeasurement) RecordDuration() func()
RecordDuration 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.
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) 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) RecordDuration ¶ added in v1.5.0
func (mr *MockMeasurementMockRecorder) RecordDuration() *gomock.Call
RecordDuration indicates an expected call of RecordDuration.
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.
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.