mock_stats

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_stats is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMeasurement

type MockMeasurement struct {
	// contains filtered or unexported fields
}

MockMeasurement is a mock of Measurement interface.

func NewMockMeasurement

func NewMockMeasurement(ctrl *gomock.Controller) *MockMeasurement

NewMockMeasurement creates a new mock instance.

func (*MockMeasurement) Count

func (m *MockMeasurement) Count(arg0 int)

Count mocks base method.

func (*MockMeasurement) EXPECT

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

func (*MockMeasurement) Gauge

func (m *MockMeasurement) Gauge(arg0 interface{})

Gauge mocks base method.

func (*MockMeasurement) Increment

func (m *MockMeasurement) Increment()

Increment mocks base method.

func (*MockMeasurement) Observe

func (m *MockMeasurement) Observe(arg0 float64)

Observe mocks base method.

func (*MockMeasurement) RecordDuration

func (m *MockMeasurement) RecordDuration() func()

RecordDuration mocks base method.

func (*MockMeasurement) SendTiming

func (m *MockMeasurement) SendTiming(arg0 time.Duration)

SendTiming mocks base method.

func (*MockMeasurement) Since

func (m *MockMeasurement) Since(arg0 time.Time)

Since mocks base method.

type MockMeasurementMockRecorder

type MockMeasurementMockRecorder struct {
	// contains filtered or unexported fields
}

MockMeasurementMockRecorder is the mock recorder for MockMeasurement.

func (*MockMeasurementMockRecorder) Count

func (mr *MockMeasurementMockRecorder) Count(arg0 interface{}) *gomock.Call

Count indicates an expected call of Count.

func (*MockMeasurementMockRecorder) Gauge

func (mr *MockMeasurementMockRecorder) Gauge(arg0 interface{}) *gomock.Call

Gauge indicates an expected call of Gauge.

func (*MockMeasurementMockRecorder) Increment

func (mr *MockMeasurementMockRecorder) Increment() *gomock.Call

Increment indicates an expected call of Increment.

func (*MockMeasurementMockRecorder) Observe

func (mr *MockMeasurementMockRecorder) Observe(arg0 interface{}) *gomock.Call

Observe indicates an expected call of Observe.

func (*MockMeasurementMockRecorder) RecordDuration

func (mr *MockMeasurementMockRecorder) RecordDuration() *gomock.Call

RecordDuration indicates an expected call of RecordDuration.

func (*MockMeasurementMockRecorder) SendTiming

func (mr *MockMeasurementMockRecorder) SendTiming(arg0 interface{}) *gomock.Call

SendTiming indicates an expected call of SendTiming.

func (*MockMeasurementMockRecorder) Since

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

func (m *MockStats) NewSampledTaggedStat(arg0, arg1 string, arg2 stats.Tags) stats.Measurement

NewSampledTaggedStat mocks base method.

func (*MockStats) NewStat

func (m *MockStats) NewStat(arg0, arg1 string) stats.Measurement

NewStat mocks base method.

func (*MockStats) NewTaggedStat

func (m *MockStats) NewTaggedStat(arg0, arg1 string, arg2 stats.Tags) stats.Measurement

NewTaggedStat mocks base method.

func (*MockStats) NewTracer added in v0.19.0

func (m *MockStats) NewTracer(arg0 string) stats.Tracer

NewTracer mocks base method.

func (*MockStats) Start

func (m *MockStats) Start(arg0 context.Context, arg1 stats.GoRoutineFactory) error

Start mocks base method.

func (*MockStats) Stop

func (m *MockStats) Stop()

Stop 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) NewTracer added in v0.19.0

func (mr *MockStatsMockRecorder) NewTracer(arg0 interface{}) *gomock.Call

NewTracer indicates an expected call of NewTracer.

func (*MockStatsMockRecorder) Start

func (mr *MockStatsMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockStatsMockRecorder) Stop

func (mr *MockStatsMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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