helper

package
v1.83.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TeamAtlas       = "Atlas"
	TeamCabbage     = "Cabbage"
	TeamHoneybadger = "Honeybadger"
	TeamPhoenix     = "Phoenix"
	TeamRocket      = "Rocket"
	TeamShield      = "Shield"
	TeamTenet       = "Tenet"
)

Variables

View Source
var TEAM_ID = map[Team]string{
	TeamAtlas:       "S013DF1G0TU",
	TeamCabbage:     "S02FMKBLZD5",
	TeamHoneybadger: "S02G77D7GUA",
	TeamPhoenix:     "S02H54GV65R",
	TeamRocket:      "S01DAK3RRBP",
	TeamShield:      "S0419AZLVU5",
	TeamTenet:       "S07KQ7PCUSW",
}

Functions

func Deserialize

func Deserialize(data []byte) (runtime.Object, error)

func DetectPrometheusBaseURL added in v1.35.0

func DetectPrometheusBaseURL(ctx context.Context, mcClient *client.Client) (string, error)

DetectPrometheusBaseURL checks if the MC is running old Prometheus setup or mimir and returns the base URL to send PROMQL queries to.

func FileExists added in v1.28.0

func FileExists(filename string) bool

func SetResponsibleTeam added in v1.80.0

func SetResponsibleTeam(t Team)

SetResponsibleTeam annotates the current test spec with the team that is responsible for it passing

Types

type Team added in v1.80.0

type Team string

Jump to

Keyboard shortcuts

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