mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter added in v1.0.0

type Counter struct {
	mock.Mock
}

Counter is an autogenerated mock type for the Counter type

func (*Counter) Add added in v1.0.0

func (_m *Counter) Add(_a0 float64)

Add provides a mock function with given fields: _a0

func (*Counter) Collect added in v1.0.0

func (_m *Counter) Collect(_a0 chan<- prometheus.Metric)

Collect provides a mock function with given fields: _a0

func (*Counter) Desc added in v1.0.0

func (_m *Counter) Desc() *prometheus.Desc

Desc provides a mock function with given fields:

func (*Counter) Describe added in v1.0.0

func (_m *Counter) Describe(_a0 chan<- *prometheus.Desc)

Describe provides a mock function with given fields: _a0

func (*Counter) Inc added in v1.0.0

func (_m *Counter) Inc()

Inc provides a mock function with given fields:

func (*Counter) Write added in v1.0.0

func (_m *Counter) Write(_a0 *io_prometheus_client.Metric) error

Write provides a mock function with given fields: _a0

type Gauge

type Gauge struct {
	mock.Mock
}

Gauge is an autogenerated mock type for the Gauge type

func (*Gauge) Add

func (_m *Gauge) Add(_a0 float64)

Add provides a mock function with given fields: _a0

func (*Gauge) Collect

func (_m *Gauge) Collect(_a0 chan<- prometheus.Metric)

Collect provides a mock function with given fields: _a0

func (*Gauge) Dec

func (_m *Gauge) Dec()

Dec provides a mock function with given fields:

func (*Gauge) Desc

func (_m *Gauge) Desc() *prometheus.Desc

Desc provides a mock function with given fields:

func (*Gauge) Describe

func (_m *Gauge) Describe(_a0 chan<- *prometheus.Desc)

Describe provides a mock function with given fields: _a0

func (*Gauge) Inc

func (_m *Gauge) Inc()

Inc provides a mock function with given fields:

func (*Gauge) Set

func (_m *Gauge) Set(_a0 float64)

Set provides a mock function with given fields: _a0

func (*Gauge) SetToCurrentTime

func (_m *Gauge) SetToCurrentTime()

SetToCurrentTime provides a mock function with given fields:

func (*Gauge) Sub

func (_m *Gauge) Sub(_a0 float64)

Sub provides a mock function with given fields: _a0

func (*Gauge) Write

func (_m *Gauge) Write(_a0 *io_prometheus_client.Metric) error

Write provides a mock function with given fields: _a0

type Registerer added in v1.0.0

type Registerer struct {
	mock.Mock
}

Registerer is an autogenerated mock type for the Registerer type

func (*Registerer) MustRegister added in v1.0.0

func (_m *Registerer) MustRegister(_a0 ...prometheus.Collector)

MustRegister provides a mock function with given fields: _a0

func (*Registerer) Register added in v1.0.0

func (_m *Registerer) Register(_a0 prometheus.Collector) error

Register provides a mock function with given fields: _a0

func (*Registerer) Unregister added in v1.0.0

func (_m *Registerer) Unregister(_a0 prometheus.Collector) bool

Unregister 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