UNPKG

@openshift-assisted/ui-lib

Version:

React component library for the Assisted Installer UI

13 lines 890 B
import { OcmCpuArchitecture, getDefaultCpuArchitecture, SupportedCpuArchitecture } from '../../common'; import { Cluster } from '@openshift-assisted/types/assisted-installer-service'; declare const mapOcmArchToCpuArchitecture: (ocmArch: OcmCpuArchitecture | string) => SupportedCpuArchitecture | undefined; /** * Takes the cluster.cpuArchitecture value and maps it to * a valid infraEnv cpuArchitecture value . * * @param clusterCpuArchitecture the cluster's cpuArchitecture value */ declare const mapClusterCpuArchToInfraEnvCpuArch: (clusterCpuArchitecture: Cluster['cpuArchitecture'] | OcmCpuArchitecture) => SupportedCpuArchitecture; declare const getCpuArchitecture: (cpuArchitecture?: string) => string; export { mapOcmArchToCpuArchitecture, mapClusterCpuArchToInfraEnvCpuArch, getDefaultCpuArchitecture, getCpuArchitecture, }; //# sourceMappingURL=CpuArchitectureService.d.ts.map