forked from devfile/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devfile.api.code-workspace
102 lines (102 loc) · 4.48 KB
/
devfile.api.code-workspace
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"folders": [
{
"path": "."
},
{
"path": "generator"
}
],
"settings": {
"go.toolsEnvVars" : {
"GO111MODULE": "on"
},
"go.useLanguageServer": true,
"go.languageServerExperimentalFeatures": {
"diagnostics": true // for diagnostics as you type
},
"go.autocompleteUnimportedPackages": true,
"yaml.schemas": {
"./schemas/latest/ide-targeted/devfile.json": [ "samples/*/*devfile.yaml", "samples/devfile-registry/*.yaml" ],
"./schemas/latest/ide-targeted/dev-workspace.json": [ "samples/*/*devworkspace.yaml" ],
"./schemas/latest/ide-targeted/dev-workspace-template.json": [ "samples/*/*devworkspacetemplate.yaml" ],
"./schemas/latest/ide-targeted/dev-workspace-template-spec.json": [ "pkg/utils/overriding/test-fixtures/patches/**/original.yaml", "pkg/utils/overriding/test-fixtures/patches/**/result.yaml", "pkg/utils/overriding/test-fixtures/merges/*.yaml" ],
"./schemas/latest/ide-targeted/parent-overrides.json": [ "pkg/utils/overriding/test-fixtures/**/patch.yaml" ]
}
},
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Launch Plugin Overrides Generator",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder:generator}",
"env": { "GOMOD": "${workspaceFolder:generator}/go.mod"},
"args": [ "overrides:isForPluginOverrides=true", "paths=./pkg/apis/workspaces/v1alpha2"],
"cwd": "${workspaceFolder:api}"
},
{
"name": "Launch Parent Overrides Generator",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder:generator}",
"env": { "GOMOD": "${workspaceFolder:generator}/go.mod"},
"args": [ "overrides", "paths=./pkg/apis/workspaces/v1alpha2" ],
"cwd": "${workspaceFolder:api}"
},
{
"name": "Launch Interfaces Generator",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder:generator}",
"env": { "GOMOD": "${workspaceFolder:generator}/go.mod"},
"args": [ "interfaces", "paths=./pkg/apis/workspaces/v1alpha2" ],
"cwd": "${workspaceFolder:api}"
},
{
"name": "Launch CRD Generator",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder:generator}",
"env": { "GOMOD": "${workspaceFolder:generator}/go.mod"},
"args": [ "crds", "paths=./pkg/apis/workspaces/v1alpha2;./pkg/apis/workspaces/v1alpha1", "output:crds:artifacts:config=crds" ],
"cwd": "${workspaceFolder:api}"
},
{
"name": "Launch DeepCopy Generator",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder:generator}",
"env": { "GOMOD": "${workspaceFolder:generator}/go.mod"},
"args": [ "deepcopy", "paths=./pkg/apis/workspaces/v1alpha2;./pkg/apis/workspaces/v1alpha1" ],
"cwd": "${workspaceFolder:api}"
},
{
"name": "Launch Schemas Generator",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder:generator}",
"env": { "GOMOD": "${workspaceFolder:generator}/go.mod"},
"args": [ "schemas", "paths=./pkg/apis/workspaces/v1alpha2;./pkg/apis/workspaces/v1alpha1", "output:schemas:artifacts:config=schemas" ],
"cwd": "${workspaceFolder:api}"
},
{
"name": "Launch Validate Generator",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder:generator}",
"env": { "GOMOD": "${workspaceFolder:generator}/go.mod"},
"args": [ "validate", "paths=./pkg/apis/workspaces/v1alpha2" ],
"cwd": "${workspaceFolder:api}"
}
]
}
}