merge master
[arvados-workbench2.git] / src / models / container-request.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { Resource, ResourceKind } from "./resource";
6
7 export enum ContainerRequestState {
8     UNCOMMITTED = "Uncommitted",
9     COMMITTED = "Committed",
10     FINAL = "Final"
11 }
12
13 export interface ContainerRequestResource extends Resource {
14     kind: ResourceKind.CONTAINER_REQUEST;
15     name: string;
16     description: string;
17     properties: any;
18     state: ContainerRequestState;
19     requestingContainerUuid: string;
20     containerUuid: string;
21     containerCountMax: number;
22     mounts: any;
23     runtimeConstraints: any;
24     schedulingParameters: any;
25     containerImage: string;
26     environment: any;
27     cwd: string;
28     command: string[];
29     outputPath: string;
30     outputName: string;
31     outputTtl: number;
32     priority: number;
33     expiresAt: string;
34     useExisting: boolean;
35     logUuid: string;
36     outputUuid: string;
37     filters: string;
38 }