X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/0534b585de71147120e880fe670ebd0e61dcf68f..1d0297e01e0196d63b4fb42573e5bd6d1e1a31b9:/src/store/process-panel/process-panel.ts diff --git a/src/store/process-panel/process-panel.ts b/src/store/process-panel/process-panel.ts index 36c3e29f..34abd614 100644 --- a/src/store/process-panel/process-panel.ts +++ b/src/store/process-panel/process-panel.ts @@ -13,6 +13,29 @@ export type OutputDetails = { pdh?: string; } +export interface CUDAFeatures { + driverVersion: string; + hardwareCapability: string; + deviceCount: number; +} + +export interface NodeInstanceType { + name: string; + providerType: string; + VCPUs: number; + RAM: number; + scratch: number; + includedScratch: number; + addedScratch: number; + price: number; + preemptible: boolean; + CUDA: CUDAFeatures; +}; + +export interface NodeInfo { + nodeInfo: NodeInstanceType | null; +}; + export interface ProcessPanel { containerRequestUuid: string; filters: { [status: string]: boolean }; @@ -21,6 +44,7 @@ export interface ProcessPanel { outputRaw: OutputDetails | null; outputDefinitions: CommandOutputParameter[]; outputParams: ProcessIOParameter[] | null; + nodeInfo: NodeInstanceType | null; } export const getProcessPanelCurrentUuid = (router: RouterState) => {