mocks

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Measurements

type Measurements struct {
	mock.Mock
}

Measurements is an autogenerated mock type for the Measurements type

func NewMeasurements

func NewMeasurements(t mockConstructorTestingTNewMeasurements) *Measurements

NewMeasurements creates a new instance of Measurements. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Measurements) AgentMetrics

func (_m *Measurements) AgentMetrics(ctx context.Context, id []string, options ...stats.QueryOption) (stats.MetricData, error)

AgentMetrics provides a mock function with given fields: ctx, id, options

func (*Measurements) Clear

func (_m *Measurements) Clear()

Clear provides a mock function with given fields:

func (*Measurements) ConfigurationMetrics

func (_m *Measurements) ConfigurationMetrics(ctx context.Context, name string, options ...stats.QueryOption) (stats.MetricData, error)

ConfigurationMetrics provides a mock function with given fields: ctx, name, options

func (*Measurements) MeasurementsSize

func (_m *Measurements) MeasurementsSize() (int, error)

MeasurementsSize provides a mock function with given fields:

func (*Measurements) OverviewMetrics

func (_m *Measurements) OverviewMetrics(ctx context.Context, options ...stats.QueryOption) (stats.MetricData, error)

OverviewMetrics provides a mock function with given fields: ctx, options

func (*Measurements) ProcessMetrics

func (_m *Measurements) ProcessMetrics(ctx context.Context) error

ProcessMetrics provides a mock function with given fields: ctx

func (*Measurements) SaveAgentMetrics

func (_m *Measurements) SaveAgentMetrics(ctx context.Context, metrics []*record.Metric) error

SaveAgentMetrics provides a mock function with given fields: ctx, metrics

Jump to

Keyboard shortcuts

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