stats

package
v0.0.0-...-13fb019 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForwardResult

type ForwardResult = v2.ForwardResult

ForwardResult is an alias for the V2 stats API ForwardResult type

type Histogram

type Histogram = v2.Histogram

Histogram is an alias for the V2 stats API Histogram type.

type MockStatsService

type MockStatsService struct {
	// contains filtered or unexported fields
}

MockStatsService is a mock of StatsService interface

func NewMockStatsService

func NewMockStatsService(ctrl *gomock.Controller) *MockStatsService

NewMockStatsService creates a new mock instance

func (*MockStatsService) Close

func (m *MockStatsService) Close() error

Close mocks base method

func (*MockStatsService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStatsService) ForwardV2

func (m *MockStatsService) ForwardV2(arg0 *v2.Payload) (*v2.ForwardResult, error)

ForwardV2 mocks base method

func (*MockStatsService) QueryV2

func (m *MockStatsService) QueryV2(arg0 *v2.Query) (*v2.QueryResult, error)

QueryV2 mocks base method

type MockStatsServiceMockRecorder

type MockStatsServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockStatsServiceMockRecorder is the mock recorder for MockStatsService

func (*MockStatsServiceMockRecorder) Close

Close indicates an expected call of Close

func (*MockStatsServiceMockRecorder) ForwardV2

func (mr *MockStatsServiceMockRecorder) ForwardV2(arg0 interface{}) *gomock.Call

ForwardV2 indicates an expected call of ForwardV2

func (*MockStatsServiceMockRecorder) QueryV2

func (mr *MockStatsServiceMockRecorder) QueryV2(arg0 interface{}) *gomock.Call

QueryV2 indicates an expected call of QueryV2

type Payload

type Payload = v2.Payload

Payload is an alias for the V2 stats API Payload type.

type Point

type Point = v2.Point

Point is an alias for the V2 stats API Point type.

type Query

type Query = v2.Query

Query is an alias for the V2 stats API Query type.

type QueryResult

type QueryResult = v2.QueryResult

QueryResult is an alias for the V2 stats API QueryResult type.

type QueryTimeSeries

type QueryTimeSeries = v2.QueryTimeSeries

QueryTimeSeries is an alias for the V2 stats API QueryTimeSeries type.

type QueryType

type QueryType = v2querytype.QueryType

QueryType is an alias for the V2 stats API QueryType type.

type SimpleTimeRange

type SimpleTimeRange = v2.SimpleTimeRange

SimpleTimeRange is an alias for the V2 stats API SimpleTimeRange type.

type Stat

type Stat = v2.Stat

Stat is an alias for the V2 stats API Stat type.

type StatsService

type StatsService interface {
	v2.StatsForwardService
	v2.StatsQueryService

	io.Closer
}

StatsService combines the current versions of the StatsForwardService and StatsQueryService.

type TimeGranularity

type TimeGranularity = v2timegranularity.TimeGranularity

TimeGranularity is an alis for the V2 stats API TimeGranularity type.

type TimeRange

type TimeRange = v2.TimeRange

TimeRange is an alias for the V2 stats API TimeRange type.

type TimeSeries

type TimeSeries = v2.TimeSeries

TimeSeries is an alias for the V2 stats API TimeSeries type.

type ZeroFill

type ZeroFill = v2.ZeroFill

ZeroFill is an alias for the V2 stats API ZeroFill type.

Directories

Path Synopsis
v1
querytype
Package querytype defines the QueryType enumeration.
Package querytype defines the QueryType enumeration.
timegranularity
Package timegranularity defines the TimeGranularity enumeration.
Package timegranularity defines the TimeGranularity enumeration.
v2
Package v2 defines the interfaces representing the portion of the Turbine Labs public API prefixed by /v2.0/stats.
Package v2 defines the interfaces representing the portion of the Turbine Labs public API prefixed by /v2.0/stats.
querytype
Package querytype defines the QueryType enumeration.
Package querytype defines the QueryType enumeration.
timegranularity
Package timegranularity defines the TimeGranularity enumeration.
Package timegranularity defines the TimeGranularity enumeration.

Jump to

Keyboard shortcuts

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