@openshift-assisted/ui-lib 2.7.11-cim
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +99 -0
- package/dist/cim/index.css +2 -0
- package/dist/cim/index.css.map +7 -0
- package/dist/cim/index.js +25 -0
- package/dist/cim/index.js.map +7 -0
- package/dist/index.css +2 -0
- package/dist/index.css.map +7 -0
- package/dist/index.js +37 -0
- package/dist/index.js.map +7 -0
- package/dist/locales/en/translation.json +763 -0
- package/dist/locales/ja/translation.json +763 -0
- package/dist/locales/ko/translation.json +763 -0
- package/dist/locales/zh/translation.json +763 -0
- package/dist/ocm/index.css +2 -0
- package/dist/ocm/index.css.map +7 -0
- package/dist/ocm/index.js +34 -0
- package/dist/ocm/index.js.map +7 -0
- package/dist/src/cim/components/Agent/AgentStatus.d.ts +14 -0
- package/dist/src/cim/components/Agent/AgentTable.d.ts +12 -0
- package/dist/src/cim/components/Agent/AgentsSelectionHostCountAlerts.d.ts +8 -0
- package/dist/src/cim/components/Agent/AgentsSelectionHostCountLabelIcon.d.ts +2 -0
- package/dist/src/cim/components/Agent/AgentsSelectionTable.d.ts +16 -0
- package/dist/src/cim/components/Agent/AgentsSelectionUtils.d.ts +7 -0
- package/dist/src/cim/components/Agent/BMCForm.d.ts +4 -0
- package/dist/src/cim/components/Agent/BMHStatus.d.ts +7 -0
- package/dist/src/cim/components/Agent/MinimalHWRequirements.d.ts +15 -0
- package/dist/src/cim/components/Agent/NoAgentsAlert.d.ts +5 -0
- package/dist/src/cim/components/Agent/index.d.ts +3 -0
- package/dist/src/cim/components/Agent/tableUtils.d.ts +51 -0
- package/dist/src/cim/components/Agent/types.d.ts +36 -0
- package/dist/src/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts +23 -0
- package/dist/src/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.d.ts +2 -0
- package/dist/src/cim/components/ClusterDeployment/ArmCheckbox.d.ts +7 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts +9 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentCredentials.d.ts +13 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetails.d.ts +13 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts +13 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts +19 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.d.ts +10 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts +4 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts +14 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts +4 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +4 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.d.ts +10 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.d.ts +4 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.d.ts +15 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.d.ts +8 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.d.ts +10 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.d.ts +20 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts +4 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentProgress.d.ts +13 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts +13 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentValidationsOverview.d.ts +9 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts +4 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts +10 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts +12 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts +3 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.d.ts +6 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts +16 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterInstallationError.d.ts +7 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterScaleUpAutoHostsSelection.d.ts +7 -0
- package/dist/src/cim/components/ClusterDeployment/LabelsSelector.d.ts +13 -0
- package/dist/src/cim/components/ClusterDeployment/LocationsSelector.d.ts +6 -0
- package/dist/src/cim/components/ClusterDeployment/LogsDownloadButton.d.ts +11 -0
- package/dist/src/cim/components/ClusterDeployment/NetworkConfiguration.d.ts +9 -0
- package/dist/src/cim/components/ClusterDeployment/ScaleUpForm.d.ts +9 -0
- package/dist/src/cim/components/ClusterDeployment/ShortCapacitySummary.d.ts +9 -0
- package/dist/src/cim/components/ClusterDeployment/constants.d.ts +14 -0
- package/dist/src/cim/components/ClusterDeployment/helpers.d.ts +23 -0
- package/dist/src/cim/components/ClusterDeployment/index.d.ts +17 -0
- package/dist/src/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +5 -0
- package/dist/src/cim/components/ClusterDeployment/types.d.ts +174 -0
- package/dist/src/cim/components/ClusterDeployment/use-networking-formik.d.ts +39 -0
- package/dist/src/cim/components/ClusterDeployment/validationSchemas.d.ts +3 -0
- package/dist/src/cim/components/ClusterDeployment/wizardTransition.d.ts +10 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.d.ts +21 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts +11 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts +7 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.d.ts +8 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/NodePoolStatus.d.ts +8 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts +18 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +25 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/index.d.ts +2 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts +4 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.d.ts +4 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/index.d.ts +1 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +35 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.d.ts +4 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.d.ts +4 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.d.ts +11 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/index.d.ts +1 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts +30 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.d.ts +5 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.d.ts +4 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/index.d.ts +2 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/types.d.ts +23 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/index.d.ts +3 -0
- package/dist/src/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts +10 -0
- package/dist/src/cim/components/Hypershift/hooks/useSupportedOCPVersions.d.ts +3 -0
- package/dist/src/cim/components/Hypershift/hooks/useTemptiflySync.d.ts +6 -0
- package/dist/src/cim/components/Hypershift/index.d.ts +4 -0
- package/dist/src/cim/components/Hypershift/modals/AddNodePoolModal.d.ts +12 -0
- package/dist/src/cim/components/Hypershift/modals/ManageHostsModal.d.ts +16 -0
- package/dist/src/cim/components/Hypershift/modals/NodePoolForm.d.ts +18 -0
- package/dist/src/cim/components/Hypershift/modals/RemoveNodePoolModal.d.ts +8 -0
- package/dist/src/cim/components/Hypershift/types.d.ts +195 -0
- package/dist/src/cim/components/Hypershift/utils/index.d.ts +3 -0
- package/dist/src/cim/components/Hypershift/utils/labels.d.ts +10 -0
- package/dist/src/cim/components/Hypershift/utils/nodepool.d.ts +3 -0
- package/dist/src/cim/components/Hypershift/utils/status.d.ts +10 -0
- package/dist/src/cim/components/InfraEnv/AddHostDropdown.d.ts +4 -0
- package/dist/src/cim/components/InfraEnv/AgentAlerts.d.ts +9 -0
- package/dist/src/cim/components/InfraEnv/EnvironmentDetails.d.ts +16 -0
- package/dist/src/cim/components/InfraEnv/EnvironmentErrors.d.ts +9 -0
- package/dist/src/cim/components/InfraEnv/InfraEnvAgentTable.d.ts +4 -0
- package/dist/src/cim/components/InfraEnv/InfraEnvFormPage.d.ts +31 -0
- package/dist/src/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.d.ts +8 -0
- package/dist/src/cim/components/InfraEnv/InfraTableToolbar.d.ts +16 -0
- package/dist/src/cim/components/InfraEnv/index.d.ts +8 -0
- package/dist/src/cim/components/InfraEnv/types.d.ts +12 -0
- package/dist/src/cim/components/InfraEnv/utils.d.ts +13 -0
- package/dist/src/cim/components/YamlPreview/YamlPreview.d.ts +8 -0
- package/dist/src/cim/components/YamlPreview/index.d.ts +2 -0
- package/dist/src/cim/components/YamlPreview/useYAMLPreview.d.ts +14 -0
- package/dist/src/cim/components/common/InfoAndTroubleshootingNotification.d.ts +7 -0
- package/dist/src/cim/components/common/ResourceAlerts.d.ts +7 -0
- package/dist/src/cim/components/common/SpecSyncErrAlert.d.ts +5 -0
- package/dist/src/cim/components/common/ValidationsRunningAlert.d.ts +2 -0
- package/dist/src/cim/components/common/constants.d.ts +10 -0
- package/dist/src/cim/components/common/index.d.ts +2 -0
- package/dist/src/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts +8 -0
- package/dist/src/cim/components/featureSupportLevels/featureStateUtils.d.ts +4 -0
- package/dist/src/cim/components/featureSupportLevels/index.d.ts +1 -0
- package/dist/src/cim/components/helpers/agentClusterInstall.d.ts +3 -0
- package/dist/src/cim/components/helpers/agentStatus.d.ts +3 -0
- package/dist/src/cim/components/helpers/agents.d.ts +15 -0
- package/dist/src/cim/components/helpers/clusterDeployment.d.ts +38 -0
- package/dist/src/cim/components/helpers/conditions.d.ts +9 -0
- package/dist/src/cim/components/helpers/index.d.ts +11 -0
- package/dist/src/cim/components/helpers/labels.d.ts +3 -0
- package/dist/src/cim/components/helpers/network.d.ts +6 -0
- package/dist/src/cim/components/helpers/proxy.d.ts +1 -0
- package/dist/src/cim/components/helpers/status.d.ts +26 -0
- package/dist/src/cim/components/helpers/storage.d.ts +1 -0
- package/dist/src/cim/components/helpers/toAssisted.d.ts +12 -0
- package/dist/src/cim/components/helpers/units.d.ts +50 -0
- package/dist/src/cim/components/helpers/versions.d.ts +7 -0
- package/dist/src/cim/components/index.d.ts +8 -0
- package/dist/src/cim/components/modals/AddBmcHostModal.d.ts +4 -0
- package/dist/src/cim/components/modals/AddBmcHostYamlForm.d.ts +5 -0
- package/dist/src/cim/components/modals/AddBmcHostYamlModal.d.ts +4 -0
- package/dist/src/cim/components/modals/AddHostModal.d.ts +4 -0
- package/dist/src/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.d.ts +4 -0
- package/dist/src/cim/components/modals/CimConfiguration/CimConfigProgressAlert.d.ts +4 -0
- package/dist/src/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts +4 -0
- package/dist/src/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts +4 -0
- package/dist/src/cim/components/modals/CimConfiguration/CimIsMissingAlert.d.ts +2 -0
- package/dist/src/cim/components/modals/CimConfiguration/CimStorageMissingAlert.d.ts +5 -0
- package/dist/src/cim/components/modals/CimConfiguration/constants.d.ts +4 -0
- package/dist/src/cim/components/modals/CimConfiguration/index.d.ts +6 -0
- package/dist/src/cim/components/modals/CimConfiguration/persist.d.ts +23 -0
- package/dist/src/cim/components/modals/CimConfiguration/types.d.ts +43 -0
- package/dist/src/cim/components/modals/CimConfiguration/utils.d.ts +15 -0
- package/dist/src/cim/components/modals/EditAgentModal.d.ts +4 -0
- package/dist/src/cim/components/modals/EditBMHModal.d.ts +4 -0
- package/dist/src/cim/components/modals/EditNtpSourcesModal.d.ts +11 -0
- package/dist/src/cim/components/modals/EditPullSecretModal.d.ts +19 -0
- package/dist/src/cim/components/modals/EditSSHKeyModal.d.ts +13 -0
- package/dist/src/cim/components/modals/MassApproveAction.d.ts +8 -0
- package/dist/src/cim/components/modals/MassApproveAgentModal.d.ts +10 -0
- package/dist/src/cim/components/modals/MassDeleteAgentModal.d.ts +13 -0
- package/dist/src/cim/components/modals/ScaleUpModal.d.ts +13 -0
- package/dist/src/cim/components/modals/constants.d.ts +63 -0
- package/dist/src/cim/components/modals/index.d.ts +10 -0
- package/dist/src/cim/components/modals/types.d.ts +45 -0
- package/dist/src/cim/components/modals/utils.d.ts +28 -0
- package/dist/src/cim/config/constants.d.ts +9 -0
- package/dist/src/cim/index.d.ts +13 -0
- package/dist/src/cim/types/fromOCP/index.d.ts +1 -0
- package/dist/src/cim/types/fromOCP/k8sTypes.d.ts +46 -0
- package/dist/src/cim/types/index.d.ts +4 -0
- package/dist/src/cim/types/k8s/agent-cluster-install.d.ts +68 -0
- package/dist/src/cim/types/k8s/agent-service-config.d.ts +23 -0
- package/dist/src/cim/types/k8s/agent.d.ts +48 -0
- package/dist/src/cim/types/k8s/bare-metal-host.d.ts +31 -0
- package/dist/src/cim/types/k8s/cluster-deployment.d.ts +41 -0
- package/dist/src/cim/types/k8s/cluster-image-set.d.ts +6 -0
- package/dist/src/cim/types/k8s/cluster-version.d.ts +45 -0
- package/dist/src/cim/types/k8s/index.d.ts +12 -0
- package/dist/src/cim/types/k8s/infra-env-k8s-resource.d.ts +36 -0
- package/dist/src/cim/types/k8s/infrastructure.d.ts +22 -0
- package/dist/src/cim/types/k8s/nm-state.d.ts +10 -0
- package/dist/src/cim/types/k8s/shared.d.ts +13 -0
- package/dist/src/cim/types/k8s/storage-class.d.ts +8 -0
- package/dist/src/cim/types/metal3.d.ts +86 -0
- package/dist/src/cim/types/resources.d.ts +44 -0
- package/dist/src/cim/utils.d.ts +2 -0
- package/dist/src/common/api/index.d.ts +2 -0
- package/dist/src/common/api/types.d.ts +2241 -0
- package/dist/src/common/api/utils.d.ts +2 -0
- package/dist/src/common/components/AddHosts/AddHostsContext.d.ts +9 -0
- package/dist/src/common/components/AddHosts/index.d.ts +1 -0
- package/dist/src/common/components/AlertsContextProvider.d.ts +10 -0
- package/dist/src/common/components/ErrorHandling/ErrorMonitorContext.d.ts +12 -0
- package/dist/src/common/components/ErrorHandling/WithErrorBoundary.d.ts +5 -0
- package/dist/src/common/components/clusterConfiguration/AdvancedNetworkFields.d.ts +7 -0
- package/dist/src/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts +16 -0
- package/dist/src/common/components/clusterConfiguration/DiscoveryImageCpuArchitectureControlGroup.d.ts +8 -0
- package/dist/src/common/components/clusterConfiguration/DiscoveryImageTypeControlGroup.d.ts +2 -0
- package/dist/src/common/components/clusterConfiguration/DiscoveryInstructions.d.ts +6 -0
- package/dist/src/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts +13 -0
- package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts +8 -0
- package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.d.ts +6 -0
- package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.d.ts +11 -0
- package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts +3 -0
- package/dist/src/common/components/clusterConfiguration/DownloadIso.d.ts +10 -0
- package/dist/src/common/components/clusterConfiguration/DownloadIsoModal.d.ts +7 -0
- package/dist/src/common/components/clusterConfiguration/FormatDiskWarning.d.ts +5 -0
- package/dist/src/common/components/clusterConfiguration/OpenShiftVersionSelect.d.ts +7 -0
- package/dist/src/common/components/clusterConfiguration/ProxyFields.d.ts +5 -0
- package/dist/src/common/components/clusterConfiguration/SNOControlGroup.d.ts +8 -0
- package/dist/src/common/components/clusterConfiguration/SNODisclaimer.d.ts +8 -0
- package/dist/src/common/components/clusterConfiguration/SecurityFields.d.ts +12 -0
- package/dist/src/common/components/clusterConfiguration/UploadSSH.d.ts +6 -0
- package/dist/src/common/components/clusterConfiguration/index.d.ts +13 -0
- package/dist/src/common/components/clusterConfiguration/utils.d.ts +20 -0
- package/dist/src/common/components/clusterDetail/ClusterCredentials.d.ts +12 -0
- package/dist/src/common/components/clusterDetail/ClusterProgress.d.ts +9 -0
- package/dist/src/common/components/clusterDetail/ClusterProgressItem.d.ts +6 -0
- package/dist/src/common/components/clusterDetail/ClusterProgressItems.d.ts +11 -0
- package/dist/src/common/components/clusterDetail/ClusterPropertiesList.d.ts +11 -0
- package/dist/src/common/components/clusterDetail/ConsoleModal.d.ts +20 -0
- package/dist/src/common/components/clusterDetail/FinalizingProgress.d.ts +14 -0
- package/dist/src/common/components/clusterDetail/KubeconfigDownload.d.ts +10 -0
- package/dist/src/common/components/clusterDetail/OperatorsProgressItem.d.ts +13 -0
- package/dist/src/common/components/clusterDetail/ProgressBarTexts.d.ts +7 -0
- package/dist/src/common/components/clusterDetail/index.d.ts +4 -0
- package/dist/src/common/components/clusterWizard/ClusterWizardStep.d.ts +8 -0
- package/dist/src/common/components/clusterWizard/ClusterWizardStepHeader.d.ts +3 -0
- package/dist/src/common/components/clusterWizard/ClusterWizardStepValidationsAlert.d.ts +15 -0
- package/dist/src/common/components/clusterWizard/ReviewHostsInventory.d.ts +6 -0
- package/dist/src/common/components/clusterWizard/ReviewValidations.d.ts +3 -0
- package/dist/src/common/components/clusterWizard/clusterDetailsValidation.d.ts +24 -0
- package/dist/src/common/components/clusterWizard/index.d.ts +8 -0
- package/dist/src/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts +9 -0
- package/dist/src/common/components/clusterWizard/networkingSteps/ManagedNetworkingControlGroup.d.ts +5 -0
- package/dist/src/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.d.ts +5 -0
- package/dist/src/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.d.ts +4 -0
- package/dist/src/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts +8 -0
- package/dist/src/common/components/clusterWizard/networkingSteps/index.d.ts +8 -0
- package/dist/src/common/components/clusterWizard/types.d.ts +62 -0
- package/dist/src/common/components/clusterWizard/validationsInfoUtils.d.ts +35 -0
- package/dist/src/common/components/clusters/PullSecret.d.ts +7 -0
- package/dist/src/common/components/clusters/index.d.ts +1 -0
- package/dist/src/common/components/constants.d.ts +2 -0
- package/dist/src/common/components/featureSupportLevels/FeatureSupportLevelBadge.d.ts +8 -0
- package/dist/src/common/components/featureSupportLevels/FeatureSupportLevelContext.d.ts +15 -0
- package/dist/src/common/components/featureSupportLevels/index.d.ts +2 -0
- package/dist/src/common/components/featureSupportLevels/utils.d.ts +5 -0
- package/dist/src/common/components/fetching/EventListFetch.d.ts +3 -0
- package/dist/src/common/components/fetching/index.d.ts +1 -0
- package/dist/src/common/components/hosts/AITable.d.ts +51 -0
- package/dist/src/common/components/hosts/AdditionalNTPSourcesDialog.d.ts +12 -0
- package/dist/src/common/components/hosts/DiskLimitations.d.ts +7 -0
- package/dist/src/common/components/hosts/DiskRole.d.ts +14 -0
- package/dist/src/common/components/hosts/EditHostForm.d.ts +13 -0
- package/dist/src/common/components/hosts/EditHostModal.d.ts +15 -0
- package/dist/src/common/components/hosts/FormatDiskCheckbox.d.ts +16 -0
- package/dist/src/common/components/hosts/HostProgress.d.ts +5 -0
- package/dist/src/common/components/hosts/HostPropertyValidationPopover.d.ts +12 -0
- package/dist/src/common/components/hosts/HostRequirements.d.ts +15 -0
- package/dist/src/common/components/hosts/HostRowDetail.d.ts +13 -0
- package/dist/src/common/components/hosts/HostStatus.d.ts +4 -0
- package/dist/src/common/components/hosts/HostToolbarActions.d.ts +10 -0
- package/dist/src/common/components/hosts/HostValidationGroups.d.ts +20 -0
- package/dist/src/common/components/hosts/Hostname.d.ts +13 -0
- package/dist/src/common/components/hosts/HostsCount.d.ts +9 -0
- package/dist/src/common/components/hosts/HostsTable.d.ts +19 -0
- package/dist/src/common/components/hosts/HostsTableDetailContext.d.ts +11 -0
- package/dist/src/common/components/hosts/MassChangeHostnameModal.d.ts +14 -0
- package/dist/src/common/components/hosts/MassDeleteHostModal.d.ts +10 -0
- package/dist/src/common/components/hosts/NtpValidationStatus.d.ts +9 -0
- package/dist/src/common/components/hosts/OcpConsoleNodesSectionLink.d.ts +6 -0
- package/dist/src/common/components/hosts/RoleCell.d.ts +13 -0
- package/dist/src/common/components/hosts/RoleDropdown.d.ts +11 -0
- package/dist/src/common/components/hosts/TableToolbar.d.ts +18 -0
- package/dist/src/common/components/hosts/VMRebootConfigurationInfo.d.ts +3 -0
- package/dist/src/common/components/hosts/hardwareInfo.d.ts +19 -0
- package/dist/src/common/components/hosts/index.d.ts +16 -0
- package/dist/src/common/components/hosts/status.d.ts +3 -0
- package/dist/src/common/components/hosts/tableUtils.d.ts +22 -0
- package/dist/src/common/components/hosts/types.d.ts +72 -0
- package/dist/src/common/components/hosts/usePagination.d.ts +9 -0
- package/dist/src/common/components/hosts/utils.d.ts +36 -0
- package/dist/src/common/components/index.d.ts +11 -0
- package/dist/src/common/components/storage/DisksTable.d.ts +13 -0
- package/dist/src/common/components/storage/StorageDetail.d.ts +11 -0
- package/dist/src/common/components/storage/StorageTable.d.ts +11 -0
- package/dist/src/common/components/storage/StorageUtils.d.ts +6 -0
- package/dist/src/common/components/ui/Alerts.d.ts +5 -0
- package/dist/src/common/components/ui/BorderedIcon/BorderedIcon.d.ts +10 -0
- package/dist/src/common/components/ui/ClusterEventsList.d.ts +9 -0
- package/dist/src/common/components/ui/ClusterEventsToolbar.d.ts +12 -0
- package/dist/src/common/components/ui/ConfirmationModal.d.ts +13 -0
- package/dist/src/common/components/ui/DetailList.d.ts +21 -0
- package/dist/src/common/components/ui/EventsList.d.ts +8 -0
- package/dist/src/common/components/ui/ExternalLink.d.ts +8 -0
- package/dist/src/common/components/ui/GridGap.d.ts +7 -0
- package/dist/src/common/components/ui/ModalProgress.d.ts +10 -0
- package/dist/src/common/components/ui/OpenShiftVersionDropown.d.ts +17 -0
- package/dist/src/common/components/ui/PopoverIcon.d.ts +14 -0
- package/dist/src/common/components/ui/PreviewBadge.d.ts +14 -0
- package/dist/src/common/components/ui/PrismCode.d.ts +11 -0
- package/dist/src/common/components/ui/RenderIf.d.ts +6 -0
- package/dist/src/common/components/ui/SectionTitle.d.ts +6 -0
- package/dist/src/common/components/ui/SimpleDropdown.d.ts +15 -0
- package/dist/src/common/components/ui/StaticTextField.d.ts +23 -0
- package/dist/src/common/components/ui/Toolbar/ToolbarButton.d.ts +4 -0
- package/dist/src/common/components/ui/Toolbar/ToolbarProgress.d.ts +4 -0
- package/dist/src/common/components/ui/Toolbar/ToolbarSecondaryGroup.d.ts +3 -0
- package/dist/src/common/components/ui/Toolbar/ToolbarText.d.ts +4 -0
- package/dist/src/common/components/ui/Toolbar/index.d.ts +4 -0
- package/dist/src/common/components/ui/ViewClusterEventsButton.d.ts +8 -0
- package/dist/src/common/components/ui/WizardFooter.d.ts +22 -0
- package/dist/src/common/components/ui/WizardNavItem.d.ts +7 -0
- package/dist/src/common/components/ui/eventsModal.d.ts +29 -0
- package/dist/src/common/components/ui/formik/AddButton.d.ts +7 -0
- package/dist/src/common/components/ui/formik/AdditionalNTPSourcesField.d.ts +10 -0
- package/dist/src/common/components/ui/formik/CheckboxField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/CodeField.d.ts +3 -0
- package/dist/src/common/components/ui/formik/FormikAutoSave.d.ts +7 -0
- package/dist/src/common/components/ui/formik/HelperText.d.ts +11 -0
- package/dist/src/common/components/ui/formik/InputField.d.ts +8 -0
- package/dist/src/common/components/ui/formik/LabelField.d.ts +13 -0
- package/dist/src/common/components/ui/formik/MultiSelectField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/NumberInputField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/PencilEditField.d.ts +8 -0
- package/dist/src/common/components/ui/formik/PullSecretField.d.ts +12 -0
- package/dist/src/common/components/ui/formik/RadioField.d.ts +3 -0
- package/dist/src/common/components/ui/formik/RadioFieldWithTooltip.d.ts +7 -0
- package/dist/src/common/components/ui/formik/RemovableField.d.ts +10 -0
- package/dist/src/common/components/ui/formik/RichInputField.d.ts +17 -0
- package/dist/src/common/components/ui/formik/SelectField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/SingleNodeCheckbox.d.ts +8 -0
- package/dist/src/common/components/ui/formik/SwitchField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/TextAreaField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/TextAreaSecretField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/UploadField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/constants.d.ts +50 -0
- package/dist/src/common/components/ui/formik/index.d.ts +25 -0
- package/dist/src/common/components/ui/formik/types.d.ts +117 -0
- package/dist/src/common/components/ui/formik/utils.d.ts +24 -0
- package/dist/src/common/components/ui/formik/validationSchemas.d.ts +33 -0
- package/dist/src/common/components/ui/index.d.ts +23 -0
- package/dist/src/common/components/ui/table/index.d.ts +2 -0
- package/dist/src/common/components/ui/table/utils.d.ts +17 -0
- package/dist/src/common/components/ui/table/wrappable.d.ts +8 -0
- package/dist/src/common/components/ui/uiState/EmptyState.d.ts +11 -0
- package/dist/src/common/components/ui/uiState/ErrorState.d.ts +14 -0
- package/dist/src/common/components/ui/uiState/LoadingState.d.ts +8 -0
- package/dist/src/common/components/ui/uiState/index.d.ts +3 -0
- package/dist/src/common/components/ui/utils.d.ts +2 -0
- package/dist/src/common/config/constants.d.ts +204 -0
- package/dist/src/common/config/index.d.ts +1 -0
- package/dist/src/common/features/featureGate.d.ts +25 -0
- package/dist/src/common/features/index.d.ts +1 -0
- package/dist/src/common/hacks.d.ts +1 -0
- package/dist/src/common/hooks/index.d.ts +2 -0
- package/dist/src/common/hooks/use-translation-wrapper.d.ts +1 -0
- package/dist/src/common/hooks/useDeepCompareMemoize.d.ts +2 -0
- package/dist/src/common/hooks/useFieldErrorMsg.d.ts +8 -0
- package/dist/src/common/hooks/useFormikHelpers.d.ts +6 -0
- package/dist/src/common/hooks/useStateSafely.d.ts +3 -0
- package/dist/src/common/index.d.ts +10 -0
- package/dist/src/common/reducers/alertsSlice.d.ts +18 -0
- package/dist/src/common/reducers/dialogsSlice.d.ts +9 -0
- package/dist/src/common/reducers/index.d.ts +2 -0
- package/dist/src/common/selectors/clusterSelectors.d.ts +28 -0
- package/dist/src/common/selectors/index.d.ts +1 -0
- package/dist/src/common/sevices/DateAndTime.d.ts +2 -0
- package/dist/src/common/types/clusters.d.ts +53 -0
- package/dist/src/common/types/events.d.ts +22 -0
- package/dist/src/common/types/featureSupportLevel.d.ts +23 -0
- package/dist/src/common/types/hosts.d.ts +19 -0
- package/dist/src/common/types/index.d.ts +16 -0
- package/dist/src/common/types/proxyFields.d.ts +7 -0
- package/dist/src/common/types/typescriptExtensions.d.ts +9 -0
- package/dist/src/common/types/versions.d.ts +10 -0
- package/dist/src/common/utils.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/ocm/api/axiosClient.d.ts +6 -0
- package/dist/src/ocm/api/axiosExtensions.d.ts +2 -0
- package/dist/src/ocm/api/index.d.ts +2 -0
- package/dist/src/ocm/api/types.d.ts +5 -0
- package/dist/src/ocm/api/utils.d.ts +8 -0
- package/dist/src/ocm/components/AddHosts/AddHosts.d.ts +1 -0
- package/dist/src/ocm/components/AddHosts/InventoryAddHost.d.ts +5 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2DiscoveryImageModalButton.d.ts +5 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2DownloadISO.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2GenerateISO.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2StaticIP.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2Wizard.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2WizardContext.d.ts +21 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2WizardContextProvider.d.ts +8 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2WizardNav.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/constants.d.ts +6 -0
- package/dist/src/ocm/components/AddHosts/index.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/types.d.ts +46 -0
- package/dist/src/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.d.ts +3 -0
- package/dist/src/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.d.ts +2 -0
- package/dist/src/ocm/components/HostsClusterDetailTab/index.d.ts +2 -0
- package/dist/src/ocm/components/HostsClusterDetailTab/types.d.ts +6 -0
- package/dist/src/ocm/components/HostsClusterDetailTab/utils.d.ts +4 -0
- package/dist/src/ocm/components/Router.d.ts +8 -0
- package/dist/src/ocm/components/SentryErrorMonitorContextProvider.d.ts +2 -0
- package/dist/src/ocm/components/SingleCluster.d.ts +2 -0
- package/dist/src/ocm/components/clusterConfiguration/ArmCheckbox.d.ts +7 -0
- package/dist/src/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts +8 -0
- package/dist/src/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts +9 -0
- package/dist/src/ocm/components/clusterConfiguration/DiscoveryImageModal.d.ts +11 -0
- package/dist/src/ocm/components/clusterConfiguration/DiscoveryImageSummary.d.ts +11 -0
- package/dist/src/ocm/components/clusterConfiguration/HostInventory.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.d.ts +4 -0
- package/dist/src/ocm/components/clusterConfiguration/InformationAndAlerts.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts +13 -0
- package/dist/src/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts +7 -0
- package/dist/src/ocm/components/clusterConfiguration/ReviewCluster.d.ts +6 -0
- package/dist/src/ocm/components/clusterConfiguration/ReviewStep.d.ts +6 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts +2 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts +8 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts +9 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTable.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts +18 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts +8 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts +6 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +4 -0
- package/dist/src/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts +4 -0
- package/dist/src/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegration.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationVsphere.d.ts +2 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts +11 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.d.ts +11 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.d.ts +6 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts +13 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.d.ts +19 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts +4 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpViewRadioGroup.d.ts +8 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.d.ts +6 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.d.ts +1 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts +28 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/dataTypes.d.ts +53 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/dummyData.d.ts +20 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/emptyData.d.ts +9 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/formDataFromInfraEnvField.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts +4 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/fromInfraEnv.d.ts +13 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/machineNetwork.d.ts +2 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.d.ts +60 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.d.ts +16 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.d.ts +8 -0
- package/dist/src/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts +8 -0
- package/dist/src/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.d.ts +7 -0
- package/dist/src/ocm/components/clusterDetail/CancelInstallationModal.d.ts +3 -0
- package/dist/src/ocm/components/clusterDetail/ClusterDetail.d.ts +7 -0
- package/dist/src/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts +8 -0
- package/dist/src/ocm/components/clusterDetail/ClusterDetailStatusVarieties.d.ts +18 -0
- package/dist/src/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts +7 -0
- package/dist/src/ocm/components/clusterDetail/ClusterInstallationProgressCard.d.ts +6 -0
- package/dist/src/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts +2 -0
- package/dist/src/ocm/components/clusterDetail/ClusterProperties.d.ts +7 -0
- package/dist/src/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts +5 -0
- package/dist/src/ocm/components/clusterDetail/ProgressBarAlerts.d.ts +15 -0
- package/dist/src/ocm/components/clusterDetail/ResetClusterModal.d.ts +3 -0
- package/dist/src/ocm/components/clusterDetail/getProgressBarAlerts.d.ts +3 -0
- package/dist/src/ocm/components/clusterDetail/index.d.ts +5 -0
- package/dist/src/ocm/components/clusterDetail/utils.d.ts +7 -0
- package/dist/src/ocm/components/clusterWizard/ClusterDetails.d.ts +8 -0
- package/dist/src/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +17 -0
- package/dist/src/ocm/components/clusterWizard/ClusterPlatformIntegrationHint.d.ts +8 -0
- package/dist/src/ocm/components/clusterWizard/ClusterWizard.d.ts +8 -0
- package/dist/src/ocm/components/clusterWizard/ClusterWizardContext.d.ts +16 -0
- package/dist/src/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts +8 -0
- package/dist/src/ocm/components/clusterWizard/ClusterWizardFooter.d.ts +11 -0
- package/dist/src/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts +5 -0
- package/dist/src/ocm/components/clusterWizard/HostDiscovery.d.ts +5 -0
- package/dist/src/ocm/components/clusterWizard/NewClusterWizard.d.ts +3 -0
- package/dist/src/ocm/components/clusterWizard/Operators.d.ts +6 -0
- package/dist/src/ocm/components/clusterWizard/OperatorsStep.d.ts +2 -0
- package/dist/src/ocm/components/clusterWizard/StaticIp.d.ts +7 -0
- package/dist/src/ocm/components/clusterWizard/Storage.d.ts +5 -0
- package/dist/src/ocm/components/clusterWizard/constants.d.ts +6 -0
- package/dist/src/ocm/components/clusterWizard/index.d.ts +1 -0
- package/dist/src/ocm/components/clusterWizard/wizardTransition.d.ts +19 -0
- package/dist/src/ocm/components/clusters/ClusterBreadcrumbs.d.ts +7 -0
- package/dist/src/ocm/components/clusters/ClusterLoading.d.ts +2 -0
- package/dist/src/ocm/components/clusters/ClusterPage.d.ts +7 -0
- package/dist/src/ocm/components/clusters/ClusterPageErrors.d.ts +2 -0
- package/dist/src/ocm/components/clusters/ClusterStatus.d.ts +15 -0
- package/dist/src/ocm/components/clusters/ClusterToolbar.d.ts +7 -0
- package/dist/src/ocm/components/clusters/Clusters.d.ts +4 -0
- package/dist/src/ocm/components/clusters/ClustersListToolbar.d.ts +12 -0
- package/dist/src/ocm/components/clusters/ClustersTable.d.ts +8 -0
- package/dist/src/ocm/components/clusters/DeleteClusterModal.d.ts +8 -0
- package/dist/src/ocm/components/clusters/NewClusterPage.d.ts +2 -0
- package/dist/src/ocm/components/clusters/clusterPolling.d.ts +17 -0
- package/dist/src/ocm/components/clusters/index.d.ts +5 -0
- package/dist/src/ocm/components/clusters/utils.d.ts +11 -0
- package/dist/src/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts +11 -0
- package/dist/src/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts +13 -0
- package/dist/src/ocm/components/featureSupportLevels/featureStateUtils.d.ts +6 -0
- package/dist/src/ocm/components/featureSupportLevels/index.d.ts +2 -0
- package/dist/src/ocm/components/fetching/fetchEvents.d.ts +2 -0
- package/dist/src/ocm/components/hosts/AdditionaNTPSourceDialogToggle.d.ts +1 -0
- package/dist/src/ocm/components/hosts/ClusterHostsTable.d.ts +9 -0
- package/dist/src/ocm/components/hosts/DeleteHostModal.d.ts +8 -0
- package/dist/src/ocm/components/hosts/HardwareStatus.d.ts +21 -0
- package/dist/src/ocm/components/hosts/HostRequirementsContent.d.ts +8 -0
- package/dist/src/ocm/components/hosts/HostsDiscoveryTable.d.ts +6 -0
- package/dist/src/ocm/components/hosts/HostsDiscoveryTroubleshootingInfoLinkWithModal.d.ts +5 -0
- package/dist/src/ocm/components/hosts/HostsStorageTable.d.ts +7 -0
- package/dist/src/ocm/components/hosts/HostsTableEmptyState.d.ts +5 -0
- package/dist/src/ocm/components/hosts/ModalDialogsContext.d.ts +53 -0
- package/dist/src/ocm/components/hosts/NetworkingStatus.d.ts +4 -0
- package/dist/src/ocm/components/hosts/OdfDisksManualFormattingHint.d.ts +2 -0
- package/dist/src/ocm/components/hosts/ResetHostModal.d.ts +9 -0
- package/dist/src/ocm/components/hosts/StorageAlerts.d.ts +5 -0
- package/dist/src/ocm/components/hosts/UpdateDay2ApiVipDialogToggle.d.ts +2 -0
- package/dist/src/ocm/components/hosts/UpdateDay2ApiVipForm.d.ts +11 -0
- package/dist/src/ocm/components/hosts/UpdateDay2ApiVipModal.d.ts +7 -0
- package/dist/src/ocm/components/hosts/use-hosts-table.d.ts +39 -0
- package/dist/src/ocm/components/hosts/utils.d.ts +4 -0
- package/dist/src/ocm/components/index.d.ts +7 -0
- package/dist/src/ocm/components/ui/AssistedUILibVersion.d.ts +2 -0
- package/dist/src/ocm/components/ui/InfoLinkWithModal.d.ts +11 -0
- package/dist/src/ocm/components/ui/OcmFormFields.d.ts +22 -0
- package/dist/src/ocm/components/ui/index.d.ts +1 -0
- package/dist/src/ocm/config/constants.d.ts +8 -0
- package/dist/src/ocm/config/index.d.ts +2 -0
- package/dist/src/ocm/config/routeBaseBath.d.ts +2 -0
- package/dist/src/ocm/hooks/index.d.ts +7 -0
- package/dist/src/ocm/hooks/useClusterPreflightRequirements.d.ts +7 -0
- package/dist/src/ocm/hooks/useClusterSupportedPlatforms.d.ts +10 -0
- package/dist/src/ocm/hooks/useInfraEnv.d.ts +7 -0
- package/dist/src/ocm/hooks/useInfraEnvId.d.ts +5 -0
- package/dist/src/ocm/hooks/useInfraEnvImageUrl.d.ts +9 -0
- package/dist/src/ocm/hooks/useManagedDomains.d.ts +2 -0
- package/dist/src/ocm/hooks/useOpenshiftVersions.d.ts +15 -0
- package/dist/src/ocm/hooks/usePullSecret.d.ts +1 -0
- package/dist/src/ocm/hooks/useSetClusterPermissions.d.ts +2 -0
- package/dist/src/ocm/hooks/useUsedClusterNames.d.ts +4 -0
- package/dist/src/ocm/index.d.ts +11 -0
- package/dist/src/ocm/reducers/clusters/clustersSlice.d.ts +25 -0
- package/dist/src/ocm/reducers/clusters/currentClusterSlice.d.ts +130 -0
- package/dist/src/ocm/reducers/clusters/index.d.ts +2 -0
- package/dist/src/ocm/selectors/clusters.d.ts +61 -0
- package/dist/src/ocm/selectors/currentCluster.d.ts +13 -0
- package/dist/src/ocm/selectors/index.d.ts +2 -0
- package/dist/src/ocm/sentry.d.ts +2 -0
- package/dist/src/ocm/services/ClusterDetailsService.d.ts +14 -0
- package/dist/src/ocm/services/ClustersService.d.ts +16 -0
- package/dist/src/ocm/services/CpuArchitectureService.d.ts +14 -0
- package/dist/src/ocm/services/Day2ClusterService.d.ts +87 -0
- package/dist/src/ocm/services/DiscoveryImageFormService.d.ts +9 -0
- package/dist/src/ocm/services/DiskEncryptionService.d.ts +6 -0
- package/dist/src/ocm/services/HostDiscoveryService.d.ts +6 -0
- package/dist/src/ocm/services/HostsService.d.ts +20 -0
- package/dist/src/ocm/services/InfraEnvIdsCacheService.d.ts +9 -0
- package/dist/src/ocm/services/InfraEnvsService.d.ts +13 -0
- package/dist/src/ocm/services/OperatorsService.d.ts +11 -0
- package/dist/src/ocm/services/apis/ClustersAPI.d.ts +35 -0
- package/dist/src/ocm/services/apis/ComponentVersionsAPI.d.ts +6 -0
- package/dist/src/ocm/services/apis/EventsAPI.d.ts +7 -0
- package/dist/src/ocm/services/apis/FeatureSupportLevelsAPI.d.ts +6 -0
- package/dist/src/ocm/services/apis/HostsAPI.d.ts +14 -0
- package/dist/src/ocm/services/apis/InfraEnvsAPI.d.ts +17 -0
- package/dist/src/ocm/services/apis/ManagedDomainsAPI.d.ts +6 -0
- package/dist/src/ocm/services/apis/SupportedOpenshiftVersionsAPI.d.ts +6 -0
- package/dist/src/ocm/services/apis/index.d.ts +8 -0
- package/dist/src/ocm/services/apis/types.d.ts +13 -0
- package/dist/src/ocm/services/index.d.ts +10 -0
- package/dist/src/ocm/services/types.d.ts +11 -0
- package/dist/src/ocm/store/index.d.ts +36 -0
- package/dist/src/ocm/store/slices/infraEnvs/slice.d.ts +3 -0
- package/dist/src/ocm/types.d.ts +5 -0
- package/package.json +148 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Cluster, ClusterValidationId, Host, HostValidationId } from '../../api/types';
|
|
2
|
+
import { ClusterWizardStepStatusDeterminationObject, ValidationGroup as ClusterValidationGroup, ValidationsInfo as ClusterValidationsInfo } from '../../../common/types/clusters';
|
|
3
|
+
import { ClusterWizardStepHostStatusDeterminationObject, Validation, ValidationGroup as HostValidationGroup, ValidationsInfo as HostValidationsInfo } from '../../../common/types/hosts';
|
|
4
|
+
export declare type WizardStepValidationMap = {
|
|
5
|
+
cluster: {
|
|
6
|
+
groups: ClusterValidationGroup[];
|
|
7
|
+
validationIds: ClusterValidationId[];
|
|
8
|
+
};
|
|
9
|
+
host: {
|
|
10
|
+
allowedStatuses: Host['status'][];
|
|
11
|
+
groups: HostValidationGroup[];
|
|
12
|
+
validationIds: HostValidationId[];
|
|
13
|
+
};
|
|
14
|
+
softValidationIds: (HostValidationId | ClusterValidationId)[];
|
|
15
|
+
};
|
|
16
|
+
export declare type WizardStepsValidationMap<T extends string> = {
|
|
17
|
+
[key in T]: WizardStepValidationMap;
|
|
18
|
+
};
|
|
19
|
+
export declare const findValidationFixStep: <ClusterWizardStepsType extends string>({ validationId, hostGroup, clusterGroup, }: {
|
|
20
|
+
validationId: ClusterValidationId | HostValidationId;
|
|
21
|
+
hostGroup?: "hardware" | "network" | "operators" | "infrastructure" | undefined;
|
|
22
|
+
clusterGroup?: "network" | "operators" | "configuration" | "hostsData" | "hosts-data" | undefined;
|
|
23
|
+
}, wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>) => ClusterWizardStepsType | undefined;
|
|
24
|
+
export declare const checkClusterValidations: (clusterValidationsInfo: ClusterValidationsInfo, requiredIds: ClusterValidationId[]) => boolean;
|
|
25
|
+
export declare const checkClusterValidationGroups: (clusterValidationsInfo: ClusterValidationsInfo, groups: ClusterValidationGroup[], softValidationIds: WizardStepValidationMap['softValidationIds']) => boolean;
|
|
26
|
+
export declare const checkHostValidations: (hostValidationsInfo: HostValidationsInfo, requiredIds: HostValidationId[]) => boolean;
|
|
27
|
+
export declare const checkHostValidationGroups: (hostValidationsInfo: HostValidationsInfo, groups: HostValidationGroup[], softValidationIds: WizardStepValidationMap['softValidationIds']) => boolean;
|
|
28
|
+
export declare const getWizardStepHostValidationsInfo: <ClusterWizardStepsType extends string>(validationsInfo: HostValidationsInfo, wizardStepId: ClusterWizardStepsType, wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>) => HostValidationsInfo;
|
|
29
|
+
export declare const getWizardStepHostStatus: <ClusterWizardStepsType extends string>(wizardStepId: ClusterWizardStepsType, wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>, host: ClusterWizardStepHostStatusDeterminationObject) => Host['status'];
|
|
30
|
+
export declare const getWizardStepClusterValidationsInfo: <ClusterWizardStepsType extends string>(validationsInfo: ClusterValidationsInfo, wizardStepId: ClusterWizardStepsType, wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>) => ClusterValidationsInfo;
|
|
31
|
+
export declare const getWizardStepClusterStatus: <ClusterWizardStepsType extends string>(wizardStepId: ClusterWizardStepsType, wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>, cluster: ClusterWizardStepStatusDeterminationObject, clusterHosts?: ClusterWizardStepHostStatusDeterminationObject[]) => Cluster['status'];
|
|
32
|
+
export declare const getAllClusterWizardSoftValidationIds: <ClusterWizardStepsType extends string>(wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>) => WizardStepValidationMap['softValidationIds'];
|
|
33
|
+
export declare const getFailingClusterWizardStepHostValidations: <ClusterWizardStepsType extends string>(wizardHostStepValidationsInfo: HostValidationsInfo) => Validation[];
|
|
34
|
+
export declare const areOnlySoftValidationsOfWizardStepFailing: <ClusterWizardStepsType extends string>(validationsInfo: HostValidationsInfo, wizardStepId: ClusterWizardStepsType, wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>) => boolean;
|
|
35
|
+
export declare const findValidationStep: <ClusterWizardStepsType extends string>(validationId: ClusterValidationId | HostValidationId, wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>, minimumStep: ClusterWizardStepsType) => ClusterWizardStepsType | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PullSecret } from './PullSecret';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FeatureId } from '../../types';
|
|
3
|
+
export declare type SupportLevelBadgeProps = {
|
|
4
|
+
featureId: FeatureId;
|
|
5
|
+
openshiftVersion: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
declare const FeatureSupportLevelBadge: React.FC<SupportLevelBadgeProps>;
|
|
8
|
+
export default FeatureSupportLevelBadge;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FeatureId, FeatureIdToSupportLevel, SupportLevel } from '../../types';
|
|
3
|
+
import { TFunction } from 'i18next';
|
|
4
|
+
export declare type FeatureSupportLevelData = {
|
|
5
|
+
getVersionSupportLevelsMap(version: string): FeatureIdToSupportLevel | undefined;
|
|
6
|
+
getFeatureSupportLevel(version: string, featureId: FeatureId): SupportLevel | undefined;
|
|
7
|
+
isFeatureDisabled(version: string, featureId: FeatureId): boolean;
|
|
8
|
+
getFeatureDisabledReason(version: string, featureId: FeatureId, t?: TFunction): string | undefined;
|
|
9
|
+
isFeatureSupported(version: string, featureId: FeatureId): boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const FeatureSupportLevelContextProvider: React.FC<{
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
value: FeatureSupportLevelData;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const useFeatureSupportLevel: () => FeatureSupportLevelData;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Cluster } from '../../api';
|
|
2
|
+
import { FeatureIdToSupportLevel } from '../../types';
|
|
3
|
+
import { FeatureSupportLevelData } from './FeatureSupportLevelContext';
|
|
4
|
+
import { TFunction } from 'i18next';
|
|
5
|
+
export declare const getLimitedFeatureSupportLevels: (cluster: Cluster, featureSupportLevelData: FeatureSupportLevelData, t: TFunction) => FeatureIdToSupportLevel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EventListFetch';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ICell, IAction, ISeparator } from '@patternfly/react-table';
|
|
3
|
+
import { WithTestID } from '../../types';
|
|
4
|
+
import { usePagination } from './usePagination';
|
|
5
|
+
import './HostsTable.css';
|
|
6
|
+
export declare type TableRow<R> = {
|
|
7
|
+
header: ICell | string;
|
|
8
|
+
cell?: (obj: R) => {
|
|
9
|
+
title: React.ReactNode;
|
|
10
|
+
props: any;
|
|
11
|
+
sortableValue?: string | number;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare type ActionsResolver<R> = (obj: R) => (IAction | ISeparator)[];
|
|
15
|
+
export declare type ExpandComponentProps<R> = {
|
|
16
|
+
obj: R;
|
|
17
|
+
};
|
|
18
|
+
export declare type AITableProps<R> = ReturnType<typeof usePagination> & {
|
|
19
|
+
data: R[];
|
|
20
|
+
content: TableRow<R>[];
|
|
21
|
+
ExpandComponent?: React.ComponentType<ExpandComponentProps<R>>;
|
|
22
|
+
children: React.ReactNode;
|
|
23
|
+
getDataId: (obj: R) => string;
|
|
24
|
+
onSelect?: (obj: R, isSelected: boolean) => void;
|
|
25
|
+
selectedIDs?: string[];
|
|
26
|
+
setSelectedIDs?: (selectedIDs: string[]) => void;
|
|
27
|
+
className?: string;
|
|
28
|
+
actionResolver?: ActionsResolver<R>;
|
|
29
|
+
canSelectAll?: boolean;
|
|
30
|
+
};
|
|
31
|
+
declare const AITable: <R extends unknown>({ data, testId, className, content, ExpandComponent, getDataId, actionResolver, onSelect, children, selectedIDs, setSelectedIDs, perPage, page, onSetPage, onPerPageSelect, showPagination, perPageOptions, canSelectAll, }: WithTestID & {
|
|
32
|
+
showPagination: boolean;
|
|
33
|
+
perPage: number;
|
|
34
|
+
page: number;
|
|
35
|
+
onSetPage: import("@patternfly/react-core").OnSetPage;
|
|
36
|
+
onPerPageSelect: import("@patternfly/react-core").OnPerPageSelect;
|
|
37
|
+
perPageOptions: import("@patternfly/react-core").PerPageOptions[];
|
|
38
|
+
} & {
|
|
39
|
+
data: R[];
|
|
40
|
+
content: TableRow<R>[];
|
|
41
|
+
ExpandComponent?: React.ComponentClass<ExpandComponentProps<R>, any> | React.FunctionComponent<ExpandComponentProps<R>> | undefined;
|
|
42
|
+
children: React.ReactNode;
|
|
43
|
+
getDataId: (obj: R) => string;
|
|
44
|
+
onSelect?: ((obj: R, isSelected: boolean) => void) | undefined;
|
|
45
|
+
selectedIDs?: string[] | undefined;
|
|
46
|
+
setSelectedIDs?: ((selectedIDs: string[]) => void) | undefined;
|
|
47
|
+
className?: string | undefined;
|
|
48
|
+
actionResolver?: ActionsResolver<R> | undefined;
|
|
49
|
+
canSelectAll?: boolean | undefined;
|
|
50
|
+
}) => JSX.Element;
|
|
51
|
+
export default AITable;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Cluster } from '../../../common';
|
|
3
|
+
export declare type AdditionalNTPSourcesFormProps = {
|
|
4
|
+
additionalNtpSource: Cluster['additionalNtpSource'];
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onAdditionalNtpSource: (additionalNtpSource: string, onError: (message: string) => void) => Promise<void>;
|
|
7
|
+
};
|
|
8
|
+
declare type AdditionalNTPSourcesDialogProps = AdditionalNTPSourcesFormProps & {
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const AdditionalNTPSourcesDialog: React.FC<AdditionalNTPSourcesDialogProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Disk, DiskRole as DiskRoleValue, Host } from '../../api';
|
|
3
|
+
import { TFunction } from 'i18next';
|
|
4
|
+
export declare const getCurrentDiskRoleLabel: (disk: Disk, installationDiskId: Host['installationDiskId'], t: TFunction) => string;
|
|
5
|
+
export declare type OnDiskRoleType = (hostId: Host['id'], diskId: Disk['id'], role: DiskRoleValue) => Promise<unknown>;
|
|
6
|
+
export declare type DiskRoleProps = {
|
|
7
|
+
host: Host;
|
|
8
|
+
disk: Disk;
|
|
9
|
+
installationDiskId: Host['installationDiskId'];
|
|
10
|
+
isEditable: boolean;
|
|
11
|
+
onDiskRole?: OnDiskRoleType;
|
|
12
|
+
};
|
|
13
|
+
declare const DiskRole: React.FC<DiskRoleProps>;
|
|
14
|
+
export default DiskRole;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Host, Inventory } from '../../api';
|
|
3
|
+
import { EditHostFormValues } from './types';
|
|
4
|
+
export declare type EditHostFormProps = {
|
|
5
|
+
host: Host;
|
|
6
|
+
inventory: Inventory;
|
|
7
|
+
usedHostnames: string[] | undefined;
|
|
8
|
+
onCancel: () => void;
|
|
9
|
+
onSave: (values: EditHostFormValues) => Promise<any>;
|
|
10
|
+
onFormSaveError?: (e: any) => void | string;
|
|
11
|
+
};
|
|
12
|
+
declare const EditHostForm: React.FC<EditHostFormProps>;
|
|
13
|
+
export default EditHostForm;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Host, Inventory } from '../../api';
|
|
3
|
+
import { EditHostFormProps } from './EditHostForm';
|
|
4
|
+
import { EditHostFormValues } from './types';
|
|
5
|
+
declare type EditHostModalProps = {
|
|
6
|
+
host?: Host;
|
|
7
|
+
inventory?: Inventory;
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
usedHostnames: string[] | undefined;
|
|
10
|
+
onClose: () => void;
|
|
11
|
+
onSave: (values: EditHostFormValues) => Promise<any>;
|
|
12
|
+
onFormSaveError?: EditHostFormProps['onFormSaveError'];
|
|
13
|
+
};
|
|
14
|
+
declare const EditHostModal: React.FC<EditHostModalProps>;
|
|
15
|
+
export default EditHostModal;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Disk, Host } from '../../api';
|
|
2
|
+
export declare type DiskFormattingType = (shouldFormatDisk: boolean, hostId: Host['id'], diskId: Disk['id']) => void;
|
|
3
|
+
declare type FormatDiskProps = {
|
|
4
|
+
host: Host;
|
|
5
|
+
index: number;
|
|
6
|
+
updateDiskSkipFormatting?: DiskFormattingType;
|
|
7
|
+
diskId?: string;
|
|
8
|
+
installationDiskId?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const isInstallationDisk: (diskId?: string | undefined, installationDiskId?: string | undefined) => boolean;
|
|
11
|
+
export declare const isInDiskSkipFormattingList: (host: Host, diskId: string | undefined) => boolean;
|
|
12
|
+
export declare const isInDiskToBeFormattedList: (host: Host, diskId: string | undefined) => boolean;
|
|
13
|
+
export declare const isFormatDiskChecked: (host: Host, diskId: string | undefined, installationDiskId: Host['installationDiskId']) => boolean;
|
|
14
|
+
export declare const isFormatDiskDisabled: (host: Host, diskId: string | undefined, installationDiskId: Host['installationDiskId']) => boolean;
|
|
15
|
+
declare const FormatDiskCheckbox: ({ host, diskId, installationDiskId, index, updateDiskSkipFormatting, }: FormatDiskProps) => JSX.Element;
|
|
16
|
+
export default FormatDiskCheckbox;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Validation } from '../../types/hosts';
|
|
3
|
+
declare type HostPropertyValidationPopoverProps = {
|
|
4
|
+
validation?: Validation;
|
|
5
|
+
failureActions?: React.ReactNode[];
|
|
6
|
+
pendingActions?: React.ReactNode[];
|
|
7
|
+
showFailure?: boolean;
|
|
8
|
+
showPending?: boolean;
|
|
9
|
+
showSuccess?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const HostPropertyValidationPopover: React.FC<HostPropertyValidationPopoverProps>;
|
|
12
|
+
export default HostPropertyValidationPopover;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type HWRequirements = {
|
|
3
|
+
cpuCores?: number;
|
|
4
|
+
ramMib?: number;
|
|
5
|
+
diskSizeGb?: number;
|
|
6
|
+
};
|
|
7
|
+
export declare type HostRequirementsListProps = {
|
|
8
|
+
master?: HWRequirements;
|
|
9
|
+
worker?: HWRequirements;
|
|
10
|
+
sno?: HWRequirements;
|
|
11
|
+
isSNOCluster?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare const HostRequirementsList: React.FC<HostRequirementsListProps>;
|
|
14
|
+
declare const HostRequirements: React.FC<HostRequirementsListProps>;
|
|
15
|
+
export default HostRequirements;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Disk, Host } from '../../api';
|
|
2
|
+
import { ValidationInfoActionProps } from './HostValidationGroups';
|
|
3
|
+
import { OnDiskRoleType } from './DiskRole';
|
|
4
|
+
declare type HostDetailProps = {
|
|
5
|
+
host: Host;
|
|
6
|
+
canEditDisks?: (host: Host) => boolean;
|
|
7
|
+
onDiskRole?: OnDiskRoleType;
|
|
8
|
+
AdditionalNTPSourcesDialogToggleComponent?: ValidationInfoActionProps['AdditionalNTPSourcesDialogToggleComponent'];
|
|
9
|
+
hideNTPStatus?: boolean;
|
|
10
|
+
updateDiskSkipFormatting?: (shouldFormatDisk: boolean, hostId: Host['id'], diskId: Disk['id']) => Promise<unknown>;
|
|
11
|
+
};
|
|
12
|
+
export declare const HostDetail: ({ host, canEditDisks, onDiskRole, AdditionalNTPSourcesDialogToggleComponent, hideNTPStatus, updateDiskSkipFormatting, }: HostDetailProps) => JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type ChangeHostnameActionProps = {
|
|
3
|
+
onChangeHostname: VoidFunction;
|
|
4
|
+
};
|
|
5
|
+
export declare const ChangeHostnameAction: React.FC<ChangeHostnameActionProps>;
|
|
6
|
+
declare type DeleteHostActionProps = {
|
|
7
|
+
onDeleteHost: VoidFunction;
|
|
8
|
+
};
|
|
9
|
+
export declare const DeleteHostAction: React.FC<DeleteHostActionProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Host } from '../../api';
|
|
3
|
+
import { ValidationsInfo } from '../../types/hosts';
|
|
4
|
+
import './HostValidationGroups.css';
|
|
5
|
+
export declare type AdditionNtpSourcePropsType = {
|
|
6
|
+
AdditionalNTPSourcesDialogToggleComponent?: React.FC;
|
|
7
|
+
};
|
|
8
|
+
export declare type UpdateDay2ApiVipPropsType = {
|
|
9
|
+
UpdateDay2ApiVipDialogToggleComponent?: React.FC;
|
|
10
|
+
};
|
|
11
|
+
export declare type InvalidHostnameActionProps = {
|
|
12
|
+
onEditHostname?: () => void;
|
|
13
|
+
host: Host;
|
|
14
|
+
};
|
|
15
|
+
export declare type ValidationInfoActionProps = AdditionNtpSourcePropsType & InvalidHostnameActionProps & UpdateDay2ApiVipPropsType;
|
|
16
|
+
declare type HostValidationGroupsProps = ValidationInfoActionProps & {
|
|
17
|
+
validationsInfo: ValidationsInfo;
|
|
18
|
+
};
|
|
19
|
+
export declare const HostValidationGroups: React.FC<HostValidationGroupsProps>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Host, Inventory } from '../../api';
|
|
3
|
+
declare type HostnameProps = {
|
|
4
|
+
host: Host;
|
|
5
|
+
onEditHostname?: () => void;
|
|
6
|
+
className?: string;
|
|
7
|
+
inventory?: Inventory;
|
|
8
|
+
title?: string;
|
|
9
|
+
hosts?: Host[];
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const Hostname: React.FC<HostnameProps>;
|
|
13
|
+
export default Hostname;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { HostsNotShowingLinkProps } from '../clusterConfiguration';
|
|
3
|
+
import { Host } from '../../api';
|
|
4
|
+
import { ExpandComponentProps, AITableProps } from '../../../common/components/hosts/AITable';
|
|
5
|
+
import { WithTestID } from '../../types';
|
|
6
|
+
import { usePagination } from './usePagination';
|
|
7
|
+
declare type HostsTableEmptyStateProps = {
|
|
8
|
+
setDiscoveryHintModalOpen?: HostsNotShowingLinkProps['setDiscoveryHintModalOpen'];
|
|
9
|
+
isSNO?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const HostsTableEmptyState: React.FC<HostsTableEmptyStateProps>;
|
|
12
|
+
export declare const DefaultExpandComponent: ({ obj }: ExpandComponentProps<Host>) => JSX.Element;
|
|
13
|
+
declare type HostsTableProps = ReturnType<typeof usePagination> & Pick<AITableProps<Host>, 'content' | 'actionResolver' | 'onSelect' | 'selectedIDs' | 'setSelectedIDs' | 'ExpandComponent' | 'className' | 'canSelectAll'> & {
|
|
14
|
+
hosts: Host[];
|
|
15
|
+
skipDisabled?: boolean;
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
};
|
|
18
|
+
declare const HostsTable: React.FC<HostsTableProps & WithTestID>;
|
|
19
|
+
export default HostsTable;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OnDiskRoleType } from './DiskRole';
|
|
3
|
+
import { HostsTableActions } from './types';
|
|
4
|
+
declare type HostsTableDetailContextValue = {
|
|
5
|
+
onDiskRole: OnDiskRoleType | undefined;
|
|
6
|
+
canEditDisks: HostsTableActions['canEditDisks'];
|
|
7
|
+
updateDiskSkipFormatting?: HostsTableActions['updateSkipFormatting'];
|
|
8
|
+
};
|
|
9
|
+
declare const HostsTableDetailContextProvider: React.FC<HostsTableDetailContextValue>;
|
|
10
|
+
declare const useHostsTableDetailContext: () => HostsTableDetailContextValue;
|
|
11
|
+
export { HostsTableDetailContextProvider, useHostsTableDetailContext };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Host } from '../../api';
|
|
3
|
+
import { ActionCheck } from './types';
|
|
4
|
+
import './MassChangeHostnameModal.css';
|
|
5
|
+
export declare type MassChangeHostnameModalProps = {
|
|
6
|
+
hosts: Host[];
|
|
7
|
+
selectedHostIDs: string[];
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
onClose: VoidFunction;
|
|
10
|
+
onChangeHostname: (host: Host, hostname: string) => Promise<any>;
|
|
11
|
+
canChangeHostname: (host: Host) => ActionCheck;
|
|
12
|
+
};
|
|
13
|
+
declare const MassChangeHostnameModal: React.FC<MassChangeHostnameModalProps>;
|
|
14
|
+
export default MassChangeHostnameModal;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Host } from '../../api';
|
|
3
|
+
declare type MassDeleteHostModalProps = {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: VoidFunction;
|
|
6
|
+
hosts: Host[];
|
|
7
|
+
onDelete: (host: Host) => Promise<any>;
|
|
8
|
+
};
|
|
9
|
+
declare const MassDeleteHostModal: React.FC<MassDeleteHostModalProps>;
|
|
10
|
+
export default MassDeleteHostModal;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ValidationsInfo } from '../../../common/types/hosts';
|
|
3
|
+
import { ValidationInfoActionProps } from './HostValidationGroups';
|
|
4
|
+
declare type NtpValidationsStatusProps = {
|
|
5
|
+
validationsInfo: ValidationsInfo;
|
|
6
|
+
AdditionalNTPSourcesDialogToggleComponent: ValidationInfoActionProps['AdditionalNTPSourcesDialogToggleComponent'];
|
|
7
|
+
};
|
|
8
|
+
declare const NtpValidationStatus: React.FC<NtpValidationsStatusProps>;
|
|
9
|
+
export default NtpValidationStatus;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DropdownProps } from '@patternfly/react-core';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Host, HostUpdateParams } from '../../api';
|
|
4
|
+
export declare type RoleCellProps = {
|
|
5
|
+
host: Host;
|
|
6
|
+
role: string;
|
|
7
|
+
readonly?: boolean;
|
|
8
|
+
onEditRole?: (role: HostUpdateParams['hostRole']) => Promise<any>;
|
|
9
|
+
displayTooltip?: boolean;
|
|
10
|
+
position?: DropdownProps['position'];
|
|
11
|
+
};
|
|
12
|
+
declare const RoleCell: React.FC<RoleCellProps>;
|
|
13
|
+
export default RoleCell;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Host, HostUpdateParams } from '../../api';
|
|
3
|
+
import { DropdownProps } from '@patternfly/react-core';
|
|
4
|
+
declare type RoleDropdownProps = {
|
|
5
|
+
host: Host;
|
|
6
|
+
onEditRole: (role: HostUpdateParams['hostRole']) => Promise<any>;
|
|
7
|
+
current: string;
|
|
8
|
+
position?: DropdownProps['position'];
|
|
9
|
+
};
|
|
10
|
+
declare const RoleDropdown: React.FC<RoleDropdownProps>;
|
|
11
|
+
export default RoleDropdown;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { OnPerPageSelect, OnSetPage, PerPageOptions, ToolbarProps } from '@patternfly/react-core';
|
|
3
|
+
import './TableToolbar.css';
|
|
4
|
+
declare type TableToolbarProps = {
|
|
5
|
+
itemIDs: string[];
|
|
6
|
+
selectedIDs: string[];
|
|
7
|
+
setSelectedIDs: (selectedIDs: string[]) => void;
|
|
8
|
+
actions?: React.ReactNode[];
|
|
9
|
+
showPagination: boolean;
|
|
10
|
+
perPage: number;
|
|
11
|
+
onPerPageSelect: OnPerPageSelect;
|
|
12
|
+
page: number;
|
|
13
|
+
onSetPage: OnSetPage;
|
|
14
|
+
perPageOptions: PerPageOptions[];
|
|
15
|
+
clearAllFilters?: ToolbarProps['clearAllFilters'];
|
|
16
|
+
};
|
|
17
|
+
declare const TableToolbar: React.FC<TableToolbarProps>;
|
|
18
|
+
export default TableToolbar;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Inventory } from '../../api';
|
|
2
|
+
import { HumanizedSortable } from '../ui/table/utils';
|
|
3
|
+
export declare type HostRowHardwareInfo = {
|
|
4
|
+
serialNumber: string;
|
|
5
|
+
cores: HumanizedSortable;
|
|
6
|
+
cpuSpeed: string;
|
|
7
|
+
memory: HumanizedSortable;
|
|
8
|
+
disk: HumanizedSortable;
|
|
9
|
+
};
|
|
10
|
+
export declare type SimpleHardwareInfo = {
|
|
11
|
+
cores: number;
|
|
12
|
+
memory: number;
|
|
13
|
+
disks: number;
|
|
14
|
+
};
|
|
15
|
+
export declare const getMemoryCapacity: (inventory: Inventory) => number;
|
|
16
|
+
export declare const getDiskCapacity: (inventory: Inventory) => number;
|
|
17
|
+
export declare const getHumanizedCpuClockSpeed: (inventory: Inventory) => string;
|
|
18
|
+
export declare const getSimpleHardwareInfo: (inventory: Inventory) => SimpleHardwareInfo;
|
|
19
|
+
export declare const getHostRowHardwareInfo: (inventory: Inventory) => HostRowHardwareInfo;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './utils';
|
|
2
|
+
export * from './types';
|
|
3
|
+
export * from './HostValidationGroups';
|
|
4
|
+
export { default as RoleCell } from './RoleCell';
|
|
5
|
+
export { default as RoleDropdown } from './RoleDropdown';
|
|
6
|
+
export { default as HostsCount } from './HostsCount';
|
|
7
|
+
export { default as HostStatus } from './HostStatus';
|
|
8
|
+
export { default as EditHostModal } from './EditHostModal';
|
|
9
|
+
export { default as HostRequirements, HostRequirementsList } from './HostRequirements';
|
|
10
|
+
export { default as VMRebootConfigurationInfo } from './VMRebootConfigurationInfo';
|
|
11
|
+
export { default as TableToolbar } from './TableToolbar';
|
|
12
|
+
export { ChangeHostnameAction, DeleteHostAction } from './HostToolbarActions';
|
|
13
|
+
export { default as MassChangeHostnameModal } from './MassChangeHostnameModal';
|
|
14
|
+
export { default as MassDeleteHostModal } from './MassDeleteHostModal';
|
|
15
|
+
export { default as Hostname } from './Hostname';
|
|
16
|
+
export * from './status';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Address4, Address6 } from 'ip-address';
|
|
3
|
+
import { Cluster, Host, Interface } from '../../api';
|
|
4
|
+
import { ActionsResolver, TableRow } from './AITable';
|
|
5
|
+
import { HostsTableActions } from './types';
|
|
6
|
+
import { DropdownProps } from '@patternfly/react-core';
|
|
7
|
+
import { TFunction } from 'i18next';
|
|
8
|
+
export declare const getSelectedNic: (nics: Interface[], currentSubnet: Address4 | Address6) => Interface | undefined;
|
|
9
|
+
export declare const hostnameColumn: (t: TFunction, onEditHostname?: HostsTableActions['onEditHost'], hosts?: Host[] | undefined, canEditHostname?: HostsTableActions['canEditHostname']) => TableRow<Host>;
|
|
10
|
+
export declare const roleColumn: (t: TFunction, canEditRole?: HostsTableActions['canEditRole'], onEditRole?: HostsTableActions['onEditRole'], schedulableMasters?: boolean | undefined, position?: DropdownProps['position']) => TableRow<Host>;
|
|
11
|
+
export declare const statusColumn: (t: TFunction, AdditionalNTPSourcesDialogToggleComponent?: React.FC<{}> | undefined, onEditHostname?: HostsTableActions['onEditHost'], UpdateDay2ApiVipDialogToggleComponent?: React.FC<{}> | undefined) => TableRow<Host>;
|
|
12
|
+
export declare const discoveredAtColumn: TableRow<Host>;
|
|
13
|
+
export declare const cpuArchitectureColumn: (t: TFunction) => TableRow<Host>;
|
|
14
|
+
export declare const cpuCoresColumn: TableRow<Host>;
|
|
15
|
+
export declare const memoryColumn: TableRow<Host>;
|
|
16
|
+
export declare const disksColumn: TableRow<Host>;
|
|
17
|
+
export declare const countColumn: (cluster: Cluster) => TableRow<Host>;
|
|
18
|
+
export declare const activeNICColumn: (cluster: Cluster) => TableRow<Host>;
|
|
19
|
+
export declare const ipv4Column: (cluster: Cluster) => TableRow<Host>;
|
|
20
|
+
export declare const ipv6Column: (cluster: Cluster) => TableRow<Host>;
|
|
21
|
+
export declare const macAddressColumn: (cluster: Cluster) => TableRow<Host>;
|
|
22
|
+
export declare const hostActionResolver: ({ onInstallHost, canInstallHost, onEditHost, canEditHost, onHostEnable, canEnable, onHostDisable, canDisable, onHostReset, canReset, onViewHostEvents, onDownloadHostLogs, canDownloadHostLogs, onDeleteHost, canDelete, onEditBMH, canEditBMH, canUnbindHost, onUnbindHost, }: HostsTableActions) => ActionsResolver<Host>;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Cluster, Disk, Host, HostUpdateParams } from '../../api';
|
|
3
|
+
import { ValidationsInfo } from '../../types/hosts';
|
|
4
|
+
import { HostsNotShowingLinkProps } from '../clusterConfiguration';
|
|
5
|
+
import { OnDiskRoleType } from './DiskRole';
|
|
6
|
+
import { AdditionNtpSourcePropsType, UpdateDay2ApiVipPropsType } from './HostValidationGroups';
|
|
7
|
+
export declare type ClusterHostsTableProps = {
|
|
8
|
+
cluster: Cluster;
|
|
9
|
+
skipDisabled?: boolean;
|
|
10
|
+
setDiscoveryHintModalOpen?: HostsNotShowingLinkProps['setDiscoveryHintModalOpen'];
|
|
11
|
+
};
|
|
12
|
+
export declare type EditHostFormValues = {
|
|
13
|
+
hostId: string;
|
|
14
|
+
hostname: string;
|
|
15
|
+
};
|
|
16
|
+
export declare type ActionCheck = [/* enabled */ boolean, /* reason */ /* reason */ string | undefined];
|
|
17
|
+
export declare type HostsTableActions = {
|
|
18
|
+
onDeleteHost?: (host: Host) => void;
|
|
19
|
+
onHostEnable?: (host: Host) => void;
|
|
20
|
+
onInstallHost?: (host: Host) => void;
|
|
21
|
+
onHostDisable?: (host: Host) => void;
|
|
22
|
+
onHostReset?: (host: Host) => void;
|
|
23
|
+
onViewHostEvents?: (host: Host) => void;
|
|
24
|
+
onEditHost?: (host: Host) => void;
|
|
25
|
+
onDownloadHostLogs?: (host: Host) => void;
|
|
26
|
+
canInstallHost?: (host: Host) => boolean;
|
|
27
|
+
canEditDisks?: (host: Host) => boolean;
|
|
28
|
+
onDiskRole?: OnDiskRoleType;
|
|
29
|
+
canEditHost?: (host: Host) => boolean | ActionCheck;
|
|
30
|
+
canEnable?: (host: Host) => boolean;
|
|
31
|
+
canDisable?: (host: Host) => boolean;
|
|
32
|
+
canReset?: (host: Host) => boolean;
|
|
33
|
+
canDownloadHostLogs?: (host: Host) => boolean;
|
|
34
|
+
canDelete?: (host: Host) => boolean | ActionCheck;
|
|
35
|
+
onEditRole?: (host: Host, role: HostUpdateParams['hostRole']) => Promise<any>;
|
|
36
|
+
canEditRole?: (host: Host) => boolean;
|
|
37
|
+
onEditBMH?: (host: Host) => void;
|
|
38
|
+
canEditBMH?: (host: Host) => ActionCheck;
|
|
39
|
+
onSelect?: (host: Host, selected: boolean) => void;
|
|
40
|
+
canEditHostname?: () => boolean;
|
|
41
|
+
canUnbindHost?: (host: Host) => ActionCheck;
|
|
42
|
+
onUnbindHost?: (host: Host) => void;
|
|
43
|
+
onExcludedODF?: (hostId: Host['id'], nodeLabels: HostUpdateParams['nodeLabels']) => Promise<unknown>;
|
|
44
|
+
updateSkipFormatting?: (shouldFormatDisk: boolean, hostId: Host['id'], diskId: Disk['id']) => Promise<unknown>;
|
|
45
|
+
};
|
|
46
|
+
export declare type HostNetworkingStatusComponentProps = {
|
|
47
|
+
host: Host;
|
|
48
|
+
validationsInfo: ValidationsInfo;
|
|
49
|
+
onEditHostname?: () => void;
|
|
50
|
+
};
|
|
51
|
+
export declare type HostStatusDef = {
|
|
52
|
+
key: string;
|
|
53
|
+
title: string;
|
|
54
|
+
category: 'Installation related' | 'Discovery related' | 'Bare Metal Host related';
|
|
55
|
+
icon?: React.ReactNode;
|
|
56
|
+
sublabel?: string;
|
|
57
|
+
details?: string;
|
|
58
|
+
noPopover?: boolean;
|
|
59
|
+
withProgress?: boolean;
|
|
60
|
+
};
|
|
61
|
+
export declare type HostStatus<S extends string> = {
|
|
62
|
+
[key in S]: HostStatusDef;
|
|
63
|
+
};
|
|
64
|
+
export declare type HostStatusProps = AdditionNtpSourcePropsType & UpdateDay2ApiVipPropsType & {
|
|
65
|
+
host: Host;
|
|
66
|
+
validationsInfo: ValidationsInfo;
|
|
67
|
+
onEditHostname?: () => void;
|
|
68
|
+
status: HostStatusDef;
|
|
69
|
+
zIndex?: number;
|
|
70
|
+
autoCSR?: boolean;
|
|
71
|
+
additionalPopoverContent?: React.ReactNode;
|
|
72
|
+
};
|