Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kubernetes_apis/tunnels.ts>PortforwardTunnel#connectToPort

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Go to Latest
method PortforwardTunnel.prototype.connectToPort
import { PortforwardTunnel } from "https://deno.land/x/kubernetes_apis@v0.5.1/tunnels.ts";

Parameters

port: number

Returns

Promise<{ result: Promise<null>; readable: ReadableStream<Uint8Array>; writable: WritableStream<Uint8Array>; }>