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

x/kubernetes_apis/deps.ts>KindIds

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
type alias KindIds
import { type KindIds } from "https://deno.land/x/kubernetes_apis@v0.5.1/deps.ts";

Implementation of a Kubernetes List/Watch client which furnishes a view of the watched data. This is commonly called a 'Reflector' among the client libraries, though this one is less standard.

The core class here is a bit generic and tries to depend mostly on things within this file. This is because a Reflector works pretty directly with Kubernetes API objects, while this overall kubernetes_client module only serves as an API access path. So you'll be furnishing your exact API structures by instiantiating the Reflector class. (Usually the API will be from /x/kubernetes_apis/builtin/meta@v1/struct.ts but it can vary)

This class/file work fine, but the types and APIs are still unstable while I figure out what's necesary for various usecases. Please file issues or start discussions if you have any input!

definition: { metadata?: { name?: string | null; namespace?: string | null; uid?: string | null; resourceVersion?: string | null; } | null; }