Skip to content

luminati-io/kubernetes-models-ts

 
 

Repository files navigation

kubernetes-models-ts

Test

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();

See examples folder for more examples.

Packages

Models

3rd-party Models

Generators

Runtime Dependencies

Utilities

License

MIT

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.6%
  • JavaScript 1.2%
  • Shell 0.2%