Skip to main content
Module

x/kubernetes_apis/client.ts>tunnelBeta

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
namespace tunnelBeta
import { tunnelBeta } from "https://deno.land/x/kubernetes_apis@v0.5.0/client.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.