@k8s-ts/latest
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

@k8s-ts/latest

Goals

  • type-safe definition of resources
  • type-safe interactions with apiserver
  • easing the upgrade path for kubernetes manifests.
import {serialize} from "@k8s-ts/latest";
import {Service} from "@k8s-ts/latest/v1";

const service : Service = {
  // ...
};

console.log(JSON.stringify(serialize(service)));

/@k8s-ts/latest/

    Package Sidebar

    Install

    npm i @k8s-ts/latest

    Weekly Downloads

    0

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    4.5 MB

    Total Files

    74

    Last publish

    Collaborators

    • fd