controller

package
v0.2.1-0...-b772245 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 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 Controller

type Controller struct {
	mock.Mock
}

Controller is an autogenerated mock type for the Controller type

func (*Controller) GetRangeMetrics

func (_m *Controller) GetRangeMetrics(ctx context.Context, query model.Query, start time.Time, end time.Time, step time.Duration) ([]model.MetricSeries, error)

GetRangeMetrics provides a mock function with given fields: ctx, query, start, end, step

func (*Controller) GetSingleInstantMetric

func (_m *Controller) GetSingleInstantMetric(ctx context.Context, query model.Query) (*model.Metric, error)

GetSingleInstantMetric provides a mock function with given fields: ctx, query

func (*Controller) GetSingleMetric

func (_m *Controller) GetSingleMetric(ctx context.Context, query model.Query, t time.Time) (*model.Metric, error)

GetSingleMetric provides a mock function with given fields: ctx, query, t

Jump to

Keyboard shortcuts

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