Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoPrometheusHTTPRequest ¶
func DoPrometheusHTTPRequest(cli kubecli.KubevirtClient, endpoint string) []byte
Types ¶
type AlertRequestResult ¶
type AlertRequestResult struct { Alerts prometheusv1.AlertsResult `json:"data"` Status string `json:"status"` }
type QueryRequestResult ¶ added in v0.53.0
type QueryRequestResult struct { Data promData `json:"data"` Status string `json:"status"` }
Click to show internal directories.
Click to hide internal directories.