package
0.0.0-20250228164547-bad2d1bf3a37
Repository: https://github.com/openshift/library-go.git
Documentation: pkg.go.dev

# Functions

GenerateConfigsForEachLatencyProfile is used to generate config for each latency profile using known arg val pairs provided in latencyConfigs.
GetUsedLatencyConfigPaths is used to get list of config paths that were used for latency profiles.
IsDayZero returns true when currentRevisions is empty or when all current revision equal to 0.
NewLatencyProfileObserver is used to create ObserveConfigFunc that can be used with an configobservation controller to trigger changes to different arg val pairs in observedConfig.* fields and update them on the basis of current worker latency profile.
NewSuppressConfigUpdateForExtremeProfilesFunc is used to create a conditional func (ShouldSuppressConfigUpdatesFunc) that can be used by the latency profile config observer to determine if a new update to observedConfig should be rolled out or not.
NewSuppressConfigUpdateUntilSameProfileFunc is used to create a conditional func (ShouldSuppressConfigUpdatesFunc) that can be used by the latency profile config observer to determine if a new update to observedConfig should be rolled out or not.
ShouldRejectProfileTransition is used to determine the profile passed in fromLatencyConfig (fromLatencyConfig should be config that already has only usedLatencyConfigPaths pruned) and in case the transition fromProfile -> toProfile is one of the rejected scenarios, reject it i.e.

# Structs

LatencyConfigProfileTuple is used to set arg value pairs for each worker latency profile.
LatencyProfileRejectionScenario is used to describe a scenario from and to a profile type when updates should be rejected in favour of cluster stability.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author