UNPKG

kubernetes-fluent-client

Version:

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

16 lines 702 B
import { GenericClass, GroupVersionKind } from "./types.js"; /** * Converts a model name to a GroupVersionKind * * @param key The name of the model * @returns The GroupVersionKind for the model */ export declare function modelToGroupVersionKind(key: string): GroupVersionKind; /** * Registers a new model and GroupVersionKind to be used within the fluent API. * * @param model Used to match the GroupVersionKind and define the type-data for the request * @param groupVersionKind Contains the match parameters to determine the request should be handled */ export declare const RegisterKind: (model: GenericClass, groupVersionKind: GroupVersionKind) => void; //# sourceMappingURL=kinds.d.ts.map