shutdown

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: 9 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 NewSharedShutdownIntervalTracker

NewSharedShutdownIntervalTracker returns a SampleCollector that does the following:

  • it goes through each sample result, and constructs shutdown interval(s) from the 'X-Openshift-Disruption' response header, and then

  • it records each shutdown interval in CI

    delegate: the next SampleCollector in the chain to be invoked monitor: Monitor API to start and end an interval in CI eventRecorder: to create events associated with the intervals locator: the CI locator assigned to this disruption test name: name of the disruption test

NOTE: NewSharedShutdownIntervalTracker allows a single shutdownIntervalTracker instance to be used by multiple backend sampler instances safely. In CI, we want a single interval for each graceful shutdown event of the kube-apiserver, and request(s) from different backend sampler(s) will potentially hit the kube-apiserver during a graceful shutdown window. This function returns an instance of WantEventRecorderAndMonitorRecorder, the test driver can use it to pass along the shared event recorder and monitor.

Types

This section is empty.

Jump to

Keyboard shortcuts

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