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';
10 export enum ContainerState {
14 COMPLETE = 'Complete',
15 CANCELLED = 'Cancelled',
18 export interface ContainerResource extends Resource {
19 kind: ResourceKind.CONTAINER;
21 startedAt: string | null;
22 finishedAt: string | null;
29 runtimeConstraints: RuntimeConstraints;
30 schedulingParameters: SchedulingParameters;
31 output: string | null;
32 containerImage: string;
35 exitCode: number | null;
36 authUuid: string | null;
37 lockedByUuid: string | null;