mocks

package
v2.13.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrometheusBackend

type PrometheusBackend struct {
	mock.Mock
}

PrometheusBackend is an autogenerated mock type for the PrometheusBackend type

func NewPrometheusBackend

func NewPrometheusBackend(t interface {
	mock.TestingT
	Cleanup(func())
}) *PrometheusBackend

NewPrometheusBackend creates a new instance of PrometheusBackend. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PrometheusBackend) SetAcceptFinalizedReportToTransmitAcceptedReportLatency

func (_m *PrometheusBackend) SetAcceptFinalizedReportToTransmitAcceptedReportLatency(_a0 []string, _a1 float64)

SetAcceptFinalizedReportToTransmitAcceptedReportLatency provides a mock function with given fields: _a0, _a1

func (*PrometheusBackend) SetCloseDuration

func (_m *PrometheusBackend) SetCloseDuration(_a0 []string, _a1 float64)

SetCloseDuration provides a mock function with given fields: _a0, _a1

func (*PrometheusBackend) SetObservationDuration

func (_m *PrometheusBackend) SetObservationDuration(_a0 []string, _a1 float64)

SetObservationDuration provides a mock function with given fields: _a0, _a1

func (*PrometheusBackend) SetObservationToReportLatency

func (_m *PrometheusBackend) SetObservationToReportLatency(_a0 []string, _a1 float64)

SetObservationToReportLatency provides a mock function with given fields: _a0, _a1

func (*PrometheusBackend) SetQueryDuration

func (_m *PrometheusBackend) SetQueryDuration(_a0 []string, _a1 float64)

SetQueryDuration provides a mock function with given fields: _a0, _a1

func (*PrometheusBackend) SetQueryToObservationLatency

func (_m *PrometheusBackend) SetQueryToObservationLatency(_a0 []string, _a1 float64)

SetQueryToObservationLatency provides a mock function with given fields: _a0, _a1

func (*PrometheusBackend) SetReportDuration

func (_m *PrometheusBackend) SetReportDuration(_a0 []string, _a1 float64)

SetReportDuration provides a mock function with given fields: _a0, _a1

func (*PrometheusBackend) SetReportToAcceptFinalizedReportLatency

func (_m *PrometheusBackend) SetReportToAcceptFinalizedReportLatency(_a0 []string, _a1 float64)

SetReportToAcceptFinalizedReportLatency provides a mock function with given fields: _a0, _a1

func (*PrometheusBackend) SetShouldAcceptFinalizedReportDuration

func (_m *PrometheusBackend) SetShouldAcceptFinalizedReportDuration(_a0 []string, _a1 float64)

SetShouldAcceptFinalizedReportDuration provides a mock function with given fields: _a0, _a1

func (*PrometheusBackend) SetShouldTransmitAcceptedReportDuration

func (_m *PrometheusBackend) SetShouldTransmitAcceptedReportDuration(_a0 []string, _a1 float64)

SetShouldTransmitAcceptedReportDuration provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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