15814: Now handles secret inputs properly.
[arvados.git] / services / workbench2 / src / models / runtime-constraints.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 export interface CUDAParameters {
6     device_count: number;
7     driver_version: string;
8     hardware_capability: string;
9 }
10
11 export interface RuntimeConstraints {
12     ram: number;
13     vcpus: number;
14     keep_cache_ram?: number;
15     keep_cache_disk?: number;
16     API: boolean;
17     cuda?: CUDAParameters;
18 }