Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FuzzTestFunc ¶
func FuzzTestFunc(input FuzzTestFuncInput) func(*testing.T)
FuzzTestFunc returns a new testing function to be used in tests to make sure conversions between the Hub version of an object and an older version aren't lossy.
Types ¶
type FuzzTestFuncInput ¶
type FuzzTestFuncInput struct { Scheme *runtime.Scheme Hub conversion.Hub HubAfterMutation func(conversion.Hub) Spoke conversion.Convertible SpokeAfterMutation func(convertible conversion.Convertible) SkipSpokeAnnotationCleanup bool FuzzerFuncs []fuzzer.FuzzerFuncs }
FuzzTestFuncInput contains input parameters for the FuzzTestFunc function.
Click to show internal directories.
Click to hide internal directories.