Documentation ¶
Overview ¶
measures unit tests
Index ¶
Constants ¶
View Source
const MeasuresBatchCreateMetricsRequest = `` /* 484-byte string literal not displayed */
MeasuresBatchCreateMetricsRequest represents a request to create measures for a single metric.
View Source
const MeasuresBatchCreateResourcesMetricsRequest = `` /* 1318-byte string literal not displayed */
MeasuresBatchCreateResourcesMetricsRequest represents a request to create measures for a single metric.
View Source
const MeasuresCreateRequest = `` /* 162-byte string literal not displayed */
MeasuresCreateRequest represents a request to create measures for a single metric.
View Source
const MeasuresListResult = `` /* 241-byte string literal not displayed */
MeasuresListResult represents a raw server response from a server to a List call.
Variables ¶
View Source
var ListMeasuresExpected = []measures.Measure{ { Timestamp: time.Date(2018, 1, 10, 12, 0, 0, 0, time.UTC), Granularity: 3600.0, Value: 15.0, }, { Timestamp: time.Date(2018, 1, 10, 13, 0, 0, 0, time.UTC), Granularity: 3600.0, Value: 10.0, }, { Timestamp: time.Date(2018, 1, 10, 14, 0, 0, 0, time.UTC), Granularity: 3600.0, Value: 20.0, }, }
ListMeasuresExpected represents an expected repsonse from a List request.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.