A collection of servers for a cluster's attributes, commands and events.

interface ClusterServer {
    attributes: Record<string, AnyAttributeServer>;
    commands: Record<string, CommandServer<any, any>>;
    datasource?: ClusterDatasource<any>;
    events: Record<string, AnyEventServer>;
    id: ClusterId;
    name: string;
}

Properties

attributes: Record<string, AnyAttributeServer>

Cluster attributes as named object that can be used to programmatically work with available attributes

commands: Record<string, CommandServer<any, any>>

Cluster commands as array

datasource?: ClusterDatasource<any>

Cluster datasource

events: Record<string, AnyEventServer>

Cluster events as named object

Cluster ID

name: string

Cluster name