Utility functions for strings.


Keywords
kubernetes, kubernetes-models, javascript, typescript
License
MIT
Install
npm install @kubernetes-models/string-util@3.0.1

Documentation

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