testing

package
v1.0.0-aggregation Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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