framework

package
v0.0.0-...-5b2f675 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyJSONPatch

func ApplyJSONPatch(cluster framework.Cluster, namespace, deployment string, operations []json.RawMessage) error

func EnablePrometheusAdminAPIPatch

func EnablePrometheusAdminAPIPatch() []json.RawMessage

func InstallPrometheusPushgateway

func InstallPrometheusPushgateway(cluster *framework.K8sCluster, ns string) error

func PortForwardPrometheusPushgateway

func PortForwardPrometheusPushgateway(cluster *framework.K8sCluster, ns string) error

func PortForwardPrometheusServer

func PortForwardPrometheusServer(cluster *framework.K8sCluster, ns string) error

func ReportSpecEnd

func ReportSpecEnd(cluster *framework.K8sCluster) error

func ReportSpecStart

func ReportSpecStart(cluster *framework.K8sCluster) error

func SavePrometheusSnapshot

func SavePrometheusSnapshot(cluster framework.Cluster, namespace string, hostPath string) error

SavePrometheusSnapshot triggers tsdb snapshot and copies it from kube container to hostPath

func SetPrometheusResourcesPatch

func SetPrometheusResourcesPatch() []json.RawMessage

func WatchXdsDeliveryCount

func WatchXdsDeliveryCount(promClient *PromClient, stopCh <-chan struct{}, metricCh chan<- int, errCh chan<- error)

func XdsAckRequestsReceived

func XdsAckRequestsReceived(promClient *PromClient) (int, error)

func XdsDeliveryCount

func XdsDeliveryCount(promClient *PromClient) (int, error)

Types

type PromClient

type PromClient struct {
	// contains filtered or unexported fields
}

func NewPromClient

func NewPromClient(url string) (*PromClient, error)

func (*PromClient) QueryIntValue

func (p *PromClient) QueryIntValue(query string) (int, error)

type SpecReport

type SpecReport struct {
	Parameters       map[string]string `json:"parameters"`
	SuitePath        string            `json:"suitePath"`
	SuiteDescription string            `json:"suiteDescription"`
	State            string            `json:"state"`
	Description      string            `json:"description"`
	ReportEntries    map[string]string `json:"reportEntries"`
}

func MakeSpecReports

func MakeSpecReports(ginkgoReport ginkgo.Report) []SpecReport

Jump to

Keyboard shortcuts

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