mocks

package
v0.0.0-...-3641ea5 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 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 MockHistogram

type MockHistogram struct {
	mock.Mock
}

func (*MockHistogram) Collect

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

func (*MockHistogram) CurryWith

func (m *MockHistogram) CurryWith(labels prometheus.Labels) (prometheus.ObserverVec, error)

func (*MockHistogram) Describe

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

func (*MockHistogram) GetMetricWith

func (m *MockHistogram) GetMetricWith(labels prometheus.Labels) (prometheus.Observer, error)

func (*MockHistogram) GetMetricWithLabelValues

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

func (*MockHistogram) MustCurryWith

func (m *MockHistogram) MustCurryWith(labels prometheus.Labels) prometheus.ObserverVec

func (*MockHistogram) With

func (*MockHistogram) WithLabelValues

func (m *MockHistogram) WithLabelValues(lvs ...string) prometheus.Observer

type MockObserver

type MockObserver struct {
	mock.Mock
}

func (*MockObserver) Observe

func (m *MockObserver) Observe(v float64)

Jump to

Keyboard shortcuts

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