UNPKG

kubernetes-fluent-client

Version:

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

24 lines (23 loc) 1.07 kB
// SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023-Present The Kubernetes Fluent Client Authors import "./patch.js"; // Export kinds as a single object import * as kind from "./upstream.js"; /** kind is a collection of K8s types to be used within a K8s call: `K8s(kind.Secret).Apply({})`. */ export { kind }; // Export the node-fetch wrapper export { fetch } from "./fetch.js"; // Export the HTTP status codes export { StatusCodes as fetchStatus } from "http-status-codes"; // Export the Watch Config and Event types export { WatchEvent } from "./fluent/watch.js"; // Export the fluent API entrypoint export { K8s } from "./fluent/index.js"; // Export helpers for working with K8s types export { RegisterKind, modelToGroupVersionKind } from "./kinds.js"; // Export the GenericKind interface for CRD registration export { GenericKind } from "./types.js"; export * from "./types.js"; // Export the upstream raw models export * as models from "@kubernetes/client-node/dist/gen/models/all.js"; export { fromEnv, waitForCluster } from "./helpers.js";