Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
Diff is a wrapper around "github.com/google/go-cmp/cmp".Diff to compare two objects, taking into account that metav1.Time fields need special handling. This helps to avoid challenges with serializing/deserializing time fields in tests. The return value is also converted from cmp.Diff's string output to an error type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.