validator

package
v2.20.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertDimensionsEqual added in v2.18.0

func AssertDimensionsEqual(t *testing.T, expectedDimensions []publisher.Dimension, actualMetrics *publisher.MetricSet)

func AssertMetricSetEqual

func AssertMetricSetEqual(t *testing.T, expectedMetrics []ExpectedMetric, expectedDimensions []publisher.Dimension, actuallMetrics *publisher.MetricSet)

Types

type ExpectedMetric

type ExpectedMetric struct {
	Name       string
	MinRange   Range
	MaxRange   Range
	CountRange Range
	SumRange   Range
}

type Range

type Range struct {
	Low  float64
	High float64
}

Jump to

Keyboard shortcuts

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