Documentation ¶
Index ¶
- type Measurements
- func (_m *Measurements) AgentMetrics(ctx context.Context, id []string, options ...stats.QueryOption) (stats.MetricData, error)
- func (_m *Measurements) Clear()
- func (_m *Measurements) ConfigurationMetrics(ctx context.Context, name string, options ...stats.QueryOption) (stats.MetricData, error)
- func (_m *Measurements) MeasurementsSize() (int, error)
- func (_m *Measurements) OverviewMetrics(ctx context.Context, options ...stats.QueryOption) (stats.MetricData, error)
- func (_m *Measurements) ProcessMetrics(ctx context.Context) error
- func (_m *Measurements) SaveAgentMetrics(ctx context.Context, metrics []*record.Metric) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Measurements ¶
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 ¶
SaveAgentMetrics provides a mock function with given fields: ctx, metrics