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

x/kubernetes_apis/deps.ts>RestClient

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
interface RestClient
Re-export
import { type RestClient } from "https://deno.land/x/kubernetes_apis@v0.5.3/deps.ts";

Properties

optional
defaultNamespace: string
optional
defaultNamespace: string

Methods

performRequest(opts: RequestOptions & { expectTunnel: string[]; }): Promise<KubernetesTunnel>
performRequest(opts: RequestOptions & { expectStream: true; expectJson: true; }): Promise<ReadableStream<JSONValue>>
performRequest(opts: RequestOptions & { expectStream: true; }): Promise<ReadableStream<Uint8Array>>
performRequest(opts: RequestOptions & { expectJson: true; }): Promise<JSONValue>
performRequest(opts: RequestOptions): Promise<Uint8Array>
performRequest(opts: RequestOptions & { expectTunnel: string[]; }): Promise<KubernetesTunnel>
performRequest(opts: RequestOptions & { expectStream: true; expectJson: true; }): Promise<ReadableStream<JSONValue>>
performRequest(opts: RequestOptions & { expectStream: true; }): Promise<ReadableStream<Uint8Array>>
performRequest(opts: RequestOptions & { expectJson: true; }): Promise<JSONValue>
performRequest(opts: RequestOptions): Promise<Uint8Array>