mocks

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Observer

type Observer struct {
	prometheus.Observer
	mock.Mock
}

Observer is a mock type for the prometheus.Observer type.

func (*Observer) Observe

func (m *Observer) Observe(f float64)

type ObserverVec

type ObserverVec struct {
	prometheus.ObserverVec
	mock.Mock
}

ObserverVec is a mock type for the prometheus.ObserverVec type.

func (*ObserverVec) With

Jump to

Keyboard shortcuts

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