monitoring

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 45 Imported by: 0

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 KillPortForwardCommand(portForwardCmd *exec.Cmd) error

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 (s *Scaling) BackupScale(operatorName string)

func (*Scaling) RestoreAllScales added in v1.0.0

func (s *Scaling) RestoreAllScales()

func (*Scaling) RestoreScale added in v1.0.0

func (s *Scaling) RestoreScale(operatorName string)

func (*Scaling) UpdateScale added in v1.0.0

func (s *Scaling) UpdateScale(operatorName string, replicas int32)

Jump to

Keyboard shortcuts

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