@pulumi/docker-build 0.0.15 → 0.0.16
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/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +25 -2
- package/config/vars.js.map +1 -1
- package/image.d.ts +22 -21
- package/image.d.ts.map +1 -0
- package/image.js +27 -4
- package/image.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -0
- package/index.js +16 -4
- package/index.js.map +1 -1
- package/index_.d.ts +3 -2
- package/index_.d.ts.map +1 -0
- package/index_.js +27 -4
- package/index_.js.map +1 -1
- package/package.json +5 -5
- package/package.json.dev +4 -4
- package/provider.d.ts +3 -2
- package/provider.d.ts.map +1 -0
- package/provider.js +27 -4
- package/provider.js.map +1 -1
- package/types/enums/index.d.ts +1 -0
- package/types/enums/index.d.ts.map +1 -0
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +26 -3
- package/types/index.js.map +1 -1
- package/types/input.d.ts +115 -114
- package/types/input.d.ts.map +1 -0
- package/types/input.js +37 -14
- package/types/input.js.map +1 -1
- package/types/output.d.ts +1 -0
- package/types/output.d.ts.map +1 -0
- package/types/output.js +25 -2
- package/types/output.js.map +1 -1
- package/utilities.d.ts +1 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +24 -1
- package/utilities.js.map +1 -1
package/types/input.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface BuildContextArgs {
|
|
|
23
23
|
*/
|
|
24
24
|
named?: pulumi.Input<{
|
|
25
25
|
[key: string]: pulumi.Input<inputs.ContextArgs>;
|
|
26
|
-
}>;
|
|
26
|
+
} | undefined>;
|
|
27
27
|
}
|
|
28
28
|
export interface BuilderConfigArgs {
|
|
29
29
|
/**
|
|
@@ -34,42 +34,42 @@ export interface BuilderConfigArgs {
|
|
|
34
34
|
*
|
|
35
35
|
* Equivalent to Docker's `--builder` flag.
|
|
36
36
|
*/
|
|
37
|
-
name?: pulumi.Input<string>;
|
|
37
|
+
name?: pulumi.Input<string | undefined>;
|
|
38
38
|
}
|
|
39
39
|
export interface CacheFromArgs {
|
|
40
40
|
/**
|
|
41
41
|
* Upload build caches to Azure's blob storage service.
|
|
42
42
|
*/
|
|
43
|
-
azblob?: pulumi.Input<inputs.CacheFromAzureBlobArgs>;
|
|
43
|
+
azblob?: pulumi.Input<inputs.CacheFromAzureBlobArgs | undefined>;
|
|
44
44
|
/**
|
|
45
45
|
* When `true` this entry will be excluded. Defaults to `false`.
|
|
46
46
|
*/
|
|
47
|
-
disabled?: pulumi.Input<boolean>;
|
|
47
|
+
disabled?: pulumi.Input<boolean | undefined>;
|
|
48
48
|
/**
|
|
49
49
|
* Recommended for use with GitHub Actions workflows.
|
|
50
50
|
*
|
|
51
51
|
* An action like `crazy-max/ghaction-github-runtime` is recommended to
|
|
52
52
|
* expose appropriate credentials to your GitHub workflow.
|
|
53
53
|
*/
|
|
54
|
-
gha?: pulumi.Input<inputs.CacheFromGitHubActionsArgs>;
|
|
54
|
+
gha?: pulumi.Input<inputs.CacheFromGitHubActionsArgs | undefined>;
|
|
55
55
|
/**
|
|
56
56
|
* A simple backend which caches images on your local filesystem.
|
|
57
57
|
*/
|
|
58
|
-
local?: pulumi.Input<inputs.CacheFromLocalArgs>;
|
|
58
|
+
local?: pulumi.Input<inputs.CacheFromLocalArgs | undefined>;
|
|
59
59
|
/**
|
|
60
60
|
* A raw string as you would provide it to the Docker CLI (e.g.,
|
|
61
61
|
* `type=inline`).
|
|
62
62
|
*/
|
|
63
|
-
raw?: pulumi.Input<string>;
|
|
63
|
+
raw?: pulumi.Input<string | undefined>;
|
|
64
64
|
/**
|
|
65
65
|
* Upload build caches to remote registries.
|
|
66
66
|
*/
|
|
67
|
-
registry?: pulumi.Input<inputs.CacheFromRegistryArgs>;
|
|
67
|
+
registry?: pulumi.Input<inputs.CacheFromRegistryArgs | undefined>;
|
|
68
68
|
/**
|
|
69
69
|
* Upload build caches to AWS S3 or an S3-compatible services such as
|
|
70
70
|
* MinIO.
|
|
71
71
|
*/
|
|
72
|
-
s3?: pulumi.Input<inputs.CacheFromS3Args>;
|
|
72
|
+
s3?: pulumi.Input<inputs.CacheFromS3Args | undefined>;
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
75
|
* cacheFromArgsProvideDefaults sets the appropriate defaults for CacheFromArgs
|
|
@@ -79,7 +79,7 @@ export interface CacheFromAzureBlobArgs {
|
|
|
79
79
|
/**
|
|
80
80
|
* Base URL of the storage account.
|
|
81
81
|
*/
|
|
82
|
-
accountUrl?: pulumi.Input<string>;
|
|
82
|
+
accountUrl?: pulumi.Input<string | undefined>;
|
|
83
83
|
/**
|
|
84
84
|
* The name of the cache image.
|
|
85
85
|
*/
|
|
@@ -87,7 +87,7 @@ export interface CacheFromAzureBlobArgs {
|
|
|
87
87
|
/**
|
|
88
88
|
* Blob storage account key.
|
|
89
89
|
*/
|
|
90
|
-
secretAccessKey?: pulumi.Input<string>;
|
|
90
|
+
secretAccessKey?: pulumi.Input<string | undefined>;
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
93
|
* Recommended for use with GitHub Actions workflows.
|
|
@@ -102,7 +102,7 @@ export interface CacheFromGitHubActionsArgs {
|
|
|
102
102
|
* This should be set if building and caching multiple images in one
|
|
103
103
|
* workflow, otherwise caches will overwrite each other.
|
|
104
104
|
*/
|
|
105
|
-
scope?: pulumi.Input<string>;
|
|
105
|
+
scope?: pulumi.Input<string | undefined>;
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
108
|
* cacheFromGitHubActionsArgsProvideDefaults sets the appropriate defaults for CacheFromGitHubActionsArgs
|
|
@@ -112,7 +112,7 @@ export interface CacheFromLocalArgs {
|
|
|
112
112
|
/**
|
|
113
113
|
* Digest of manifest to import.
|
|
114
114
|
*/
|
|
115
|
-
digest?: pulumi.Input<string>;
|
|
115
|
+
digest?: pulumi.Input<string | undefined>;
|
|
116
116
|
/**
|
|
117
117
|
* Path of the local directory where cache gets imported from.
|
|
118
118
|
*/
|
|
@@ -128,11 +128,11 @@ export interface CacheFromS3Args {
|
|
|
128
128
|
/**
|
|
129
129
|
* Defaults to `$AWS_ACCESS_KEY_ID`.
|
|
130
130
|
*/
|
|
131
|
-
accessKeyId?: pulumi.Input<string>;
|
|
131
|
+
accessKeyId?: pulumi.Input<string | undefined>;
|
|
132
132
|
/**
|
|
133
133
|
* Prefix to prepend to blob filenames.
|
|
134
134
|
*/
|
|
135
|
-
blobsPrefix?: pulumi.Input<string>;
|
|
135
|
+
blobsPrefix?: pulumi.Input<string | undefined>;
|
|
136
136
|
/**
|
|
137
137
|
* Name of the S3 bucket.
|
|
138
138
|
*/
|
|
@@ -140,15 +140,15 @@ export interface CacheFromS3Args {
|
|
|
140
140
|
/**
|
|
141
141
|
* Endpoint of the S3 bucket.
|
|
142
142
|
*/
|
|
143
|
-
endpointUrl?: pulumi.Input<string>;
|
|
143
|
+
endpointUrl?: pulumi.Input<string | undefined>;
|
|
144
144
|
/**
|
|
145
145
|
* Prefix to prepend on manifest filenames.
|
|
146
146
|
*/
|
|
147
|
-
manifestsPrefix?: pulumi.Input<string>;
|
|
147
|
+
manifestsPrefix?: pulumi.Input<string | undefined>;
|
|
148
148
|
/**
|
|
149
149
|
* Name of the cache image.
|
|
150
150
|
*/
|
|
151
|
-
name?: pulumi.Input<string>;
|
|
151
|
+
name?: pulumi.Input<string | undefined>;
|
|
152
152
|
/**
|
|
153
153
|
* The geographic location of the bucket. Defaults to `$AWS_REGION`.
|
|
154
154
|
*/
|
|
@@ -156,15 +156,15 @@ export interface CacheFromS3Args {
|
|
|
156
156
|
/**
|
|
157
157
|
* Defaults to `$AWS_SECRET_ACCESS_KEY`.
|
|
158
158
|
*/
|
|
159
|
-
secretAccessKey?: pulumi.Input<string>;
|
|
159
|
+
secretAccessKey?: pulumi.Input<string | undefined>;
|
|
160
160
|
/**
|
|
161
161
|
* Defaults to `$AWS_SESSION_TOKEN`.
|
|
162
162
|
*/
|
|
163
|
-
sessionToken?: pulumi.Input<string>;
|
|
163
|
+
sessionToken?: pulumi.Input<string | undefined>;
|
|
164
164
|
/**
|
|
165
165
|
* Uses `bucket` in the URL instead of hostname when `true`.
|
|
166
166
|
*/
|
|
167
|
-
usePathStyle?: pulumi.Input<boolean>;
|
|
167
|
+
usePathStyle?: pulumi.Input<boolean | undefined>;
|
|
168
168
|
}
|
|
169
169
|
/**
|
|
170
170
|
* cacheFromS3ArgsProvideDefaults sets the appropriate defaults for CacheFromS3Args
|
|
@@ -174,42 +174,42 @@ export interface CacheToArgs {
|
|
|
174
174
|
/**
|
|
175
175
|
* Push cache to Azure's blob storage service.
|
|
176
176
|
*/
|
|
177
|
-
azblob?: pulumi.Input<inputs.CacheToAzureBlobArgs>;
|
|
177
|
+
azblob?: pulumi.Input<inputs.CacheToAzureBlobArgs | undefined>;
|
|
178
178
|
/**
|
|
179
179
|
* When `true` this entry will be excluded. Defaults to `false`.
|
|
180
180
|
*/
|
|
181
|
-
disabled?: pulumi.Input<boolean>;
|
|
181
|
+
disabled?: pulumi.Input<boolean | undefined>;
|
|
182
182
|
/**
|
|
183
183
|
* Recommended for use with GitHub Actions workflows.
|
|
184
184
|
*
|
|
185
185
|
* An action like `crazy-max/ghaction-github-runtime` is recommended to
|
|
186
186
|
* expose appropriate credentials to your GitHub workflow.
|
|
187
187
|
*/
|
|
188
|
-
gha?: pulumi.Input<inputs.CacheToGitHubActionsArgs>;
|
|
188
|
+
gha?: pulumi.Input<inputs.CacheToGitHubActionsArgs | undefined>;
|
|
189
189
|
/**
|
|
190
190
|
* The inline cache storage backend is the simplest implementation to get
|
|
191
191
|
* started with, but it does not handle multi-stage builds. Consider the
|
|
192
192
|
* `registry` cache backend instead.
|
|
193
193
|
*/
|
|
194
|
-
inline?: pulumi.Input<inputs.CacheToInlineArgs>;
|
|
194
|
+
inline?: pulumi.Input<inputs.CacheToInlineArgs | undefined>;
|
|
195
195
|
/**
|
|
196
196
|
* A simple backend which caches imagines on your local filesystem.
|
|
197
197
|
*/
|
|
198
|
-
local?: pulumi.Input<inputs.CacheToLocalArgs>;
|
|
198
|
+
local?: pulumi.Input<inputs.CacheToLocalArgs | undefined>;
|
|
199
199
|
/**
|
|
200
200
|
* A raw string as you would provide it to the Docker CLI (e.g.,
|
|
201
201
|
* `type=inline`)
|
|
202
202
|
*/
|
|
203
|
-
raw?: pulumi.Input<string>;
|
|
203
|
+
raw?: pulumi.Input<string | undefined>;
|
|
204
204
|
/**
|
|
205
205
|
* Push caches to remote registries. Incompatible with the `docker` build
|
|
206
206
|
* driver.
|
|
207
207
|
*/
|
|
208
|
-
registry?: pulumi.Input<inputs.CacheToRegistryArgs>;
|
|
208
|
+
registry?: pulumi.Input<inputs.CacheToRegistryArgs | undefined>;
|
|
209
209
|
/**
|
|
210
210
|
* Push cache to AWS S3 or S3-compatible services such as MinIO.
|
|
211
211
|
*/
|
|
212
|
-
s3?: pulumi.Input<inputs.CacheToS3Args>;
|
|
212
|
+
s3?: pulumi.Input<inputs.CacheToS3Args | undefined>;
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
215
|
* cacheToArgsProvideDefaults sets the appropriate defaults for CacheToArgs
|
|
@@ -219,15 +219,15 @@ export interface CacheToAzureBlobArgs {
|
|
|
219
219
|
/**
|
|
220
220
|
* Base URL of the storage account.
|
|
221
221
|
*/
|
|
222
|
-
accountUrl?: pulumi.Input<string>;
|
|
222
|
+
accountUrl?: pulumi.Input<string | undefined>;
|
|
223
223
|
/**
|
|
224
224
|
* Ignore errors caused by failed cache exports.
|
|
225
225
|
*/
|
|
226
|
-
ignoreError?: pulumi.Input<boolean>;
|
|
226
|
+
ignoreError?: pulumi.Input<boolean | undefined>;
|
|
227
227
|
/**
|
|
228
228
|
* The cache mode to use. Defaults to `min`.
|
|
229
229
|
*/
|
|
230
|
-
mode?: pulumi.Input<enums.CacheMode>;
|
|
230
|
+
mode?: pulumi.Input<enums.CacheMode | undefined>;
|
|
231
231
|
/**
|
|
232
232
|
* The name of the cache image.
|
|
233
233
|
*/
|
|
@@ -235,7 +235,7 @@ export interface CacheToAzureBlobArgs {
|
|
|
235
235
|
/**
|
|
236
236
|
* Blob storage account key.
|
|
237
237
|
*/
|
|
238
|
-
secretAccessKey?: pulumi.Input<string>;
|
|
238
|
+
secretAccessKey?: pulumi.Input<string | undefined>;
|
|
239
239
|
}
|
|
240
240
|
/**
|
|
241
241
|
* cacheToAzureBlobArgsProvideDefaults sets the appropriate defaults for CacheToAzureBlobArgs
|
|
@@ -251,18 +251,18 @@ export interface CacheToGitHubActionsArgs {
|
|
|
251
251
|
/**
|
|
252
252
|
* Ignore errors caused by failed cache exports.
|
|
253
253
|
*/
|
|
254
|
-
ignoreError?: pulumi.Input<boolean>;
|
|
254
|
+
ignoreError?: pulumi.Input<boolean | undefined>;
|
|
255
255
|
/**
|
|
256
256
|
* The cache mode to use. Defaults to `min`.
|
|
257
257
|
*/
|
|
258
|
-
mode?: pulumi.Input<enums.CacheMode>;
|
|
258
|
+
mode?: pulumi.Input<enums.CacheMode | undefined>;
|
|
259
259
|
/**
|
|
260
260
|
* The scope to use for cache keys. Defaults to `buildkit`.
|
|
261
261
|
*
|
|
262
262
|
* This should be set if building and caching multiple images in one
|
|
263
263
|
* workflow, otherwise caches will overwrite each other.
|
|
264
264
|
*/
|
|
265
|
-
scope?: pulumi.Input<string>;
|
|
265
|
+
scope?: pulumi.Input<string | undefined>;
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
268
|
* cacheToGitHubActionsArgsProvideDefaults sets the appropriate defaults for CacheToGitHubActionsArgs
|
|
@@ -277,11 +277,11 @@ export interface CacheToLocalArgs {
|
|
|
277
277
|
/**
|
|
278
278
|
* The compression type to use.
|
|
279
279
|
*/
|
|
280
|
-
compression?: pulumi.Input<enums.CompressionType>;
|
|
280
|
+
compression?: pulumi.Input<enums.CompressionType | undefined>;
|
|
281
281
|
/**
|
|
282
282
|
* Compression level from 0 to 22.
|
|
283
283
|
*/
|
|
284
|
-
compressionLevel?: pulumi.Input<number>;
|
|
284
|
+
compressionLevel?: pulumi.Input<number | undefined>;
|
|
285
285
|
/**
|
|
286
286
|
* Path of the local directory to export the cache.
|
|
287
287
|
*/
|
|
@@ -289,15 +289,15 @@ export interface CacheToLocalArgs {
|
|
|
289
289
|
/**
|
|
290
290
|
* Forcefully apply compression.
|
|
291
291
|
*/
|
|
292
|
-
forceCompression?: pulumi.Input<boolean>;
|
|
292
|
+
forceCompression?: pulumi.Input<boolean | undefined>;
|
|
293
293
|
/**
|
|
294
294
|
* Ignore errors caused by failed cache exports.
|
|
295
295
|
*/
|
|
296
|
-
ignoreError?: pulumi.Input<boolean>;
|
|
296
|
+
ignoreError?: pulumi.Input<boolean | undefined>;
|
|
297
297
|
/**
|
|
298
298
|
* The cache mode to use. Defaults to `min`.
|
|
299
299
|
*/
|
|
300
|
-
mode?: pulumi.Input<enums.CacheMode>;
|
|
300
|
+
mode?: pulumi.Input<enums.CacheMode | undefined>;
|
|
301
301
|
}
|
|
302
302
|
/**
|
|
303
303
|
* cacheToLocalArgsProvideDefaults sets the appropriate defaults for CacheToLocalArgs
|
|
@@ -307,19 +307,19 @@ export interface CacheToRegistryArgs {
|
|
|
307
307
|
/**
|
|
308
308
|
* The compression type to use.
|
|
309
309
|
*/
|
|
310
|
-
compression?: pulumi.Input<enums.CompressionType>;
|
|
310
|
+
compression?: pulumi.Input<enums.CompressionType | undefined>;
|
|
311
311
|
/**
|
|
312
312
|
* Compression level from 0 to 22.
|
|
313
313
|
*/
|
|
314
|
-
compressionLevel?: pulumi.Input<number>;
|
|
314
|
+
compressionLevel?: pulumi.Input<number | undefined>;
|
|
315
315
|
/**
|
|
316
316
|
* Forcefully apply compression.
|
|
317
317
|
*/
|
|
318
|
-
forceCompression?: pulumi.Input<boolean>;
|
|
318
|
+
forceCompression?: pulumi.Input<boolean | undefined>;
|
|
319
319
|
/**
|
|
320
320
|
* Ignore errors caused by failed cache exports.
|
|
321
321
|
*/
|
|
322
|
-
ignoreError?: pulumi.Input<boolean>;
|
|
322
|
+
ignoreError?: pulumi.Input<boolean | undefined>;
|
|
323
323
|
/**
|
|
324
324
|
* Export cache manifest as an OCI-compatible image manifest instead of a
|
|
325
325
|
* manifest list. Requires `ociMediaTypes` to also be `true`.
|
|
@@ -329,16 +329,16 @@ export interface CacheToRegistryArgs {
|
|
|
329
329
|
*
|
|
330
330
|
* Defaults to `false` to match Docker's default behavior.
|
|
331
331
|
*/
|
|
332
|
-
imageManifest?: pulumi.Input<boolean>;
|
|
332
|
+
imageManifest?: pulumi.Input<boolean | undefined>;
|
|
333
333
|
/**
|
|
334
334
|
* The cache mode to use. Defaults to `min`.
|
|
335
335
|
*/
|
|
336
|
-
mode?: pulumi.Input<enums.CacheMode>;
|
|
336
|
+
mode?: pulumi.Input<enums.CacheMode | undefined>;
|
|
337
337
|
/**
|
|
338
338
|
* Whether to use OCI media types in exported manifests. Defaults to
|
|
339
339
|
* `true`.
|
|
340
340
|
*/
|
|
341
|
-
ociMediaTypes?: pulumi.Input<boolean>;
|
|
341
|
+
ociMediaTypes?: pulumi.Input<boolean | undefined>;
|
|
342
342
|
/**
|
|
343
343
|
* Fully qualified name of the cache image to import.
|
|
344
344
|
*/
|
|
@@ -352,11 +352,11 @@ export interface CacheToS3Args {
|
|
|
352
352
|
/**
|
|
353
353
|
* Defaults to `$AWS_ACCESS_KEY_ID`.
|
|
354
354
|
*/
|
|
355
|
-
accessKeyId?: pulumi.Input<string>;
|
|
355
|
+
accessKeyId?: pulumi.Input<string | undefined>;
|
|
356
356
|
/**
|
|
357
357
|
* Prefix to prepend to blob filenames.
|
|
358
358
|
*/
|
|
359
|
-
blobsPrefix?: pulumi.Input<string>;
|
|
359
|
+
blobsPrefix?: pulumi.Input<string | undefined>;
|
|
360
360
|
/**
|
|
361
361
|
* Name of the S3 bucket.
|
|
362
362
|
*/
|
|
@@ -364,23 +364,23 @@ export interface CacheToS3Args {
|
|
|
364
364
|
/**
|
|
365
365
|
* Endpoint of the S3 bucket.
|
|
366
366
|
*/
|
|
367
|
-
endpointUrl?: pulumi.Input<string>;
|
|
367
|
+
endpointUrl?: pulumi.Input<string | undefined>;
|
|
368
368
|
/**
|
|
369
369
|
* Ignore errors caused by failed cache exports.
|
|
370
370
|
*/
|
|
371
|
-
ignoreError?: pulumi.Input<boolean>;
|
|
371
|
+
ignoreError?: pulumi.Input<boolean | undefined>;
|
|
372
372
|
/**
|
|
373
373
|
* Prefix to prepend on manifest filenames.
|
|
374
374
|
*/
|
|
375
|
-
manifestsPrefix?: pulumi.Input<string>;
|
|
375
|
+
manifestsPrefix?: pulumi.Input<string | undefined>;
|
|
376
376
|
/**
|
|
377
377
|
* The cache mode to use. Defaults to `min`.
|
|
378
378
|
*/
|
|
379
|
-
mode?: pulumi.Input<enums.CacheMode>;
|
|
379
|
+
mode?: pulumi.Input<enums.CacheMode | undefined>;
|
|
380
380
|
/**
|
|
381
381
|
* Name of the cache image.
|
|
382
382
|
*/
|
|
383
|
-
name?: pulumi.Input<string>;
|
|
383
|
+
name?: pulumi.Input<string | undefined>;
|
|
384
384
|
/**
|
|
385
385
|
* The geographic location of the bucket. Defaults to `$AWS_REGION`.
|
|
386
386
|
*/
|
|
@@ -388,15 +388,15 @@ export interface CacheToS3Args {
|
|
|
388
388
|
/**
|
|
389
389
|
* Defaults to `$AWS_SECRET_ACCESS_KEY`.
|
|
390
390
|
*/
|
|
391
|
-
secretAccessKey?: pulumi.Input<string>;
|
|
391
|
+
secretAccessKey?: pulumi.Input<string | undefined>;
|
|
392
392
|
/**
|
|
393
393
|
* Defaults to `$AWS_SESSION_TOKEN`.
|
|
394
394
|
*/
|
|
395
|
-
sessionToken?: pulumi.Input<string>;
|
|
395
|
+
sessionToken?: pulumi.Input<string | undefined>;
|
|
396
396
|
/**
|
|
397
397
|
* Uses `bucket` in the URL instead of hostname when `true`.
|
|
398
398
|
*/
|
|
399
|
-
usePathStyle?: pulumi.Input<boolean>;
|
|
399
|
+
usePathStyle?: pulumi.Input<boolean | undefined>;
|
|
400
400
|
}
|
|
401
401
|
/**
|
|
402
402
|
* cacheToS3ArgsProvideDefaults sets the appropriate defaults for CacheToS3Args
|
|
@@ -423,7 +423,7 @@ export interface DockerfileArgs {
|
|
|
423
423
|
*
|
|
424
424
|
* Equivalent to invoking Docker with `-f -`.
|
|
425
425
|
*/
|
|
426
|
-
inline?: pulumi.Input<string>;
|
|
426
|
+
inline?: pulumi.Input<string | undefined>;
|
|
427
427
|
/**
|
|
428
428
|
* Location of the Dockerfile to use.
|
|
429
429
|
*
|
|
@@ -433,47 +433,47 @@ export interface DockerfileArgs {
|
|
|
433
433
|
*
|
|
434
434
|
* Conflicts with `inline`.
|
|
435
435
|
*/
|
|
436
|
-
location?: pulumi.Input<string>;
|
|
436
|
+
location?: pulumi.Input<string | undefined>;
|
|
437
437
|
}
|
|
438
438
|
export interface ExportArgs {
|
|
439
439
|
/**
|
|
440
440
|
* A no-op export. Helpful for silencing the 'no exports' warning if you
|
|
441
441
|
* just want to populate caches.
|
|
442
442
|
*/
|
|
443
|
-
cacheonly?: pulumi.Input<inputs.ExportCacheOnlyArgs>;
|
|
443
|
+
cacheonly?: pulumi.Input<inputs.ExportCacheOnlyArgs | undefined>;
|
|
444
444
|
/**
|
|
445
445
|
* When `true` this entry will be excluded. Defaults to `false`.
|
|
446
446
|
*/
|
|
447
|
-
disabled?: pulumi.Input<boolean>;
|
|
447
|
+
disabled?: pulumi.Input<boolean | undefined>;
|
|
448
448
|
/**
|
|
449
449
|
* Export as a Docker image layout.
|
|
450
450
|
*/
|
|
451
|
-
docker?: pulumi.Input<inputs.ExportDockerArgs>;
|
|
451
|
+
docker?: pulumi.Input<inputs.ExportDockerArgs | undefined>;
|
|
452
452
|
/**
|
|
453
453
|
* Outputs the build result into a container image format.
|
|
454
454
|
*/
|
|
455
|
-
image?: pulumi.Input<inputs.ExportImageArgs>;
|
|
455
|
+
image?: pulumi.Input<inputs.ExportImageArgs | undefined>;
|
|
456
456
|
/**
|
|
457
457
|
* Export to a local directory as files and directories.
|
|
458
458
|
*/
|
|
459
|
-
local?: pulumi.Input<inputs.ExportLocalArgs>;
|
|
459
|
+
local?: pulumi.Input<inputs.ExportLocalArgs | undefined>;
|
|
460
460
|
/**
|
|
461
461
|
* Identical to the Docker exporter but uses OCI media types by default.
|
|
462
462
|
*/
|
|
463
|
-
oci?: pulumi.Input<inputs.ExportOCIArgs>;
|
|
463
|
+
oci?: pulumi.Input<inputs.ExportOCIArgs | undefined>;
|
|
464
464
|
/**
|
|
465
465
|
* A raw string as you would provide it to the Docker CLI (e.g.,
|
|
466
466
|
* `type=docker`)
|
|
467
467
|
*/
|
|
468
|
-
raw?: pulumi.Input<string>;
|
|
468
|
+
raw?: pulumi.Input<string | undefined>;
|
|
469
469
|
/**
|
|
470
470
|
* Identical to the Image exporter, but pushes by default.
|
|
471
471
|
*/
|
|
472
|
-
registry?: pulumi.Input<inputs.ExportRegistryArgs>;
|
|
472
|
+
registry?: pulumi.Input<inputs.ExportRegistryArgs | undefined>;
|
|
473
473
|
/**
|
|
474
474
|
* Export to a local directory as a tarball.
|
|
475
475
|
*/
|
|
476
|
-
tar?: pulumi.Input<inputs.ExportTarArgs>;
|
|
476
|
+
tar?: pulumi.Input<inputs.ExportTarArgs | undefined>;
|
|
477
477
|
}
|
|
478
478
|
/**
|
|
479
479
|
* exportArgsProvideDefaults sets the appropriate defaults for ExportArgs
|
|
@@ -487,35 +487,35 @@ export interface ExportDockerArgs {
|
|
|
487
487
|
*/
|
|
488
488
|
annotations?: pulumi.Input<{
|
|
489
489
|
[key: string]: pulumi.Input<string>;
|
|
490
|
-
}>;
|
|
490
|
+
} | undefined>;
|
|
491
491
|
/**
|
|
492
492
|
* The compression type to use.
|
|
493
493
|
*/
|
|
494
|
-
compression?: pulumi.Input<enums.CompressionType>;
|
|
494
|
+
compression?: pulumi.Input<enums.CompressionType | undefined>;
|
|
495
495
|
/**
|
|
496
496
|
* Compression level from 0 to 22.
|
|
497
497
|
*/
|
|
498
|
-
compressionLevel?: pulumi.Input<number>;
|
|
498
|
+
compressionLevel?: pulumi.Input<number | undefined>;
|
|
499
499
|
/**
|
|
500
500
|
* The local export path.
|
|
501
501
|
*/
|
|
502
|
-
dest?: pulumi.Input<string>;
|
|
502
|
+
dest?: pulumi.Input<string | undefined>;
|
|
503
503
|
/**
|
|
504
504
|
* Forcefully apply compression.
|
|
505
505
|
*/
|
|
506
|
-
forceCompression?: pulumi.Input<boolean>;
|
|
506
|
+
forceCompression?: pulumi.Input<boolean | undefined>;
|
|
507
507
|
/**
|
|
508
508
|
* Specify images names to export. This is overridden if tags are already specified.
|
|
509
509
|
*/
|
|
510
|
-
names?: pulumi.Input<pulumi.Input<string>[]>;
|
|
510
|
+
names?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
511
511
|
/**
|
|
512
512
|
* Use OCI media types in exporter manifests.
|
|
513
513
|
*/
|
|
514
|
-
ociMediaTypes?: pulumi.Input<boolean>;
|
|
514
|
+
ociMediaTypes?: pulumi.Input<boolean | undefined>;
|
|
515
515
|
/**
|
|
516
516
|
* Bundle the output into a tarball layout.
|
|
517
517
|
*/
|
|
518
|
-
tar?: pulumi.Input<boolean>;
|
|
518
|
+
tar?: pulumi.Input<boolean | undefined>;
|
|
519
519
|
}
|
|
520
520
|
/**
|
|
521
521
|
* exportDockerArgsProvideDefaults sets the appropriate defaults for ExportDockerArgs
|
|
@@ -527,47 +527,47 @@ export interface ExportImageArgs {
|
|
|
527
527
|
*/
|
|
528
528
|
annotations?: pulumi.Input<{
|
|
529
529
|
[key: string]: pulumi.Input<string>;
|
|
530
|
-
}>;
|
|
530
|
+
} | undefined>;
|
|
531
531
|
/**
|
|
532
532
|
* The compression type to use.
|
|
533
533
|
*/
|
|
534
|
-
compression?: pulumi.Input<enums.CompressionType>;
|
|
534
|
+
compression?: pulumi.Input<enums.CompressionType | undefined>;
|
|
535
535
|
/**
|
|
536
536
|
* Compression level from 0 to 22.
|
|
537
537
|
*/
|
|
538
|
-
compressionLevel?: pulumi.Input<number>;
|
|
538
|
+
compressionLevel?: pulumi.Input<number | undefined>;
|
|
539
539
|
/**
|
|
540
540
|
* Name image with `prefix@<digest>`, used for anonymous images.
|
|
541
541
|
*/
|
|
542
|
-
danglingNamePrefix?: pulumi.Input<string>;
|
|
542
|
+
danglingNamePrefix?: pulumi.Input<string | undefined>;
|
|
543
543
|
/**
|
|
544
544
|
* Forcefully apply compression.
|
|
545
545
|
*/
|
|
546
|
-
forceCompression?: pulumi.Input<boolean>;
|
|
546
|
+
forceCompression?: pulumi.Input<boolean | undefined>;
|
|
547
547
|
/**
|
|
548
548
|
* Allow pushing to an insecure registry.
|
|
549
549
|
*/
|
|
550
|
-
insecure?: pulumi.Input<boolean>;
|
|
550
|
+
insecure?: pulumi.Input<boolean | undefined>;
|
|
551
551
|
/**
|
|
552
552
|
* Add additional canonical name (`name@<digest>`).
|
|
553
553
|
*/
|
|
554
|
-
nameCanonical?: pulumi.Input<boolean>;
|
|
554
|
+
nameCanonical?: pulumi.Input<boolean | undefined>;
|
|
555
555
|
/**
|
|
556
556
|
* Specify images names to export. This is overridden if tags are already specified.
|
|
557
557
|
*/
|
|
558
|
-
names?: pulumi.Input<pulumi.Input<string>[]>;
|
|
558
|
+
names?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
559
559
|
/**
|
|
560
560
|
* Use OCI media types in exporter manifests.
|
|
561
561
|
*/
|
|
562
|
-
ociMediaTypes?: pulumi.Input<boolean>;
|
|
562
|
+
ociMediaTypes?: pulumi.Input<boolean | undefined>;
|
|
563
563
|
/**
|
|
564
564
|
* Push after creating the image. Defaults to `false`.
|
|
565
565
|
*/
|
|
566
|
-
push?: pulumi.Input<boolean>;
|
|
566
|
+
push?: pulumi.Input<boolean | undefined>;
|
|
567
567
|
/**
|
|
568
568
|
* Push image without name.
|
|
569
569
|
*/
|
|
570
|
-
pushByDigest?: pulumi.Input<boolean>;
|
|
570
|
+
pushByDigest?: pulumi.Input<boolean | undefined>;
|
|
571
571
|
/**
|
|
572
572
|
* Store resulting images to the worker's image store and ensure all of
|
|
573
573
|
* its blobs are in the content store.
|
|
@@ -577,12 +577,12 @@ export interface ExportImageArgs {
|
|
|
577
577
|
* Ignored if the worker doesn't have image store (when using OCI workers,
|
|
578
578
|
* for example).
|
|
579
579
|
*/
|
|
580
|
-
store?: pulumi.Input<boolean>;
|
|
580
|
+
store?: pulumi.Input<boolean | undefined>;
|
|
581
581
|
/**
|
|
582
582
|
* Unpack image after creation (for use with containerd). Defaults to
|
|
583
583
|
* `false`.
|
|
584
584
|
*/
|
|
585
|
-
unpack?: pulumi.Input<boolean>;
|
|
585
|
+
unpack?: pulumi.Input<boolean | undefined>;
|
|
586
586
|
}
|
|
587
587
|
/**
|
|
588
588
|
* exportImageArgsProvideDefaults sets the appropriate defaults for ExportImageArgs
|
|
@@ -600,35 +600,35 @@ export interface ExportOCIArgs {
|
|
|
600
600
|
*/
|
|
601
601
|
annotations?: pulumi.Input<{
|
|
602
602
|
[key: string]: pulumi.Input<string>;
|
|
603
|
-
}>;
|
|
603
|
+
} | undefined>;
|
|
604
604
|
/**
|
|
605
605
|
* The compression type to use.
|
|
606
606
|
*/
|
|
607
|
-
compression?: pulumi.Input<enums.CompressionType>;
|
|
607
|
+
compression?: pulumi.Input<enums.CompressionType | undefined>;
|
|
608
608
|
/**
|
|
609
609
|
* Compression level from 0 to 22.
|
|
610
610
|
*/
|
|
611
|
-
compressionLevel?: pulumi.Input<number>;
|
|
611
|
+
compressionLevel?: pulumi.Input<number | undefined>;
|
|
612
612
|
/**
|
|
613
613
|
* The local export path.
|
|
614
614
|
*/
|
|
615
|
-
dest?: pulumi.Input<string>;
|
|
615
|
+
dest?: pulumi.Input<string | undefined>;
|
|
616
616
|
/**
|
|
617
617
|
* Forcefully apply compression.
|
|
618
618
|
*/
|
|
619
|
-
forceCompression?: pulumi.Input<boolean>;
|
|
619
|
+
forceCompression?: pulumi.Input<boolean | undefined>;
|
|
620
620
|
/**
|
|
621
621
|
* Specify images names to export. This is overridden if tags are already specified.
|
|
622
622
|
*/
|
|
623
|
-
names?: pulumi.Input<pulumi.Input<string>[]>;
|
|
623
|
+
names?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
624
624
|
/**
|
|
625
625
|
* Use OCI media types in exporter manifests.
|
|
626
626
|
*/
|
|
627
|
-
ociMediaTypes?: pulumi.Input<boolean>;
|
|
627
|
+
ociMediaTypes?: pulumi.Input<boolean | undefined>;
|
|
628
628
|
/**
|
|
629
629
|
* Bundle the output into a tarball layout.
|
|
630
630
|
*/
|
|
631
|
-
tar?: pulumi.Input<boolean>;
|
|
631
|
+
tar?: pulumi.Input<boolean | undefined>;
|
|
632
632
|
}
|
|
633
633
|
/**
|
|
634
634
|
* exportOCIArgsProvideDefaults sets the appropriate defaults for ExportOCIArgs
|
|
@@ -640,47 +640,47 @@ export interface ExportRegistryArgs {
|
|
|
640
640
|
*/
|
|
641
641
|
annotations?: pulumi.Input<{
|
|
642
642
|
[key: string]: pulumi.Input<string>;
|
|
643
|
-
}>;
|
|
643
|
+
} | undefined>;
|
|
644
644
|
/**
|
|
645
645
|
* The compression type to use.
|
|
646
646
|
*/
|
|
647
|
-
compression?: pulumi.Input<enums.CompressionType>;
|
|
647
|
+
compression?: pulumi.Input<enums.CompressionType | undefined>;
|
|
648
648
|
/**
|
|
649
649
|
* Compression level from 0 to 22.
|
|
650
650
|
*/
|
|
651
|
-
compressionLevel?: pulumi.Input<number>;
|
|
651
|
+
compressionLevel?: pulumi.Input<number | undefined>;
|
|
652
652
|
/**
|
|
653
653
|
* Name image with `prefix@<digest>`, used for anonymous images.
|
|
654
654
|
*/
|
|
655
|
-
danglingNamePrefix?: pulumi.Input<string>;
|
|
655
|
+
danglingNamePrefix?: pulumi.Input<string | undefined>;
|
|
656
656
|
/**
|
|
657
657
|
* Forcefully apply compression.
|
|
658
658
|
*/
|
|
659
|
-
forceCompression?: pulumi.Input<boolean>;
|
|
659
|
+
forceCompression?: pulumi.Input<boolean | undefined>;
|
|
660
660
|
/**
|
|
661
661
|
* Allow pushing to an insecure registry.
|
|
662
662
|
*/
|
|
663
|
-
insecure?: pulumi.Input<boolean>;
|
|
663
|
+
insecure?: pulumi.Input<boolean | undefined>;
|
|
664
664
|
/**
|
|
665
665
|
* Add additional canonical name (`name@<digest>`).
|
|
666
666
|
*/
|
|
667
|
-
nameCanonical?: pulumi.Input<boolean>;
|
|
667
|
+
nameCanonical?: pulumi.Input<boolean | undefined>;
|
|
668
668
|
/**
|
|
669
669
|
* Specify images names to export. This is overridden if tags are already specified.
|
|
670
670
|
*/
|
|
671
|
-
names?: pulumi.Input<pulumi.Input<string>[]>;
|
|
671
|
+
names?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
672
672
|
/**
|
|
673
673
|
* Use OCI media types in exporter manifests.
|
|
674
674
|
*/
|
|
675
|
-
ociMediaTypes?: pulumi.Input<boolean>;
|
|
675
|
+
ociMediaTypes?: pulumi.Input<boolean | undefined>;
|
|
676
676
|
/**
|
|
677
677
|
* Push after creating the image. Defaults to `true`.
|
|
678
678
|
*/
|
|
679
|
-
push?: pulumi.Input<boolean>;
|
|
679
|
+
push?: pulumi.Input<boolean | undefined>;
|
|
680
680
|
/**
|
|
681
681
|
* Push image without name.
|
|
682
682
|
*/
|
|
683
|
-
pushByDigest?: pulumi.Input<boolean>;
|
|
683
|
+
pushByDigest?: pulumi.Input<boolean | undefined>;
|
|
684
684
|
/**
|
|
685
685
|
* Store resulting images to the worker's image store and ensure all of
|
|
686
686
|
* its blobs are in the content store.
|
|
@@ -690,12 +690,12 @@ export interface ExportRegistryArgs {
|
|
|
690
690
|
* Ignored if the worker doesn't have image store (when using OCI workers,
|
|
691
691
|
* for example).
|
|
692
692
|
*/
|
|
693
|
-
store?: pulumi.Input<boolean>;
|
|
693
|
+
store?: pulumi.Input<boolean | undefined>;
|
|
694
694
|
/**
|
|
695
695
|
* Unpack image after creation (for use with containerd). Defaults to
|
|
696
696
|
* `false`.
|
|
697
697
|
*/
|
|
698
|
-
unpack?: pulumi.Input<boolean>;
|
|
698
|
+
unpack?: pulumi.Input<boolean | undefined>;
|
|
699
699
|
}
|
|
700
700
|
/**
|
|
701
701
|
* exportRegistryArgsProvideDefaults sets the appropriate defaults for ExportRegistryArgs
|
|
@@ -715,11 +715,11 @@ export interface RegistryArgs {
|
|
|
715
715
|
/**
|
|
716
716
|
* Password or token for the registry.
|
|
717
717
|
*/
|
|
718
|
-
password?: pulumi.Input<string>;
|
|
718
|
+
password?: pulumi.Input<string | undefined>;
|
|
719
719
|
/**
|
|
720
720
|
* Username for the registry.
|
|
721
721
|
*/
|
|
722
|
-
username?: pulumi.Input<string>;
|
|
722
|
+
username?: pulumi.Input<string | undefined>;
|
|
723
723
|
}
|
|
724
724
|
export interface SSHArgs {
|
|
725
725
|
/**
|
|
@@ -739,5 +739,6 @@ export interface SSHArgs {
|
|
|
739
739
|
* agent. Run `ssh-add -l` locally to confirm which public keys are
|
|
740
740
|
* visible to the agent; these will be exposed to your build.
|
|
741
741
|
*/
|
|
742
|
-
paths?: pulumi.Input<pulumi.Input<string>[]>;
|
|
742
|
+
paths?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
743
743
|
}
|
|
744
|
+
//# sourceMappingURL=input.d.ts.map
|