forked from redhat-developer/vscode-openshift-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevfile.ts
More file actions
32 lines (28 loc) · 929 Bytes
/
devfile.ts
File metadata and controls
32 lines (28 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*-----------------------------------------------------------------------------------------------
* Copyright (c) Red Hat, Inc. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*-----------------------------------------------------------------------------------------------*/
import { StarterProject } from '../../odo/componentTypeDescription';
export type Devfile = {
name: string;
id: string;
port: number;
registryName: string;
description: string;
logoUrl: string;
supportsDebug: boolean;
supportsDeploy: boolean;
tags: string[];
starterProjects: StarterProject[];
yaml: string;
};
export type DevfileRegistry = {
name: string;
url: string;
devfiles: Devfile[];
};
export type TemplateProjectIdentifier = {
devfileId: string;
registryName: string;
templateProjectName: string;
};