Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreFakeClientPopulatedFields ¶
IgnoreFakeClientPopulatedFields is an option to ignore fields populated by fakeK8sClient for a comparison. Use this when comparing k8s objects in test cases. These fields are ignored: TypeMeta and ObjectMeta.ResourceVersion
func IgnoreLeftHandUnset ¶
IgnoreLeftHandUnset is an option that ignores struct fields that are unset on the left hand side of a comparison. Note:
- for map and slices, only nil value is considered to be unset, non-nil but empty is not considered as unset.
- for struct pointers, nil value is considered to be unset
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.