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;
31 runtimeConstraints: RuntimeConstraints;
32 runtimeStatus: RuntimeStatus;
33 runtimeUserUuid: string;
34 schedulingParameters: SchedulingParameters;
35 output: string | null;
36 containerImage: string;
39 exitCode: number | null;
40 authUuid: string | null;
41 lockedByUuid: string | null;