Documentation ¶
Overview ¶
Package meltdown is used by reconcilers to delay reconciling if too many updates happen to a resource
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AnnotationLastReconcile = fmt.Sprintf("%s/last-reconcile", names.GroupName)
AnnotationLastReconcile is the key name of the timestamp for the last successful reconcile
Functions ¶
func SetLastReconcile ¶
func SetLastReconcile(objectMeta *metav1.ObjectMeta, now time.Time)
SetLastReconcile annotation in object meta to the given time
Types ¶
type Window ¶
Window represents a time window starting at start and ending at duration
func NewAnnotationWindow ¶
NewAnnotationWindow returns a window starting at lastReconcile contained in annotations, ending after duration
Click to show internal directories.
Click to hide internal directories.