disruptionserializer

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDisruptionSummarySerializer

func NewDisruptionSummarySerializer() monitortestframework.MonitorTest

Types

type BackendDisruption

type BackendDisruption struct {
	// Name ensure self-identification, it includes the connection type
	Name string
	// BackendName is the name of backend.  It is the same across all connection types.
	BackendName string
	// ConnectionType is New or Reused
	ConnectionType string

	DisruptedDuration  metav1.Duration
	DisruptionMessages []string

	// New disruption test framework is introducing these fields, for
	// previous version of the test, these fields will default:
	//   LoadBalancerType will default to "external-lb"
	//   Protocol will default to http1
	//   TargetAPI will default to an empty string
	LoadBalancerType string
	Protocol         string
	TargetAPI        string
}

type BackendDisruptionList

type BackendDisruptionList struct {
	// BackendDisruptions is keyed by name to make the consumption easier
	BackendDisruptions map[string]*BackendDisruption
}

Jump to

Keyboard shortcuts

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