gke
@kubernetes-models/gke
npm i @kubernetes-models/gke
gke

@kubernetes-models/gke

Kubernetes models in TypeScript.

by Tommy Chen

3.0.2 (see all)License:MITTypeScript:Built-In
npm i @kubernetes-models/gke
Readme

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

Downloads/wk

3

GitHub Stars

59

LAST COMMIT

4mos ago

MAINTAINERS

1

CONTRIBUTORS

7

OPEN ISSUES

1

OPEN PRs

0
VersionTagPublished
3.0.2
latest
3mos ago
0.0.0-202177121237
snapshot
1yr ago
No alternatives found
No tutorials found
Add a tutorial