All Projects → tommy351 → kubernetes-models-ts

tommy351 / kubernetes-models-ts

Licence: MIT license
Kubernetes models in TypeScript.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].