@kubernetes-models/grafana-operator
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

@kubernetes-models/grafana-operator

Grafana operator models.

Installation

Install with npm.

npm install @kubernetes-models/grafana-operator

Usage

import { Grafana } from "@kubernetes-models/grafana-operator/integreatly.org/v1alpha1/Grafana";

// Create a new Grafana
const grafana = new Grafana({
  metadata: { name: "example" },
  spec: {
    config: {
      log: {
        mode: "console",
        level: "error"
      }
    }
  }
});

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

License

See LICENSE

Package Sidebar

Install

npm i @kubernetes-models/grafana-operator

Weekly Downloads

14

Version

2.3.0

License

MIT

Unpacked Size

2.64 MB

Total Files

48

Last publish

Collaborators

  • tommy351