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
Go to Latest
interface RestClient
import { type RestClient } from "https://deno.land/x/kubernetes_apis@v0.3.2/common.ts";

Properties

optional
defaultNamespace: string

Methods

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>