UNPKG

kubernetes-fluent-client

Version:

A @kubernetes/client-node fluent API wrapper that leverages K8s Server Side Apply.

13 lines 631 B
import { KubernetesObject } from "@kubernetes/client-node"; import { GenericClass } from "../types.js"; import { K8sInit } from "./types.js"; import { Filters } from "./shared-types.js"; /** * Kubernetes fluent API inspired by Kubectl. Pass in a model, then call filters and actions on it. * * @param model - the model to use for the API * @param filters - (optional) filter overrides, can also be chained * @returns a fluent API for the model */ export declare function K8s<T extends GenericClass, K extends KubernetesObject = InstanceType<T>>(model: T, filters?: Filters): K8sInit<T, K>; //# sourceMappingURL=index.d.ts.map