@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,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Cluster, Host, HostsTableActions } from '../../../../common';
|
|
3
|
+
import { ActionsResolver, TableRow } from '../../../../common/components/hosts/AITable';
|
|
4
|
+
export declare const networkingStatusColumn: (onEditHostname?: HostsTableActions['onEditHost']) => TableRow<Host>;
|
|
5
|
+
declare type NetworkConfigurationTableProps = {
|
|
6
|
+
cluster: Cluster;
|
|
7
|
+
AdditionalNTPSourcesDialogToggleComponent: React.FC;
|
|
8
|
+
actionResolver: ActionsResolver<Host>;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
onEditHost?: HostsTableActions['onEditHost'];
|
|
11
|
+
onEditRole?: HostsTableActions['onEditRole'];
|
|
12
|
+
canEditRole?: HostsTableActions['canEditRole'];
|
|
13
|
+
canEditHostname?: HostsTableActions['canEditHostname'];
|
|
14
|
+
onSelect?: (obj: Host, isSelected: boolean) => void;
|
|
15
|
+
selectedIDs?: string[];
|
|
16
|
+
};
|
|
17
|
+
declare const NetworkConfigurationTableBase: ({ cluster, AdditionalNTPSourcesDialogToggleComponent, onEditHost, onEditRole, canEditRole, canEditHostname, actionResolver, children, onSelect, selectedIDs, }: NetworkConfigurationTableProps) => JSX.Element;
|
|
18
|
+
export default NetworkConfigurationTableBase;
|
package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HostSubnets, Cluster } from '../../../../common';
|
|
2
|
+
declare type StackTypeControlGroupProps = {
|
|
3
|
+
clusterId: Cluster['id'];
|
|
4
|
+
isDualStackSelectable: boolean;
|
|
5
|
+
hostSubnets: HostSubnets;
|
|
6
|
+
};
|
|
7
|
+
export declare const StackTypeControlGroup: ({ clusterId, isDualStackSelectable, hostSubnets, }: StackTypeControlGroupProps) => JSX.Element;
|
|
8
|
+
export {};
|
package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Cluster } from '../../../../common';
|
|
2
|
+
export declare type VirtualIPControlGroupProps = {
|
|
3
|
+
cluster: Cluster;
|
|
4
|
+
isVipDhcpAllocationDisabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const VirtualIPControlGroup: ({ cluster, isVipDhcpAllocationDisabled, }: VirtualIPControlGroupProps) => JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
2
|
+
import { Cluster, HostSubnets, NetworkConfigurationValues, ClusterDefaultConfig } from '../../../../common';
|
|
3
|
+
export declare const getNetworkInitialValues: (cluster: Cluster, defaultNetworkValues: Pick<ClusterDefaultConfig, 'clusterNetworksIpv4' | 'clusterNetworksDualstack' | 'serviceNetworksIpv4' | 'serviceNetworksDualstack'>) => NetworkConfigurationValues;
|
|
4
|
+
export declare const getNetworkConfigurationValidationSchema: (initialValues: NetworkConfigurationValues, hostSubnets: HostSubnets) => Yup.Lazy;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Address6 } from 'ip-address';
|
|
2
|
+
import * as Yup from 'yup';
|
|
3
|
+
import { ProtocolVersion } from './data/dataTypes';
|
|
4
|
+
export declare type UniqueStringArrayExtractor<FormValues> = (values: FormValues, context: Yup.TestContext, value: string) => string[] | undefined;
|
|
5
|
+
export declare const getUniqueValidationSchema: <FormValues>(uniqueStringArrayExtractor: UniqueStringArrayExtractor<FormValues>) => Yup.StringSchema<string>;
|
|
6
|
+
export declare const getIpAddressValidationSchema: (protocolVersion: ProtocolVersion) => Yup.StringSchema<string>;
|
|
7
|
+
export declare const getMultipleIpAddressValidationSchema: (protocolVersion: ProtocolVersion) => Yup.StringSchema<string>;
|
|
8
|
+
export declare const compareIPV6Addresses: (address1: Address6, address2: Address6) => boolean;
|
|
9
|
+
export declare const isNotReservedHostIPAddress: (protocolVersion: ProtocolVersion) => Yup.StringSchema<string>;
|
|
10
|
+
export declare const getIpAddressInSubnetValidationSchema: (protocolVersion: ProtocolVersion, subnet: string) => Yup.StringSchema<string>;
|
|
11
|
+
export declare const getIpIsNotNetworkOrBroadcastAddressSchema: (protocolVersion: ProtocolVersion, subnet: string) => Yup.StringSchema<string>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type HostSummaryProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
macAddress: string;
|
|
5
|
+
mappingValue: string;
|
|
6
|
+
numInterfaces: number;
|
|
7
|
+
hostIdx: number;
|
|
8
|
+
hasError: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const HostSummary: React.FC<HostSummaryProps>;
|
|
11
|
+
export default HostSummary;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
2
|
+
import { FormViewHost, FormViewNetworkWideValues } from '../../data/dataTypes';
|
|
3
|
+
export declare const getFormViewHostsValidationSchema: (networkWideValues: FormViewNetworkWideValues) => Yup.ObjectSchema<object & {
|
|
4
|
+
hosts: (object & FormViewHost)[];
|
|
5
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
2
|
+
import { ProtocolVersion, FormViewNetworkWideValues, Cidr } from '../../data/dataTypes';
|
|
3
|
+
export declare const MIN_PREFIX_LENGTH = 1;
|
|
4
|
+
export declare const MAX_PREFIX_LENGTH: {
|
|
5
|
+
ipv4: number;
|
|
6
|
+
ipv6: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const MIN_VLAN_ID = 1;
|
|
9
|
+
export declare const MAX_VLAN_ID = 4094;
|
|
10
|
+
export declare const getInMachineNetworkValidationSchema: (protocolVersion: ProtocolVersion, machineNetwork: Cidr) => Yup.StringSchema<string>;
|
|
11
|
+
export declare const getIsNotNetworkOrBroadcastAddressSchema: (protocolVersion: ProtocolVersion, machineNetwork: Cidr) => Yup.StringSchema<string>;
|
|
12
|
+
export declare const networkWideValidationSchema: Yup.Lazy;
|
|
13
|
+
export declare const validateNumber: (vlanId: FormViewNetworkWideValues['vlanId']) => boolean;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
import { StaticIpFormProps } from './propTypes';
|
|
3
|
+
export declare const StaticIpForm: <StaticIpFormValues extends object>({ infraEnv, updateInfraEnv, getInitialValues, getUpdateParams, validationSchema, onFormStateChange, getEmptyValues, children, showEmptyValues, }: React.PropsWithChildren<StaticIpFormProps<StaticIpFormValues>>) => JSX.Element | null;
|
package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type HostComponentProps = {
|
|
3
|
+
fieldName: string;
|
|
4
|
+
hostIdx: number;
|
|
5
|
+
isDisabled: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare type HostArrayProps<HostFieldType> = {
|
|
8
|
+
emptyHostData: HostFieldType;
|
|
9
|
+
enableCopyAboveConfiguration?: boolean;
|
|
10
|
+
CollapsedHostComponent: React.FC<HostComponentProps>;
|
|
11
|
+
ExpandedHostComponent: React.FC<HostComponentProps>;
|
|
12
|
+
};
|
|
13
|
+
export declare const RemoveItemButton: React.FC<{
|
|
14
|
+
onRemove: () => void;
|
|
15
|
+
showRemoveButton: boolean;
|
|
16
|
+
dataTestId: string;
|
|
17
|
+
}>;
|
|
18
|
+
declare const StaticIpHostsArray: <HostFieldType>({ ...props }: HostArrayProps<HostFieldType>) => JSX.Element;
|
|
19
|
+
export default StaticIpHostsArray;
|
package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpViewRadioGroup.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StaticIpView } from '../data/dataTypes';
|
|
2
|
+
export declare type StaticIpViewRadioGroupProps = {
|
|
3
|
+
initialView: StaticIpView;
|
|
4
|
+
confirmOnChangeView: boolean;
|
|
5
|
+
onChangeView(view: StaticIpView): void;
|
|
6
|
+
};
|
|
7
|
+
declare const StaticIpViewRadioGroup: ({ initialView, confirmOnChangeView, onChangeView, }: StaticIpViewRadioGroupProps) => JSX.Element;
|
|
8
|
+
export default StaticIpViewRadioGroup;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const YamlViewFields: () => JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { HostStaticNetworkConfig, InfraEnv, InfraEnvUpdateParams } from '../../../../../common';
|
|
2
|
+
import Yup from 'yup';
|
|
3
|
+
import { FormikErrors, FormikTouched } from 'formik';
|
|
4
|
+
export declare type StaticIpFormState = {
|
|
5
|
+
isAutoSaveRunning: boolean;
|
|
6
|
+
isValid: boolean;
|
|
7
|
+
isSubmitting: boolean;
|
|
8
|
+
touched: FormikTouched<object>;
|
|
9
|
+
errors: FormikErrors<object>;
|
|
10
|
+
isEmpty: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare type StaticIpProps = {
|
|
13
|
+
infraEnv: InfraEnv;
|
|
14
|
+
updateInfraEnv: (infraEnvUpdateParams: InfraEnvUpdateParams) => Promise<InfraEnv>;
|
|
15
|
+
};
|
|
16
|
+
export declare type StaticIpPageProps = StaticIpProps & {
|
|
17
|
+
onFormStateChange(formState: StaticIpFormState): void;
|
|
18
|
+
};
|
|
19
|
+
export declare type StaticIpViewProps = StaticIpPageProps & {
|
|
20
|
+
showEmptyValues: boolean;
|
|
21
|
+
};
|
|
22
|
+
export declare type StaticIpFormProps<StaticIpViewValues extends object> = StaticIpViewProps & {
|
|
23
|
+
showEmptyValues: boolean;
|
|
24
|
+
getInitialValues(infraEnv: InfraEnv): StaticIpViewValues;
|
|
25
|
+
getUpdateParams(currentInfraEnv: InfraEnv, values: StaticIpViewValues): HostStaticNetworkConfig[];
|
|
26
|
+
validationSchema: Yup.Schema<StaticIpViewValues>;
|
|
27
|
+
getEmptyValues(): StaticIpViewValues;
|
|
28
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { HostStaticNetworkConfig } from '../../../../../common';
|
|
2
|
+
export declare enum StaticIpView {
|
|
3
|
+
YAML = "yaml",
|
|
4
|
+
FORM = "form"
|
|
5
|
+
}
|
|
6
|
+
export declare enum ProtocolVersion {
|
|
7
|
+
ipv4 = "ipv4",
|
|
8
|
+
ipv6 = "ipv6"
|
|
9
|
+
}
|
|
10
|
+
export declare type StaticProtocolType = 'ipv4' | 'dualStack';
|
|
11
|
+
export declare type Cidr = {
|
|
12
|
+
ip: string;
|
|
13
|
+
prefixLength: number | '';
|
|
14
|
+
};
|
|
15
|
+
export declare type IpConfig = {
|
|
16
|
+
machineNetwork: Cidr;
|
|
17
|
+
gateway: string;
|
|
18
|
+
};
|
|
19
|
+
export declare type IpConfigs = {
|
|
20
|
+
[protocolVersion in ProtocolVersion]: IpConfig;
|
|
21
|
+
};
|
|
22
|
+
export declare type HostIps = {
|
|
23
|
+
[protocolVersion in ProtocolVersion]: string;
|
|
24
|
+
};
|
|
25
|
+
export declare type MachineNetworks = {
|
|
26
|
+
[protocolVersion in ProtocolVersion]: string;
|
|
27
|
+
};
|
|
28
|
+
export declare type FormViewHost = {
|
|
29
|
+
macAddress: string;
|
|
30
|
+
ips: HostIps;
|
|
31
|
+
};
|
|
32
|
+
export declare type StaticFormData = {
|
|
33
|
+
networkWide: FormViewNetworkWideValues;
|
|
34
|
+
hosts: FormViewHost[];
|
|
35
|
+
};
|
|
36
|
+
export declare type StaticIpInfo = {
|
|
37
|
+
isDataComplete: boolean;
|
|
38
|
+
view: StaticIpView;
|
|
39
|
+
formViewProtocolType: StaticProtocolType | null;
|
|
40
|
+
};
|
|
41
|
+
export interface YamlViewValues {
|
|
42
|
+
hosts: HostStaticNetworkConfig[];
|
|
43
|
+
}
|
|
44
|
+
export interface FormViewHostsValues {
|
|
45
|
+
hosts: FormViewHost[];
|
|
46
|
+
}
|
|
47
|
+
export interface FormViewNetworkWideValues {
|
|
48
|
+
protocolType: StaticProtocolType;
|
|
49
|
+
useVlan: boolean;
|
|
50
|
+
vlanId: number | '';
|
|
51
|
+
dns: string;
|
|
52
|
+
ipConfigs: IpConfigs;
|
|
53
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HostStaticNetworkConfig, MacInterfaceMap } from '../../../../../common';
|
|
2
|
+
import { ProtocolVersion, StaticIpInfo } from './dataTypes';
|
|
3
|
+
import { NmstateEthernetInterface } from './nmstateTypes';
|
|
4
|
+
export declare const getDummyNicName: (protocolVersion: ProtocolVersion) => string;
|
|
5
|
+
export declare const DUMMY_NMSTATE_ADDRESSES: {
|
|
6
|
+
ipv4: {
|
|
7
|
+
prefixLength: number;
|
|
8
|
+
ip: string;
|
|
9
|
+
};
|
|
10
|
+
ipv6: {
|
|
11
|
+
prefixLength: number;
|
|
12
|
+
ip: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const getDummyInterfaces: () => NmstateEthernetInterface[];
|
|
16
|
+
export declare const getDummyMacInterfaceMap: () => MacInterfaceMap;
|
|
17
|
+
export declare const isDummyInterface: (nicName: string) => boolean;
|
|
18
|
+
export declare const isDummyYaml: (yaml: string) => boolean;
|
|
19
|
+
export declare const getDummyInfraEnvField: () => HostStaticNetworkConfig[];
|
|
20
|
+
export declare const getDummyStaticIpInfo: () => StaticIpInfo;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HostStaticNetworkConfig } from '../../../../../common';
|
|
2
|
+
import { FormViewHost, IpConfig, FormViewNetworkWideValues, FormViewHostsValues, YamlViewValues, HostIps } from './dataTypes';
|
|
3
|
+
export declare const getEmptyHostIps: () => HostIps;
|
|
4
|
+
export declare const getEmptyFormViewHost: () => FormViewHost;
|
|
5
|
+
export declare const getEmptyIpConfig: () => IpConfig;
|
|
6
|
+
export declare const getEmptyYamlHost: () => HostStaticNetworkConfig;
|
|
7
|
+
export declare const getEmptyNetworkWideConfigurations: () => FormViewNetworkWideValues;
|
|
8
|
+
export declare const getEmptyFormViewHostsValues: () => FormViewHostsValues;
|
|
9
|
+
export declare const getEmptyYamlValues: () => YamlViewValues;
|
package/dist/src/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { HostStaticNetworkConfig, InfraEnv } from '../../../../../common';
|
|
2
|
+
import { FormViewHost, FormViewNetworkWideValues } from './dataTypes';
|
|
3
|
+
export declare const formViewHostsToInfraEnvField: (currentInfraEnv: InfraEnv, formViewHosts: FormViewHost[]) => HostStaticNetworkConfig[];
|
|
4
|
+
export declare const networkWideToInfraEnvField: (currentInfraEnv: InfraEnv, networkWide: FormViewNetworkWideValues) => HostStaticNetworkConfig[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HostStaticNetworkConfig, InfraEnv } from '../../../../../common';
|
|
2
|
+
import { StaticIpInfo, StaticIpView, StaticFormData, FormViewHostsValues, FormViewNetworkWideValues, YamlViewValues } from './dataTypes';
|
|
3
|
+
export declare const getStaticNetworkConfig: (infraEnv: InfraEnv) => HostStaticNetworkConfig[] | undefined;
|
|
4
|
+
export declare const getStaticIpInfoFromInfraEnvField: (staticNetworkConfig: HostStaticNetworkConfig[]) => {
|
|
5
|
+
view: StaticIpView;
|
|
6
|
+
isDataComplete: boolean;
|
|
7
|
+
formViewProtocolType: "dualStack" | "ipv4" | null;
|
|
8
|
+
};
|
|
9
|
+
export declare const getStaticIpInfo: (infraEnv: InfraEnv) => StaticIpInfo | undefined;
|
|
10
|
+
export declare const getFormData: (infraEnv: InfraEnv) => StaticFormData;
|
|
11
|
+
export declare const getFormViewHostsValues: (infraEnv: InfraEnv) => FormViewHostsValues;
|
|
12
|
+
export declare const getFormViewNetworkWideValues: (infraEnv: InfraEnv) => FormViewNetworkWideValues;
|
|
13
|
+
export declare const getYamlViewValues: (infraEnv: InfraEnv) => YamlViewValues;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ProtocolVersion } from './dataTypes';
|
|
2
|
+
export declare enum NmstateInterfaceType {
|
|
3
|
+
ETHERNET = "ethernet",
|
|
4
|
+
VLAN = "vlan"
|
|
5
|
+
}
|
|
6
|
+
export declare type NmstateAddress = {
|
|
7
|
+
ip: string;
|
|
8
|
+
'prefix-length': number;
|
|
9
|
+
};
|
|
10
|
+
export declare type NmstateProtocolConfig = {
|
|
11
|
+
address: NmstateAddress[];
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
dhcp: boolean;
|
|
14
|
+
};
|
|
15
|
+
export declare type NmstateProtocolConfigs = {
|
|
16
|
+
[protocolVersion in ProtocolVersion]?: NmstateProtocolConfig;
|
|
17
|
+
};
|
|
18
|
+
export declare type NmstateEthernetInterface = {
|
|
19
|
+
name: string;
|
|
20
|
+
type: NmstateInterfaceType.ETHERNET;
|
|
21
|
+
state: string;
|
|
22
|
+
} & NmstateProtocolConfigs;
|
|
23
|
+
export declare type NmstateRoutesConfig = {
|
|
24
|
+
destination: string;
|
|
25
|
+
'next-hop-address': string;
|
|
26
|
+
'next-hop-interface': string;
|
|
27
|
+
'table-id': number;
|
|
28
|
+
};
|
|
29
|
+
export declare type NmstateRoutes = {
|
|
30
|
+
config: NmstateRoutesConfig[];
|
|
31
|
+
};
|
|
32
|
+
export declare type NmstateDns = {
|
|
33
|
+
config: {
|
|
34
|
+
server: string[];
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export declare type NmstateVlanInterface = {
|
|
38
|
+
name: string;
|
|
39
|
+
type: NmstateInterfaceType.VLAN;
|
|
40
|
+
state: string;
|
|
41
|
+
vlan: {
|
|
42
|
+
'base-iface': string;
|
|
43
|
+
id: number;
|
|
44
|
+
};
|
|
45
|
+
} & NmstateProtocolConfigs;
|
|
46
|
+
export declare type NmstateInterface = NmstateEthernetInterface | NmstateVlanInterface;
|
|
47
|
+
export declare const isVlanInterface: (nmStateInterface: NmstateVlanInterface | NmstateEthernetInterface) => nmStateInterface is NmstateVlanInterface;
|
|
48
|
+
export declare const isEthernetInterface: (nmStateInterface: NmstateVlanInterface | NmstateEthernetInterface) => nmStateInterface is NmstateEthernetInterface;
|
|
49
|
+
export declare type Nmstate = {
|
|
50
|
+
'dns-resolver'?: NmstateDns;
|
|
51
|
+
routes?: {
|
|
52
|
+
config: {
|
|
53
|
+
destination: string;
|
|
54
|
+
'next-hop-address': string;
|
|
55
|
+
'next-hop-interface': string;
|
|
56
|
+
'table-id': number;
|
|
57
|
+
}[];
|
|
58
|
+
};
|
|
59
|
+
interfaces: NmstateInterface[];
|
|
60
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Nmstate, NmstateDns, NmstateInterface, NmstateProtocolConfig, NmstateProtocolConfigs, NmstateRoutesConfig } from './nmstateTypes';
|
|
2
|
+
import { FormViewNetworkWideValues, MachineNetworks, ProtocolVersion, StaticProtocolType } from './dataTypes';
|
|
3
|
+
export declare const YAML_COMMENT_CHAR = "#";
|
|
4
|
+
export declare const FORM_VIEW_PREFIX = "generated by ui form view";
|
|
5
|
+
export declare const getMachineNetworkFieldName: (protocolVersion: ProtocolVersion) => string;
|
|
6
|
+
export declare const getVlanNicName: (nicName: string, vlanId: number) => string;
|
|
7
|
+
export declare const getProtocolVersionIdx: (protocolVersion: ProtocolVersion) => number;
|
|
8
|
+
export declare const yamlToNmstateObject: (yaml: string) => Nmstate;
|
|
9
|
+
export declare const getYamlComments: (yaml: string) => string[];
|
|
10
|
+
export declare const toYamlWithComments: (json: object, comments: string[]) => string;
|
|
11
|
+
export declare const getMachineNetworks: (comments: string[]) => MachineNetworks;
|
|
12
|
+
export declare const getProtocolType: (comments: string[]) => StaticProtocolType | null;
|
|
13
|
+
export declare const getNmstateProtocolConfig: (ipAddress: string, prefixLength: number) => NmstateProtocolConfig;
|
|
14
|
+
export declare const getDnsSection: (dns: string) => NmstateDns;
|
|
15
|
+
export declare const getInterface: (nicName: string, protocolConfigs: NmstateProtocolConfigs, networkWide: FormViewNetworkWideValues) => NmstateInterface;
|
|
16
|
+
export declare const getRouteConfig: (protocolVersion: ProtocolVersion, gatewayAddress: string, nicName: string) => NmstateRoutesConfig;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Address4, Address6 } from 'ip-address';
|
|
2
|
+
import { ProtocolVersion, StaticProtocolType } from './dataTypes';
|
|
3
|
+
export declare const showIpv4: (protocolType: StaticProtocolType) => boolean;
|
|
4
|
+
export declare const showIpv6: (protocolType: StaticProtocolType) => boolean;
|
|
5
|
+
export declare const showProtocolVersion: (protocolType: StaticProtocolType, protocolVersion: ProtocolVersion) => boolean;
|
|
6
|
+
export declare const getShownProtocolVersions: (protocolType: StaticProtocolType) => ProtocolVersion[];
|
|
7
|
+
export declare const getProtocolVersionLabel: (protocolVersion: ProtocolVersion) => "IPv4" | "IPv6";
|
|
8
|
+
export declare const getAddressObject: (ip: string, protocolVersion: ProtocolVersion) => Address4 | Address6 | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AssistedInstallerOCMPermissionTypesListType, FeatureListType } from '../../../common';
|
|
2
|
+
declare type AssistedInstallerDetailCardProps = {
|
|
3
|
+
aiClusterId: string;
|
|
4
|
+
allEnabledFeatures: FeatureListType;
|
|
5
|
+
permissions?: AssistedInstallerOCMPermissionTypesListType;
|
|
6
|
+
};
|
|
7
|
+
declare const Wrapper: (props: AssistedInstallerDetailCardProps) => JSX.Element;
|
|
8
|
+
export default Wrapper;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FeatureListType } from '../../../common';
|
|
3
|
+
declare type AssistedInstallerExtraDetailCardProps = {
|
|
4
|
+
allEnabledFeatures: FeatureListType;
|
|
5
|
+
};
|
|
6
|
+
declare const Wrapper: React.FC<AssistedInstallerExtraDetailCardProps>;
|
|
7
|
+
export default Wrapper;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Cluster } from '../../../common/api/types';
|
|
2
|
+
declare type ClusterDetailStatusMessagesProps = {
|
|
3
|
+
cluster: Cluster;
|
|
4
|
+
showAddHostsInfo: boolean;
|
|
5
|
+
showKubeConfig: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const ClusterDetailStatusMessages: ({ cluster, showAddHostsInfo, showKubeConfig, }: ClusterDetailStatusMessagesProps) => JSX.Element;
|
|
8
|
+
export default ClusterDetailStatusMessages;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Cluster, Credentials, MonitoredOperator, MonitoredOperatorsList } from '../../../common';
|
|
2
|
+
declare type ClusterStatusVarieties = {
|
|
3
|
+
credentials?: Credentials;
|
|
4
|
+
credentialsError: string;
|
|
5
|
+
olmOperators: MonitoredOperatorsList;
|
|
6
|
+
failedOlmOperators: MonitoredOperatorsList;
|
|
7
|
+
consoleOperator?: MonitoredOperator;
|
|
8
|
+
fetchCredentials: () => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const useClusterStatusVarieties: (cluster?: Cluster | undefined) => ClusterStatusVarieties;
|
|
11
|
+
declare type ClusterDetailStatusVarietiesProps = {
|
|
12
|
+
cluster: Cluster;
|
|
13
|
+
clusterVarieties: ClusterStatusVarieties;
|
|
14
|
+
showAddHostsInfo?: boolean;
|
|
15
|
+
showKubeConfig?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare const ClusterDetailStatusVarieties: ({ cluster, clusterVarieties, showAddHostsInfo, showKubeConfig, }: ClusterDetailStatusVarietiesProps) => JSX.Element;
|
|
18
|
+
export default ClusterDetailStatusVarieties;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Cluster } from '../../../common';
|
|
3
|
+
declare type ClusterDetailsButtonGroupProps = {
|
|
4
|
+
cluster: Cluster;
|
|
5
|
+
};
|
|
6
|
+
declare const ClusterDetailsButtonGroup: React.FC<ClusterDetailsButtonGroupProps>;
|
|
7
|
+
export default ClusterDetailsButtonGroup;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Cluster } from '../../../common';
|
|
2
|
+
declare type ClusterPropertiesProps = {
|
|
3
|
+
cluster: Cluster;
|
|
4
|
+
externalMode?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const ClusterProperties: ({ cluster, externalMode }: ClusterPropertiesProps) => JSX.Element;
|
|
7
|
+
export default ClusterProperties;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Cluster, MonitoredOperator } from '../../../common';
|
|
2
|
+
declare type InstallationProgressWarningProps = {
|
|
3
|
+
cluster: Cluster;
|
|
4
|
+
totalHosts: number;
|
|
5
|
+
failedHosts: number;
|
|
6
|
+
title?: string;
|
|
7
|
+
hostsType?: string;
|
|
8
|
+
failedOperators?: MonitoredOperator[];
|
|
9
|
+
message?: string;
|
|
10
|
+
isCriticalNumberOfWorkersFailed?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const HostInstallationWarning: ({ cluster, failedHosts, totalHosts, title, hostsType, failedOperators, message, }: InstallationProgressWarningProps) => JSX.Element;
|
|
13
|
+
export declare const HostsInstallationFailed: ({ cluster, failedHosts, totalHosts, isCriticalNumberOfWorkersFailed, }: InstallationProgressWarningProps) => JSX.Element;
|
|
14
|
+
export declare const HostsInstallationSuccess: () => JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './utils';
|
|
2
|
+
export { default as ClusterDetail } from './ClusterDetail';
|
|
3
|
+
export { default as ClusterInstallationProgressCard } from './ClusterInstallationProgressCard';
|
|
4
|
+
export { default as AssistedInstallerDetailCard } from './AssistedInstallerDetailCard';
|
|
5
|
+
export { default as AssistedInstallerExtraDetailCard } from './AssistedInstallerExtraDetailCard';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Cluster, Host, AlertsContextType } from '../../../common';
|
|
2
|
+
export declare const downloadClusterInstallationLogs: (addAlert: AlertsContextType['addAlert'], clusterId: string) => Promise<void>;
|
|
3
|
+
export declare const getMasterCount: (hosts: Host[]) => number;
|
|
4
|
+
export declare const getWorkerCount: (hosts: Host[]) => number;
|
|
5
|
+
export declare const getClustervCPUCount: (cluster: Cluster) => number;
|
|
6
|
+
export declare const getClusterMemoryAmount: (cluster: Cluster) => number;
|
|
7
|
+
export declare const getClusterDetailId: (suffix: string) => string;
|