Documentation ¶
Overview ¶
Package tallymock is a generated GoMock package.
Index ¶
- type MockStatsReporter
- func (m *MockStatsReporter) Capabilities() tally.Capabilities
- func (m *MockStatsReporter) EXPECT() *MockStatsReporterMockRecorder
- func (m *MockStatsReporter) Flush()
- func (m *MockStatsReporter) ReportCounter(arg0 string, arg1 map[string]string, arg2 int64)
- func (m *MockStatsReporter) ReportGauge(arg0 string, arg1 map[string]string, arg2 float64)
- func (m *MockStatsReporter) ReportHistogramDurationSamples(arg0 string, arg1 map[string]string, arg2 tally.Buckets, ...)
- func (m *MockStatsReporter) ReportHistogramValueSamples(arg0 string, arg1 map[string]string, arg2 tally.Buckets, arg3, arg4 float64, ...)
- func (m *MockStatsReporter) ReportTimer(arg0 string, arg1 map[string]string, arg2 time.Duration)
- type MockStatsReporterMockRecorder
- func (mr *MockStatsReporterMockRecorder) Capabilities() *gomock.Call
- func (mr *MockStatsReporterMockRecorder) Flush() *gomock.Call
- func (mr *MockStatsReporterMockRecorder) ReportCounter(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStatsReporterMockRecorder) ReportGauge(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStatsReporterMockRecorder) ReportHistogramDurationSamples(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockStatsReporterMockRecorder) ReportHistogramValueSamples(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockStatsReporterMockRecorder) ReportTimer(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStatsReporter ¶
type MockStatsReporter struct {
// contains filtered or unexported fields
}
MockStatsReporter is a mock of StatsReporter interface.
func NewMockStatsReporter ¶
func NewMockStatsReporter(ctrl *gomock.Controller) *MockStatsReporter
NewMockStatsReporter creates a new mock instance.
func (*MockStatsReporter) Capabilities ¶
func (m *MockStatsReporter) Capabilities() tally.Capabilities
Capabilities mocks base method.
func (*MockStatsReporter) EXPECT ¶
func (m *MockStatsReporter) EXPECT() *MockStatsReporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatsReporter) ReportCounter ¶
func (m *MockStatsReporter) ReportCounter(arg0 string, arg1 map[string]string, arg2 int64)
ReportCounter mocks base method.
func (*MockStatsReporter) ReportGauge ¶
func (m *MockStatsReporter) ReportGauge(arg0 string, arg1 map[string]string, arg2 float64)
ReportGauge mocks base method.
func (*MockStatsReporter) ReportHistogramDurationSamples ¶
func (m *MockStatsReporter) ReportHistogramDurationSamples(arg0 string, arg1 map[string]string, arg2 tally.Buckets, arg3, arg4 time.Duration, arg5 int64)
ReportHistogramDurationSamples mocks base method.
func (*MockStatsReporter) ReportHistogramValueSamples ¶
func (m *MockStatsReporter) ReportHistogramValueSamples(arg0 string, arg1 map[string]string, arg2 tally.Buckets, arg3, arg4 float64, arg5 int64)
ReportHistogramValueSamples mocks base method.
func (*MockStatsReporter) ReportTimer ¶
ReportTimer mocks base method.
type MockStatsReporterMockRecorder ¶
type MockStatsReporterMockRecorder struct {
// contains filtered or unexported fields
}
MockStatsReporterMockRecorder is the mock recorder for MockStatsReporter.
func (*MockStatsReporterMockRecorder) Capabilities ¶
func (mr *MockStatsReporterMockRecorder) Capabilities() *gomock.Call
Capabilities indicates an expected call of Capabilities.
func (*MockStatsReporterMockRecorder) Flush ¶
func (mr *MockStatsReporterMockRecorder) Flush() *gomock.Call
Flush indicates an expected call of Flush.
func (*MockStatsReporterMockRecorder) ReportCounter ¶
func (mr *MockStatsReporterMockRecorder) ReportCounter(arg0, arg1, arg2 interface{}) *gomock.Call
ReportCounter indicates an expected call of ReportCounter.
func (*MockStatsReporterMockRecorder) ReportGauge ¶
func (mr *MockStatsReporterMockRecorder) ReportGauge(arg0, arg1, arg2 interface{}) *gomock.Call
ReportGauge indicates an expected call of ReportGauge.
func (*MockStatsReporterMockRecorder) ReportHistogramDurationSamples ¶
func (mr *MockStatsReporterMockRecorder) ReportHistogramDurationSamples(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
ReportHistogramDurationSamples indicates an expected call of ReportHistogramDurationSamples.
func (*MockStatsReporterMockRecorder) ReportHistogramValueSamples ¶
func (mr *MockStatsReporterMockRecorder) ReportHistogramValueSamples(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
ReportHistogramValueSamples indicates an expected call of ReportHistogramValueSamples.
func (*MockStatsReporterMockRecorder) ReportTimer ¶
func (mr *MockStatsReporterMockRecorder) ReportTimer(arg0, arg1, arg2 interface{}) *gomock.Call
ReportTimer indicates an expected call of ReportTimer.