Skip to content

kubernetes-models 0.0.2

Install from the command line:
Learn more about npm packages
$ npm install @appthrust/kubernetes-models@0.0.2
Install via package.json:
"@appthrust/kubernetes-models": "0.0.2"

About this version

@kubernetes-models/flux-cd

Flux CD models.

Installation

Install with npm.

npm install @kubernetes-models/flux-cd

Usage

import { GitRepository } from "@kubernetes-models/flux-cd/source.toolkit.fluxcd.io/v1beta1/GitRepository";

// Create a new GitRepository
const repo = new GitRepository({
  metadata: {
    name: "webapp"
  },
  spec: {
    interval: "60m",
    url: "https://github.com/tommy351/kubernetes-models-ts",
    ref: {
      branch: "master"
    }
  }
});

// Validate against JSON schema
repo.validate();

License

MIT

Details


Assets

  • kubernetes-models-0.0.2.tgz

Download activity

  • Total downloads 30
  • Last 30 days 1
  • Last week 0
  • Today 0

Recent versions

View all