Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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
func NewWindow ¶
NewWindow returns a new time window starting at lastReconcile, ending after duration
Click to show internal directories.
Click to hide internal directories.