@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,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AgentK8sResource } from '../../types/k8s/agent';
|
|
3
|
+
import { AgentTableActions } from '../ClusterDeployment/types';
|
|
4
|
+
declare type ScaleUpFormProps = {
|
|
5
|
+
agents: AgentK8sResource[];
|
|
6
|
+
onEditHost: AgentTableActions['onEditHost'];
|
|
7
|
+
};
|
|
8
|
+
declare const ScaleUpForm: React.FC<ScaleUpFormProps>;
|
|
9
|
+
export default ScaleUpForm;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AgentK8sResource } from '../../types';
|
|
3
|
+
import { TFunction } from 'i18next';
|
|
4
|
+
export declare const getTotalCompute: (selectedAgents: AgentK8sResource[], t: TFunction) => string;
|
|
5
|
+
declare type ShortCapacitySummaryProps = {
|
|
6
|
+
selectedAgents: AgentK8sResource[];
|
|
7
|
+
};
|
|
8
|
+
declare const ShortCapacitySummary: React.FC<ShortCapacitySummaryProps>;
|
|
9
|
+
export default ShortCapacitySummary;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ClusterDeploymentWizardStepsType } from './types';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
export declare const clusterHostsSelectionLabel: (t: TFunction) => {
|
|
4
|
+
[x: string]: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const wizardStepNames: (t: TFunction) => {
|
|
7
|
+
review: string;
|
|
8
|
+
"cluster-details": string;
|
|
9
|
+
"hosts-selection": string;
|
|
10
|
+
"hosts-discovery": string;
|
|
11
|
+
networking: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const HOSTS_MAX_COUNT = 1024;
|
|
14
|
+
export declare const HOSTS_MIN_COUNT = 3;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventList } from '../../../common/api/types';
|
|
2
|
+
import { AgentClusterInstallK8sResource, InfraEnvK8sResource, BareMetalHostK8sResource } from '../../types/k8s';
|
|
3
|
+
import { EventListFetchProps } from '../../../common';
|
|
4
|
+
import { ClusterDeploymentK8sResource, AgentK8sResource } from '../../types';
|
|
5
|
+
import { gridSpans } from '@patternfly/react-core';
|
|
6
|
+
export declare const shouldShowClusterDeploymentValidationOverview: (agentClusterInstall?: AgentClusterInstallK8sResource | undefined) => boolean | undefined;
|
|
7
|
+
export declare const shouldShowClusterCredentials: (agentClusterInstall?: AgentClusterInstallK8sResource | undefined) => boolean;
|
|
8
|
+
export declare const shouldShowClusterInstallationProgress: (agentClusterInstall?: AgentClusterInstallK8sResource | undefined) => boolean;
|
|
9
|
+
export declare const isInstallationInProgress: (agentClusterInstall: AgentClusterInstallK8sResource) => boolean;
|
|
10
|
+
export declare const isInstallationReady: (agentClusterInstall: AgentClusterInstallK8sResource) => boolean;
|
|
11
|
+
export declare const shouldShowClusterInstallationError: (agentClusterInstall: AgentClusterInstallK8sResource) => boolean;
|
|
12
|
+
export declare const formatEventsData: (rawData: any) => EventList;
|
|
13
|
+
export declare const getOnFetchEventsHandler: (fetchEvents: (url: string) => Promise<string>, aiNamespace: string, agentClusterInstall?: AgentClusterInstallK8sResource | undefined) => EventListFetchProps['onFetchEvents'];
|
|
14
|
+
export declare const isCIMFlow: (clusterDeployment?: ClusterDeploymentK8sResource | undefined) => boolean;
|
|
15
|
+
export declare const isAgentOfInfraEnv: (infraEnv?: InfraEnvK8sResource | undefined, agent?: AgentK8sResource | undefined) => boolean;
|
|
16
|
+
export declare const isAgentOfCluster: (agent: AgentK8sResource, cdName?: string | undefined, cdNamespace?: string | undefined) => boolean;
|
|
17
|
+
export declare const getAgentsHostsNames: (agents?: AgentK8sResource[], bmhs?: BareMetalHostK8sResource[]) => string[];
|
|
18
|
+
export declare const getGridSpans: (isPreviewOpen: boolean) => {
|
|
19
|
+
span: gridSpans;
|
|
20
|
+
lg?: gridSpans;
|
|
21
|
+
xl?: gridSpans;
|
|
22
|
+
xl2?: gridSpans;
|
|
23
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export * from './helpers';
|
|
3
|
+
export * from './AdditionalNTPSourcesDialogToggle';
|
|
4
|
+
export * from './LogsDownloadButton';
|
|
5
|
+
export * from './wizardTransition';
|
|
6
|
+
export * from './networkConfigurationValidation';
|
|
7
|
+
export { default as ClusterDeploymentValidationsOverview } from './ClusterDeploymentValidationsOverview';
|
|
8
|
+
export { default as ClusterDeploymentDetails } from './ClusterDeploymentDetails';
|
|
9
|
+
export { default as ClusterDeploymentProgress } from './ClusterDeploymentProgress';
|
|
10
|
+
export { default as ClusterDeploymentCredentials } from './ClusterDeploymentCredentials';
|
|
11
|
+
export { default as ClusterDeploymentKubeconfigDownload } from './ClusterDeploymentKubeconfigDownload';
|
|
12
|
+
export { default as ClusterDeploymentWizard } from './ClusterDeploymentWizard';
|
|
13
|
+
export { default as ClusterInstallationError } from './ClusterInstallationError';
|
|
14
|
+
export { default as NetworkConfiguration } from './NetworkConfiguration';
|
|
15
|
+
export { default as ACMClusterDeploymentDetailsStep } from './ACMClusterDeploymentDetailsStep';
|
|
16
|
+
export { default as ClusterDeploymentCreateProgress } from './ClusterDeploymentCreateProgress';
|
|
17
|
+
export { getTotalCompute } from './ShortCapacitySummary';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
2
|
+
import { Cluster, ClusterDefaultConfig } from '../../../common/api';
|
|
3
|
+
import { HostSubnets, NetworkConfigurationValues } from '../../../common/types/clusters';
|
|
4
|
+
export declare const getNetworkInitialValues: (cluster: Cluster, defaultNetworkSettings: ClusterDefaultConfig) => NetworkConfigurationValues;
|
|
5
|
+
export declare const getNetworkConfigurationValidationSchema: (initialValues: NetworkConfigurationValues, hostSubnets: HostSubnets) => Yup.Lazy;
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { K8sResourceCommon } from '@openshift-console/dynamic-plugin-sdk';
|
|
2
|
+
import { ClusterDetailsValues } from '../../../common/components/clusterWizard/types';
|
|
3
|
+
import { CpuArchitecture, NetworkConfigurationValues } from '../../../common/types/clusters';
|
|
4
|
+
import { AgentK8sResource, ClusterDeploymentK8sResource, AgentClusterInstallK8sResource, InfraEnvK8sResource, SecretK8sResource, ConfigMapK8sResource, NMStateK8sResource } from '../../types';
|
|
5
|
+
import { BareMetalHostK8sResource } from '../../types/k8s/bare-metal-host';
|
|
6
|
+
import { ClusterImageSetK8sResource } from '../../types/k8s/cluster-image-set';
|
|
7
|
+
import { BMCFormProps } from '../Agent/types';
|
|
8
|
+
import { AddHostDropdownProps } from '../InfraEnv/types';
|
|
9
|
+
import { AddHostModalProps, EditBMHModalProps, UploadActionModalProps } from '../modals/types';
|
|
10
|
+
import { AgentMachineK8sResource } from '../Hypershift/types';
|
|
11
|
+
export declare type EditAgentModalProps = {
|
|
12
|
+
agent: AgentK8sResource | undefined;
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
usedHostnames: string[] | undefined;
|
|
15
|
+
onClose: () => void;
|
|
16
|
+
onSave: (agent: AgentK8sResource, hostname: string) => Promise<any>;
|
|
17
|
+
onFormSaveError?: (e: any) => void | string;
|
|
18
|
+
};
|
|
19
|
+
export declare type AgentTableActions = {
|
|
20
|
+
onEditHost: (agent: AgentK8sResource) => void;
|
|
21
|
+
onEditRole: (agent: AgentK8sResource, role: string | undefined) => Promise<AgentK8sResource>;
|
|
22
|
+
onDeleteHost: (agent?: AgentK8sResource, bmh?: BareMetalHostK8sResource) => void;
|
|
23
|
+
onSetInstallationDiskId: (agent: AgentK8sResource, diskId: string) => Promise<AgentK8sResource>;
|
|
24
|
+
onMassDeleteHost: (agent?: AgentK8sResource, bmh?: BareMetalHostK8sResource) => Promise<any>;
|
|
25
|
+
onApprove: (agent: AgentK8sResource) => Promise<AgentK8sResource>;
|
|
26
|
+
onEditBMH: (bmh: BareMetalHostK8sResource) => void;
|
|
27
|
+
onUnbindHost: (agent: AgentK8sResource) => void;
|
|
28
|
+
onSelect: (agent: AgentK8sResource, selected: boolean) => void;
|
|
29
|
+
};
|
|
30
|
+
export declare type ClusterDeploymentWizardStepsType = 'cluster-details' | 'hosts-selection' | 'hosts-discovery' | 'networking' | 'review';
|
|
31
|
+
export declare type ClusterDeploymentDetailsProps = {
|
|
32
|
+
clusterImages: ClusterImageSetK8sResource[];
|
|
33
|
+
clusterDeployment: ClusterDeploymentK8sResource;
|
|
34
|
+
agentClusterInstall: AgentClusterInstallK8sResource;
|
|
35
|
+
agents: AgentK8sResource[];
|
|
36
|
+
usedClusterNames: string[];
|
|
37
|
+
pullSecret?: string;
|
|
38
|
+
infraEnv?: InfraEnvK8sResource;
|
|
39
|
+
};
|
|
40
|
+
export declare type ClusterDeploymentDetailsValues = ClusterDetailsValues;
|
|
41
|
+
export declare type ClusterDeploymentNetworkingValues = NetworkConfigurationValues & {
|
|
42
|
+
enableProxy: boolean;
|
|
43
|
+
editProxy: boolean;
|
|
44
|
+
};
|
|
45
|
+
export declare type ClusterDeploymentHostsSelectionValues = {
|
|
46
|
+
autoSelectHosts: boolean;
|
|
47
|
+
hostCount: number;
|
|
48
|
+
useMastersAsWorkers: boolean;
|
|
49
|
+
agentLabels: string[];
|
|
50
|
+
locations: string[];
|
|
51
|
+
selectedHostIds: string[];
|
|
52
|
+
autoSelectedHostIds: string[];
|
|
53
|
+
};
|
|
54
|
+
export declare type ClusterDeploymentHostsDiscoveryValues = {
|
|
55
|
+
useMastersAsWorkers: boolean;
|
|
56
|
+
selectedHostIds: string[];
|
|
57
|
+
};
|
|
58
|
+
export declare type ScaleUpFormValues = Omit<ClusterDeploymentHostsSelectionValues, 'useMastersAsWorkers'> & {
|
|
59
|
+
cpuArchitecture: CpuArchitecture;
|
|
60
|
+
};
|
|
61
|
+
export declare type ClusterDeploymentDetailsStepProps = ClusterDeploymentDetailsProps & {
|
|
62
|
+
onSaveDetails: (values: ClusterDeploymentDetailsValues) => Promise<unknown>;
|
|
63
|
+
onClose: () => void;
|
|
64
|
+
isPreviewOpen: boolean;
|
|
65
|
+
};
|
|
66
|
+
export declare type ClusterDeploymentDetailsNetworkingProps = Pick<AgentTableActions, 'onEditHost' | 'onEditRole'> & {
|
|
67
|
+
clusterDeployment: ClusterDeploymentK8sResource;
|
|
68
|
+
agentClusterInstall: AgentClusterInstallK8sResource;
|
|
69
|
+
agents: AgentK8sResource[];
|
|
70
|
+
onSaveNetworking: (values: ClusterDeploymentNetworkingValues) => Promise<string | void>;
|
|
71
|
+
onClose: () => void;
|
|
72
|
+
fetchInfraEnv: (name: string, namespace: string) => Promise<InfraEnvK8sResource>;
|
|
73
|
+
isPreviewOpen: boolean;
|
|
74
|
+
};
|
|
75
|
+
export declare type AgentSelectorChangeProps = {
|
|
76
|
+
labels: string[];
|
|
77
|
+
locations: string[];
|
|
78
|
+
autoSelect: boolean;
|
|
79
|
+
};
|
|
80
|
+
export declare type ClusterDeploymentHostSelectionStepProps = Omit<ClusterDeploymentHostsSelectionProps, 'onHostSelect' | 'onAutoSelectChange'> & {
|
|
81
|
+
onSaveHostsSelection: (values: ClusterDeploymentHostsSelectionValues) => Promise<string | void>;
|
|
82
|
+
onClose: () => void;
|
|
83
|
+
};
|
|
84
|
+
export declare type ClusterDeploymentHostsDiscoveryStepProps = Omit<ClusterDeploymentHostsDiscoveryProps, 'usedHostnames'> & {
|
|
85
|
+
onSaveHostsDiscovery: () => Promise<void>;
|
|
86
|
+
onClose: () => void;
|
|
87
|
+
};
|
|
88
|
+
export declare type ClusterDeploymentWizardProps = {
|
|
89
|
+
className?: string;
|
|
90
|
+
onClose: () => void;
|
|
91
|
+
onSaveDetails: ClusterDeploymentDetailsStepProps['onSaveDetails'];
|
|
92
|
+
onSaveNetworking: ClusterDeploymentDetailsNetworkingProps['onSaveNetworking'];
|
|
93
|
+
onSaveHostsSelection: ClusterDeploymentHostSelectionStepProps['onSaveHostsSelection'];
|
|
94
|
+
onApproveAgent: InfraEnvAgentTableProps['onApprove'];
|
|
95
|
+
onFinish: () => Promise<AgentClusterInstallK8sResource>;
|
|
96
|
+
hostActions: Pick<AgentTableActions, 'onEditHost' | 'onEditRole' | 'onDeleteHost' | 'onSetInstallationDiskId'>;
|
|
97
|
+
clusterImages: ClusterImageSetK8sResource[];
|
|
98
|
+
usedClusterNames: string[];
|
|
99
|
+
clusterDeployment: ClusterDeploymentK8sResource;
|
|
100
|
+
agentClusterInstall: AgentClusterInstallK8sResource;
|
|
101
|
+
agents: AgentK8sResource[];
|
|
102
|
+
aiConfigMap?: ConfigMapK8sResource;
|
|
103
|
+
infraEnv?: InfraEnvK8sResource;
|
|
104
|
+
infraNMStates: NMStateK8sResource[];
|
|
105
|
+
fetchInfraEnv: (name: string, namespace: string) => Promise<InfraEnvK8sResource>;
|
|
106
|
+
initialStep?: ClusterDeploymentWizardStepsType;
|
|
107
|
+
isPreviewOpen: boolean;
|
|
108
|
+
setPreviewOpen: (open: boolean) => void;
|
|
109
|
+
fetchManagedClusters: () => Promise<K8sResourceCommon[]>;
|
|
110
|
+
fetchKlusterletAddonConfig: () => Promise<K8sResourceCommon[]>;
|
|
111
|
+
isBMPlatform: boolean;
|
|
112
|
+
onSaveAgent: EditAgentModalProps['onSave'];
|
|
113
|
+
onSaveBMH: EditBMHModalProps['onEdit'];
|
|
114
|
+
onSaveISOParams?: AddHostModalProps['onSaveISOParams'];
|
|
115
|
+
onSaveHostsDiscovery: ClusterDeploymentHostsDiscoveryStepProps['onSaveHostsDiscovery'];
|
|
116
|
+
getClusterDeploymentLink: InfraEnvAgentTableProps['getClusterDeploymentLink'];
|
|
117
|
+
fetchSecret: EditBMHModalProps['fetchSecret'];
|
|
118
|
+
onCreateBMH?: BMCFormProps['onCreateBMH'];
|
|
119
|
+
docVersion: string;
|
|
120
|
+
onCreateBmcByYaml: UploadActionModalProps['onCreateBmcByYaml'];
|
|
121
|
+
};
|
|
122
|
+
export declare type FetchSecret = (name: string, namespace: string) => Promise<SecretK8sResource>;
|
|
123
|
+
export declare type ClusterDeploymentHostsSelectionProps = {
|
|
124
|
+
clusterDeployment: ClusterDeploymentK8sResource;
|
|
125
|
+
agentClusterInstall: AgentClusterInstallK8sResource;
|
|
126
|
+
agents: AgentK8sResource[];
|
|
127
|
+
aiConfigMap?: ConfigMapK8sResource;
|
|
128
|
+
onEditRole: AgentTableActions['onEditRole'];
|
|
129
|
+
onSetInstallationDiskId: AgentTableActions['onSetInstallationDiskId'];
|
|
130
|
+
onAutoSelectChange: VoidFunction;
|
|
131
|
+
onHostSelect: VoidFunction;
|
|
132
|
+
};
|
|
133
|
+
export declare type InfraEnvAgentTableProps = Pick<AgentTableActions, 'onDeleteHost' | 'onApprove' | 'onEditBMH' | 'onEditHost' | 'onUnbindHost'> & {
|
|
134
|
+
agents: AgentK8sResource[];
|
|
135
|
+
agentMachines: AgentMachineK8sResource[];
|
|
136
|
+
bareMetalHosts: BareMetalHostK8sResource[];
|
|
137
|
+
infraEnv: InfraEnvK8sResource;
|
|
138
|
+
nmStates: NMStateK8sResource[];
|
|
139
|
+
getClusterDeploymentLink: (cd: {
|
|
140
|
+
name: string;
|
|
141
|
+
namespace: string;
|
|
142
|
+
}) => string;
|
|
143
|
+
onChangeHostname: (agent: AgentK8sResource, hostname: string) => Promise<AgentK8sResource>;
|
|
144
|
+
onChangeBMHHostname: (bmh: BareMetalHostK8sResource, hostname: string) => Promise<BareMetalHostK8sResource>;
|
|
145
|
+
onMassDeleteHost: (agent?: AgentK8sResource, bmh?: BareMetalHostK8sResource) => Promise<any>;
|
|
146
|
+
isBMPlatform: boolean;
|
|
147
|
+
agentClusterInstalls: AgentClusterInstallK8sResource[];
|
|
148
|
+
};
|
|
149
|
+
export declare type ClusterDeploymentHostDiscoveryTableProps = Pick<AgentTableActions, 'onEditRole' | 'onEditHost' | 'onEditBMH' | 'onDeleteHost' | 'onSetInstallationDiskId'> & {
|
|
150
|
+
agents: AgentK8sResource[];
|
|
151
|
+
bareMetalHosts: BareMetalHostK8sResource[];
|
|
152
|
+
infraEnv: InfraEnvK8sResource;
|
|
153
|
+
onChangeHostname: (agent: AgentK8sResource, hostname: string) => Promise<AgentK8sResource>;
|
|
154
|
+
onChangeBMHHostname: (bmh: BareMetalHostK8sResource, hostname: string) => Promise<BareMetalHostK8sResource>;
|
|
155
|
+
onApprove: (agents: AgentK8sResource) => Promise<AgentK8sResource>;
|
|
156
|
+
width: number | undefined;
|
|
157
|
+
};
|
|
158
|
+
export declare type ClusterDeploymentHostsDiscoveryProps = AddHostDropdownProps & {
|
|
159
|
+
clusterDeployment: ClusterDeploymentK8sResource;
|
|
160
|
+
agents: AgentK8sResource[];
|
|
161
|
+
bareMetalHosts: BareMetalHostK8sResource[];
|
|
162
|
+
aiConfigMap?: ConfigMapK8sResource;
|
|
163
|
+
infraNMStates: NMStateK8sResource[];
|
|
164
|
+
onFormSaveError?: EditAgentModalProps['onFormSaveError'];
|
|
165
|
+
onSaveAgent: EditAgentModalProps['onSave'];
|
|
166
|
+
onEditRole: ClusterDeploymentHostDiscoveryTableProps['onEditRole'];
|
|
167
|
+
onSetInstallationDiskId: AgentTableActions['onSetInstallationDiskId'];
|
|
168
|
+
onSaveBMH: EditBMHModalProps['onEdit'];
|
|
169
|
+
fetchSecret: EditBMHModalProps['fetchSecret'];
|
|
170
|
+
getClusterDeploymentLink: InfraEnvAgentTableProps['getClusterDeploymentLink'];
|
|
171
|
+
onChangeBMHHostname: InfraEnvAgentTableProps['onChangeBMHHostname'];
|
|
172
|
+
onApproveAgent: InfraEnvAgentTableProps['onApprove'];
|
|
173
|
+
onDeleteHost: AgentTableActions['onDeleteHost'];
|
|
174
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
2
|
+
import { AgentClusterInstallK8sResource, AgentK8sResource, ClusterDeploymentK8sResource, InfraEnvK8sResource } from '../../types';
|
|
3
|
+
declare type UseNetworkingFormikArgs = {
|
|
4
|
+
clusterDeployment: ClusterDeploymentK8sResource;
|
|
5
|
+
agentClusterInstall: AgentClusterInstallK8sResource;
|
|
6
|
+
agents: AgentK8sResource[];
|
|
7
|
+
};
|
|
8
|
+
export declare const useNetworkingFormik: ({ clusterDeployment, agentClusterInstall, agents, }: UseNetworkingFormikArgs) => {
|
|
9
|
+
initialValues: {
|
|
10
|
+
enableProxy: boolean;
|
|
11
|
+
editProxy: boolean;
|
|
12
|
+
clusterNetworkCidr?: string | undefined;
|
|
13
|
+
clusterNetworkHostPrefix?: number | undefined;
|
|
14
|
+
serviceNetworkCidr?: string | undefined;
|
|
15
|
+
apiVip?: string | undefined;
|
|
16
|
+
ingressVip?: string | undefined;
|
|
17
|
+
sshPublicKey?: string | undefined;
|
|
18
|
+
vipDhcpAllocation?: boolean | undefined;
|
|
19
|
+
networkType?: "OpenShiftSDN" | "OVNKubernetes" | undefined;
|
|
20
|
+
machineNetworks?: import("../../../common").MachineNetwork[] | undefined;
|
|
21
|
+
clusterNetworks?: import("../../../common").ClusterNetwork[] | undefined;
|
|
22
|
+
serviceNetworks?: import("../../../common").ServiceNetwork[] | undefined;
|
|
23
|
+
hostSubnet?: string | undefined;
|
|
24
|
+
managedNetworkingType: "userManaged" | "clusterManaged";
|
|
25
|
+
stackType?: "singleStack" | "dualStack" | undefined;
|
|
26
|
+
};
|
|
27
|
+
validationSchema: Yup.Lazy;
|
|
28
|
+
};
|
|
29
|
+
declare type UseInfraEnvProxiesArgs = {
|
|
30
|
+
agents: AgentK8sResource[];
|
|
31
|
+
fetchInfraEnv: (name: string, namespace: string) => Promise<InfraEnvK8sResource>;
|
|
32
|
+
};
|
|
33
|
+
export declare const useInfraEnvProxies: ({ agents, fetchInfraEnv }: UseInfraEnvProxiesArgs) => {
|
|
34
|
+
infraEnvWithProxy: InfraEnvK8sResource | undefined;
|
|
35
|
+
sameProxies: boolean;
|
|
36
|
+
infraEnvsError: string | undefined;
|
|
37
|
+
infraEnvsLoading: boolean;
|
|
38
|
+
};
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { WizardStepsValidationMap } from '../../../common/components/clusterWizard/validationsInfoUtils';
|
|
2
|
+
import { AgentK8sResource } from '../../types/k8s/agent';
|
|
3
|
+
import { AgentClusterInstallK8sResource } from '../../types/k8s/agent-cluster-install';
|
|
4
|
+
export declare type ClusterWizardStepsType = 'cluster-details' | 'hosts-selection' | 'hosts-discovery' | 'networking' | 'review';
|
|
5
|
+
export declare const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>;
|
|
6
|
+
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")[];
|
|
7
|
+
export declare const canNextFromHostSelectionStep: (agentClusterInstall: AgentClusterInstallK8sResource, agents: AgentK8sResource[]) => boolean;
|
|
8
|
+
export declare const canNextFromHostDiscoveryStep: (agentClusterInstall: AgentClusterInstallK8sResource | undefined, agents: AgentK8sResource[]) => boolean;
|
|
9
|
+
export declare const canNextFromNetworkingStep: (agentClusterInstall: AgentClusterInstallK8sResource, agents: AgentK8sResource[]) => boolean;
|
|
10
|
+
export declare const canNextFromReviewStep: (agentClusterInstall: AgentClusterInstallK8sResource, agents: AgentK8sResource[]) => boolean;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AgentK8sResource, ConfigMapK8sResource, SecretK8sResource } from '../../../types';
|
|
2
|
+
import { AgentMachineK8sResource, HostedClusterK8sResource, NodePoolK8sResource } from '../types';
|
|
3
|
+
import './ClusterInstallationProgress.css';
|
|
4
|
+
declare type ClusterInstallationProgressProps = {
|
|
5
|
+
agents: AgentK8sResource[];
|
|
6
|
+
agentMachines: AgentMachineK8sResource[];
|
|
7
|
+
hostedCluster: HostedClusterK8sResource;
|
|
8
|
+
fetchSecret: (name: string, namespace: string) => Promise<SecretK8sResource>;
|
|
9
|
+
nodePools: NodePoolK8sResource[];
|
|
10
|
+
onRemoveNodePool: (nodePool: NodePoolK8sResource) => Promise<unknown>;
|
|
11
|
+
onUpdateNodePool: (nodePool: NodePoolK8sResource, nodePoolPatches: {
|
|
12
|
+
op: string;
|
|
13
|
+
value: unknown;
|
|
14
|
+
path: string;
|
|
15
|
+
}[]) => Promise<unknown>;
|
|
16
|
+
onAddNodePool: (nodePool: NodePoolK8sResource) => Promise<unknown>;
|
|
17
|
+
launchToOCP: (urlSuffix: string, newTab: boolean) => void;
|
|
18
|
+
supportedVersionsCM?: ConfigMapK8sResource;
|
|
19
|
+
};
|
|
20
|
+
declare const ClusterInstallationProgress: ({ hostedCluster, fetchSecret, launchToOCP, ...rest }: ClusterInstallationProgressProps) => JSX.Element;
|
|
21
|
+
export default ClusterInstallationProgress;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './ConditionsTable.css';
|
|
2
|
+
declare type ConditionsTableProps = {
|
|
3
|
+
conditions?: {
|
|
4
|
+
status: string;
|
|
5
|
+
type: string;
|
|
6
|
+
message: string;
|
|
7
|
+
}[];
|
|
8
|
+
isDone: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const ConditionsTable: ({ conditions, isDone }: ConditionsTableProps) => JSX.Element;
|
|
11
|
+
export default ConditionsTable;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HostedClusterK8sResource } from '../types';
|
|
2
|
+
declare type HostedClusterProgressProps = {
|
|
3
|
+
hostedCluster: HostedClusterK8sResource;
|
|
4
|
+
launchToOCP: (urlSuffix: string, newTab: boolean) => void;
|
|
5
|
+
};
|
|
6
|
+
declare const HostedClusterProgress: ({ hostedCluster, launchToOCP }: HostedClusterProgressProps) => JSX.Element;
|
|
7
|
+
export default HostedClusterProgress;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HostedClusterK8sResource } from '../types';
|
|
2
|
+
import { SecretK8sResource } from '../../../types';
|
|
3
|
+
declare type HypershiftKubeconfigDownloadProps = {
|
|
4
|
+
hostedCluster: HostedClusterK8sResource;
|
|
5
|
+
fetchSecret: (name: string, namespace: string) => Promise<SecretK8sResource>;
|
|
6
|
+
};
|
|
7
|
+
declare const HypershiftKubeconfigDownload: ({ hostedCluster, fetchSecret, }: HypershiftKubeconfigDownloadProps) => JSX.Element;
|
|
8
|
+
export default HypershiftKubeconfigDownload;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NodePoolK8sResource } from '../types';
|
|
2
|
+
import { AgentK8sResource } from '../../../types';
|
|
3
|
+
declare type NodePoolStatusProps = {
|
|
4
|
+
nodePool: NodePoolK8sResource;
|
|
5
|
+
agents: AgentK8sResource[];
|
|
6
|
+
};
|
|
7
|
+
declare const NodePoolStatus: ({ nodePool, agents }: NodePoolStatusProps) => JSX.Element;
|
|
8
|
+
export default NodePoolStatus;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AgentMachineK8sResource, HostedClusterK8sResource, NodePoolK8sResource } from '../types';
|
|
2
|
+
import { AgentK8sResource, ConfigMapK8sResource } from '../../../types';
|
|
3
|
+
declare type NodePoolsProgressProps = {
|
|
4
|
+
agents: AgentK8sResource[];
|
|
5
|
+
nodePools: NodePoolK8sResource[];
|
|
6
|
+
agentMachines: AgentMachineK8sResource[];
|
|
7
|
+
hostedCluster: HostedClusterK8sResource;
|
|
8
|
+
onRemoveNodePool: (nodePool: NodePoolK8sResource) => Promise<unknown>;
|
|
9
|
+
onUpdateNodePool: (nodePool: NodePoolK8sResource, nodePoolPatches: {
|
|
10
|
+
op: string;
|
|
11
|
+
value: unknown;
|
|
12
|
+
path: string;
|
|
13
|
+
}[]) => Promise<unknown>;
|
|
14
|
+
onAddNodePool: (nodePool: NodePoolK8sResource) => Promise<unknown>;
|
|
15
|
+
supportedVersionsCM?: ConfigMapK8sResource;
|
|
16
|
+
};
|
|
17
|
+
declare const NodePoolsProgress: ({ nodePools, agentMachines, hostedCluster, agents, ...rest }: NodePoolsProgressProps) => JSX.Element;
|
|
18
|
+
export default NodePoolsProgress;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TableRow } from '../../../../common/components/hosts/AITable';
|
|
2
|
+
import { AgentK8sResource, ConfigMapK8sResource } from '../../../types';
|
|
3
|
+
import { AgentMachineK8sResource, HostedClusterK8sResource, NodePoolK8sResource } from '../types';
|
|
4
|
+
import './NodePoolsTable.css';
|
|
5
|
+
declare type NodePoolsTableProps = {
|
|
6
|
+
nodePools: NodePoolK8sResource[];
|
|
7
|
+
agents: AgentK8sResource[];
|
|
8
|
+
onRemoveNodePool: (nodePool: NodePoolK8sResource) => Promise<unknown>;
|
|
9
|
+
onUpdateNodePool: (nodePool: NodePoolK8sResource, nodePoolPatches: {
|
|
10
|
+
op: string;
|
|
11
|
+
value: unknown;
|
|
12
|
+
path: string;
|
|
13
|
+
}[]) => Promise<unknown>;
|
|
14
|
+
hostedCluster: HostedClusterK8sResource;
|
|
15
|
+
onAddNodePool: (nodePool: NodePoolK8sResource) => Promise<unknown>;
|
|
16
|
+
agentMachines: AgentMachineK8sResource[];
|
|
17
|
+
supportedVersionsCM?: ConfigMapK8sResource;
|
|
18
|
+
};
|
|
19
|
+
declare type NodePoolWithAgents = {
|
|
20
|
+
nodePool: NodePoolK8sResource;
|
|
21
|
+
agents: AgentK8sResource[];
|
|
22
|
+
};
|
|
23
|
+
export declare const nodePoolNameColumn: () => TableRow<NodePoolWithAgents>;
|
|
24
|
+
declare const NodePoolsTable: ({ nodePools, agents, onRemoveNodePool, onUpdateNodePool, hostedCluster, onAddNodePool, agentMachines, supportedVersionsCM, }: NodePoolsTableProps) => JSX.Element;
|
|
25
|
+
export default NodePoolsTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as HostedClusterDetailsStep } from './DetailsStep';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormikProps } from 'formik';
|
|
3
|
+
import { ObjectSchema } from 'yup';
|
|
4
|
+
import { OpenshiftVersionOptionType } from '../../../../../common';
|
|
5
|
+
import { ClusterImageSetK8sResource, ConfigMapK8sResource } from '../../../../types';
|
|
6
|
+
export declare type DetailsFormValues = {
|
|
7
|
+
name: string;
|
|
8
|
+
openshiftVersion: string;
|
|
9
|
+
pullSecret: string;
|
|
10
|
+
baseDnsDomain: string;
|
|
11
|
+
};
|
|
12
|
+
declare type UseDetailsFormikArgs = {
|
|
13
|
+
usedClusterNames: string[];
|
|
14
|
+
ocpVersions: OpenshiftVersionOptionType[];
|
|
15
|
+
initPullSecret?: string;
|
|
16
|
+
initBaseDomain?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare type UseDetailsFormik = (args: UseDetailsFormikArgs) => [DetailsFormValues, ObjectSchema<Omit<DetailsFormValues, 'openshiftVersion'>>];
|
|
19
|
+
export declare type DetailsStepProps = {
|
|
20
|
+
usedClusterNames: string[];
|
|
21
|
+
clusterImages: ClusterImageSetK8sResource[];
|
|
22
|
+
onValuesChanged: (values: DetailsFormValues, initRender: boolean) => void;
|
|
23
|
+
pullSecret?: string;
|
|
24
|
+
extensionAfter: {
|
|
25
|
+
[key: string]: React.ReactElement;
|
|
26
|
+
};
|
|
27
|
+
formRef: React.Ref<FormikProps<DetailsFormValues>>;
|
|
28
|
+
initPullSecret?: string;
|
|
29
|
+
initBaseDomain?: string;
|
|
30
|
+
supportedVersionsCM?: ConfigMapK8sResource;
|
|
31
|
+
};
|
|
32
|
+
export declare type DetailsFormProps = Pick<DetailsStepProps, 'onValuesChanged' | 'extensionAfter'> & {
|
|
33
|
+
ocpVersions: OpenshiftVersionOptionType[];
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AgentK8sResource, InfraEnvK8sResource } from '../../../../types';
|
|
3
|
+
import './NodePoolForm.css';
|
|
4
|
+
declare type NodePoolFormProps = {
|
|
5
|
+
infraEnvs: InfraEnvK8sResource[];
|
|
6
|
+
agents: AgentK8sResource[];
|
|
7
|
+
index: number;
|
|
8
|
+
onRemove: VoidFunction;
|
|
9
|
+
};
|
|
10
|
+
declare const NodePoolForm: React.FC<NodePoolFormProps>;
|
|
11
|
+
export default NodePoolForm;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as HostedClusterHostsStep } from './HostsStep';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormikProps } from 'formik';
|
|
3
|
+
import { AgentK8sResource, InfraEnvK8sResource } from '../../../../types';
|
|
4
|
+
import { NodePoolK8sResource } from '../../types';
|
|
5
|
+
export declare type NodePoolFormValue = {
|
|
6
|
+
name: string;
|
|
7
|
+
clusterName: string;
|
|
8
|
+
count: number;
|
|
9
|
+
agentLabels: {
|
|
10
|
+
key: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}[];
|
|
13
|
+
releaseImage: string;
|
|
14
|
+
};
|
|
15
|
+
export declare type HostsFormValues = {
|
|
16
|
+
agentNamespace: string;
|
|
17
|
+
nodePools: NodePoolFormValue[];
|
|
18
|
+
};
|
|
19
|
+
export declare type HostsFormProps = Pick<HostsStepProps, 'onValuesChanged' | 'infraEnvs' | 'agents' | 'clusterName' | 'initReleaseImage'>;
|
|
20
|
+
export declare type HostsStepProps = {
|
|
21
|
+
formRef: React.Ref<FormikProps<HostsFormValues>>;
|
|
22
|
+
onValuesChanged: (values: HostsFormValues, initRender: boolean) => void;
|
|
23
|
+
infraEnvs: InfraEnvK8sResource[];
|
|
24
|
+
agents: AgentK8sResource[];
|
|
25
|
+
clusterName: string;
|
|
26
|
+
initReleaseImage: string;
|
|
27
|
+
initInfraEnv?: string;
|
|
28
|
+
initNodePools?: NodePoolFormValue[];
|
|
29
|
+
nodePools: NodePoolK8sResource[];
|
|
30
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormikProps } from 'formik';
|
|
3
|
+
export declare type NetworkFormValues = {
|
|
4
|
+
isAdvanced: boolean;
|
|
5
|
+
sshPublicKey: string;
|
|
6
|
+
serviceNetworkCidr: string;
|
|
7
|
+
clusterNetworkCidr: string;
|
|
8
|
+
enableProxy: boolean;
|
|
9
|
+
httpProxy: string;
|
|
10
|
+
httpsProxy: string;
|
|
11
|
+
noProxy: string;
|
|
12
|
+
apiPublishingStrategy: 'LoadBalancer' | 'NodePort';
|
|
13
|
+
nodePortPort: number;
|
|
14
|
+
nodePortAddress: string;
|
|
15
|
+
clusterNetworkHostPrefix: number;
|
|
16
|
+
};
|
|
17
|
+
export declare type NetworkFormProps = Pick<NetworkStepProps, 'onValuesChanged'>;
|
|
18
|
+
export declare type NetworkStepProps = {
|
|
19
|
+
formRef: React.Ref<FormikProps<NetworkFormValues>>;
|
|
20
|
+
onValuesChanged: (values: NetworkFormValues, initRender: boolean) => void;
|
|
21
|
+
initialValues: NetworkFormValues;
|
|
22
|
+
count: number;
|
|
23
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AgentK8sResource } from '../../../types';
|
|
2
|
+
declare type NodePoolAgentsFormProps = {
|
|
3
|
+
agents: AgentK8sResource[];
|
|
4
|
+
labelName: string;
|
|
5
|
+
countName: string;
|
|
6
|
+
maxAgents: number;
|
|
7
|
+
isEdit?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const NodePoolAgentsForm: ({ agents, labelName, countName, maxAgents, isEdit, }: NodePoolAgentsFormProps) => JSX.Element;
|
|
10
|
+
export default NodePoolAgentsForm;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ClusterImageSetK8sResource, ConfigMapK8sResource } from '../../../types';
|
|
2
|
+
export declare const getSupportedCM: (configMaps: ConfigMapK8sResource[]) => ConfigMapK8sResource | undefined;
|
|
3
|
+
export declare const useSupportedOCPVersions: (clusterImages: ClusterImageSetK8sResource[], supportedVersionsCM?: ConfigMapK8sResource | undefined) => import("../../..").OpenshiftVersionOptionType[];
|