mock_metrics

package
v0.13.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_metrics is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCounter

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

MockCounter is a mock of Counter interface.

func NewMockCounter

func NewMockCounter(ctrl *gomock.Controller) *MockCounter

NewMockCounter creates a new mock instance.

func (*MockCounter) Add

func (m *MockCounter) Add(arg0 float64)

Add mocks base method.

func (*MockCounter) EXPECT

func (m *MockCounter) EXPECT() *MockCounterMockRecorder

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

func (*MockCounter) With

func (m *MockCounter) With(arg0 ...string) metrics.Counter

With mocks base method.

type MockCounterMockRecorder

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

MockCounterMockRecorder is the mock recorder for MockCounter.

func (*MockCounterMockRecorder) Add

func (mr *MockCounterMockRecorder) Add(arg0 any) *gomock.Call

Add indicates an expected call of Add.

func (*MockCounterMockRecorder) With

func (mr *MockCounterMockRecorder) With(arg0 ...any) *gomock.Call

With indicates an expected call of With.

type MockGauge

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

MockGauge is a mock of Gauge interface.

func NewMockGauge

func NewMockGauge(ctrl *gomock.Controller) *MockGauge

NewMockGauge creates a new mock instance.

func (*MockGauge) Add

func (m *MockGauge) Add(arg0 float64)

Add mocks base method.

func (*MockGauge) EXPECT

func (m *MockGauge) EXPECT() *MockGaugeMockRecorder

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

func (*MockGauge) Set

func (m *MockGauge) Set(arg0 float64)

Set mocks base method.

func (*MockGauge) With

func (m *MockGauge) With(arg0 ...string) metrics.Gauge

With mocks base method.

type MockGaugeMockRecorder

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

MockGaugeMockRecorder is the mock recorder for MockGauge.

func (*MockGaugeMockRecorder) Add

func (mr *MockGaugeMockRecorder) Add(arg0 any) *gomock.Call

Add indicates an expected call of Add.

func (*MockGaugeMockRecorder) Set

func (mr *MockGaugeMockRecorder) Set(arg0 any) *gomock.Call

Set indicates an expected call of Set.

func (*MockGaugeMockRecorder) With

func (mr *MockGaugeMockRecorder) With(arg0 ...any) *gomock.Call

With indicates an expected call of With.

Jump to

Keyboard shortcuts

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