Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kubernetes_client/mod.ts>KindIds

Typescript library for accessing a Kubernetes API server
Latest
type alias KindIds
import { type KindIds } from "https://deno.land/x/kubernetes_client@v0.7.3/mod.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; }