4.5.0 • Published 2 months ago

@soft-stech/kubernetes-models v4.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

kubernetes-models

npm.io npm.io

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

4.5.0

2 months ago

4.4.1

2 months ago

4.4.2

2 months ago

4.3.2

1 year ago

4.3.1

1 year ago