mocks

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 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 MockMeasurements added in v1.9.1

type MockMeasurements struct {
	mock.Mock
}

MockMeasurements is an autogenerated mock type for the Measurements type

func NewMockMeasurements added in v1.9.1

func NewMockMeasurements(t mockConstructorTestingTNewMockMeasurements) *MockMeasurements

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

func (*MockMeasurements) AgentMetrics added in v1.9.1

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

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

func (*MockMeasurements) Clear added in v1.9.1

func (_m *MockMeasurements) Clear()

Clear provides a mock function with given fields:

func (*MockMeasurements) ConfigurationMetrics added in v1.9.1

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

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

func (*MockMeasurements) MeasurementsSize added in v1.9.1

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

MeasurementsSize provides a mock function with given fields:

func (*MockMeasurements) OverviewMetrics added in v1.9.1

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

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

func (*MockMeasurements) ProcessMetrics added in v1.9.1

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

ProcessMetrics provides a mock function with given fields: ctx

func (*MockMeasurements) SaveAgentMetrics added in v1.9.1

func (_m *MockMeasurements) 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