kubernetes/pkg/client/tests
Davanum Srinivas 1ee1ff97fb
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>
2026-03-12 09:59:55 -04:00
..
clientset_test.go Drop null creationTimestamp from test fixtures 2025-05-02 15:38:40 -04:00
cri_streaming_spdy_compat_test.go staging: extract CRI streaming modules with client-go compatibility 2026-03-12 09:59:55 -04:00
doc.go Modification: revise some errors about golint in some packages 2018-08-31 13:22:25 +08:00
fake_client_test.go generated: run refactor 2020-02-08 12:30:21 -05:00
listwatch_test.go fix defer in for loop, maybe resource leak 2022-06-03 02:08:23 +09:00
portfoward_test.go staging: extract CRI streaming modules with client-go compatibility 2026-03-12 09:59:55 -04:00
remotecommand_test.go staging: extract CRI streaming modules with client-go compatibility 2026-03-12 09:59:55 -04:00