mock_stats

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 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 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

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

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

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

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) Start added in v1.2.0

func (m *MockStats) Start(arg0 context.Context)

Start mocks base method.

func (*MockStats) Stop added in v1.2.0

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) 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.

Jump to

Keyboard shortcuts

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