mocks

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMetricsRegistry

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

MockMetricsRegistry is a mock of MetricsRegistry interface.

func NewMockMetricsRegistry

func NewMockMetricsRegistry(ctrl *gomock.Controller) *MockMetricsRegistry

NewMockMetricsRegistry creates a new mock instance.

func (*MockMetricsRegistry) Counter

func (m *MockMetricsRegistry) Counter(name string, labels metrics.Labels)

Counter mocks base method.

func (*MockMetricsRegistry) EXPECT

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

func (*MockMetricsRegistry) Gauge

func (m *MockMetricsRegistry) Gauge(name string, value float64, labels metrics.Labels)

Gauge mocks base method.

func (*MockMetricsRegistry) GetMetrics

func (m *MockMetricsRegistry) GetMetrics() map[string]*metrics.Metric

GetMetrics mocks base method.

func (*MockMetricsRegistry) Histogram

func (m *MockMetricsRegistry) Histogram(name string, value float64, labels metrics.Labels)

Histogram mocks base method.

func (*MockMetricsRegistry) IsEnabled

func (m *MockMetricsRegistry) IsEnabled() bool

IsEnabled mocks base method.

func (*MockMetricsRegistry) Reset

func (m *MockMetricsRegistry) Reset()

Reset mocks base method.

func (*MockMetricsRegistry) SetEnabled

func (m *MockMetricsRegistry) SetEnabled(enabled bool)

SetEnabled mocks base method.

type MockMetricsRegistryMockRecorder

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

MockMetricsRegistryMockRecorder is the mock recorder for MockMetricsRegistry.

func (*MockMetricsRegistryMockRecorder) Counter

func (mr *MockMetricsRegistryMockRecorder) Counter(name, labels any) *gomock.Call

Counter indicates an expected call of Counter.

func (*MockMetricsRegistryMockRecorder) Gauge

func (mr *MockMetricsRegistryMockRecorder) Gauge(name, value, labels any) *gomock.Call

Gauge indicates an expected call of Gauge.

func (*MockMetricsRegistryMockRecorder) GetMetrics

func (mr *MockMetricsRegistryMockRecorder) GetMetrics() *gomock.Call

GetMetrics indicates an expected call of GetMetrics.

func (*MockMetricsRegistryMockRecorder) Histogram

func (mr *MockMetricsRegistryMockRecorder) Histogram(name, value, labels any) *gomock.Call

Histogram indicates an expected call of Histogram.

func (*MockMetricsRegistryMockRecorder) IsEnabled

func (mr *MockMetricsRegistryMockRecorder) IsEnabled() *gomock.Call

IsEnabled indicates an expected call of IsEnabled.

func (*MockMetricsRegistryMockRecorder) Reset

Reset indicates an expected call of Reset.

func (*MockMetricsRegistryMockRecorder) SetEnabled

func (mr *MockMetricsRegistryMockRecorder) SetEnabled(enabled any) *gomock.Call

SetEnabled indicates an expected call of SetEnabled.

Jump to

Keyboard shortcuts

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