testutil

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseChartBuilder = base.Builder{
	Measurement: "prom",
	Group:       "",
}

BaseChartBuilder is a base chart builder for testing.

Functions

func TestChartSnapshots

func TestChartSnapshots(t *testing.T, tests []ChartSnapshotTest)

Types

type ChartSnapshotTest

type ChartSnapshotTest struct {
	Name        string
	GrafanaFile string
	GuanceFile  string
	Chart       charts.Builder
}

Jump to

Keyboard shortcuts

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