Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kubernetes_apis/common.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.1/common.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>