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 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) EXPECT ¶
func (m *MockStatsService) EXPECT() *MockStatsServiceMockRecorder
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 ¶
func (mr *MockStatsServiceMockRecorder) Close() *gomock.Call
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 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 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 TimeSeries ¶
type TimeSeries = v2.TimeSeries
TimeSeries is an alias for the V2 stats API TimeSeries 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. |
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. |