diff --git a/staging/src/k8s.io/api/roundtrip_test.go b/staging/src/k8s.io/api/roundtrip_test.go index d06fe257255..d4db75daf4d 100644 --- a/staging/src/k8s.io/api/roundtrip_test.go +++ b/staging/src/k8s.io/api/roundtrip_test.go @@ -42,7 +42,7 @@ import ( coordinationv1 "k8s.io/api/coordination/v1" coordinationv1beta1 "k8s.io/api/coordination/v1beta1" corev1 "k8s.io/api/core/v1" - discoveryv1alpha1 "k8s.io/api/discovery/v1alpha1" + discoveryv1 "k8s.io/api/discovery/v1" discoveryv1beta1 "k8s.io/api/discovery/v1beta1" eventsv1 "k8s.io/api/events/v1" eventsv1beta1 "k8s.io/api/events/v1beta1" @@ -97,7 +97,7 @@ var groups = []runtime.SchemeBuilder{ coordinationv1.SchemeBuilder, coordinationv1beta1.SchemeBuilder, corev1.SchemeBuilder, - discoveryv1alpha1.SchemeBuilder, + discoveryv1.SchemeBuilder, discoveryv1beta1.SchemeBuilder, eventsv1.SchemeBuilder, eventsv1beta1.SchemeBuilder, diff --git a/staging/src/k8s.io/api/testdata/HEAD/discovery.k8s.io.v1.EndpointSlice.json b/staging/src/k8s.io/api/testdata/HEAD/discovery.k8s.io.v1.EndpointSlice.json new file mode 100644 index 00000000000..fa17b9f3c54 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/HEAD/discovery.k8s.io.v1.EndpointSlice.json @@ -0,0 +1,79 @@ +{ + "kind": "EndpointSlice", + "apiVersion": "discovery.k8s.io/v1", + "metadata": { + "name": "2", + "generateName": "3", + "namespace": "4", + "selfLink": "5", + "uid": "7", + "resourceVersion": "11042405498087606203", + "generation": 8071137005907523419, + "creationTimestamp": null, + "deletionGracePeriodSeconds": -4955867275792137171, + "labels": { + "7": "8" + }, + "annotations": { + "9": "10" + }, + "ownerReferences": [ + { + "apiVersion": "11", + "kind": "12", + "name": "13", + "uid": "Dz廔ȇ{sŊƏp", + "controller": false, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "14" + ], + "clusterName": "15", + "managedFields": [ + { + "manager": "16", + "operation": "鐊唊飙Ş-U圴÷a/ɔ}摁(湗Ć]", + "apiVersion": "17", + "fieldsType": "18" + } + ] + }, + "addressType": "īqJ枊a8衍`Ĩɘ.蘯", + "endpoints": [ + { + "addresses": [ + "19" + ], + "conditions": { + "ready": false, + "serving": false, + "terminating": false + }, + "hostname": "20", + "targetRef": { + "kind": "21", + "namespace": "22", + "name": "23", + "uid": "ɑ", + "apiVersion": "24", + "resourceVersion": "25", + "fieldPath": "26" + }, + "deprecatedTopology": { + "27": "28" + }, + "nodeName": "29", + "zone": "30" + } + ], + "ports": [ + { + "name": "31", + "protocol": "脽ěĂ凗蓏Ŋ蛊ĉy緅縕", + "port": -591435092, + "appProtocol": "32" + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/HEAD/discovery.k8s.io.v1.EndpointSlice.pb b/staging/src/k8s.io/api/testdata/HEAD/discovery.k8s.io.v1.EndpointSlice.pb new file mode 100644 index 00000000000..9bf7f091e21 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/HEAD/discovery.k8s.io.v1.EndpointSlice.pb differ diff --git a/staging/src/k8s.io/api/testdata/HEAD/discovery.k8s.io.v1.EndpointSlice.yaml b/staging/src/k8s.io/api/testdata/HEAD/discovery.k8s.io.v1.EndpointSlice.yaml new file mode 100644 index 00000000000..d84ec7aea72 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/HEAD/discovery.k8s.io.v1.EndpointSlice.yaml @@ -0,0 +1,57 @@ +addressType: īqJ枊a8衍`Ĩɘ.蘯 +apiVersion: discovery.k8s.io/v1 +endpoints: +- addresses: + - "19" + conditions: + ready: false + serving: false + terminating: false + deprecatedTopology: + "27": "28" + hostname: "20" + nodeName: "29" + targetRef: + apiVersion: "24" + fieldPath: "26" + kind: "21" + name: "23" + namespace: "22" + resourceVersion: "25" + uid: ɑ + zone: "30" +kind: EndpointSlice +metadata: + annotations: + "9": "10" + clusterName: "15" + creationTimestamp: null + deletionGracePeriodSeconds: -4955867275792137171 + finalizers: + - "14" + generateName: "3" + generation: 8071137005907523419 + labels: + "7": "8" + managedFields: + - apiVersion: "17" + fieldsType: "18" + manager: "16" + operation: 鐊唊飙Ş-U圴÷a/ɔ}摁(湗Ć] + name: "2" + namespace: "4" + ownerReferences: + - apiVersion: "11" + blockOwnerDeletion: true + controller: false + kind: "12" + name: "13" + uid: Dz廔ȇ{sŊƏp + resourceVersion: "11042405498087606203" + selfLink: "5" + uid: "7" +ports: +- appProtocol: "32" + name: "31" + port: -591435092 + protocol: 脽ěĂ凗蓏Ŋ蛊ĉy緅縕