Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Typescript library for accessing a Kubernetes API server
Go to Latest
import * as kubernetesClient from "https://deno.land/x/kubernetes_client@v0.7.0/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.