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

disruptionserializer

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: 13 Imported by: 0

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