Documentation ¶
Index ¶
Constants ¶
View Source
const FluidUnitTestEnv = "FLUID_UNIT_TEST"
Variables ¶
This section is empty.
Functions ¶
func DeepEqualIgnoringSliceOrder ¶
DeepEqualIgnoringSliceOrder is much like reflect.DeepEqual but ignores order of slices in any structs. This is a function only used for unit tests since many objects in Kubernetes should be considered same ignoring the slice order(e.g. VolumeMounts, Volumes, EnvVar, etc.) NOTE: The func cannot handle recursive composite types like [][]interface, map[X][]interface, etc.
func IsUnitTest ¶ added in v1.0.0
func IsUnitTest() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.