Help us shape the future of Go! Take the 2026 Go Developer Survey

disruptionlibrary

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectIntervalsForPods

func CollectIntervalsForPods(ctx context.Context, kubeClient kubernetes.Interface, sig string, namespace string, labelSelector labels.Selector) (monitorapi.Intervals, []*junitapi.JUnitTestCase, []error)

func UpdateDeploymentENVs

func UpdateDeploymentENVs(deployment *appsv1.Deployment, deploymentID, serviceClusterIP string) *appsv1.Deployment

Types

type Availability

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

func NewAvailabilityInvariant

func NewAvailabilityInvariant(
	newConnectionTestName, reusedConnectionTestName string,
	newConnectionDisruptionSampler, reusedConnectionDisruptionSampler *backenddisruption.BackendSampler) *Availability

func (*Availability) CollectData

func (*Availability) EvaluateTestsFromConstructedIntervals

func (w *Availability) EvaluateTestsFromConstructedIntervals(ctx context.Context, finalIntervals monitorapi.Intervals) ([]*junitapi.JUnitTestCase, error)

func (*Availability) StartCollection

func (w *Availability) StartCollection(ctx context.Context, adminRESTConfig *rest.Config, recorder monitorapi.RecorderWriter) error

Jump to

Keyboard shortcuts

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