test_tooling

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: BSD-3-Clause-LBNL Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GrafanaTestVersionEnv = "GRAFANA_TEST_VERSION"

	// #nosec G101
	EnableTokenTestsEnv = "TEST_TOKEN_CONFIG"
)
View Source
const (
	OrgNameOverride      = "GDG_CONTEXTS__TESTING__ORGANIZATION_NAME"
	EnableNestedBehavior = "GDG_CONTEXTS__TESTING__DASHBOARD_SETTINGS__NESTED_FOLDERS"

	IgnoreDashFilters = "GDG_CONTEXTS__TESTING__DASHBOARD_SETTINGS__IGNORE_FILTERS"
)

Variables

This section is empty.

Functions

func CreateSimpleClient

func CreateSimpleClient(t *testing.T, cfgName *string, container testcontainers.Container) (service.GrafanaService, *viper.Viper)

func InitOrganizations

func InitOrganizations(t *testing.T, enterprise bool) (testcontainers.Container, func() error)

InitOrganizations will upload all known organizations and return the grafana container object

func InitTest

func InitTest(t *testing.T, cfgName *string, envProp map[string]string) (service.GrafanaService, *viper.Viper, testcontainers.Container, func() error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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