mocks

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMetricRecorder

type IMetricRecorder struct {
	mock.Mock
}

IMetricRecorder is an autogenerated mock type for the IMetricRecorder type

func NewIMetricRecorder

func NewIMetricRecorder(t mockConstructorTestingTNewIMetricRecorder) *IMetricRecorder

NewIMetricRecorder creates a new instance of IMetricRecorder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*IMetricRecorder) RecordCounterMetric

func (_m *IMetricRecorder) RecordCounterMetric(metric *prometheus.CounterVec, labels map[string]string)

RecordCounterMetric provides a mock function with given fields: metric, labels

func (*IMetricRecorder) RecordGaugeMetric

func (_m *IMetricRecorder) RecordGaugeMetric(metric *prometheus.GaugeVec, labels map[string]string, value float64)

RecordGaugeMetric provides a mock function with given fields: metric, labels, value

func (*IMetricRecorder) WithNamespace

func (_m *IMetricRecorder) WithNamespace(_a0 string) *metrics.MetricRecorder

WithNamespace provides a mock function with given fields: _a0

func (*IMetricRecorder) WithProject

func (_m *IMetricRecorder) WithProject(_a0 string) *metrics.MetricRecorder

WithProject provides a mock function with given fields: _a0

func (*IMetricRecorder) WithSlice

func (_m *IMetricRecorder) WithSlice(_a0 string) *metrics.MetricRecorder

WithSlice provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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