1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 export enum MountKind {
6 COLLECTION = 'collection',
8 TEMPORARY_DIRECTORY = 'tmp',
10 MOUNTED_FILE = 'file',
14 export type MountType =
17 TemporaryDirectoryMount |
22 export interface CollectionMount {
23 kind: MountKind.COLLECTION;
25 portableDataHash?: string;
30 export interface GitTreeMount {
31 kind: MountKind.GIT_TREE;
37 export enum TemporaryDirectoryDeviceType {
44 export interface TemporaryDirectoryMount {
45 kind: MountKind.TEMPORARY_DIRECTORY;
47 deviceType: TemporaryDirectoryDeviceType;
50 export interface KeepMount {
54 export interface JSONMount {
59 export interface FileMount {
60 kind: MountKind.MOUNTED_FILE;