@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,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Cluster, ClusterCreateParams, V2ClusterUpdateParams, ManagedDomain, InfraEnv } from '../../../common';
|
|
3
|
+
import { OpenshiftVersionOptionType } from '../../../common';
|
|
4
|
+
declare type ClusterDetailsFormProps = {
|
|
5
|
+
cluster?: Cluster;
|
|
6
|
+
infraEnv?: InfraEnv;
|
|
7
|
+
pullSecret: string;
|
|
8
|
+
managedDomains: ManagedDomain[];
|
|
9
|
+
ocpVersions: OpenshiftVersionOptionType[];
|
|
10
|
+
usedClusterNames: string[];
|
|
11
|
+
navigation: React.ReactNode;
|
|
12
|
+
moveNext: () => void;
|
|
13
|
+
handleClusterCreate: (params: ClusterCreateParams) => Promise<void>;
|
|
14
|
+
handleClusterUpdate: (clusterId: Cluster['id'], params: V2ClusterUpdateParams) => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
declare const ClusterDetailsForm: (props: ClusterDetailsFormProps) => JSX.Element;
|
|
17
|
+
export default ClusterDetailsForm;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PlatformType, SupportedPlatformType } from '../../../common';
|
|
2
|
+
declare type ClusterPlatformIntegrationHintProps = {
|
|
3
|
+
clusterId: string;
|
|
4
|
+
platformType: PlatformType;
|
|
5
|
+
};
|
|
6
|
+
export declare const integrationPlatformLinks: Record<SupportedPlatformType, string>;
|
|
7
|
+
export declare const ClusterPlatformIntegrationHint: ({ clusterId, platformType, }: ClusterPlatformIntegrationHintProps) => JSX.Element | null;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Cluster, InfraEnv, InfraEnvUpdateParams } from '../../../common';
|
|
2
|
+
declare type ClusterWizardProps = {
|
|
3
|
+
cluster: Cluster;
|
|
4
|
+
infraEnv: InfraEnv;
|
|
5
|
+
updateInfraEnv: (infraEnvUpdateParams: InfraEnvUpdateParams) => Promise<InfraEnv>;
|
|
6
|
+
};
|
|
7
|
+
declare const ClusterWizard: ({ cluster, infraEnv, updateInfraEnv }: ClusterWizardProps) => JSX.Element;
|
|
8
|
+
export default ClusterWizard;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HostsNetworkConfigurationType } from '../../services';
|
|
3
|
+
import { StaticIpView } from '../clusterConfiguration/staticIp/data/dataTypes';
|
|
4
|
+
import { ClusterWizardStepsType } from './wizardTransition';
|
|
5
|
+
export declare type ClusterWizardContextType = {
|
|
6
|
+
currentStepId: ClusterWizardStepsType;
|
|
7
|
+
setCurrentStepId(stepId: ClusterWizardStepsType): void;
|
|
8
|
+
moveBack(): void;
|
|
9
|
+
moveNext(): void;
|
|
10
|
+
wizardStepIds: ClusterWizardStepsType[];
|
|
11
|
+
onUpdateStaticIpView(view: StaticIpView): void;
|
|
12
|
+
onUpdateHostNetworkConfigType(type: HostsNetworkConfigurationType): void;
|
|
13
|
+
};
|
|
14
|
+
declare const ClusterWizardContext: React.Context<ClusterWizardContextType | null>;
|
|
15
|
+
export declare const useClusterWizardContext: () => ClusterWizardContextType;
|
|
16
|
+
export default ClusterWizardContext;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
import { Cluster, InfraEnv, AssistedInstallerOCMPermissionTypesListType } from '../../../common';
|
|
3
|
+
declare const ClusterWizardContextProvider: React.FC<PropsWithChildren<{
|
|
4
|
+
cluster?: Cluster;
|
|
5
|
+
infraEnv?: InfraEnv;
|
|
6
|
+
permissions?: AssistedInstallerOCMPermissionTypesListType;
|
|
7
|
+
}>>;
|
|
8
|
+
export default ClusterWizardContextProvider;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Cluster, WizardFooterGenericProps } from '../../../common';
|
|
3
|
+
declare type ClusterWizardFooterProps = WizardFooterGenericProps & {
|
|
4
|
+
cluster?: Cluster;
|
|
5
|
+
additionalActions?: React.ReactNode;
|
|
6
|
+
errorFields?: string[];
|
|
7
|
+
alertTitle?: string;
|
|
8
|
+
alertContent?: string | null;
|
|
9
|
+
};
|
|
10
|
+
declare const ClusterWizardFooter: ({ cluster, additionalActions, errorFields, alertTitle, alertContent, onCancel, ...rest }: ClusterWizardFooterProps) => JSX.Element;
|
|
11
|
+
export default ClusterWizardFooter;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Cluster, MonitoredOperator, OperatorsValues } from '../../../common';
|
|
2
|
+
export declare const getOperatorsInitialValues: (monitoredOperators: MonitoredOperator[]) => OperatorsValues;
|
|
3
|
+
declare const Operators: ({ cluster }: {
|
|
4
|
+
cluster: Cluster;
|
|
5
|
+
}) => JSX.Element;
|
|
6
|
+
export default Operators;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ClusterWizardStepsType } from './wizardTransition';
|
|
2
|
+
export declare const wizardStepNames: {
|
|
3
|
+
[key in ClusterWizardStepsType]: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const defaultWizardSteps: ClusterWizardStepsType[];
|
|
6
|
+
export declare const staticIpFormViewSubSteps: ClusterWizardStepsType[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ClusterDetailsForm } from './ClusterDetailsForm';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Cluster, Host, WizardStepsValidationMap } from '../../../common';
|
|
2
|
+
import { Day2WizardStepsType } from '../AddHosts/day2Wizard/constants';
|
|
3
|
+
import { StaticIpInfo } from '../clusterConfiguration/staticIp/data/dataTypes';
|
|
4
|
+
export declare type ClusterWizardStepsType = 'cluster-details' | 'static-ip-yaml-view' | 'static-ip-network-wide-configurations' | 'static-ip-host-configurations' | 'operators' | 'host-discovery' | 'storage' | 'networking' | 'review';
|
|
5
|
+
export declare const ClusterWizardFlowStateNew = "new";
|
|
6
|
+
export declare type ClusterWizardFlowStateType = Cluster['status'] | typeof ClusterWizardFlowStateNew;
|
|
7
|
+
export declare const getClusterWizardFirstStep: (locationState: ClusterWizardFlowStateType | undefined, staticIpInfo: StaticIpInfo | undefined, state?: "insufficient" | "ready" | "error" | "preparing-for-installation" | "pending-for-input" | "installing" | "finalizing" | "installed" | "adding-hosts" | "cancelled" | "installing-pending-user-action" | "new" | undefined, hosts?: Host[] | undefined) => ClusterWizardStepsType;
|
|
8
|
+
declare type TransitionProps = {
|
|
9
|
+
cluster: Cluster;
|
|
10
|
+
};
|
|
11
|
+
export declare const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>;
|
|
12
|
+
export declare const allClusterWizardSoftValidationIds: ("connected" | "media-connected" | "has-inventory" | "has-min-cpu-cores" | "has-min-valid-disks" | "has-min-memory" | "machine-cidr-defined" | "has-cpu-cores-for-role" | "has-memory-for-role" | "hostname-unique" | "hostname-valid" | "belongs-to-machine-cidr" | "ignition-downloadable" | "belongs-to-majority-group" | "valid-platform-network-settings" | "ntp-synced" | "container-images-available" | "lso-requirements-satisfied" | "ocs-requirements-satisfied" | "odf-requirements-satisfied" | "lvm-requirements-satisfied" | "sufficient-installation-disk-speed" | "cnv-requirements-satisfied" | "sufficient-network-latency-requirement-for-role" | "sufficient-packet-loss-requirement-for-role" | "has-default-route" | "api-domain-name-resolved-correctly" | "api-int-domain-name-resolved-correctly" | "apps-domain-name-resolved-correctly" | "compatible-with-cluster-platform" | "dns-wildcard-not-configured" | "disk-encryption-requirements-satisfied" | "non-overlapping-subnets" | "vsphere-disk-uuid-enabled" | "compatible-agent" | "no-skip-installation-disk" | "no-skip-missing-disk" | "service-has-sufficient-spoke-kube-api-access" | "cluster-cidr-defined" | "service-cidr-defined" | "no-cidrs-overlapping" | "networks-same-address-families" | "network-prefix-valid" | "machine-cidr-equals-to-calculated-cidr" | "api-vip-defined" | "api-vip-valid" | "ingress-vip-defined" | "ingress-vip-valid" | "all-hosts-are-ready-to-install" | "sufficient-masters-count" | "dns-domain-defined" | "pull-secret-set" | "ntp-server-configured" | "network-type-valid")[];
|
|
13
|
+
export declare const canNextClusterDetails: ({ cluster }: TransitionProps) => boolean;
|
|
14
|
+
export declare const canNextHostDiscovery: ({ cluster }: TransitionProps) => boolean;
|
|
15
|
+
export declare const canNextStorage: ({ cluster }: TransitionProps) => boolean;
|
|
16
|
+
export declare const canNextOperators: ({ cluster }: TransitionProps) => boolean;
|
|
17
|
+
export declare const canNextNetwork: ({ cluster }: TransitionProps) => boolean;
|
|
18
|
+
export declare const isStaticIpStep: (stepId: ClusterWizardStepsType | Day2WizardStepsType) => boolean;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Cluster, WithTestID } from '../../../common';
|
|
3
|
+
import { TFunction } from 'i18next';
|
|
4
|
+
declare type ClusterStatusProps = {
|
|
5
|
+
status: Cluster['status'];
|
|
6
|
+
className?: string;
|
|
7
|
+
};
|
|
8
|
+
declare type ClusterStatusIconProps = {
|
|
9
|
+
status: Cluster['status'];
|
|
10
|
+
className?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const ClusterStatusIcon: React.FC<ClusterStatusIconProps>;
|
|
13
|
+
export declare const getClusterStatusText: (t: TFunction, status: Cluster['status']) => string;
|
|
14
|
+
declare const ClusterStatus: React.FC<ClusterStatusProps & WithTestID>;
|
|
15
|
+
export default ClusterStatus;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type ClusterFiltersType = {
|
|
3
|
+
[key: string]: string[];
|
|
4
|
+
};
|
|
5
|
+
declare type ClustersListToolbarProps = {
|
|
6
|
+
searchString: string;
|
|
7
|
+
setSearchString: (value: string) => void;
|
|
8
|
+
filters: ClusterFiltersType;
|
|
9
|
+
setFilters: (filters: ClusterFiltersType) => void;
|
|
10
|
+
};
|
|
11
|
+
declare const ClustersListToolbar: React.FC<ClustersListToolbarProps>;
|
|
12
|
+
export default ClustersListToolbar;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ClusterTableRows } from '../../../common/types/clusters';
|
|
3
|
+
interface ClustersTableProps {
|
|
4
|
+
rows: ClusterTableRows;
|
|
5
|
+
deleteCluster: (id: string) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const ClustersTable: React.FC<ClustersTableProps>;
|
|
8
|
+
export default ClustersTable;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Cluster, ResourceUIState } from '../../../common';
|
|
2
|
+
import { FetchErrorType } from '../../reducers/clusters';
|
|
3
|
+
export declare const useFetchCluster: (clusterId: string) => () => import("@reduxjs/toolkit").AsyncThunkAction<void | Cluster, string, {
|
|
4
|
+
rejectValue: FetchErrorType;
|
|
5
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
6
|
+
state?: unknown;
|
|
7
|
+
extra?: unknown;
|
|
8
|
+
serializedErrorType?: unknown;
|
|
9
|
+
pendingMeta?: unknown;
|
|
10
|
+
fulfilledMeta?: unknown;
|
|
11
|
+
rejectedMeta?: unknown;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const useClusterPolling: (clusterId: string) => {
|
|
14
|
+
cluster: Cluster | undefined;
|
|
15
|
+
uiState: ResourceUIState;
|
|
16
|
+
errorDetail: FetchErrorType | undefined;
|
|
17
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as Clusters } from './Clusters';
|
|
2
|
+
export { default as NewClusterPage } from './NewClusterPage';
|
|
3
|
+
export { default as ClusterPage } from './ClusterPage';
|
|
4
|
+
export { default as ClusterToolbar } from './ClusterToolbar';
|
|
5
|
+
export { default as ClusterStatus, ClusterStatusIcon } from './ClusterStatus';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Cluster, LogsState, MonitoredOperator, MonitoredOperatorsList, OperatorCreateParams } from '../../../common';
|
|
2
|
+
export declare const isAddHostsCluster: (cluster: Cluster) => boolean;
|
|
3
|
+
export declare const filterHostsByLogStates: (cluster: Cluster, logStates: LogsState[]) => import("../../../common").Host[];
|
|
4
|
+
export declare const calculateCollectedLogsCount: (cluster: Cluster) => number;
|
|
5
|
+
export declare const getBuiltInOperators: (monitoredOperators?: MonitoredOperatorsList) => MonitoredOperator[];
|
|
6
|
+
export declare const getOlmOperatorCreateParams: (cluster?: Cluster | undefined) => OperatorCreateParams[];
|
|
7
|
+
export declare const getOlmOperatorCreateParamsByName: (cluster?: Cluster | undefined) => {
|
|
8
|
+
[key: string]: OperatorCreateParams;
|
|
9
|
+
};
|
|
10
|
+
export declare const canAbortInstallation: (cluster: Cluster) => boolean;
|
|
11
|
+
export declare const isSomeDisksSkipFormatting: (cluster: Cluster) => boolean | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
import { FeatureId, FeatureSupportLevels, Cluster } from '../../../common';
|
|
3
|
+
export declare type SupportLevelProviderProps = PropsWithChildren<{
|
|
4
|
+
clusterFeatureUsage?: string;
|
|
5
|
+
openshiftVersion?: string;
|
|
6
|
+
loadingUi: React.ReactNode;
|
|
7
|
+
cluster?: Cluster;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const getFeatureSupported: (openshiftVersion: string, featureSupportLevels: FeatureSupportLevels, featureId: FeatureId) => boolean | undefined;
|
|
10
|
+
export declare const FeatureSupportLevelProvider: React.FC<SupportLevelProviderProps>;
|
|
11
|
+
export default FeatureSupportLevelProvider;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FeatureIdToSupportLevel } from '../../../common/types';
|
|
2
|
+
import { Cluster } from '../../../common/api/types';
|
|
3
|
+
export declare const LimitedSupportedCluster: ({ clusterFeatureSupportLevels, showVersionWarning, }: {
|
|
4
|
+
clusterFeatureSupportLevels: FeatureIdToSupportLevel;
|
|
5
|
+
showVersionWarning: boolean;
|
|
6
|
+
}) => JSX.Element;
|
|
7
|
+
export declare const FullySupportedCluster: () => JSX.Element;
|
|
8
|
+
export declare const getFeatureSupportLevelTitle: (fullySupported: boolean) => string;
|
|
9
|
+
declare type SupportLevelProps = {
|
|
10
|
+
cluster: Cluster;
|
|
11
|
+
};
|
|
12
|
+
declare const ClusterFeatureSupportLevelsDetailItem: ({ ...props }: SupportLevelProps) => JSX.Element;
|
|
13
|
+
export default ClusterFeatureSupportLevelsDetailItem;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Cluster, FeatureId, OpenshiftVersionOptionType, OperatorsValues, SupportLevel } from '../../../common';
|
|
2
|
+
export declare const clusterExistsReason = "This option is not editable after the draft cluster is created";
|
|
3
|
+
export declare const getCnvIncompatibleWithLvmReason: (operatorValues: OperatorsValues, versionName: string | undefined, lvmSupport: SupportLevel | undefined) => string | undefined;
|
|
4
|
+
export declare const getLvmIncompatibleWithCnvReason: (operatorValues: OperatorsValues, versionName: string | undefined, lvmSupport: SupportLevel | undefined) => string | undefined;
|
|
5
|
+
export declare const getFeatureDisabledReason: (featureId: FeatureId, cluster: Cluster | undefined, versionName: string, versionOptions: OpenshiftVersionOptionType[], isSupported: boolean) => string | undefined;
|
|
6
|
+
export declare const isFeatureSupported: (versionName: string, featureId: FeatureId, supportLevel: SupportLevel | undefined, versionOptions: OpenshiftVersionOptionType[]) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AdditionalNTPSourcesDialogToggle: () => JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Cluster, Host } from '../../../common';
|
|
2
|
+
import { ExpandComponentProps } from '../../../common/components/hosts/AITable';
|
|
3
|
+
export declare function ExpandComponent({ obj: host }: ExpandComponentProps<Host>): JSX.Element;
|
|
4
|
+
export interface ClusterHostsTableProps {
|
|
5
|
+
cluster: Cluster;
|
|
6
|
+
skipDisabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const ClusterHostsTable: ({ cluster, skipDisabled }: ClusterHostsTableProps) => JSX.Element;
|
|
9
|
+
export default ClusterHostsTable;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare type DeleteHostModalProps = {
|
|
2
|
+
hostname?: string;
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
onDelete: () => void;
|
|
6
|
+
};
|
|
7
|
+
declare const DeleteHostModal: ({ isOpen, hostname, onClose, onDelete }: DeleteHostModalProps) => JSX.Element;
|
|
8
|
+
export default DeleteHostModal;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Host, HostsTableActions } from '../../../common';
|
|
2
|
+
import { TableRow } from '../../../common/components/hosts/AITable';
|
|
3
|
+
import { ValidationsInfo } from '../../../common/types/hosts';
|
|
4
|
+
declare type HardwareStatusProps = {
|
|
5
|
+
host: Host;
|
|
6
|
+
validationsInfo: ValidationsInfo;
|
|
7
|
+
onEditHostname?: () => void;
|
|
8
|
+
isWithinModal?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const hardwareStatusColumn: ({ onEditHostname, isWithinModal, }: {
|
|
11
|
+
onEditHostname?: HostsTableActions['onEditHost'];
|
|
12
|
+
isWithinModal?: boolean | undefined;
|
|
13
|
+
}) => TableRow<Host>;
|
|
14
|
+
declare const _default: {
|
|
15
|
+
HardwareStatus: (props: HardwareStatusProps) => JSX.Element;
|
|
16
|
+
hardwareStatusColumn: ({ onEditHostname, isWithinModal, }: {
|
|
17
|
+
onEditHostname?: ((host: Host) => void) | undefined;
|
|
18
|
+
isWithinModal?: boolean | undefined;
|
|
19
|
+
}) => TableRow<Host>;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Cluster } from '../../../common';
|
|
2
|
+
declare type PreflightRequirementsContentProps = {
|
|
3
|
+
clusterId: Cluster['id'];
|
|
4
|
+
isSingleNode: boolean;
|
|
5
|
+
isAddingHosts: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const HostRequirementsContent: ({ clusterId, isSingleNode, isAddingHosts, }: PreflightRequirementsContentProps) => JSX.Element;
|
|
8
|
+
export default HostRequirementsContent;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export interface HostsDiscoveryTroubleshootingInfoLinkWithModalProps {
|
|
2
|
+
isSingleNode?: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const HostsDiscoveryTroubleshootingInfoLinkWithModal: ({ isSingleNode, }: HostsDiscoveryTroubleshootingInfoLinkWithModalProps) => JSX.Element;
|
|
5
|
+
export default HostsDiscoveryTroubleshootingInfoLinkWithModal;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Cluster, Host } from '../../../common';
|
|
2
|
+
import { ExpandComponentProps } from '../../../common/components/hosts/AITable';
|
|
3
|
+
export declare function ExpandComponent({ obj: host }: ExpandComponentProps<Host>): JSX.Element;
|
|
4
|
+
declare const HostsStorageTable: ({ cluster }: {
|
|
5
|
+
cluster: Cluster;
|
|
6
|
+
}) => JSX.Element;
|
|
7
|
+
export default HostsStorageTable;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Host, Inventory, Cluster } from '../../../common';
|
|
3
|
+
declare type HostIdAndHostname = {
|
|
4
|
+
hostId: Host['id'];
|
|
5
|
+
hostname: string;
|
|
6
|
+
};
|
|
7
|
+
declare type EditHostProps = {
|
|
8
|
+
host: Host;
|
|
9
|
+
inventory: Inventory;
|
|
10
|
+
};
|
|
11
|
+
declare type ResetClusterProps = {
|
|
12
|
+
cluster: Cluster;
|
|
13
|
+
};
|
|
14
|
+
declare type CancelInstallationProps = {
|
|
15
|
+
clusterId: Cluster['id'];
|
|
16
|
+
};
|
|
17
|
+
declare type DiscoveryImageDialogProps = {
|
|
18
|
+
cluster: Cluster;
|
|
19
|
+
};
|
|
20
|
+
declare type MassUpdateHostnameDialogProps = {
|
|
21
|
+
cluster: Cluster;
|
|
22
|
+
hostIDs: string[];
|
|
23
|
+
};
|
|
24
|
+
declare type MassDeleteHostDialogProps = {
|
|
25
|
+
hosts: Host[];
|
|
26
|
+
onDelete: (host: Host) => Promise<any>;
|
|
27
|
+
};
|
|
28
|
+
declare type ModalDialogsDataTypes = {
|
|
29
|
+
eventsDialog: HostIdAndHostname;
|
|
30
|
+
editHostDialog: EditHostProps;
|
|
31
|
+
deleteHostDialog: HostIdAndHostname;
|
|
32
|
+
resetHostDialog: HostIdAndHostname;
|
|
33
|
+
additionalNTPSourcesDialog: void;
|
|
34
|
+
resetClusterDialog: ResetClusterProps;
|
|
35
|
+
cancelInstallationDialog: CancelInstallationProps;
|
|
36
|
+
discoveryImageDialog: DiscoveryImageDialogProps;
|
|
37
|
+
day2DiscoveryImageDialog: DiscoveryImageDialogProps;
|
|
38
|
+
UpdateDay2ApiVipDialog: void;
|
|
39
|
+
massUpdateHostnameDialog: MassUpdateHostnameDialogProps;
|
|
40
|
+
massDeleteHostDialog: MassDeleteHostDialogProps;
|
|
41
|
+
};
|
|
42
|
+
declare type DialogId = 'eventsDialog' | 'editHostDialog' | 'deleteHostDialog' | 'resetHostDialog' | 'additionalNTPSourcesDialog' | 'resetClusterDialog' | 'cancelInstallationDialog' | 'discoveryImageDialog' | 'day2DiscoveryImageDialog' | 'UpdateDay2ApiVipDialog' | 'massUpdateHostnameDialog' | 'massDeleteHostDialog';
|
|
43
|
+
export declare type ModalDialogsContextType = {
|
|
44
|
+
[key in DialogId]: {
|
|
45
|
+
isOpen: boolean;
|
|
46
|
+
open: (data: ModalDialogsDataTypes[key]) => void;
|
|
47
|
+
close: () => void;
|
|
48
|
+
data: ModalDialogsDataTypes[key];
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
declare const ModalDialogsContextProvider: React.FC;
|
|
52
|
+
declare const useModalDialogsContext: () => ModalDialogsContextType;
|
|
53
|
+
export { ModalDialogsContextProvider, useModalDialogsContext };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type UpdateDay2ApiVipFormProps = {
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
onUpdateDay2ApiVip: (apiVip: string, onError: (message: string) => void) => Promise<void>;
|
|
5
|
+
currentApiVip?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare type UpdateDay2ApiVipValues = {
|
|
8
|
+
apiVip?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const UpdateDay2ApiVipForm: React.FC<UpdateDay2ApiVipFormProps>;
|
|
11
|
+
export default UpdateDay2ApiVipForm;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UpdateDay2ApiVipFormProps } from './UpdateDay2ApiVipForm';
|
|
3
|
+
declare type UpdateDay2ApiVipModalProps = {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
} & UpdateDay2ApiVipFormProps;
|
|
6
|
+
declare const UpdateDay2ApiVipModal: React.FC<UpdateDay2ApiVipModalProps>;
|
|
7
|
+
export default UpdateDay2ApiVipModal;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Cluster, Disk, DiskRole, Host, HostUpdateParams } from '../../../common';
|
|
3
|
+
import { UpdateDay2ApiVipFormProps } from './UpdateDay2ApiVipForm';
|
|
4
|
+
export declare const useHostsTable: (cluster: Cluster) => {
|
|
5
|
+
onDiskRole: (hostId: Host['id'], diskId: Disk['id'], role: DiskRole) => Promise<void>;
|
|
6
|
+
onEditHost: (host: Host) => void;
|
|
7
|
+
actionChecks: {
|
|
8
|
+
canEditRole: (host: Host) => boolean;
|
|
9
|
+
canInstallHost: (host: Host) => boolean;
|
|
10
|
+
canEditDisks: (host: Host) => boolean;
|
|
11
|
+
canEnable: (host: Host) => boolean;
|
|
12
|
+
canDisable: (host: Host) => boolean;
|
|
13
|
+
canDelete: (host: Host) => boolean;
|
|
14
|
+
canEditHost: (host: Host) => boolean;
|
|
15
|
+
canReset: (host: Host) => boolean;
|
|
16
|
+
canEditHostname: () => boolean;
|
|
17
|
+
};
|
|
18
|
+
onEditRole: (host: Host, role: HostUpdateParams['hostRole']) => Promise<void>;
|
|
19
|
+
actionResolver: import("../../../common/components/hosts/AITable").ActionsResolver<Host>;
|
|
20
|
+
onReset: () => void;
|
|
21
|
+
onDelete: () => void;
|
|
22
|
+
onAdditionalNtpSource: (additionalNtpSource: string, onError: (message: string) => void) => Promise<void>;
|
|
23
|
+
onUpdateDay2ApiVip: (apiVip: string, onError: (message: string) => void) => Promise<void>;
|
|
24
|
+
onSelect: ((obj: Host, isSelected: boolean) => void) | undefined;
|
|
25
|
+
selectedHostIDs: string[];
|
|
26
|
+
setSelectedHostIDs: React.Dispatch<React.SetStateAction<string[]>>;
|
|
27
|
+
onMassChangeHostname: () => void;
|
|
28
|
+
onMassDeleteHost: () => void;
|
|
29
|
+
updateDiskSkipFormatting: (shouldFormatDisk: boolean, hostId: Host['id'], diskId: Disk['id']) => Promise<void>;
|
|
30
|
+
};
|
|
31
|
+
declare type HostsTableModalsProps = {
|
|
32
|
+
cluster: Cluster;
|
|
33
|
+
onReset: VoidFunction;
|
|
34
|
+
onDelete: VoidFunction;
|
|
35
|
+
onAdditionalNtpSource: (additionalNtpSource: string, onError: (message: string) => void) => Promise<void>;
|
|
36
|
+
onUpdateDay2ApiVip: UpdateDay2ApiVipFormProps['onUpdateDay2ApiVip'];
|
|
37
|
+
};
|
|
38
|
+
export declare const HostsTableModals: React.FC<HostsTableModalsProps>;
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AlertsContextType, Cluster, Host } from '../../../common';
|
|
2
|
+
export declare const downloadHostInstallationLogs: (addAlert: AlertsContextType['addAlert'], host: Host) => Promise<void>;
|
|
3
|
+
export declare const onAdditionalNtpSourceAction: (dispatch: (payload: any) => void, cluster: Cluster, additionalNtpSource: string, onError: (message: string) => void) => Promise<void>;
|
|
4
|
+
export declare const isAHostVM: (hosts: Host[]) => boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ModalProps } from '@patternfly/react-core';
|
|
3
|
+
import { SVGIconProps } from '@patternfly/react-icons/dist/js/createIcon';
|
|
4
|
+
export interface InfoLinkWithModalProps {
|
|
5
|
+
linkText: string;
|
|
6
|
+
infoCircleSize?: SVGIconProps['size'];
|
|
7
|
+
modalTitle: string;
|
|
8
|
+
modalVariant?: ModalProps['variant'];
|
|
9
|
+
}
|
|
10
|
+
declare const InfoLinkWithModal: ({ linkText, infoCircleSize, modalTitle, modalVariant, children, }: React.PropsWithChildren<InfoLinkWithModalProps>) => JSX.Element;
|
|
11
|
+
export default InfoLinkWithModal;
|