Skip to content

kubernetes-models 0.0.3

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

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.3.tgz

Download activity

  • Total downloads 9
  • Last 30 days 3
  • Last week 3
  • Today 0

Recent versions

View all