package
0.2.0-alpha.14
Repository: https://github.com/onexstack/onex.git
Documentation: pkg.go.dev

# Functions

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.
GetFuzzer returns a new fuzzer to be used for testing.
MarshalData stores the source object as json data in the destination object annotations map.
UnmarshalData tries to retrieve the data from the annotation and unmarshals it into the object passed as input.
UpdateReferenceAPIContract takes a client and object reference, queries the API Server for the Custom Resource Definition and looks which one is the stored version available.

# Constants

DataAnnotation is the annotation that conversion webhooks use to retain the data in case of down-conversion from the hub.

# Structs

FuzzTestFuncInput contains input parameters for the FuzzTestFunc function.