@openshift-assisted/ui-lib
Version:
React component library for the Assisted Installer UI
23 lines • 955 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HOSTS_MIN_COUNT = exports.HOSTS_MAX_COUNT = exports.wizardStepNames = exports.clusterHostsSelectionLabel = void 0;
const clusterHostsSelectionLabel = (t) => ({
hostCount: t('ai:Host Count'),
masterLabels: t('ai:Host Labels'),
workerLabels: t('ai:Worker Hosts Labels'),
});
exports.clusterHostsSelectionLabel = clusterHostsSelectionLabel;
const wizardStepNames = (t) => ({
'installation-type': t('ai:Installation type'),
automation: t('ai:Automation'),
'cluster-details': t('ai:Cluster details'),
'hosts-selection': t('ai:Cluster hosts'),
'hosts-discovery': t('ai:Cluster hosts'),
networking: t('ai:Networking'),
review: t('ai:Review and create'),
});
exports.wizardStepNames = wizardStepNames;
// TODO(mlibra): what is the limit???
exports.HOSTS_MAX_COUNT = 1024;
exports.HOSTS_MIN_COUNT = 3;
//# sourceMappingURL=constants.js.map