19438: Hooked up panel, no content yet
[arvados-workbench2.git] / src / store / process-panel / process-panel.ts
index 36c3e29f9130ccf5ed8fdb15c8a04a712005110b..34abd614bd093600292f406d6ab2fbdcd83be3c2 100644 (file)
@@ -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) => {