Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kubernetes_client/tunnel-beta/via-websocket.ts

Typescript library for accessing a Kubernetes API server
Latest
import * as kubernetesClient from "https://deno.land/x/kubernetes_client@v0.7.3/tunnel-beta/via-websocket.ts";

Classes

Extension of KubeConfigRestClient, adding tunnel support via WebSocketStream. WebSockets have various limits within the Kubernetes and Deno ecosystem, but they work quite well in several situations and have good backpressure support.

Handles an individual WebSocket connection to the Kubernetes API. Kubernetes WebSockets support up to 255 indexed bytestreams. To send or receive data, you must first provide the channel's index, and then streams will be returned for that particular index.