@openshift-assisted/ui-lib
Version:
React component library for the Assisted Installer UI
11 lines • 423 B
TypeScript
import { CpuArchitecture } from '../../common';
import { Cluster, PresignedUrl } from '@openshift-assisted/types/assisted-installer-service';
type ImgUrl = {
url: PresignedUrl['url'];
error: string;
};
export default function useInfraEnvImageUrl(): {
getIsoImageUrl: (clusterId: Cluster['id'], cpuArchitecture: CpuArchitecture) => Promise<ImgUrl>;
};
export {};
//# sourceMappingURL=useInfraEnvImageUrl.d.ts.map