Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IgnoreTimestampUpdates = cmp.Comparer(func(x, y metav1.Time) bool {
return x == emptyTime && y == emptyTime ||
x != emptyTime && y != emptyTime
})
IgnoreTimestampUpdates ignores timestamps when testing equality, unless one is empty and the other is not.
This is used to test R*Sync equality, because the timestamps get updated every time, even if nothing else changed.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.