1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { Resource, ResourceKind } from "./resource";
6 import { MountType } from 'models/mount-types';
7 import { RuntimeConstraints } from "models/runtime-constraints";
8 import { SchedulingParameters } from './scheduling-parameters';
9 import { RuntimeStatus } from "./runtime-status";
11 export enum ContainerState {
15 COMPLETE = 'Complete',
16 CANCELLED = 'Cancelled',
19 export interface ContainerResource extends Resource {
20 kind: ResourceKind.CONTAINER;
22 startedAt: string | null;
23 finishedAt: string | null;
30 runtimeConstraints: RuntimeConstraints;
31 runtimeStatus: RuntimeStatus;
32 schedulingParameters: SchedulingParameters;
33 output: string | null;
34 containerImage: string;
37 exitCode: number | null;
38 authUuid: string | null;
39 lockedByUuid: string | null;