import { type KubernetesTunnel } from "https://deno.land/x/kubernetes_client@v0.7.0/mod.ts";
Methods
getChannel<Treadable extends boolean, Twritable extends boolean>(opts: { spdyHeaders?: Record<string, string | number>; streamIndex?: number; readable: Treadable; writable: Twritable; }): Promise<{ readable: Treadable extends true ? ReadableStream<Uint8Array> : null; writable: Twritable extends true ? WritableStream<Uint8Array> : null; }>
Set up a channel, using either SPDY or Websocket semantics.