@soft-stech/rabbitmq-cluster-operator
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

@kubernetes-models/rabbitmq-cluster-operator

RabbitMQ Cluster Operator models.

Installation

Install with npm.

npm install @kubernetes-models/rabbitmq-cluster-operator

Usage

import { RabbitmqCluster } from "@kubernetes-models/rabbitmq-cluster-operator/rabbitmq.com/v1beta1/RabbitmqCluster";

// Create a new RabbitmqCluster
const cluster = new RabbitmqCluster({
  metadata: { name: "example" },
  spec: {
    replicas: 3,
    service: {
      type: "LoadBalancer"
    }
  }
});

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

License

See LICENSE

Package Sidebar

Install

npm i @soft-stech/rabbitmq-cluster-operator

Weekly Downloads

2

Version

0.2.3

License

MIT

Unpacked Size

1.37 MB

Total Files

15

Last publish

Collaborators

  • nulled06
  • cogors
  • maxgorovenko