@kubernetes-models/grafana-operator
v2.4.0
Published
Grafana operator models
Downloads
61
Maintainers
Readme
@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