3.0.1 • Published 1 year ago

@kubernetes-models/string-util v3.0.1

Weekly downloads
123
License
MIT
Repository
github
Last release
1 year ago

kubernetes-models-ts

npm.io CircleCI

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

Utilities

License

MIT