forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes#78309 from liggitt/proto-fixtures
Add json/protobuf/yaml fixtures
- Loading branch information
Showing
703 changed files
with
99,780 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
staging/src/k8s.io/api/testdata/HEAD/admission.k8s.io.v1beta1.AdmissionReview.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"kind": "AdmissionReview", | ||
"apiVersion": "admission.k8s.io/v1beta1", | ||
"request": { | ||
"uid": "ő岅ȕHH壬%龺ǟ橸章蒪ʤǎ", | ||
"kind": { | ||
"group": "2", | ||
"version": "3", | ||
"kind": "4" | ||
}, | ||
"resource": { | ||
"group": "5", | ||
"version": "6", | ||
"resource": "7" | ||
}, | ||
"subResource": "8", | ||
"requestKind": { | ||
"group": "9", | ||
"version": "10", | ||
"kind": "11" | ||
}, | ||
"requestResource": { | ||
"group": "12", | ||
"version": "13", | ||
"resource": "14" | ||
}, | ||
"requestSubResource": "15", | ||
"name": "16", | ||
"namespace": "17", | ||
"operation": "¡ıŵDz", | ||
"userInfo": { | ||
"username": "18", | ||
"uid": "19", | ||
"groups": [ | ||
"20" | ||
], | ||
"extra": { | ||
"21": [ | ||
"22" | ||
] | ||
} | ||
}, | ||
"object": {"apiVersion":"example.com/v1","kind":"CustomType","spec":{"replicas":1},"status":{"available":1}}, | ||
"oldObject": {"apiVersion":"example.com/v1","kind":"CustomType","spec":{"replicas":1},"status":{"available":1}}, | ||
"dryRun": false, | ||
"options": {"apiVersion":"example.com/v1","kind":"CustomType","spec":{"replicas":1},"status":{"available":1}} | ||
}, | ||
"response": { | ||
"uid": "輂]¨\u0026桰]]æȌ殸2爟¼ªov鈶", | ||
"allowed": false, | ||
"status": { | ||
"metadata": { | ||
"selfLink": "(湗Ć]ʪƬ滈憴Uą飋ī", | ||
"resourceVersion": "71208173751669476" | ||
}, | ||
"status": "23", | ||
"message": "24", | ||
"reason": "Hr鯹)晿\u003co,c鮽ort昍řČ扷5Ɨ", | ||
"details": { | ||
"name": "25", | ||
"group": "26", | ||
"kind": "27", | ||
"uid": "Ƣ6/ʕVŚ(ĿȊ甞", | ||
"causes": [ | ||
{ | ||
"reason": "颋Dž", | ||
"message": "28", | ||
"field": "29" | ||
} | ||
], | ||
"retryAfterSeconds": 1001983654 | ||
}, | ||
"code": 153738858 | ||
}, | ||
"patch": "fQ==", | ||
"patchType": "-Ǐ忄*齧獚敆Ȏțê", | ||
"auditAnnotations": { | ||
"30": "31" | ||
} | ||
} | ||
} |
Binary file added
BIN
+732 Bytes
staging/src/k8s.io/api/testdata/HEAD/admission.k8s.io.v1beta1.AdmissionReview.pb
Binary file not shown.
80 changes: 80 additions & 0 deletions
80
staging/src/k8s.io/api/testdata/HEAD/admission.k8s.io.v1beta1.AdmissionReview.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
apiVersion: admission.k8s.io/v1beta1 | ||
kind: AdmissionReview | ||
request: | ||
dryRun: false | ||
kind: | ||
group: "2" | ||
kind: "4" | ||
version: "3" | ||
name: "16" | ||
namespace: "17" | ||
object: | ||
apiVersion: example.com/v1 | ||
kind: CustomType | ||
spec: | ||
replicas: 1 | ||
status: | ||
available: 1 | ||
oldObject: | ||
apiVersion: example.com/v1 | ||
kind: CustomType | ||
spec: | ||
replicas: 1 | ||
status: | ||
available: 1 | ||
operation: ¡ıŵDz | ||
options: | ||
apiVersion: example.com/v1 | ||
kind: CustomType | ||
spec: | ||
replicas: 1 | ||
status: | ||
available: 1 | ||
requestKind: | ||
group: "9" | ||
kind: "11" | ||
version: "10" | ||
requestResource: | ||
group: "12" | ||
resource: "14" | ||
version: "13" | ||
requestSubResource: "15" | ||
resource: | ||
group: "5" | ||
resource: "7" | ||
version: "6" | ||
subResource: "8" | ||
uid: ő岅ȕHH壬%龺ǟ橸章蒪ʤǎ | ||
userInfo: | ||
extra: | ||
"21": | ||
- "22" | ||
groups: | ||
- "20" | ||
uid: "19" | ||
username: "18" | ||
response: | ||
allowed: false | ||
auditAnnotations: | ||
"30": "31" | ||
patch: fQ== | ||
patchType: -Ǐ忄*齧獚敆Ȏțê | ||
status: | ||
code: 153738858 | ||
details: | ||
causes: | ||
- field: "29" | ||
message: "28" | ||
reason: 颋Dž | ||
group: "26" | ||
kind: "27" | ||
name: "25" | ||
retryAfterSeconds: 1001983654 | ||
uid: Ƣ6/ʕVŚ(ĿȊ甞 | ||
message: "24" | ||
metadata: | ||
resourceVersion: "71208173751669476" | ||
selfLink: (湗Ć]ʪƬ滈憴Uą飋ī | ||
reason: Hr鯹)晿<o,c鮽ort昍řČ扷5Ɨ | ||
status: "23" | ||
uid: 輂]¨&桰]]æȌ殸2爟¼ªov鈶 |
108 changes: 108 additions & 0 deletions
108
.../api/testdata/HEAD/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
{ | ||
"kind": "MutatingWebhookConfiguration", | ||
"apiVersion": "admissionregistration.k8s.io/v1beta1", | ||
"metadata": { | ||
"name": "2", | ||
"generateName": "3", | ||
"namespace": "4", | ||
"selfLink": "5", | ||
"uid": "ą飋īqJ枊a8衍`Ĩɘ.蘯6ċV夸e", | ||
"resourceVersion": "16964250748386560239", | ||
"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", | ||
"fields": {"18":{"19":null}} | ||
} | ||
] | ||
}, | ||
"webhooks": [ | ||
{ | ||
"name": "24", | ||
"clientConfig": { | ||
"url": "25", | ||
"service": { | ||
"namespace": "26", | ||
"name": "27", | ||
"path": "28", | ||
"port": 2114329341 | ||
}, | ||
"caBundle": "RA==" | ||
}, | ||
"rules": [ | ||
{ | ||
"operations": [ | ||
"ʕVŚ(ĿȊ甞谐颋DžSǡƏS$+½H牗" | ||
], | ||
"apiGroups": [ | ||
"29" | ||
], | ||
"apiVersions": [ | ||
"30" | ||
], | ||
"resources": [ | ||
"31" | ||
], | ||
"scope": "ȎțêɘIJ斬³;Ơ歿" | ||
} | ||
], | ||
"failurePolicy": "狞夌碕ʂɭ", | ||
"matchPolicy": "cP$Iņɖ橙9", | ||
"namespaceSelector": { | ||
"matchLabels": { | ||
"MHLU..8._bQw.-dG6c-.6--_x.--0wmZk1_8.3": "U-_Bq.m_4" | ||
}, | ||
"matchExpressions": [ | ||
{ | ||
"key": "p503---477-49p---o61---4fy--9---7--9-9s-0-u5lj2--10pq-0-7-9-2-0/fP81.-.9Vdx.TB_M-H_5_.t..bG0", | ||
"operator": "In", | ||
"values": [ | ||
"D07.a_.y_y_o0_5qN2_---_M.N_._a6.9bHjdH.-.5_.I8__n" | ||
] | ||
} | ||
] | ||
}, | ||
"objectSelector": { | ||
"matchLabels": { | ||
"81po6c-m6173y.390q-6-i2d020hj--a-8g--z-nt-b-6-17-58-n---5df19/H.__.h-J-M.9_T.q-o7.y-SQ.9A-F-.4--_vLW.jj-.5B.._.5_3-_4.3i": "i.Fg.Cs_.8-EA" | ||
}, | ||
"matchExpressions": [ | ||
{ | ||
"key": "4m-s0833--52-9guv59s-3------6tv27r-m8w-6d/5w9-Wm_AO-l8VKLyHA_.-F_E2_QOuQ_8.-1_57__JR.N-1zL-4--6o-B", | ||
"operator": "DoesNotExist" | ||
} | ||
] | ||
}, | ||
"sideEffects": "ŴĿ", | ||
"timeoutSeconds": 1525829664, | ||
"admissionReviewVersions": [ | ||
"44" | ||
], | ||
"reinvocationPolicy": "ȉ彂" | ||
} | ||
] | ||
} |
Binary file added
BIN
+931 Bytes
...io/api/testdata/HEAD/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.pb
Binary file not shown.
Oops, something went wrong.