@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,26 @@
|
|
|
1
|
+
import { AgentClusterInstallK8sResource } from '../../types/k8s/agent-cluster-install';
|
|
2
|
+
import { Cluster, Host } from '../../../common/api/types';
|
|
3
|
+
import { AgentK8sResource } from '../../types/k8s/agent';
|
|
4
|
+
import { BareMetalHostK8sResource } from '../../types/k8s/bare-metal-host';
|
|
5
|
+
import { ValidationsInfo } from '../../../common/types/hosts';
|
|
6
|
+
import { ClusterWizardStepsType } from '../ClusterDeployment/wizardTransition';
|
|
7
|
+
import { HostStatusDef } from '../../../common';
|
|
8
|
+
import { TFunction } from 'i18next';
|
|
9
|
+
export declare const getClusterStatusFromConditions: (agentClusterInstall: AgentClusterInstallK8sResource, t: TFunction) => [Cluster['status'], string];
|
|
10
|
+
export declare const getClusterStatus: (agentClusterInstall?: AgentClusterInstallK8sResource | undefined) => [Cluster['status'], Cluster['statusInfo']];
|
|
11
|
+
export declare const isDraft: (agentClusterInstall?: AgentClusterInstallK8sResource | undefined) => boolean;
|
|
12
|
+
export declare const getAgentStatusFromConditions: (agent: AgentK8sResource, t: TFunction) => [Host['status'], string];
|
|
13
|
+
export declare type AgentStatus = Host['status'] | 'discovered';
|
|
14
|
+
export declare const getAgentStatus: (agent: AgentK8sResource, excludeDiscovered?: boolean) => {
|
|
15
|
+
status: HostStatusDef;
|
|
16
|
+
validationsInfo: ValidationsInfo;
|
|
17
|
+
autoCSR?: boolean | undefined;
|
|
18
|
+
};
|
|
19
|
+
export declare const getWizardStepAgentStatus: (agent: AgentK8sResource, wizardStepId: ClusterWizardStepsType, t: TFunction, excludeDiscovered?: boolean) => {
|
|
20
|
+
status: HostStatusDef;
|
|
21
|
+
validationsInfo: ValidationsInfo;
|
|
22
|
+
};
|
|
23
|
+
export declare const getBMHStatus: (bmh: BareMetalHostK8sResource) => {
|
|
24
|
+
state: HostStatusDef;
|
|
25
|
+
errorMessage: string | undefined;
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getStorageSizeGiB: (def: number, actual?: string | undefined) => number;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AgentK8sResource } from '../../types/k8s/agent';
|
|
2
|
+
import { Cluster, Host } from '../../../common/api/types';
|
|
3
|
+
import { ClusterDeploymentK8sResource } from '../../types/k8s/cluster-deployment';
|
|
4
|
+
import { AgentClusterInstallK8sResource } from '../../types/k8s/agent-cluster-install';
|
|
5
|
+
import { BareMetalHostK8sResource, InfraEnvK8sResource } from '../../types';
|
|
6
|
+
export declare const getAIHosts: (agents: AgentK8sResource[], bmhs?: BareMetalHostK8sResource[] | undefined, infraEnv?: InfraEnvK8sResource | undefined) => Host[];
|
|
7
|
+
export declare const getAICluster: ({ clusterDeployment, agentClusterInstall, agents, infraEnv, }: {
|
|
8
|
+
clusterDeployment: ClusterDeploymentK8sResource;
|
|
9
|
+
agentClusterInstall?: AgentClusterInstallK8sResource | undefined;
|
|
10
|
+
agents?: AgentK8sResource[] | undefined;
|
|
11
|
+
infraEnv?: InfraEnvK8sResource | undefined;
|
|
12
|
+
}) => Cluster;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare type TypeTS = {
|
|
2
|
+
units: string[];
|
|
3
|
+
space: boolean;
|
|
4
|
+
divisor: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const getType: (name: string) => TypeTS;
|
|
7
|
+
declare type HumanizeFunctionType = (v: number, initialUnit: string, preferredUnit: string) => {
|
|
8
|
+
string: string;
|
|
9
|
+
unit?: string;
|
|
10
|
+
value: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const humanizeBinaryBytesWithoutB: HumanizeFunctionType;
|
|
13
|
+
export declare const humanizeBinaryBytes: HumanizeFunctionType;
|
|
14
|
+
export declare const humanizeDecimalBytes: HumanizeFunctionType;
|
|
15
|
+
export declare const humanizeDecimalBytesPerSec: HumanizeFunctionType;
|
|
16
|
+
export declare const humanizePacketsPerSec: HumanizeFunctionType;
|
|
17
|
+
export declare const humanizeNumber: HumanizeFunctionType;
|
|
18
|
+
export declare const humanizeNumberSI: HumanizeFunctionType;
|
|
19
|
+
export declare const humanizeSeconds: HumanizeFunctionType;
|
|
20
|
+
export declare const humanizeCpuCores: HumanizeFunctionType;
|
|
21
|
+
export declare const humanizePercentage: (value: number) => {
|
|
22
|
+
string: string;
|
|
23
|
+
unit: string;
|
|
24
|
+
value: number;
|
|
25
|
+
};
|
|
26
|
+
export declare const units: {
|
|
27
|
+
round: (value: number, fractionDigits?: number) => number;
|
|
28
|
+
humanize: (value: number, typeName: string, useRound: boolean | undefined, initialUnit: string, preferredUnit: string) => {
|
|
29
|
+
string: string;
|
|
30
|
+
unit: string | undefined;
|
|
31
|
+
value: number;
|
|
32
|
+
};
|
|
33
|
+
dehumanize: (value: string, typeName: string) => {
|
|
34
|
+
value: number;
|
|
35
|
+
unit?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare const validate: {
|
|
39
|
+
split: (value: string) => (string | number | undefined)[];
|
|
40
|
+
CPU: (value?: string) => string | undefined;
|
|
41
|
+
time: (value?: string) => string | undefined;
|
|
42
|
+
memory: (value?: string) => string | undefined;
|
|
43
|
+
};
|
|
44
|
+
export declare const convertToBaseValue: (value: string) => number | null;
|
|
45
|
+
export declare const secondsToNanoSeconds: (value: string | number) => number;
|
|
46
|
+
export declare const formatToFractionalDigits: (value: number, digits: number) => string;
|
|
47
|
+
export declare const formatBytesAsMiB: (bytes: number) => string;
|
|
48
|
+
export declare const formatBytesAsGiB: (bytes: number) => string;
|
|
49
|
+
export declare const formatCores: (cores: number) => string;
|
|
50
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AgentClusterInstallK8sResource, ClusterImageSetK8sResource, ClusterVersionK8sResource } from '../../types';
|
|
2
|
+
import { OpenshiftVersionOptionType } from '../../../common';
|
|
3
|
+
export declare const getVersionFromReleaseImage: (releaseImage?: string) => string | undefined;
|
|
4
|
+
export declare const getOCPVersions: (clusterImageSets: ClusterImageSetK8sResource[]) => OpenshiftVersionOptionType[];
|
|
5
|
+
export declare const getSelectedVersion: (clusterImages: ClusterImageSetK8sResource[], agentClusterInstall: AgentClusterInstallK8sResource) => string | undefined;
|
|
6
|
+
export declare const getCurrentClusterVersion: (cv?: ClusterVersionK8sResource | undefined) => string | undefined;
|
|
7
|
+
export declare const getMajorMinorVersion: (version?: string) => string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AlertVariant } from '@patternfly/react-core';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
import { AgentServiceConfigK8sResource, CreateResourceFuncType, GetResourceFuncType, ListResourcesFuncType, PatchResourceFuncType } from '../../../types';
|
|
4
|
+
export declare type SetErrorFuncType = ({ title, message, variant, }: {
|
|
5
|
+
title: string;
|
|
6
|
+
message?: string;
|
|
7
|
+
variant?: AlertVariant;
|
|
8
|
+
}) => void;
|
|
9
|
+
export declare const isIngressController: (getResource: GetResourceFuncType) => Promise<boolean>;
|
|
10
|
+
export declare const onEnableCIM: ({ t, setError, createResource, getResource, listResources, patchResource, agentServiceConfig, platform, dbVolSizeGiB, fsVolSizeGiB, imgVolSizeGiB, configureLoadBalancer, }: {
|
|
11
|
+
t: TFunction;
|
|
12
|
+
setError: SetErrorFuncType;
|
|
13
|
+
createResource: CreateResourceFuncType;
|
|
14
|
+
getResource: GetResourceFuncType;
|
|
15
|
+
listResources: ListResourcesFuncType;
|
|
16
|
+
patchResource: PatchResourceFuncType;
|
|
17
|
+
agentServiceConfig?: AgentServiceConfigK8sResource | undefined;
|
|
18
|
+
platform: string;
|
|
19
|
+
dbVolSizeGiB: number;
|
|
20
|
+
fsVolSizeGiB: number;
|
|
21
|
+
imgVolSizeGiB: number;
|
|
22
|
+
configureLoadBalancer: boolean;
|
|
23
|
+
}) => Promise<boolean>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CreateResourceFuncType, GetResourceFuncType, ListResourcesFuncType, PatchResourceFuncType } from '../../../types';
|
|
2
|
+
import { AgentServiceConfigK8sResource } from '../../../types/k8s/agent-service-config';
|
|
3
|
+
export declare type CimConfiguratioProps = {
|
|
4
|
+
dbVolSize: number;
|
|
5
|
+
dbVolSizeValidation?: string;
|
|
6
|
+
setDbVolSize: (v: number) => void;
|
|
7
|
+
fsVolSize: number;
|
|
8
|
+
fsVolSizeValidation?: string;
|
|
9
|
+
setFsVolSize: (v: number) => void;
|
|
10
|
+
imgVolSize: number;
|
|
11
|
+
imgVolSizeValidation?: string;
|
|
12
|
+
setImgVolSize: (v: number) => void;
|
|
13
|
+
configureLoadBalancer: boolean;
|
|
14
|
+
configureLoadBalancerInitial: boolean;
|
|
15
|
+
setConfigureLoadBalancer: (v: boolean) => void;
|
|
16
|
+
};
|
|
17
|
+
export declare type CimConfigProgressAlertProps = {
|
|
18
|
+
agentServiceConfig?: AgentServiceConfigK8sResource;
|
|
19
|
+
assistedServiceDeploymentUrl: string;
|
|
20
|
+
};
|
|
21
|
+
export declare type CimConfigurationFormProps = CimConfiguratioProps & {
|
|
22
|
+
onClose: () => void;
|
|
23
|
+
isEdit: boolean;
|
|
24
|
+
isInProgressPeriod: boolean;
|
|
25
|
+
docConfigUrl: string;
|
|
26
|
+
docConfigAwsUrl: string;
|
|
27
|
+
};
|
|
28
|
+
export declare type CimConfigurationModalProps = {
|
|
29
|
+
onClose: () => void;
|
|
30
|
+
isOpen: boolean;
|
|
31
|
+
agentServiceConfig?: AgentServiceConfigK8sResource;
|
|
32
|
+
platform: string;
|
|
33
|
+
docDisconnectedUrl: string;
|
|
34
|
+
docConfigUrl: string;
|
|
35
|
+
docConfigAwsUrl: string;
|
|
36
|
+
createResource: CreateResourceFuncType;
|
|
37
|
+
getResource: GetResourceFuncType;
|
|
38
|
+
listResources: ListResourcesFuncType;
|
|
39
|
+
patchResource: PatchResourceFuncType;
|
|
40
|
+
};
|
|
41
|
+
export declare type CimConfigMissingAlertProps = {
|
|
42
|
+
onEnableCim: () => void;
|
|
43
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { K8sResourceCommon } from '@openshift-console/dynamic-plugin-sdk';
|
|
2
|
+
import { AgentServiceConfigK8sResource } from '../../../types';
|
|
3
|
+
export declare const LOCAL_STORAGE_ID_LAST_UPDATE_TIMESTAMP = "cim-config-configuring-started-at";
|
|
4
|
+
export declare const isCIMEnabled: ({ agentServiceConfig, }: {
|
|
5
|
+
agentServiceConfig?: AgentServiceConfigK8sResource | undefined;
|
|
6
|
+
}) => boolean;
|
|
7
|
+
export declare const isCIMConfigured: ({ agentServiceConfig, }: {
|
|
8
|
+
agentServiceConfig?: AgentServiceConfigK8sResource | undefined;
|
|
9
|
+
}) => boolean;
|
|
10
|
+
export declare const isCIMConfigProgressing: ({ agentServiceConfig, }: {
|
|
11
|
+
agentServiceConfig?: AgentServiceConfigK8sResource | undefined;
|
|
12
|
+
}) => boolean;
|
|
13
|
+
export declare const isStorageConfigured: ({ storageClasses, }: {
|
|
14
|
+
storageClasses?: K8sResourceCommon[] | undefined;
|
|
15
|
+
}) => boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { InfraEnvK8sResource } from '../../types';
|
|
3
|
+
import { EditNtpSourcesFormikValues } from './types';
|
|
4
|
+
export declare type EditNtpSourcesModalProps = {
|
|
5
|
+
onSubmit: (values: EditNtpSourcesFormikValues, infraEnv: InfraEnvK8sResource) => Promise<InfraEnvK8sResource>;
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
infraEnv: InfraEnvK8sResource;
|
|
8
|
+
onClose: VoidFunction;
|
|
9
|
+
};
|
|
10
|
+
declare const EditNtpSourcesModal: React.FC<EditNtpSourcesModalProps>;
|
|
11
|
+
export default EditNtpSourcesModal;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { InfraEnvK8sResource, SecretK8sResource } from '../../types';
|
|
3
|
+
import { EditPullSecretFormikValues } from './types';
|
|
4
|
+
declare type EditPullSecretFormProps = {
|
|
5
|
+
onClose: VoidFunction;
|
|
6
|
+
pullSecret: SecretK8sResource | undefined;
|
|
7
|
+
pullSecretError: string | undefined;
|
|
8
|
+
pullSecretLoading: boolean;
|
|
9
|
+
hasAgents: boolean;
|
|
10
|
+
hasBMHs: boolean;
|
|
11
|
+
error?: string;
|
|
12
|
+
};
|
|
13
|
+
export declare type EditPullSecretModalProps = EditPullSecretFormProps & {
|
|
14
|
+
onSubmit: (values: EditPullSecretFormikValues, infraEnv: InfraEnvK8sResource) => Promise<InfraEnvK8sResource>;
|
|
15
|
+
isOpen: boolean;
|
|
16
|
+
infraEnv: InfraEnvK8sResource;
|
|
17
|
+
};
|
|
18
|
+
declare const EditPullSecretModal: React.FC<EditPullSecretModalProps>;
|
|
19
|
+
export default EditPullSecretModal;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { InfraEnvK8sResource } from '../../types';
|
|
3
|
+
import { EditSSHKeyFormikValues } from './types';
|
|
4
|
+
export declare type EditSSHKeyModalProps = {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClose: VoidFunction;
|
|
7
|
+
onSubmit: (values: EditSSHKeyFormikValues, infraEnv: InfraEnvK8sResource) => Promise<any>;
|
|
8
|
+
infraEnv: InfraEnvK8sResource;
|
|
9
|
+
hasAgents: boolean;
|
|
10
|
+
hasBMHs: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const EditSSHKeyModal: React.FC<EditSSHKeyModalProps>;
|
|
13
|
+
export default EditSSHKeyModal;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AgentK8sResource } from '../../types';
|
|
3
|
+
declare type MassApproveActionProps = {
|
|
4
|
+
onApprove: VoidFunction;
|
|
5
|
+
selectedAgents: AgentK8sResource[];
|
|
6
|
+
};
|
|
7
|
+
declare const MassApproveAction: React.FC<MassApproveActionProps>;
|
|
8
|
+
export default MassApproveAction;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AgentK8sResource } from '../../types';
|
|
3
|
+
declare type MassApproveAgentModalProps = {
|
|
4
|
+
agents: AgentK8sResource[];
|
|
5
|
+
onApprove: (agent: AgentK8sResource) => Promise<AgentK8sResource>;
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
onClose: VoidFunction;
|
|
8
|
+
};
|
|
9
|
+
declare const MassApproveAgentModal: React.FC<MassApproveAgentModalProps>;
|
|
10
|
+
export default MassApproveAgentModal;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AgentK8sResource, BareMetalHostK8sResource, InfraEnvK8sResource, NMStateK8sResource } from '../../types';
|
|
3
|
+
declare type MassDeleteAgentModalProps = {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: VoidFunction;
|
|
6
|
+
agents: AgentK8sResource[];
|
|
7
|
+
bmhs: BareMetalHostK8sResource[];
|
|
8
|
+
nmStates: NMStateK8sResource[];
|
|
9
|
+
onDelete: (agent?: AgentK8sResource, bmh?: BareMetalHostK8sResource, nmStates?: NMStateK8sResource[]) => Promise<unknown>;
|
|
10
|
+
infraEnv: InfraEnvK8sResource;
|
|
11
|
+
};
|
|
12
|
+
declare const MassDeleteAgentModal: React.FC<MassDeleteAgentModalProps>;
|
|
13
|
+
export default MassDeleteAgentModal;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AgentK8sResource } from '../../types/k8s/agent';
|
|
3
|
+
import { ClusterDeploymentK8sResource } from '../../types/k8s/cluster-deployment';
|
|
4
|
+
declare type ScaleUpModalProps = {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClose: VoidFunction;
|
|
7
|
+
addHostsToCluster: (agentsToAdd: AgentK8sResource[]) => Promise<void>;
|
|
8
|
+
clusterDeployment: ClusterDeploymentK8sResource;
|
|
9
|
+
agents: AgentK8sResource[];
|
|
10
|
+
onChangeHostname: (agent: AgentK8sResource, hostname: string) => Promise<AgentK8sResource>;
|
|
11
|
+
};
|
|
12
|
+
declare const ScaleUpModal: React.FC<ScaleUpModalProps>;
|
|
13
|
+
export default ScaleUpModal;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export declare const credentials: {
|
|
2
|
+
apiVersion: string;
|
|
3
|
+
data: {
|
|
4
|
+
username: string;
|
|
5
|
+
password: string;
|
|
6
|
+
};
|
|
7
|
+
kind: string;
|
|
8
|
+
metadata: {
|
|
9
|
+
name: string;
|
|
10
|
+
namespace: string;
|
|
11
|
+
};
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const host1: {
|
|
15
|
+
apiVersion: string;
|
|
16
|
+
kind: string;
|
|
17
|
+
metadata: {
|
|
18
|
+
annotations: {
|
|
19
|
+
'bmac.agent-install.openshift.io/hostname': string;
|
|
20
|
+
'inspect.metal3.io': string;
|
|
21
|
+
};
|
|
22
|
+
labels: {
|
|
23
|
+
'infraenvs.agent-install.openshift.io': string;
|
|
24
|
+
};
|
|
25
|
+
name: string;
|
|
26
|
+
namespace: string;
|
|
27
|
+
};
|
|
28
|
+
spec: {
|
|
29
|
+
automatedCleaningMode: string;
|
|
30
|
+
bmc: {
|
|
31
|
+
address: string;
|
|
32
|
+
credentialsName: string;
|
|
33
|
+
disableCertificateVerification: boolean;
|
|
34
|
+
};
|
|
35
|
+
bootMACAddress: string;
|
|
36
|
+
online: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export declare const host2: {
|
|
40
|
+
apiVersion: string;
|
|
41
|
+
kind: string;
|
|
42
|
+
metadata: {
|
|
43
|
+
annotations: {
|
|
44
|
+
'bmac.agent-install.openshift.io/hostname': string;
|
|
45
|
+
'inspect.metal3.io': string;
|
|
46
|
+
};
|
|
47
|
+
labels: {
|
|
48
|
+
'infraenvs.agent-install.openshift.io': string;
|
|
49
|
+
};
|
|
50
|
+
name: string;
|
|
51
|
+
namespace: string;
|
|
52
|
+
};
|
|
53
|
+
spec: {
|
|
54
|
+
automatedCleaningMode: string;
|
|
55
|
+
bmc: {
|
|
56
|
+
address: string;
|
|
57
|
+
credentialsName: string;
|
|
58
|
+
disableCertificateVerification: boolean;
|
|
59
|
+
};
|
|
60
|
+
bootMACAddress: string;
|
|
61
|
+
online: boolean;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as EditAgentModal } from './EditAgentModal';
|
|
2
|
+
export { default as AddHostModal } from './AddHostModal';
|
|
3
|
+
export { default as EditBMHModal } from './EditBMHModal';
|
|
4
|
+
export { default as ScaleUpModal } from './ScaleUpModal';
|
|
5
|
+
export { default as MassApproveAgentModal } from './MassApproveAgentModal';
|
|
6
|
+
export { default as MassDeleteAgentModal } from './MassDeleteAgentModal';
|
|
7
|
+
export { default as AddBmcHostModal } from './AddBmcHostModal';
|
|
8
|
+
export { default as AddBmcHostYamlModal } from './AddBmcHostYamlModal';
|
|
9
|
+
export * from './CimConfiguration';
|
|
10
|
+
export * from './utils';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { DiscoveryImageFormValues } from '../../../common';
|
|
2
|
+
import { BMCFormProps } from '../Agent/types';
|
|
3
|
+
import { BareMetalHostK8sResource, NMStateK8sResource, AgentClusterInstallK8sResource, InfraEnvK8sResource } from '../../types/k8s';
|
|
4
|
+
import { SecretK8sResource } from '../../types/fromOCP';
|
|
5
|
+
export declare type AddHostModalProps = {
|
|
6
|
+
onClose: VoidFunction;
|
|
7
|
+
infraEnv: InfraEnvK8sResource;
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
onSaveISOParams: (values: DiscoveryImageFormValues) => Promise<void>;
|
|
10
|
+
agentClusterInstall?: AgentClusterInstallK8sResource;
|
|
11
|
+
docVersion: string;
|
|
12
|
+
};
|
|
13
|
+
export declare type AddBmcHostModalProps = Pick<BMCFormProps, 'onCreateBMH' | 'onClose' | 'infraEnv' | 'usedHostnames'> & {
|
|
14
|
+
isOpen: boolean;
|
|
15
|
+
docVersion: string;
|
|
16
|
+
};
|
|
17
|
+
export declare type EditBMHModalProps = Pick<BMCFormProps, 'onClose' | 'infraEnv' | 'bmh' | 'usedHostnames'> & {
|
|
18
|
+
isOpen: boolean;
|
|
19
|
+
onEdit: (resources: {
|
|
20
|
+
bmh?: BareMetalHostK8sResource;
|
|
21
|
+
secret?: SecretK8sResource;
|
|
22
|
+
nmState?: NMStateK8sResource;
|
|
23
|
+
}) => BMCFormProps['onCreateBMH'];
|
|
24
|
+
nmStates: NMStateK8sResource[];
|
|
25
|
+
fetchSecret: (namespace: string, bmhName: string) => Promise<SecretK8sResource>;
|
|
26
|
+
};
|
|
27
|
+
export declare type EditSSHKeyFormikValues = {
|
|
28
|
+
sshPublicKey: string;
|
|
29
|
+
};
|
|
30
|
+
export declare type EditPullSecretFormikValues = {
|
|
31
|
+
pullSecret: string | undefined;
|
|
32
|
+
createSecret: boolean;
|
|
33
|
+
};
|
|
34
|
+
export declare type EditNtpSourcesFormikValues = {
|
|
35
|
+
enableNtpSources: string;
|
|
36
|
+
additionalNtpSources: string;
|
|
37
|
+
};
|
|
38
|
+
export declare type UploadActionModalProps = {
|
|
39
|
+
isOpen: boolean;
|
|
40
|
+
onClose: VoidFunction;
|
|
41
|
+
onCreateBmcByYaml: (yamlContent: unknown) => Promise<unknown>;
|
|
42
|
+
isEdit?: boolean;
|
|
43
|
+
docVersion: string;
|
|
44
|
+
infraEnv: InfraEnvK8sResource;
|
|
45
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TFunction } from 'i18next';
|
|
2
|
+
import { BareMetalHostK8sResource, InfraEnvK8sResource, SecretK8sResource } from '../../types';
|
|
3
|
+
export declare const getBareMetalHostCredentialsSecret: (values: {
|
|
4
|
+
username: string;
|
|
5
|
+
password: string;
|
|
6
|
+
hostname: string;
|
|
7
|
+
}, namespace: string) => {
|
|
8
|
+
apiVersion: string;
|
|
9
|
+
kind: string;
|
|
10
|
+
data: {
|
|
11
|
+
username: string;
|
|
12
|
+
password: string;
|
|
13
|
+
};
|
|
14
|
+
metadata: {
|
|
15
|
+
generateName: string;
|
|
16
|
+
namespace: string;
|
|
17
|
+
};
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const getBareMetalHost: (values: {
|
|
21
|
+
name: string;
|
|
22
|
+
hostname: string;
|
|
23
|
+
bmcAddress: string;
|
|
24
|
+
disableCertificateVerification: boolean;
|
|
25
|
+
bootMACAddress: string;
|
|
26
|
+
online: boolean;
|
|
27
|
+
}, infraEnv: InfraEnvK8sResource, secret: SecretK8sResource) => BareMetalHostK8sResource;
|
|
28
|
+
export declare const getWarningMessage: (hasAgents: boolean, hasBMHs: boolean, t: TFunction) => string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export * from './components';
|
|
3
|
+
export * as Reducers from '../common/reducers';
|
|
4
|
+
export * from '../common/api';
|
|
5
|
+
export * from '../common/types';
|
|
6
|
+
export * from '../common/features';
|
|
7
|
+
export * from '../common/components/ui';
|
|
8
|
+
export * from '../common/components/AlertsContextProvider';
|
|
9
|
+
export * from '../common/components/hosts';
|
|
10
|
+
export * from '../common/components/clusterWizard/types';
|
|
11
|
+
export * from '../common/components/clusterDetail';
|
|
12
|
+
export * from '../common/components/clusterConfiguration';
|
|
13
|
+
export * from '../common/types/clusters';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './k8sTypes';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { K8sResourceCommon } from '@openshift-console/dynamic-plugin-sdk';
|
|
2
|
+
import { StatusCondition } from '../k8s';
|
|
3
|
+
export declare type SecretK8sResource = {
|
|
4
|
+
data?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
stringData?: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
type?: string;
|
|
11
|
+
} & K8sResourceCommon;
|
|
12
|
+
export declare type ConfigMapK8sResource = {
|
|
13
|
+
data?: {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
} & K8sResourceCommon;
|
|
17
|
+
declare type OperandVersion = {
|
|
18
|
+
name: string;
|
|
19
|
+
version: string;
|
|
20
|
+
};
|
|
21
|
+
declare type ClusterOperatorObjectReference = {
|
|
22
|
+
group: string;
|
|
23
|
+
resource: string;
|
|
24
|
+
namespace?: string;
|
|
25
|
+
name: string;
|
|
26
|
+
};
|
|
27
|
+
export declare type ClusterOperatorK8sResource = {
|
|
28
|
+
spec: Record<string, unknown>;
|
|
29
|
+
status: {
|
|
30
|
+
conditions?: StatusCondition<string>[];
|
|
31
|
+
versions?: OperandVersion[];
|
|
32
|
+
relatedObjects?: ClusterOperatorObjectReference[];
|
|
33
|
+
};
|
|
34
|
+
} & K8sResourceCommon;
|
|
35
|
+
export declare type RouteK8sResource = {
|
|
36
|
+
spec: {
|
|
37
|
+
host?: string;
|
|
38
|
+
path?: string;
|
|
39
|
+
port?: {
|
|
40
|
+
targetPort: number | string;
|
|
41
|
+
};
|
|
42
|
+
subdomain?: string;
|
|
43
|
+
wildcardPolicy?: string;
|
|
44
|
+
};
|
|
45
|
+
} & K8sResourceCommon;
|
|
46
|
+
export {};
|