checks

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: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MetricLabelToken = "token_refresh"

Variables

This section is empty.

Functions

func GetAuthDetails

func GetAuthDetails() (resourceID, tenantID, clientID, clientSecret string)

GetAuthDetails gets auth details from the env

func RefreshToken

func RefreshToken(_ interface{})

RefreshToken refreshes the token global variable in this package The '_' parameter is only so this function can be passed to RunFunctionInLoop

func RunAllClustersRequests

func RunAllClustersRequests(config interface{})

RunAllClustersRequests run a GET request to CR on the /clusters endpoint

func RunClusterRequest

func RunClusterRequest(config interface{})

RunClusterRequest run a GET request to CR on the /clusters/[clustername] endpoint

func RunE2eTest

func RunE2eTest(config interface{})

RunE2eTest starts e2e test

func SetLogger

func SetLogger(lgr echo.Logger)

SetLogger sets the global logger for the all the checks

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