func defaultFillFuncs() map[reflect.Type]FillFunc { … } // CompatibilityTestObject returns a deterministically filled object for the specified GVK func CompatibilityTestObject(scheme *runtime.Scheme, gvk schema.GroupVersionKind, fillFuncs map[reflect.Type]FillFunc) (runtime.Object, error) { … } func fill(dataString string, dataInt int, t reflect.Type, v reflect.Value, fillFuncs map[reflect.Type]FillFunc, filledTypes map[reflect.Type]bool) { … }