request

package
v1.5.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const MetricLabelGetAllClusters = "get_multiple_clusters_test"

MetricLabelGetAllClusters is the label name for metrics regarding this package

View Source
const MetricLabelGetCluster = "get_cluster_test"

MetricLabelGetCluster is the label name for metrics regarding this package

Variables

This section is empty.

Functions

func InitMetrics

func InitMetrics()

InitMetrics initializes the error metrics to 0

func RunGetAllClusters

func RunGetAllClusters(config GetAllClusterConfig, jwtToken string) error

RunGetAllClusters runs the test

func RunGetCluster

func RunGetCluster(config GetClusterConfig, jwtToken string) error

RunGetCluster runs the test

func SetLogger

func SetLogger(lgr echo.Logger)

SetLogger sets the global logger for the slt package

Types

type GetAllClusterConfig

type GetAllClusterConfig struct {
	// contains filtered or unexported fields
}

GetAllClusterConfig sets the parameters for the GET cluster

func GetAllClusterConfigFromEnv

func GetAllClusterConfigFromEnv() GetAllClusterConfig

GetAllClusterConfigFromEnv gets from the env the needed global env

type GetClusterConfig

type GetClusterConfig struct {
	// contains filtered or unexported fields
}

GetClusterConfig sets the parameters for the GET cluster

func GetClusterConfigFromEnv

func GetClusterConfigFromEnv() GetClusterConfig

GetClusterConfigFromEnv gets from the env the needed global env

Jump to

Keyboard shortcuts

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