kubernetes/test/e2e/framework/pod
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
..
output Remove redundant re-assignments in for-loops in test/{e2e,integration,utils} 2026-01-25 22:58:27 +01:00
.import-restrictions e2e framework: remove dependency on k8s.io/kubernetes/pkg/api/v1/pod 2023-05-12 08:39:37 +08:00
create.go Add e2e test for SELinuxMount to CSI drivers 2025-08-08 14:25:24 +02:00
delete.go test: add batch pod deletion for kubelet e2e tests 2025-07-19 14:13:59 +08:00
dial.go staging: extract CRI streaming modules with client-go compatibility 2026-03-12 09:59:55 -04:00
exec_util.go staging: extract CRI streaming modules with client-go compatibility 2026-03-12 09:59:55 -04:00
get.go HandleRetry has already called in the GetObject 2023-09-07 15:48:18 +08:00
node_selection.go e2e: avoid setting NodeName for CSI driver deployments 2020-02-26 10:33:29 +01:00
pod_client.go Deprecate obsolete slice utility functions 2026-02-16 10:04:33 +01:00
resource.go use framework.ExpectNoError instead 2025-05-11 13:12:29 +08:00
resource_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
utils.go Make pod-security-admission honor emulation version 2025-09-17 15:32:32 -04:00
utils_test.go chore: depr. pointer pkg replacement for test/e2e and utils 2025-07-06 22:18:03 +02:00
wait.go Increase termination timeout for evicted pods should be terminal test 2025-09-03 08:58:46 +02:00
wait_test.go dependencies: ginkgo v2.27.3 + gomega v1.38.3 2025-12-19 10:37:54 +01:00