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
}
Click to show internal directories.
Click to hide internal directories.