novahe
5c7f206b25
Fix test cases that may potentially cause a panic.
...
Kubernetes-commit: 9e53371ddaaeab4083fde45e43c803071238e686
2025-03-11 17:41:37 +08:00
xin.li
d8b34c3ab2
fix wrong assertion on tests
...
Signed-off-by: xin.li <xin.li@daocloud.io>
Kubernetes-commit: bc4ae15d77beab23f321bf6547f82c04ba27c3fa
2025-02-22 12:39:01 +08:00
Matthieu MOREL
290f054d9b
fix: enable compares rule from testifylint in module
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Kubernetes-commit: 407d74fb6a563951045287338a6c64a79fcad8ec
2024-09-21 21:23:07 +02:00
Jefftree
4bf7f9496e
Use v2 types with agg discovery
...
Kubernetes-commit: 462dd326c2e98d937a96d49002883000efe4b2d6
2024-01-19 16:13:47 -05:00
Jefftree
f02c594955
Cleanup kubectl legacy server fallback
...
Kubernetes-commit: d1946392528fe6e26886810e8240568fa19e82fe
2023-07-18 18:24:56 +00:00
Jefftree
c4ed5da76e
Fallback to legacy discovery on a wider range of conditions in aggregator
...
Kubernetes-commit: 57b27fd3cd11cb5f2515c7ac5f67f612998fb368
2023-08-09 18:22:30 +00:00
Jefftree
2bd3f49236
Update gnostic references
...
Kubernetes-commit: 2111e79f56acdfa6a8dab56780c52e3abc608758
2023-06-01 18:25:39 +00:00
Sean Sullivan
5c4e72cc66
Refactors discovery content-type and helper functions
...
Kubernetes-commit: 2af662b05fe591083a029520e6da5b077cad8e31
2023-04-24 17:40:07 -07:00
Tim Hockin
12553015e2
Replace uses of ObjectReflectDiff with cmp.Diff
...
ObjectReflectDiff is already a shim over cmp.Diff, so no actual output
or behavior changes
Kubernetes-commit: bc302fa4144d21a338683cd83701661f97be4aba
2023-03-23 11:34:03 -07:00
Jefftree
eec00dc791
remove mime AddExtensionType in discovery test
...
Kubernetes-commit: 50c6b6c86a50d0196af4bc659948d8dfd2147308
2022-12-05 17:30:08 +00:00
Sean Sullivan
6b8e57ec24
Plumb stale GroupVersions through aggregated discovery
...
Kubernetes-commit: fed7bb7c51e9f85db122ad6d111cb8326dce9f8a
2023-02-28 19:44:34 +00:00
Sean Sullivan
bc1864f6cf
Removes old discovery hack ignoring 403 and 404
...
Kubernetes-commit: 298cb361c85be02d6336437bde37c8a4ccf5583a
2023-02-17 12:47:05 -08:00
Sean Sullivan
3ac73ea2c8
Adds bool to force non-aggregated discovery
...
Kubernetes-commit: a84d877310ba5cf9237c8e8e3218229c202d3a1e
2022-11-09 12:30:05 -08:00
Sean Sullivan
25d5761bfa
Aggregated discovery client
...
Kubernetes-commit: b8fe2c7b8061e6ab0b093a49351bac256606da4a
2022-11-03 11:09:58 -07:00
Alexander Zielenski
624929cd3f
address feedback
...
Kubernetes-commit: 32d834a88673614080bc37727f8cc94b9b85bc86
2022-10-17 10:51:27 -07:00
Alexander Zielenski
12cafe2b1b
refactor to use Schema(contentType)
...
Kubernetes-commit: e6e6dd826d76a2b19515cd907062f1f74f9e52c2
2022-10-14 12:46:36 -07:00
Alexander Zielenski
8b6ceae557
add more options for fetching openapiv3 in clients
...
remove serialized types from client
update tests
Kubernetes-commit: fec79e75a50f334d8384a5377513fc78222ea36a
2022-10-12 11:43:46 -07:00
Alexander Zielenski
018cf8ace6
add fetching into discovery client for OpenAPI v3
...
reflect latest struct changes
use correct discovery openapi test data layout
make the OpenAPIv3 interface less blue
field grouping
add copyrights
implement cached discovery client
add cached discovery tests
address review feedback
Kubernetes-commit: 075866b3e3ea029c243d82d8d6eb99e96d9c49d3
2022-03-22 10:40:56 -07:00
Arda Güçlü
7e062f8fa4
Remove deprecated discovery/ServerResources function
...
ServerResources function was deprecated and instead ServerGroupsAndResources
function is suggested.
This PR removes ServerResources function and move every place to use ServerGroupsAndResources.
Kubernetes-commit: ef39a8914291ba200bd5486c88a7575ffd4b7d1d
2021-12-22 11:14:09 +03:00
Jefftree
186c332c7b
googleapis/gnostic -> google/gnostic
...
Kubernetes-commit: 8a1d5947ad34ba275192341baa4e5fef8e6c7f24
2022-03-15 20:36:21 -07:00
John Howard
4b5d87d34b
Update kube-openapi and gnostic dependencies
...
Pulling in https://github.com/kubernetes/kube-openapi/pull/220
Kubernetes-commit: a849c8998c1ed71f25387a560f8359596aec8bd3
2021-03-23 08:33:15 -07:00
Hongcai Ren
f099a72e14
cleanup misleading errors in openAPI tesing ( #91321 )
...
* cleanup misleading errors in openAPI tesing
* make sure test case would fail
Kubernetes-commit: 0459c2afab4f1913993e437a781e95457ecefb42
2020-05-27 00:25:20 +00:00
Jordan Liggitt
cd3db5b5a1
Adjust openapi test to avoid mutation on write
...
Kubernetes-commit: ee816114b7ae044f23b4776fdf0c3f04e2ce13e3
2020-03-31 19:14:19 -04:00
Jordan Liggitt
d847b4c964
github.com/googleapis/gnostic v0.4.1
...
Kubernetes-commit: 93c7b24562d80959f45c308e7412456a410b9b25
2020-03-31 17:18:56 -04:00
Jordan Liggitt
d4e85bc08a
Increase Burst limit for discovery client
...
Kubernetes-commit: 711dc0b5b5e0d6d792e43ae1edd4a5dd1c5bdf2f
2019-12-11 11:36:51 -05:00
Mikhail Mazurskiy
4a75b93cb4
Use Dial with context
...
Kubernetes-commit: 5e8e570dbda6ed89af9bc2e0a05e3d94bfdfcb61
2018-05-19 08:14:37 +10:00
David Eads
ef648e2917
make TestGetServerGroupsWithTimeout more reliable
...
Kubernetes-commit: e7620e814aebca184160f2ae5ef243f5dcd1f409
2018-05-15 12:47:23 -04:00
Jordan Liggitt
334b50415a
Run resource discovery in parallel
...
Kubernetes-commit: d037b0893fa9313b9b5b111c22d49bf3c859a9d1
2018-05-07 15:54:25 -04:00
Maciej Szulik
581437501a
Fix discovery default timeout test
...
Kubernetes-commit: af2353f8a3ab06ca105d15a0b1b27605e4093da5
2018-04-24 17:05:56 +02:00
Maciej Szulik
d1f4ecc28d
Set a default request timeout for discovery client
...
Kubernetes-commit: 7bd48a7e2325381cb777d0ea1ff89b2ecece23b6
2018-04-17 16:58:38 +02:00
Jordan Liggitt
13a6e8222e
Tolerate 406 mime-type errors attempting to load new openapi schema
...
Kubernetes-commit: 51fb861b42dbac5b0037e525c4b8bfd9db48675c
2018-03-30 14:20:35 -04:00
Haowei Cai
31a3a561fc
Discovery client and aggregator downloader use /openapi/v2 endpoint
...
Kubernetes-commit: 17917940b5dfc516834980f0493cc241bcac4ab2
2018-02-20 09:22:40 -08:00
Nikhita Raghunath
c4f02185e3
core/v1 should be first in discovery order
...
Currently, core/v1 is in the end of the discovery order.
Since core/v1 is special, it should be in the beginning.
Kubernetes-commit: 45950fdb750d7ac12cec3b9ef3487baa99a40401
2018-02-05 15:04:29 +05:30
Antoine Pelisse
5e3eb38791
kubectl: Remove swagger 1.2 entirely.
...
Kubernetes-commit: d1ce36371e637f159256f1f43e3590926ff906d5
2017-09-28 15:58:53 -07:00
Antoine Pelisse
13c848bad2
openapi: Fetch protobuf rather than Json
...
This is much faster.
Kubernetes-commit: 224dba9a136e3e4014d88b3c2546418066bac026
2017-07-01 08:33:22 +00:00
Chao Xu
d82cfb70dd
run hack/update-staging-client-go, somehow we copied listers/<authn,authz,imagepolicy>
...
Kubernetes-commit: ffe74d1fe749b5887711f70af24e1375856f2520
2017-06-28 00:06:44 +00:00
Chao Xu
1e9caa8e14
run root-rewrite-import-client-go-api-types
...
Kubernetes-commit: f2d3220a11111f86b2f481e70e3c1ca4f5896f44
2017-06-28 00:06:44 +00:00
mbohlool
650f6b4f1d
Update go-restful dependency
...
Kubernetes-commit: ea042c6ca0fc7eb8017012ca56d6879b8cf10637
2017-05-12 17:21:59 +00:00
Phillip Wittrock
97a8b3b040
kubectl OpenAPI support
...
Kubernetes-commit: 212c2a3a7217ff7e0a7c895582c7a25d03ac7f8c
2017-04-27 20:28:33 +00:00
Christoph Blecker
ad53524c7c
Fix gofmt errors
...
Kubernetes-commit: 6681835b0c00122a408bd4addd47b02840b6208c
2017-04-18 20:28:21 +00:00
Kubernetes Publisher
687fd42903
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is 68f123dfa036bef57495f014a78144a9a1b517ca
2017-01-24 15:19:42 +00:00
Kubernetes Publisher
0eb5431cb7
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is 8d5227bb2e05e01031ace81fa6611a13f598278e
2017-01-21 15:19:42 +00:00
Kubernetes Publisher
14ee64eb52
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is ac857a5adefb894a8049ebf5295cabb719c9648d
2017-01-19 15:19:43 +00:00
Kubernetes Publisher
204f12b1f3
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is 616038db1b0d1e852b4a3d10c8c512a052f91fba
2017-01-14 15:19:47 +00:00
Kubernetes Publisher
243d8a9cb6
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is d8c925319a23f6bbf865baa53ae23f48f60dd73b
2016-12-11 15:19:40 +00:00
Kubernetes Publisher
124670e99d
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is 81d788dd6e0748e5d53a62c16d933c5f7a0718af
2016-12-04 11:39:55 +00:00
Kubernetes Publisher
5d8c36c93c
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is 124fb610dcbd445fa710da67508ac6d5b822f61d
2016-11-24 08:15:51 +00:00
Kubernetes Publisher
75399f68c8
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is e56cfc5322138aa23e6418ee30a6ab54c7c6fe8c
2016-10-21 04:44:19 +00:00
Chao Xu
a6d206121d
remove the top-level folders for versions
...
remove scripts
2016-10-19 14:34:19 -07:00