@firestartr/cli 1.59.3 → 1.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +624 -79
- package/build/packages/catalog_common/index.d.ts +3 -0
- package/build/packages/catalog_common/src/tokenizer/index.d.ts +27 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/argodeploy.schema.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/common-meta.schema.d.ts +46 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/component.schema.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/group.schema.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +237 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/orgwebhook.schema.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/secrets.schema.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/tfworkspace.schema.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/user.schema.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/claims/external-secrets/external-secrets.schema.d.ts +12 -0
- package/build/packages/cdk8s_renderer/src/claims/external-secrets/index.d.ts +12 -0
- package/build/packages/cdk8s_renderer/src/claims/github/component.schema.d.ts +136 -0
- package/build/packages/cdk8s_renderer/src/claims/github/group.schema.d.ts +11 -0
- package/build/packages/cdk8s_renderer/src/claims/github/index.d.ts +167 -0
- package/build/packages/cdk8s_renderer/src/claims/github/orgwebhook.schema.d.ts +9 -0
- package/build/packages/cdk8s_renderer/src/claims/github/user.schema.d.ts +11 -0
- package/build/packages/cdk8s_renderer/src/claims/tfworkspaces/index.d.ts +5 -0
- package/build/packages/cdk8s_renderer/src/claims/tfworkspaces/terraform.schema.d.ts +5 -0
- package/build/packages/importer/src/decanter/gh/github_repo.d.ts +2 -0
- package/build/packages/importer/src/utils/codeowner.d.ts +5 -0
- package/build/packages/importer/src/utils/nomicon.d.ts +1 -0
- package/build/packages/operator/src/definitions.d.ts +1 -0
- package/build/packages/operator/src/informer.d.ts +1 -0
- package/build/packages/terraform_provisioner/index.d.ts +2 -1
- package/build/packages/terraform_provisioner/src/process_handler.d.ts +7 -0
- package/build/packages/terraform_provisioner/src/project_tf.d.ts +5 -1
- package/build/packages/terraform_provisioner/src/project_tf_remote.d.ts +4 -0
- package/build/packages/terraform_provisioner/src/utils.d.ts +5 -4
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ declare const _default: {
|
|
|
11
11
|
$ref: string;
|
|
12
12
|
type?: undefined;
|
|
13
13
|
properties?: undefined;
|
|
14
|
+
additionalProperties?: undefined;
|
|
14
15
|
required?: undefined;
|
|
15
16
|
} | {
|
|
16
17
|
type: string;
|
|
@@ -22,14 +23,143 @@ declare const _default: {
|
|
|
22
23
|
type: string;
|
|
23
24
|
description: string;
|
|
24
25
|
};
|
|
26
|
+
tfStateKey: {
|
|
27
|
+
$ref: string;
|
|
28
|
+
};
|
|
25
29
|
orgPermissions: {
|
|
26
30
|
type: string;
|
|
27
31
|
description: string;
|
|
28
32
|
};
|
|
33
|
+
sync: {
|
|
34
|
+
$ref: string;
|
|
35
|
+
};
|
|
36
|
+
technology: {
|
|
37
|
+
type: string;
|
|
38
|
+
properties: {
|
|
39
|
+
stack: {
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
version: {
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
additionalProperties: boolean;
|
|
47
|
+
required: string[];
|
|
48
|
+
};
|
|
49
|
+
defaultBranch: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
branchStrategy: {
|
|
53
|
+
type: string;
|
|
54
|
+
description: string;
|
|
55
|
+
properties: {
|
|
56
|
+
name: {
|
|
57
|
+
type: string;
|
|
58
|
+
};
|
|
59
|
+
defaultBranch: {
|
|
60
|
+
type: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
additionalProperties: boolean;
|
|
64
|
+
required: string[];
|
|
65
|
+
};
|
|
66
|
+
additionalBranches: {
|
|
67
|
+
type: string;
|
|
68
|
+
items: {
|
|
69
|
+
type: string;
|
|
70
|
+
properties: {
|
|
71
|
+
name: {
|
|
72
|
+
type: string;
|
|
73
|
+
};
|
|
74
|
+
orphan: {
|
|
75
|
+
type: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
additionalProperties: boolean;
|
|
79
|
+
required: string[];
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
actions: {
|
|
83
|
+
type: string;
|
|
84
|
+
description: string;
|
|
85
|
+
properties: {
|
|
86
|
+
oidc: {
|
|
87
|
+
type: string;
|
|
88
|
+
properties: {
|
|
89
|
+
useDefault: {
|
|
90
|
+
type: string;
|
|
91
|
+
};
|
|
92
|
+
includeClaimKeys: {
|
|
93
|
+
type: string;
|
|
94
|
+
items: {
|
|
95
|
+
type: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
additionalProperties: boolean;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
additionalProperties: boolean;
|
|
103
|
+
required: string[];
|
|
104
|
+
};
|
|
29
105
|
archiveOnDestroy: {
|
|
30
106
|
type: string;
|
|
31
107
|
description: string;
|
|
32
108
|
};
|
|
109
|
+
allowMergeCommit: {
|
|
110
|
+
type: string;
|
|
111
|
+
};
|
|
112
|
+
allowSquashMerge: {
|
|
113
|
+
type: string;
|
|
114
|
+
};
|
|
115
|
+
allowRebaseMerge: {
|
|
116
|
+
type: string;
|
|
117
|
+
};
|
|
118
|
+
allowAutoMerge: {
|
|
119
|
+
type: string;
|
|
120
|
+
};
|
|
121
|
+
deleteBranchOnMerge: {
|
|
122
|
+
type: string;
|
|
123
|
+
};
|
|
124
|
+
autoInit: {
|
|
125
|
+
type: string;
|
|
126
|
+
};
|
|
127
|
+
allowUpdateBranch: {
|
|
128
|
+
type: string;
|
|
129
|
+
};
|
|
130
|
+
hasIssues: {
|
|
131
|
+
type: string;
|
|
132
|
+
};
|
|
133
|
+
hasWiki: {
|
|
134
|
+
type: string;
|
|
135
|
+
};
|
|
136
|
+
pages: {
|
|
137
|
+
type: string;
|
|
138
|
+
properties: {
|
|
139
|
+
cname: {
|
|
140
|
+
type: string;
|
|
141
|
+
};
|
|
142
|
+
source: {
|
|
143
|
+
type: string;
|
|
144
|
+
properties: {
|
|
145
|
+
branch: {
|
|
146
|
+
type: string;
|
|
147
|
+
};
|
|
148
|
+
path: {
|
|
149
|
+
type: string;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
additionalProperties: boolean;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
additionalProperties: boolean;
|
|
156
|
+
};
|
|
157
|
+
additionalRules: {
|
|
158
|
+
type: string;
|
|
159
|
+
items: {
|
|
160
|
+
$ref: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
33
163
|
visibility: {
|
|
34
164
|
type: string;
|
|
35
165
|
enum: string[];
|
|
@@ -58,7 +188,13 @@ declare const _default: {
|
|
|
58
188
|
pattern: string;
|
|
59
189
|
};
|
|
60
190
|
};
|
|
191
|
+
overrides: {
|
|
192
|
+
type: string;
|
|
193
|
+
properties: {};
|
|
194
|
+
additionalProperties: boolean;
|
|
195
|
+
};
|
|
61
196
|
};
|
|
197
|
+
additionalProperties: boolean;
|
|
62
198
|
required: string[];
|
|
63
199
|
$ref?: undefined;
|
|
64
200
|
})[];
|
|
@@ -10,10 +10,20 @@ declare const _default: {
|
|
|
10
10
|
$ref: string;
|
|
11
11
|
type?: undefined;
|
|
12
12
|
properties?: undefined;
|
|
13
|
+
additionalProperties?: undefined;
|
|
13
14
|
required?: undefined;
|
|
14
15
|
} | {
|
|
15
16
|
type: string;
|
|
16
17
|
properties: {
|
|
18
|
+
name: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
tfStateKey: {
|
|
22
|
+
$ref: string;
|
|
23
|
+
};
|
|
24
|
+
sync: {
|
|
25
|
+
$ref: string;
|
|
26
|
+
};
|
|
17
27
|
privacy: {
|
|
18
28
|
type: string;
|
|
19
29
|
enum: string[];
|
|
@@ -25,6 +35,7 @@ declare const _default: {
|
|
|
25
35
|
$ref: string;
|
|
26
36
|
};
|
|
27
37
|
};
|
|
38
|
+
additionalProperties: boolean;
|
|
28
39
|
required: string[];
|
|
29
40
|
$ref?: undefined;
|
|
30
41
|
})[];
|
|
@@ -10,10 +10,20 @@ export declare const GithubSchemas: ({
|
|
|
10
10
|
$ref: string;
|
|
11
11
|
type?: undefined;
|
|
12
12
|
properties?: undefined;
|
|
13
|
+
additionalProperties?: undefined;
|
|
13
14
|
required?: undefined;
|
|
14
15
|
} | {
|
|
15
16
|
type: string;
|
|
16
17
|
properties: {
|
|
18
|
+
name: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
tfStateKey: {
|
|
22
|
+
$ref: string;
|
|
23
|
+
};
|
|
24
|
+
sync: {
|
|
25
|
+
$ref: string;
|
|
26
|
+
};
|
|
17
27
|
privacy: {
|
|
18
28
|
type: string;
|
|
19
29
|
enum: string[];
|
|
@@ -25,6 +35,7 @@ export declare const GithubSchemas: ({
|
|
|
25
35
|
$ref: string;
|
|
26
36
|
};
|
|
27
37
|
};
|
|
38
|
+
additionalProperties: boolean;
|
|
28
39
|
required: string[];
|
|
29
40
|
$ref?: undefined;
|
|
30
41
|
})[];
|
|
@@ -42,10 +53,20 @@ export declare const GithubSchemas: ({
|
|
|
42
53
|
$ref: string;
|
|
43
54
|
type?: undefined;
|
|
44
55
|
properties?: undefined;
|
|
56
|
+
additionalProperties?: undefined;
|
|
45
57
|
required?: undefined;
|
|
46
58
|
} | {
|
|
47
59
|
type: string;
|
|
48
60
|
properties: {
|
|
61
|
+
name: {
|
|
62
|
+
type: string;
|
|
63
|
+
};
|
|
64
|
+
tfStateKey: {
|
|
65
|
+
$ref: string;
|
|
66
|
+
};
|
|
67
|
+
sync: {
|
|
68
|
+
$ref: string;
|
|
69
|
+
};
|
|
49
70
|
role: {
|
|
50
71
|
type: string;
|
|
51
72
|
enum: string[];
|
|
@@ -54,6 +75,7 @@ export declare const GithubSchemas: ({
|
|
|
54
75
|
$ref: string;
|
|
55
76
|
};
|
|
56
77
|
};
|
|
78
|
+
additionalProperties: boolean;
|
|
57
79
|
required: string[];
|
|
58
80
|
$ref?: undefined;
|
|
59
81
|
})[];
|
|
@@ -116,6 +138,7 @@ export declare const GithubSchemas: ({
|
|
|
116
138
|
$ref: string;
|
|
117
139
|
type?: undefined;
|
|
118
140
|
properties?: undefined;
|
|
141
|
+
additionalProperties?: undefined;
|
|
119
142
|
required?: undefined;
|
|
120
143
|
} | {
|
|
121
144
|
type: string;
|
|
@@ -127,14 +150,143 @@ export declare const GithubSchemas: ({
|
|
|
127
150
|
type: string;
|
|
128
151
|
description: string;
|
|
129
152
|
};
|
|
153
|
+
tfStateKey: {
|
|
154
|
+
$ref: string;
|
|
155
|
+
};
|
|
130
156
|
orgPermissions: {
|
|
131
157
|
type: string;
|
|
132
158
|
description: string;
|
|
133
159
|
};
|
|
160
|
+
sync: {
|
|
161
|
+
$ref: string;
|
|
162
|
+
};
|
|
163
|
+
technology: {
|
|
164
|
+
type: string;
|
|
165
|
+
properties: {
|
|
166
|
+
stack: {
|
|
167
|
+
type: string;
|
|
168
|
+
};
|
|
169
|
+
version: {
|
|
170
|
+
type: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
additionalProperties: boolean;
|
|
174
|
+
required: string[];
|
|
175
|
+
};
|
|
176
|
+
defaultBranch: {
|
|
177
|
+
type: string;
|
|
178
|
+
};
|
|
179
|
+
branchStrategy: {
|
|
180
|
+
type: string;
|
|
181
|
+
description: string;
|
|
182
|
+
properties: {
|
|
183
|
+
name: {
|
|
184
|
+
type: string;
|
|
185
|
+
};
|
|
186
|
+
defaultBranch: {
|
|
187
|
+
type: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
additionalProperties: boolean;
|
|
191
|
+
required: string[];
|
|
192
|
+
};
|
|
193
|
+
additionalBranches: {
|
|
194
|
+
type: string;
|
|
195
|
+
items: {
|
|
196
|
+
type: string;
|
|
197
|
+
properties: {
|
|
198
|
+
name: {
|
|
199
|
+
type: string;
|
|
200
|
+
};
|
|
201
|
+
orphan: {
|
|
202
|
+
type: string;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
additionalProperties: boolean;
|
|
206
|
+
required: string[];
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
actions: {
|
|
210
|
+
type: string;
|
|
211
|
+
description: string;
|
|
212
|
+
properties: {
|
|
213
|
+
oidc: {
|
|
214
|
+
type: string;
|
|
215
|
+
properties: {
|
|
216
|
+
useDefault: {
|
|
217
|
+
type: string;
|
|
218
|
+
};
|
|
219
|
+
includeClaimKeys: {
|
|
220
|
+
type: string;
|
|
221
|
+
items: {
|
|
222
|
+
type: string;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
additionalProperties: boolean;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
additionalProperties: boolean;
|
|
230
|
+
required: string[];
|
|
231
|
+
};
|
|
134
232
|
archiveOnDestroy: {
|
|
135
233
|
type: string;
|
|
136
234
|
description: string;
|
|
137
235
|
};
|
|
236
|
+
allowMergeCommit: {
|
|
237
|
+
type: string;
|
|
238
|
+
};
|
|
239
|
+
allowSquashMerge: {
|
|
240
|
+
type: string;
|
|
241
|
+
};
|
|
242
|
+
allowRebaseMerge: {
|
|
243
|
+
type: string;
|
|
244
|
+
};
|
|
245
|
+
allowAutoMerge: {
|
|
246
|
+
type: string;
|
|
247
|
+
};
|
|
248
|
+
deleteBranchOnMerge: {
|
|
249
|
+
type: string;
|
|
250
|
+
};
|
|
251
|
+
autoInit: {
|
|
252
|
+
type: string;
|
|
253
|
+
};
|
|
254
|
+
allowUpdateBranch: {
|
|
255
|
+
type: string;
|
|
256
|
+
};
|
|
257
|
+
hasIssues: {
|
|
258
|
+
type: string;
|
|
259
|
+
};
|
|
260
|
+
hasWiki: {
|
|
261
|
+
type: string;
|
|
262
|
+
};
|
|
263
|
+
pages: {
|
|
264
|
+
type: string;
|
|
265
|
+
properties: {
|
|
266
|
+
cname: {
|
|
267
|
+
type: string;
|
|
268
|
+
};
|
|
269
|
+
source: {
|
|
270
|
+
type: string;
|
|
271
|
+
properties: {
|
|
272
|
+
branch: {
|
|
273
|
+
type: string;
|
|
274
|
+
};
|
|
275
|
+
path: {
|
|
276
|
+
type: string;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
additionalProperties: boolean;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
additionalProperties: boolean;
|
|
283
|
+
};
|
|
284
|
+
additionalRules: {
|
|
285
|
+
type: string;
|
|
286
|
+
items: {
|
|
287
|
+
$ref: string;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
138
290
|
visibility: {
|
|
139
291
|
type: string;
|
|
140
292
|
enum: string[];
|
|
@@ -163,7 +315,13 @@ export declare const GithubSchemas: ({
|
|
|
163
315
|
pattern: string;
|
|
164
316
|
};
|
|
165
317
|
};
|
|
318
|
+
overrides: {
|
|
319
|
+
type: string;
|
|
320
|
+
properties: {};
|
|
321
|
+
additionalProperties: boolean;
|
|
322
|
+
};
|
|
166
323
|
};
|
|
324
|
+
additionalProperties: boolean;
|
|
167
325
|
required: string[];
|
|
168
326
|
$ref?: undefined;
|
|
169
327
|
})[];
|
|
@@ -181,10 +339,17 @@ export declare const GithubSchemas: ({
|
|
|
181
339
|
$ref: string;
|
|
182
340
|
type?: undefined;
|
|
183
341
|
properties?: undefined;
|
|
342
|
+
additionalProperties?: undefined;
|
|
184
343
|
required?: undefined;
|
|
185
344
|
} | {
|
|
186
345
|
type: string;
|
|
187
346
|
properties: {
|
|
347
|
+
name: {
|
|
348
|
+
type: string;
|
|
349
|
+
};
|
|
350
|
+
tfStateKey: {
|
|
351
|
+
$ref: string;
|
|
352
|
+
};
|
|
188
353
|
orgName: {
|
|
189
354
|
$ref: string;
|
|
190
355
|
};
|
|
@@ -215,9 +380,11 @@ export declare const GithubSchemas: ({
|
|
|
215
380
|
};
|
|
216
381
|
};
|
|
217
382
|
};
|
|
383
|
+
additionalProperties: boolean;
|
|
218
384
|
required: string[];
|
|
219
385
|
};
|
|
220
386
|
};
|
|
387
|
+
additionalProperties: boolean;
|
|
221
388
|
required: string[];
|
|
222
389
|
$ref?: undefined;
|
|
223
390
|
})[];
|
|
@@ -10,10 +10,17 @@ declare const _default: {
|
|
|
10
10
|
$ref: string;
|
|
11
11
|
type?: undefined;
|
|
12
12
|
properties?: undefined;
|
|
13
|
+
additionalProperties?: undefined;
|
|
13
14
|
required?: undefined;
|
|
14
15
|
} | {
|
|
15
16
|
type: string;
|
|
16
17
|
properties: {
|
|
18
|
+
name: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
tfStateKey: {
|
|
22
|
+
$ref: string;
|
|
23
|
+
};
|
|
17
24
|
orgName: {
|
|
18
25
|
$ref: string;
|
|
19
26
|
};
|
|
@@ -44,9 +51,11 @@ declare const _default: {
|
|
|
44
51
|
};
|
|
45
52
|
};
|
|
46
53
|
};
|
|
54
|
+
additionalProperties: boolean;
|
|
47
55
|
required: string[];
|
|
48
56
|
};
|
|
49
57
|
};
|
|
58
|
+
additionalProperties: boolean;
|
|
50
59
|
required: string[];
|
|
51
60
|
$ref?: undefined;
|
|
52
61
|
})[];
|
|
@@ -10,10 +10,20 @@ declare const _default: {
|
|
|
10
10
|
$ref: string;
|
|
11
11
|
type?: undefined;
|
|
12
12
|
properties?: undefined;
|
|
13
|
+
additionalProperties?: undefined;
|
|
13
14
|
required?: undefined;
|
|
14
15
|
} | {
|
|
15
16
|
type: string;
|
|
16
17
|
properties: {
|
|
18
|
+
name: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
tfStateKey: {
|
|
22
|
+
$ref: string;
|
|
23
|
+
};
|
|
24
|
+
sync: {
|
|
25
|
+
$ref: string;
|
|
26
|
+
};
|
|
17
27
|
role: {
|
|
18
28
|
type: string;
|
|
19
29
|
enum: string[];
|
|
@@ -22,6 +32,7 @@ declare const _default: {
|
|
|
22
32
|
$ref: string;
|
|
23
33
|
};
|
|
24
34
|
};
|
|
35
|
+
additionalProperties: boolean;
|
|
25
36
|
required: string[];
|
|
26
37
|
$ref?: undefined;
|
|
27
38
|
})[];
|
|
@@ -29,6 +29,7 @@ export declare const TerraformSchemas: {
|
|
|
29
29
|
$ref: string;
|
|
30
30
|
type?: undefined;
|
|
31
31
|
properties?: undefined;
|
|
32
|
+
additionalProperties?: undefined;
|
|
32
33
|
required?: undefined;
|
|
33
34
|
} | {
|
|
34
35
|
type: string;
|
|
@@ -40,6 +41,9 @@ export declare const TerraformSchemas: {
|
|
|
40
41
|
name: {
|
|
41
42
|
type: string;
|
|
42
43
|
};
|
|
44
|
+
tfStateKey: {
|
|
45
|
+
$ref: string;
|
|
46
|
+
};
|
|
43
47
|
source: {
|
|
44
48
|
type: string;
|
|
45
49
|
enum: string[];
|
|
@@ -122,6 +126,7 @@ export declare const TerraformSchemas: {
|
|
|
122
126
|
additionalProperties: boolean;
|
|
123
127
|
};
|
|
124
128
|
};
|
|
129
|
+
additionalProperties: boolean;
|
|
125
130
|
required: string[];
|
|
126
131
|
$ref?: undefined;
|
|
127
132
|
})[];
|
|
@@ -29,6 +29,7 @@ declare const _default: {
|
|
|
29
29
|
$ref: string;
|
|
30
30
|
type?: undefined;
|
|
31
31
|
properties?: undefined;
|
|
32
|
+
additionalProperties?: undefined;
|
|
32
33
|
required?: undefined;
|
|
33
34
|
} | {
|
|
34
35
|
type: string;
|
|
@@ -40,6 +41,9 @@ declare const _default: {
|
|
|
40
41
|
name: {
|
|
41
42
|
type: string;
|
|
42
43
|
};
|
|
44
|
+
tfStateKey: {
|
|
45
|
+
$ref: string;
|
|
46
|
+
};
|
|
43
47
|
source: {
|
|
44
48
|
type: string;
|
|
45
49
|
enum: string[];
|
|
@@ -122,6 +126,7 @@ declare const _default: {
|
|
|
122
126
|
additionalProperties: boolean;
|
|
123
127
|
};
|
|
124
128
|
};
|
|
129
|
+
additionalProperties: boolean;
|
|
125
130
|
required: string[];
|
|
126
131
|
$ref?: undefined;
|
|
127
132
|
})[];
|
|
@@ -8,11 +8,13 @@ export default class RepoGithubDecanter extends GithubDecanter {
|
|
|
8
8
|
__decantProviders(): void;
|
|
9
9
|
__decantPages(): void;
|
|
10
10
|
__decantOIDC(): void;
|
|
11
|
+
__decantValidateCodeowners(): void;
|
|
11
12
|
__decantRelations(): void;
|
|
12
13
|
__gatherRepoTeamsAndMembers(): Promise<void>;
|
|
13
14
|
__gatherPages(): Promise<void>;
|
|
14
15
|
__gatherOIDCSubjectClaim(): Promise<void>;
|
|
15
16
|
__gatherBranchStrategy(): Promise<void>;
|
|
17
|
+
__gatherCodeowners(): Promise<void>;
|
|
16
18
|
__adaptInitializerBranchStrategies(_claim: any): Promise<BranchStrategiesInitializer>;
|
|
17
19
|
__adaptInitializerBase(_claim: any): Promise<InitializerDefault>;
|
|
18
20
|
__adaptOverriderRepo(_claim: any): Promise<GithubRepositoryOverrider>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function transformRepoName(repoName: string): string;
|
|
@@ -50,6 +50,7 @@ export type WorkItemHandler = {
|
|
|
50
50
|
isBlocked?: boolean;
|
|
51
51
|
needsBlocking?: (item: any, operation: OperationType) => boolean;
|
|
52
52
|
fUnblock?: Function;
|
|
53
|
+
recommendedTimeout: () => number;
|
|
53
54
|
};
|
|
54
55
|
/**
|
|
55
56
|
* Observe whenever a new item is added, modified or deleted in a given kind
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { TFProjectManager } from './src';
|
|
2
|
+
import type { ProcessHandler } from './src/process_handler';
|
|
2
3
|
export declare function validateContext(context: any): void;
|
|
3
4
|
export declare function run(): Promise<void>;
|
|
4
|
-
export declare function runTerraformProvisioner(context: any, command?: string, streaming?: any): Promise<any>;
|
|
5
|
+
export declare function runTerraformProvisioner(context: any, command?: string, streaming?: any, ctl?: ProcessHandler): Promise<any>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { ChildProcess } from 'child_process';
|
|
3
|
+
export type ProcessHandler = {
|
|
4
|
+
processKilled(killed: boolean): void;
|
|
5
|
+
hardTimeout: number;
|
|
6
|
+
};
|
|
7
|
+
export declare function processHandler(processToHandle: ChildProcess, ctl: ProcessHandler, onTimedOut: Function): void;
|
|
@@ -4,6 +4,7 @@ import { WriterTfVarsJson } from './writer_tfvars_json';
|
|
|
4
4
|
import { WriterProviderJson } from './writer_provider_tf_json';
|
|
5
5
|
import { WriterAdditionalFiles } from './writer_additional_files';
|
|
6
6
|
import { PassThrough } from 'stream';
|
|
7
|
+
import type { ProcessHandler } from './process_handler';
|
|
7
8
|
export declare class TFProjectManager {
|
|
8
9
|
mainTfWriter: WriterMainTf;
|
|
9
10
|
providerJsonWriter: WriterProviderJson;
|
|
@@ -13,9 +14,12 @@ export declare class TFProjectManager {
|
|
|
13
14
|
projectPath: string;
|
|
14
15
|
tfOutput: any;
|
|
15
16
|
stream: PassThrough;
|
|
17
|
+
_ctl?: ProcessHandler;
|
|
16
18
|
constructor(ctx: any);
|
|
17
|
-
|
|
19
|
+
set ctl(ctl: ProcessHandler);
|
|
20
|
+
get ctl(): ProcessHandler;
|
|
18
21
|
getOutput(): any;
|
|
22
|
+
setStreamCallbacks(fnData: Function, fnEnd: (...args: any[]) => void, reopen?: boolean): void;
|
|
19
23
|
build(): Promise<void>;
|
|
20
24
|
__init(): Promise<void>;
|
|
21
25
|
__initFromModule(): Promise<void>;
|
|
@@ -4,6 +4,7 @@ import { WriterTfVarsJson } from './writer_tfvars_json';
|
|
|
4
4
|
import { WriterProviderJson } from './writer_provider_tf_json';
|
|
5
5
|
import { WriterAdditionalFiles } from './writer_additional_files';
|
|
6
6
|
import { PassThrough } from 'stream';
|
|
7
|
+
import type { ProcessHandler } from './process_handler';
|
|
7
8
|
export declare class TFProjectManagerRemote {
|
|
8
9
|
writerTerraform: WriterTerraform;
|
|
9
10
|
providerJsonWriter: WriterProviderJson;
|
|
@@ -14,7 +15,10 @@ export declare class TFProjectManagerRemote {
|
|
|
14
15
|
projectPath: string;
|
|
15
16
|
tfOutput: any;
|
|
16
17
|
stream: PassThrough;
|
|
18
|
+
_ctl?: ProcessHandler;
|
|
17
19
|
constructor(ctx: any);
|
|
20
|
+
set ctl(ctl: ProcessHandler);
|
|
21
|
+
get ctl(): ProcessHandler | undefined;
|
|
18
22
|
getOutput(): any;
|
|
19
23
|
setStreamCallbacks(fnData: Function, fnEnd: (...args: any[]) => void, reopen?: boolean): void;
|
|
20
24
|
build(): Promise<void>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { PassThrough } from 'stream';
|
|
3
|
+
import type { ProcessHandler } from './process_handler';
|
|
3
4
|
export declare function validate(path: string, secrets: any[]): Promise<unknown>;
|
|
4
5
|
export declare function init(path: string, secrets: any[], stream?: PassThrough): Promise<unknown>;
|
|
5
6
|
export declare function initFromModule(path: string, source: string, secrets: any[], stream?: PassThrough): Promise<unknown>;
|
|
6
|
-
export declare function plan(path: string, secrets: any[], format: 'human' | 'json', args?: string[], stream?: PassThrough): Promise<any>;
|
|
7
|
-
export declare function apply(path: string, secrets: any[], stream?: PassThrough): Promise<unknown>;
|
|
8
|
-
export declare function destroy(path: string, secrets: any[], stream?: PassThrough): Promise<unknown>;
|
|
7
|
+
export declare function plan(path: string, secrets: any[], format: 'human' | 'json', args?: string[], stream?: PassThrough, ctl?: ProcessHandler): Promise<any>;
|
|
8
|
+
export declare function apply(path: string, secrets: any[], stream?: PassThrough, ctl?: ProcessHandler): Promise<unknown>;
|
|
9
|
+
export declare function destroy(path: string, secrets: any[], stream?: PassThrough, ctl?: ProcessHandler): Promise<unknown>;
|
|
9
10
|
export declare function output(path: string, secrets: any[]): Promise<unknown>;
|
|
10
|
-
export declare function tfExec(path: string, args: Array<string>, secrets: any[], extraArgs?: string[], stream?: PassThrough): Promise<unknown>;
|
|
11
|
+
export declare function tfExec(path: string, args: Array<string>, secrets: any[], extraArgs?: string[], stream?: PassThrough, ctl?: ProcessHandler): Promise<unknown>;
|
|
11
12
|
export declare function configureGit(ghToken: string): Promise<unknown>;
|