Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ClusterDescription

A detailed description of the cluster

Hierarchy

  • ClusterDescription

Index

Constructors

constructor

Methods

addNode

  • Set the nodes belonging to this cluster

    Parameters

    Returns ClusterDescription

getAuthorizedOperations

  • getAuthorizedOperations(): any[]
  • Set the authorizedOperations

    Returns any[]

getClusterId

  • getClusterId(): string
  • Set the cluster ID

    Returns string

getController

  • getController(): Node
  • Set the controller node.

    Returns Node

getNodes

  • getNodes(): Node[]
  • Set the nodes belonging to this cluster

    Returns Node[]

setAuthorizedOperations

  • Set the authorizedOperations

    Parameters

    • authorizedOperations: any[]

    Returns ClusterDescription

setClusterId

  • Set the cluster ID

    Parameters

    • clusterId: string

    Returns ClusterDescription

setController

  • Set the controller node.

    Parameters

    Returns ClusterDescription

setNodes

  • Set the nodes belonging to this cluster

    Parameters

    Returns ClusterDescription

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc