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

x/kubernetes_client/lib/contract.ts>RestClient

Typescript library for accessing a Kubernetes API server
Latest
interface RestClient
import { type RestClient } from "https://deno.land/x/kubernetes_client@v0.7.3/lib/contract.ts";

Properties

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>