Skip to main content

Interface: ClusterConfiguratorProps

Defined in: components/ClusterConfigurator.tsx:53

A computed object containing a cluster config setting enriched with its current UI state: available values for drilldown, the currently selected value, and whether the selector should be disabled.

Properties

className?

optional className?: string

Defined in: components/ClusterConfigurator.tsx:85

Extra CSS class applied to the root element.


clusterId

clusterId: number

Defined in: components/ClusterConfigurator.tsx:55

The cluster ID this configurator belongs to. Required.


config

config: ClusterConfig

Defined in: components/ClusterConfigurator.tsx:68

Cluster configuration object (cluster.config). Required. Provides the ordered list of attribute settings.


defaultProduct?

optional defaultProduct?: Product

Defined in: components/ClusterConfigurator.tsx:79

Default product to pre-populate the attribute selections on mount.


labels?

optional labels?: Record<string, string>

Defined in: components/ClusterConfigurator.tsx:82

Override any UI string. Available keys: selectOption


onConfigurationChange?

optional onConfigurationChange?: (product) => void

Defined in: components/ClusterConfigurator.tsx:76

Fired whenever the user completes a set of attribute selections that uniquely identifies a cluster product. Also fired whenever any selection changes and a matching product can already be determined (e.g. only one setting exists).

Parameters

product

Product

Returns

void


products

products: Product[]

Defined in: components/ClusterConfigurator.tsx:62

All products that belong to the cluster. Required. Used to derive available values per attribute and to match the configured product when all selections are made.