tallymock

package
v3.5.5+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package tallymock is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStatsReporter) Flush

func (m *MockStatsReporter) Flush()

Flush mocks base method.

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

func (m *MockStatsReporter) ReportTimer(arg0 string, arg1 map[string]string, arg2 time.Duration)

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL