mock

package
v0.0.0-...-a6f58e9 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistogramMock

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

func NewHistogramMock

func NewHistogramMock() *HistogramMock

func (HistogramMock) Collect

func (HistogramMock) Collect(chan<- prometheus.Metric)

func (HistogramMock) Desc

func (HistogramMock) Desc() *prometheus.Desc

func (HistogramMock) Describe

func (HistogramMock) Describe(chan<- *prometheus.Desc)

func (HistogramMock) Observe

func (h HistogramMock) Observe(value float64)

func (HistogramMock) Write

func (HistogramMock) Write(*io_prometheus_client.Metric) error

type HistorgramVecMock

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

func NewHistogramVecMock

func NewHistogramVecMock() *HistorgramVecMock

func (*HistorgramVecMock) Collect

func (m *HistorgramVecMock) Collect(chan<- prometheus.Metric)

func (*HistorgramVecMock) CurryWith

func (*HistorgramVecMock) Describe

func (m *HistorgramVecMock) Describe(chan<- *prometheus.Desc)

func (*HistorgramVecMock) GetMetricWith

func (*HistorgramVecMock) GetMetricWithLabelValues

func (m *HistorgramVecMock) GetMetricWithLabelValues(lvs ...string) (prometheus.Observer, error)

func (*HistorgramVecMock) GetSum

func (m *HistorgramVecMock) GetSum() float64

func (*HistorgramVecMock) MustCurryWith

func (*HistorgramVecMock) With

func (*HistorgramVecMock) WithLabelValues

func (m *HistorgramVecMock) WithLabelValues(...string) prometheus.Observer

Jump to

Keyboard shortcuts

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