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

x/kubernetes_apis/tunnels.ts>StdioTunnel

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
class StdioTunnel
import { StdioTunnel } from "https://deno.land/x/kubernetes_apis@v0.5.0/tunnels.ts";

Constructors

new
StdioTunnel(tunnel: KubernetesTunnel, originalParams: URLSearchParams)

Properties

readonly
channelVersion: number
ready: Promise<void>
status: Promise<ExecStatus>
readonly
stderr
readonly
stdin
readonly
stdout
readonly
ttyResizeStream

If tty was requested, an outbound stream for dynamically changing the TTY dimensions

Methods

Immediately disconnects the network tunnel, likely dropping any in-flight data.

Buffers all data for stdout and/or stderr and returns the buffers when the remote command exits.

Shorthand for writing to the tty resize stream, especially useful for setting an initial size

ttyWriteSignal(signal: "INTR" | "QUIT" | "SUSP")

Shorthand for injecting Ctrl-C and others when running an interactive TTY

Static Properties

readonly
supportedProtocols: string[]