Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Semantic = conversion.EqualitiesOrDie( func(a, b resource.Quantity) bool { return a.Cmp(b) == 0 }, func(a, b *semverlib.Version) bool { if a == nil && b == nil { return true } if a != nil && b != nil { return a.Equal(b) } return false }, func(a, b time.Time) bool { return a.UTC() == b.UTC() }, )
Semantic can do semantic deep equality checks for objects. Example: equality.Semantic.DeepEqual(aPod, aPodWithNonNilButEmptyMaps) == true
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.