Documentation
¶
Index ¶
- Constants
- func GetFuzzer(scheme *runtime.Scheme, funcs ...fuzzer.FuzzerFuncs) *fuzz.Fuzzer
- func HubSpokeHub(input FuzzTestFuncInput)
- func MarshalData(src metav1.Object, dst metav1.Object) error
- func SpokeHubSpoke(input FuzzTestFuncInput)
- func UnmarshalData(from metav1.Object, to interface{}) (bool, error)
- type FuzzTestFuncInput
Constants ¶
View Source
const AnnotationKey = "vmoperator.vmware.com/conversion"
AnnotationKey is the annotation key to ensure lossless conversion of objects between API versions.
Variables ¶
This section is empty.
Functions ¶
func HubSpokeHub ¶ added in v1.8.6
func HubSpokeHub(input FuzzTestFuncInput)
func MarshalData ¶ added in v1.8.5
MarshalData stores the source object as json data in the destination object annotations map. It ignores the metadata of the source object.
func SpokeHubSpoke ¶ added in v1.8.6
func SpokeHubSpoke(input FuzzTestFuncInput)
Types ¶
type FuzzTestFuncInput ¶
type FuzzTestFuncInput struct {
Scheme *runtime.Scheme
Hub ctrlconversion.Hub
HubAfterMutation func(ctrlconversion.Hub)
Spoke ctrlconversion.Convertible
SpokeAfterMutation func(convertible ctrlconversion.Convertible)
SkipSpokeAnnotationCleanup bool
FuzzerFuncs []fuzzer.FuzzerFuncs
}
FuzzTestFuncInput contains input parameters for the FuzzTestFunc function.
Click to show internal directories.
Click to hide internal directories.