validator

package
v0.0.0-...-1e14d63 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertDimensionsEqual

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