@soft-stech/kubernetes-models
TypeScript icon, indicating that this package has built-in type declarations

4.3.2 • Public • Published

kubernetes-models

Kubernetes models in TypeScript.

Installation

Install with npm.

npm install kubernetes-models

Usage

import { Pod } from "kubernetes-models/v1";

// Create a new instance
const pod = new Pod({
  metadata: {
    name: "foo"
  },
  spec: {
    containers: []
  }
});

// Validate against JSON schema
pod.validate();

License

MIT

/@soft-stech/kubernetes-models/

    Package Sidebar

    Install

    npm i @soft-stech/kubernetes-models

    Weekly Downloads

    13

    Version

    4.3.2

    License

    MIT

    Unpacked Size

    73.9 MB

    Total Files

    7227

    Last publish

    Collaborators

    • nulled06
    • cogors
    • maxgorovenko