Documentation ¶
Index ¶
- func CompareOptionForHealthCheckPolicy() cmp.Option
- func CompareOptionForVirtualGatewayHealthCheckPolicy() cmp.Option
- func CompareOptionForVirtualGatewaySpec() cmp.Option
- func CompareOptionForVirtualNodeSpec() cmp.Option
- func IgnoreFakeClientPopulatedFields() cmp.Option
- func IgnoreLeftHandUnset(typ interface{}, fields ...string) cmp.Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareOptionForVirtualGatewayHealthCheckPolicy ¶ added in v1.1.0
func CompareOptionForVirtualGatewaySpec ¶ added in v1.1.0
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.