Documentation ¶
Index ¶
- type IMetricRecorder
- func (_m *IMetricRecorder) RecordCounterMetric(metric *prometheus.CounterVec, labels map[string]string)
- func (_m *IMetricRecorder) RecordGaugeMetric(metric *prometheus.GaugeVec, labels map[string]string, value float64)
- func (_m *IMetricRecorder) WithNamespace(_a0 string) *metrics.MetricRecorder
- func (_m *IMetricRecorder) WithProject(_a0 string) *metrics.MetricRecorder
- func (_m *IMetricRecorder) WithSlice(_a0 string) *metrics.MetricRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMetricRecorder ¶
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
Click to show internal directories.
Click to hide internal directories.