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

x/kubernetes_apis/client.ts>Reflector

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

Constructors

new
Reflector(lister: (opts: ListOpts) => Promise<ListOf<T>>, watcher: (opts: WatchOpts) => Promise<ReadableStream<WatchEvent<T, S>>>)

Methods

_emit(evt: ReflectorEvent<T, S>, refVersion: string | null): void
getCached(namespace: string, name: string): (T & KindIdsReq) | undefined
goObserveAll<U>(cb: (iter: AsyncIterableIterator<ReflectorEvent<T, S>>) => Promise<U>): Promise<U>
isSynced(): boolean
listCached(): Iterable<T & KindIdsReq>
observeAll(): AsyncIterableIterator<ReflectorEvent<T, S>>
run(abortSignal?: AbortSignal)