novahe
9e53371dda
Fix test cases that may potentially cause a panic.
2025-03-11 17:41:37 +08:00
Natasha Sarkar
0140842add
update testdata for roundtrip and client tests
2025-03-06 22:31:15 +00:00
xin.li
bc4ae15d77
fix wrong assertion on tests
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2025-02-23 16:53:50 +08:00
Monis Khan
e4d10cfb1b
Add test to confirm default content type used by core client
...
Signed-off-by: Monis Khan <mok@microsoft.com >
2024-10-23 11:35:32 -04:00
Kubernetes Prow Robot
743f5a1a02
Merge pull request #127038 from oscgu/chore/rm-ioutil-3
...
chore(client): rm ioutil
2024-10-23 08:30:52 +01:00
Oscar Guertler
067ca549b3
chore: rm ioutil
2024-08-31 20:45:40 +02:00
Andy Goldstein
0e228be96f
Use emeritus_*
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2024-08-22 17:48:27 -04:00
Andy Goldstein
3ab816dcab
Move ncdc to emeritus
...
I am moving myself to emeritus as I am now firmly on the end-user side
of things.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2024-08-17 13:06:45 -04:00
Sascha Grunert
db9fcfeed2
Move cri/streaming to k8s.io/kubelet staging repository
...
Container runtimes like CRI-O and containerd reuse the code by copying
it from Kubernetes. To have a single source of truth for the streaming
server we now move the already isolated implementation to the
k8s.io/kubelet staging repository. This way runtimes can re-use the code
without copying the parts.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2023-06-05 08:08:18 +02:00
Kubernetes Prow Robot
38652a8c31
Merge pull request #116531 from my-git9/ut-conditions
...
[UT] add ut for pkg/client/conditions
2023-05-15 13:21:35 -07:00
Joe Betz
f0f92853ad
Add api-machinery TL owners permissions for jpbetz
2023-05-15 11:09:54 -04:00
xin.li
dd49af86b7
[UT] add ut for pkg/client/conditions
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-05-12 10:48:46 +08:00
Daniel Smith
1ffe3f467e
lavalamp is taking a long break
2023-05-11 16:43:38 +00:00
HirazawaUi
3b18e80fb4
delete unused functions in pkg directory
2023-01-16 21:43:36 +08:00
David Ashpole
64af1adace
Second attempt: Plumb context to Kubelet CRI calls ( #113591 )
...
* plumb context from CRI calls through kubelet
* clean up extra timeouts
* try fixing incorrectly cancelled context
2022-11-05 06:02:13 -07:00
arkbriar
42808c8343
Support cancelable SPDY executor stream
...
Mark remotecommand.Executor as deprecated and related modifications.
Handle crash when streamer.stream panics
Add a test to verify if stream is closed after connection being closed
Remove blank line and update waiting time to 1s to avoid test flakes in CI.
Refine the tests of StreamExecutor according to comments.
Remove the comment of context controlling the negotiation progress and misc.
Signed-off-by: arkbriar <arkbriar@gmail.com >
2022-10-09 15:24:00 +08:00
Kante Yin
e844c12a61
Cleanup: defer to close server in tests ( #110367 )
...
* Cleanup: defer to close server in tests
Signed-off-by: kerthcet <kerthcet@gmail.com >
* address comments
Signed-off-by: kerthcet <kerthcet@gmail.com >
* address comments
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-06-21 08:00:38 -07:00
21kyu
3f7dfc9818
fix defer in for loop, maybe resource leak
2022-06-03 02:08:23 +09:00
Davanum Srinivas
ba1f853b5a
Add mwielgus back
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-01-10 09:02:53 -05:00
Davanum Srinivas
9682b7248f
OWNERS cleanup - Jan 2021 Week 1
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-01-10 08:14:29 -05:00
Davanum Srinivas
497e9c1971
Cleanup OWNERS files (No Activity in the last year)
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-12-15 10:34:02 -05:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-12-09 21:31:26 -05:00
Monis Khan
91241eac9b
Prune stale entries from OWNERS files
...
Signed-off-by: Monis Khan <mok@vmware.com >
2021-04-13 20:54:50 -04:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Nikhita Raghunath
6cef3a4e33
*: remove nikhiljindal from OWNERS
2021-02-16 10:59:26 +05:30
Nikhita Raghunath
b11516d69f
*: move gmarek to emeritus_approvers
2021-02-16 10:59:19 +05:30
Jordan Liggitt
fcea950405
Deflake port forward tests to avoid hard-coded local ports
2020-09-04 15:33:43 -04:00
Benjamin Elder
2abc8afece
eparis to emeritus
2020-06-30 09:50:44 -07:00
Benjamin Elder
960ef085e9
zmerlynn to emeritus
2020-06-30 09:43:59 -07:00
Kubernetes Prow Robot
0e37bcce2c
Merge pull request #88385 from tallclair/node-reviews
...
Remove tallclair from some OWNERS files
2020-05-24 20:23:11 -07:00
Kubernetes Prow Robot
12088aa76d
Merge pull request #90649 from cici37/leaderelectionconfig
...
Moving leaderelectionconfig to k8s.io/component-base
2020-05-20 19:40:47 -07:00
Davanum Srinivas
0608e8be25
update bazel BUILD files
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-20 10:57:47 -04:00
Davanum Srinivas
5692926914
Move packages for slightly better UX for consumers
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-20 10:57:46 -04:00
cici37
f52636330a
Moving leaderelectionconfig to k8s.io/component-base
2020-05-15 09:08:20 -07:00
Tim Allclair
029a144ae9
Remove tallclair from some OWNERS files
2020-05-11 11:44:38 -07:00
wojtekt
ead12b02fe
Remove ListWatchUntil
2020-05-11 16:34:18 +02:00
ialidzhikov
fa7dadba0f
Fix doc for leader-elect-resource-lock flag
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com >
2020-04-15 20:39:36 +03:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Tim Allclair
9d3670f358
Ensure testing credentials are labeled as such
2020-02-04 10:36:05 -08:00
Ted Yu
906adbdfcd
Require client / server protocols
2020-01-06 08:50:04 -08:00
Jordan Liggitt
5d5b444c4d
Remove use of testapi codecs, selflink, resourcepath functions
2019-12-13 11:56:29 -05:00
hwdef
82b9cf1890
pkg/client: fix staticcheck warning
2019-11-14 10:08:16 +08:00
Clayton Coleman
3b780c64b8
Always negotiate a decoder using ClientNegotiator
...
This commit performs two refactors and fixes a bug.
Refactor 1 changes the signature of Request to take a RESTClient, which
removes the extra copy of everything on RESTClient from Request. A pair
of optional constructors are added for testing. The major functional
change is that Request no longer has the shim HTTPClient interface and
so some test cases change slightly because we are now going through
http.Client code paths instead of direct to our test stubs.
Refactor 2 changes the signature of RESTClient to take a
ClientContentConfig instead of ContentConfig - the primary difference
being that ClientContentConfig uses ClientNegotiator instead of
NegotiatedSerializer and the old Serializers type. We also collapse
some redundancies (like the rate limiter can be created outside the
constructor).
The bug fix is to negotiate the streaming content type on a Watch()
like we do for requests. We stop caching the decoder and simply
resolve it on the request. We also clean up the dynamic client
and remove the extra WatchSpecificVersions() method by providing
a properly wrapped dynamic client.
2019-11-10 21:30:36 -05:00
Kubernetes Prow Robot
d5da17e58e
Merge pull request #81432 from logicalhan/clean-shared-metrics
...
delete shared metrics (post metrics-stability migration)
2019-09-10 14:30:32 -07:00
Han Kang
d301e9c3a5
clean-up shared metrics code and remaining references (component-base's copy is a drop in replacement)
2019-08-30 10:41:52 -07:00
Robert Bailey
9d211ab352
Remove myself from reviewers across the repo so that PRs are no
...
longer assigned to me by blunderbuss.
Move myself to be an emeritus approver for the cluster directory.
2019-08-27 16:10:16 -07:00
chenyixiang
ee6e28b5cf
add options for name and namespace of leaderelection object
...
Change-Id: Iaa62f5f1c3b24a4cc567a840707d9eba7cf901b8
2019-07-30 09:46:49 +08:00
Kubernetes Prow Robot
ba0abd0be6
Merge pull request #73947 from danielqsj/dld
...
remove unused DefaultLeaseDuration
2019-05-23 20:58:17 -07:00
yue9944882
8f601d3413
prune internal client references from test/*
2019-04-09 21:43:55 +08:00