Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoPrometheusHTTPRequest ¶
func DoPrometheusHTTPRequest(cli kubecli.KubevirtClient, endpoint string) []byte
func KillPortForwardCommand ¶ added in v0.59.1
func WaitForPortForwardCmd ¶ added in v0.59.1
func WaitForPortForwardCmd(stdout io.ReadCloser, src, dst int)
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"` }
type Scaling ¶ added in v1.0.0
type Scaling struct {
// contains filtered or unexported fields
}
func NewScaling ¶ added in v1.0.0
func NewScaling(virtClient kubecli.KubevirtClient, deployments []string) *Scaling
func (*Scaling) BackupScale ¶ added in v1.0.0
func (*Scaling) RestoreAllScales ¶ added in v1.0.0
func (s *Scaling) RestoreAllScales()
func (*Scaling) RestoreScale ¶ added in v1.0.0
func (*Scaling) UpdateScale ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.