projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.curoverse.com:arvados-workbench2 into 14479_ssh_keys
[arvados-workbench2.git]
/
src
/
models
/
container.ts
diff --git
a/src/models/container.ts
b/src/models/container.ts
index 6f847b19b8626c92265718fd00ece51dd7953de7..99cb30983a304e5253941c78911301388dfb544e 100644
(file)
--- a/
src/models/container.ts
+++ b/
src/models/container.ts
@@
-3,6
+3,9
@@
// SPDX-License-Identifier: AGPL-3.0
import { Resource, ResourceKind } from "./resource";
// SPDX-License-Identifier: AGPL-3.0
import { Resource, ResourceKind } from "./resource";
+import { MountType } from '~/models/mount-types';
+import { RuntimeConstraints } from "~/models/runtime-constraints";
+import { SchedulingParameters } from './scheduling-parameters';
export enum ContainerState {
QUEUED = 'Queued',
export enum ContainerState {
QUEUED = 'Queued',
@@
-15,21
+18,21
@@
export enum ContainerState {
export interface ContainerResource extends Resource {
kind: ResourceKind.CONTAINER;
state: string;
export interface ContainerResource extends Resource {
kind: ResourceKind.CONTAINER;
state: string;
- startedAt: string;
- finishedAt: string;
- log: string;
+ startedAt: string
| null
;
+ finishedAt: string
| null
;
+ log: string
| null
;
environment: {};
cwd: string;
command: string[];
outputPath: string;
environment: {};
cwd: string;
command: string[];
outputPath: string;
- mounts:
{}
;
- runtimeConstraints:
{}
;
- schedulingParameters:
{}
;
- output: string;
+ mounts:
MountType[]
;
+ runtimeConstraints:
RuntimeConstraints
;
+ schedulingParameters:
SchedulingParameters
;
+ output: string
| null
;
containerImage: string;
progress: number;
priority: number;
containerImage: string;
progress: number;
priority: number;
- exitCode: number;
- authUuid: string;
- lockedByUuid: string;
+ exitCode: number
| null
;
+ authUuid: string
| null
;
+ lockedByUuid: string
| null
;
}
}