var fakeMergeItemSchema … var fakePrecisionItemSchema … var fakeMergeItemV3Schema … var fakePrecisionItemV3Schema … type SortMergeListTestCases … type SortMergeListTestCase … type StrategicMergePatchTestCases … type StrategicMergePatchTestCase … type StrategicMergePatchRawTestCase … type StrategicMergePatchTestCaseData … type StrategicMergePatchRawTestCaseData … type MergeItem … type RetainKeysMergeItem … var mergeItem … var mergeItemStructSchema … var sortMergeListTestCaseData … func TestSortMergeLists(t *testing.T) { … } var customStrategicMergePatchTestCaseData … var customStrategicMergePatchRawTestCases … func TestCustomStrategicMergePatch(t *testing.T) { … } var createStrategicMergePatchTestCaseData … var strategicMergePatchRawTestCases … func TestStrategicMergePatch(t *testing.T) { … } func testStrategicMergePatchWithCustomArgumentsUsingStruct(t *testing.T, description, original, patch string, dataStruct interface{ … } func testStrategicMergePatchWithCustomArguments(t *testing.T, description, original, patch string, schema LookupPatchMeta, expected error) { … } func checkErrorsEqual(t *testing.T, description string, expected, actual error, schema LookupPatchMeta) { … } func testTwoWayPatch(t *testing.T, c StrategicMergePatchTestCase, schema LookupPatchMeta) { … } func testTwoWayPatchForRawTestCase(t *testing.T, c StrategicMergePatchRawTestCase, schema LookupPatchMeta) { … } func twoWayTestCaseToJSONOrFail(t *testing.T, c StrategicMergePatchTestCase, schema LookupPatchMeta) ([]byte, []byte, []byte, []byte) { … } func twoWayRawTestCaseToJSONOrFail(t *testing.T, c StrategicMergePatchRawTestCase) ([]byte, []byte, []byte, []byte) { … } func testThreeWayPatch(t *testing.T, c StrategicMergePatchTestCase, schema LookupPatchMeta) { … } func testThreeWayPatchForRawTestCase(t *testing.T, c StrategicMergePatchRawTestCase, schema LookupPatchMeta) { … } func threeWayTestCaseToJSONOrFail(t *testing.T, c StrategicMergePatchTestCase, schema LookupPatchMeta) ([]byte, []byte, []byte, []byte, []byte) { … } func threeWayRawTestCaseToJSONOrFail(t *testing.T, c StrategicMergePatchRawTestCase) ([]byte, []byte, []byte, []byte, []byte) { … } func testPatchCreation(t *testing.T, expected, actual []byte, description string) { … } func testPatchApplication(t *testing.T, original, patch, expected []byte, description, expectedError string, schema LookupPatchMeta) { … } func testObjectToJSONOrFail(t *testing.T, o map[string]interface{ … } func sortJsonOrFail(t *testing.T, j []byte, description string, schema LookupPatchMeta) []byte { … } func getSchemaType(schema LookupPatchMeta) string { … } func jsonToYAMLOrError(j []byte) string { … } func toJSON(v interface{ … } func jsonToYAML(j []byte) ([]byte, error) { … } func yamlToJSON(y []byte) ([]byte, error) { … } func yamlToJSONOrError(t *testing.T, y []byte) []byte { … } type PrecisionItem … var precisionItem … var precisionItemStructSchema … func TestNumberConversion(t *testing.T) { … } var replaceRawExtensionPatchTestCases … func TestReplaceWithRawExtension(t *testing.T) { … } func TestUnknownField(t *testing.T) { … }