Davanum Srinivas
|
9926c67348
|
staging: extract CRI streaming modules with client-go compatibility
Extract streaming code into dedicated staging modules while keeping stable
compatibility APIs for external client-go consumers.
This commit:
- adds `k8s.io/cri-streaming` for CRI exec/attach/portforward server code
- adds `k8s.io/streaming` as the canonical home for shared transport
primitives (`httpstream`, `spdy`, `wsstream`, runtime helpers)
- switches in-tree transport consumers to `k8s.io/streaming`
- removes in-tree kubelet CRI streaming package
- preserves NO_PROXY/no_proxy CIDR handling in extracted SPDY proxier logic
- adds deprecated `k8s.io/apimachinery/pkg/util/httpstream` compatibility
wrappers (`httpstream`, `spdy`, `wsstream`) backed by `k8s.io/streaming`
- restores exported client-go SPDY/portforward API signatures to
apimachinery `httpstream` types for downstream compatibility
- adds streaming-native client-go adapters/constructors so in-tree callers
can use `k8s.io/streaming` without changing external compatibility APIs
- deduplicates SPDY-over-websocket dial negotiation shared by compat and
streaming tunneling dialers
- logs dropped unknown stream types in `RemoveStreams` adapter fallbacks to
improve compatibility-path debuggability
- adds integration coverage for the streaming-upgrader-to-client-go-compat
adapter path against a real cri-streaming exec endpoint
- clarifies kubectl streaming import aliasing to avoid `httpstream` package
ambiguity
- updates tests, import restrictions, publishing metadata, and vendor/module
metadata for the new staging modules
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Kubernetes-commit: 1ee1ff97fb7f9755a44d29bee0c80d2ccbed68dc
|
2026-02-28 19:40:07 -05:00 |
|
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 |
|
Sean Sullivan
|
3cd3050ffd
|
Upgrade websocket failure add extra error info
Kubernetes-commit: eec2be81681c5ad147df13aad60a003af0c4c48f
|
2024-09-19 15:47:19 -07:00 |
|
Matthieu MOREL
|
c2ecdf4169
|
fix: enable contains rule from testifylint in module k8s.io/client-go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Kubernetes-commit: f50a173bec32cd01b5f9d749c5c8a57aef732d42
|
2024-09-22 11:57:09 +02:00 |
|
Sean Sullivan
|
3aff10e3cd
|
Adds extra error information from response to bad handshake error when possible
Kubernetes-commit: f387f0b69acb34143f76275aacb955fabb555bd7
|
2024-07-14 19:46:16 -07:00 |
|
Jordan Liggitt
|
e8b5ff9ea3
|
Use the websocket protocol header, verify selected protocol
Kubernetes-commit: b394aac4ce36457bd37459a58b4c3536d2f43d86
|
2024-02-27 18:00:45 -05:00 |
|
Sean Sullivan
|
b7d73dd18c
|
StreamTranslator and FallbackExecutor for WebSockets
Kubernetes-commit: 168998e87bfd49a1b0bc6402761fafd5ace3bb3b
|
2023-07-06 21:22:07 -07:00 |
|
Sean Sullivan
|
fd1e22bd8f
|
WebSocket Client and V5 RemoteCommand Subprotocol
Kubernetes-commit: a0d6a815fcc02cbfea1bb22d13a8e896ecbe116c
|
2023-07-06 21:22:07 -07:00 |
|