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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.