@pulumi/docker-build 0.0.14 → 0.0.16-alpha.1778608014

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/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,8 +87,14 @@ 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
+ /**
93
+ * Recommended for use with GitHub Actions workflows.
94
+ *
95
+ * An action like `crazy-max/ghaction-github-runtime` is recommended to expose
96
+ * appropriate credentials to your GitHub workflow.
97
+ */
92
98
  export interface CacheFromGitHubActionsArgs {
93
99
  /**
94
100
  * The scope to use for cache keys. Defaults to `buildkit`.
@@ -96,24 +102,7 @@ export interface CacheFromGitHubActionsArgs {
96
102
  * This should be set if building and caching multiple images in one
97
103
  * workflow, otherwise caches will overwrite each other.
98
104
  */
99
- scope?: pulumi.Input<string>;
100
- /**
101
- * The GitHub Actions token to use. This is not a personal access tokens
102
- * and is typically generated automatically as part of each job.
103
- *
104
- * Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
105
- * `crazy-max/ghaction-github-runtime` is recommended to expose this
106
- * environment variable to your jobs.
107
- */
108
- token?: pulumi.Input<string>;
109
- /**
110
- * The cache server URL to use for artifacts.
111
- *
112
- * Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
113
- * `crazy-max/ghaction-github-runtime` is recommended to expose this
114
- * environment variable to your jobs.
115
- */
116
- url?: pulumi.Input<string>;
105
+ scope?: pulumi.Input<string | undefined>;
117
106
  }
118
107
  /**
119
108
  * cacheFromGitHubActionsArgsProvideDefaults sets the appropriate defaults for CacheFromGitHubActionsArgs
@@ -123,7 +112,7 @@ export interface CacheFromLocalArgs {
123
112
  /**
124
113
  * Digest of manifest to import.
125
114
  */
126
- digest?: pulumi.Input<string>;
115
+ digest?: pulumi.Input<string | undefined>;
127
116
  /**
128
117
  * Path of the local directory where cache gets imported from.
129
118
  */
@@ -139,11 +128,11 @@ export interface CacheFromS3Args {
139
128
  /**
140
129
  * Defaults to `$AWS_ACCESS_KEY_ID`.
141
130
  */
142
- accessKeyId?: pulumi.Input<string>;
131
+ accessKeyId?: pulumi.Input<string | undefined>;
143
132
  /**
144
133
  * Prefix to prepend to blob filenames.
145
134
  */
146
- blobsPrefix?: pulumi.Input<string>;
135
+ blobsPrefix?: pulumi.Input<string | undefined>;
147
136
  /**
148
137
  * Name of the S3 bucket.
149
138
  */
@@ -151,15 +140,15 @@ export interface CacheFromS3Args {
151
140
  /**
152
141
  * Endpoint of the S3 bucket.
153
142
  */
154
- endpointUrl?: pulumi.Input<string>;
143
+ endpointUrl?: pulumi.Input<string | undefined>;
155
144
  /**
156
145
  * Prefix to prepend on manifest filenames.
157
146
  */
158
- manifestsPrefix?: pulumi.Input<string>;
147
+ manifestsPrefix?: pulumi.Input<string | undefined>;
159
148
  /**
160
149
  * Name of the cache image.
161
150
  */
162
- name?: pulumi.Input<string>;
151
+ name?: pulumi.Input<string | undefined>;
163
152
  /**
164
153
  * The geographic location of the bucket. Defaults to `$AWS_REGION`.
165
154
  */
@@ -167,15 +156,15 @@ export interface CacheFromS3Args {
167
156
  /**
168
157
  * Defaults to `$AWS_SECRET_ACCESS_KEY`.
169
158
  */
170
- secretAccessKey?: pulumi.Input<string>;
159
+ secretAccessKey?: pulumi.Input<string | undefined>;
171
160
  /**
172
161
  * Defaults to `$AWS_SESSION_TOKEN`.
173
162
  */
174
- sessionToken?: pulumi.Input<string>;
163
+ sessionToken?: pulumi.Input<string | undefined>;
175
164
  /**
176
165
  * Uses `bucket` in the URL instead of hostname when `true`.
177
166
  */
178
- usePathStyle?: pulumi.Input<boolean>;
167
+ usePathStyle?: pulumi.Input<boolean | undefined>;
179
168
  }
180
169
  /**
181
170
  * cacheFromS3ArgsProvideDefaults sets the appropriate defaults for CacheFromS3Args
@@ -185,42 +174,42 @@ export interface CacheToArgs {
185
174
  /**
186
175
  * Push cache to Azure's blob storage service.
187
176
  */
188
- azblob?: pulumi.Input<inputs.CacheToAzureBlobArgs>;
177
+ azblob?: pulumi.Input<inputs.CacheToAzureBlobArgs | undefined>;
189
178
  /**
190
179
  * When `true` this entry will be excluded. Defaults to `false`.
191
180
  */
192
- disabled?: pulumi.Input<boolean>;
181
+ disabled?: pulumi.Input<boolean | undefined>;
193
182
  /**
194
183
  * Recommended for use with GitHub Actions workflows.
195
184
  *
196
185
  * An action like `crazy-max/ghaction-github-runtime` is recommended to
197
186
  * expose appropriate credentials to your GitHub workflow.
198
187
  */
199
- gha?: pulumi.Input<inputs.CacheToGitHubActionsArgs>;
188
+ gha?: pulumi.Input<inputs.CacheToGitHubActionsArgs | undefined>;
200
189
  /**
201
190
  * The inline cache storage backend is the simplest implementation to get
202
191
  * started with, but it does not handle multi-stage builds. Consider the
203
192
  * `registry` cache backend instead.
204
193
  */
205
- inline?: pulumi.Input<inputs.CacheToInlineArgs>;
194
+ inline?: pulumi.Input<inputs.CacheToInlineArgs | undefined>;
206
195
  /**
207
196
  * A simple backend which caches imagines on your local filesystem.
208
197
  */
209
- local?: pulumi.Input<inputs.CacheToLocalArgs>;
198
+ local?: pulumi.Input<inputs.CacheToLocalArgs | undefined>;
210
199
  /**
211
200
  * A raw string as you would provide it to the Docker CLI (e.g.,
212
201
  * `type=inline`)
213
202
  */
214
- raw?: pulumi.Input<string>;
203
+ raw?: pulumi.Input<string | undefined>;
215
204
  /**
216
205
  * Push caches to remote registries. Incompatible with the `docker` build
217
206
  * driver.
218
207
  */
219
- registry?: pulumi.Input<inputs.CacheToRegistryArgs>;
208
+ registry?: pulumi.Input<inputs.CacheToRegistryArgs | undefined>;
220
209
  /**
221
210
  * Push cache to AWS S3 or S3-compatible services such as MinIO.
222
211
  */
223
- s3?: pulumi.Input<inputs.CacheToS3Args>;
212
+ s3?: pulumi.Input<inputs.CacheToS3Args | undefined>;
224
213
  }
225
214
  /**
226
215
  * cacheToArgsProvideDefaults sets the appropriate defaults for CacheToArgs
@@ -230,15 +219,15 @@ export interface CacheToAzureBlobArgs {
230
219
  /**
231
220
  * Base URL of the storage account.
232
221
  */
233
- accountUrl?: pulumi.Input<string>;
222
+ accountUrl?: pulumi.Input<string | undefined>;
234
223
  /**
235
224
  * Ignore errors caused by failed cache exports.
236
225
  */
237
- ignoreError?: pulumi.Input<boolean>;
226
+ ignoreError?: pulumi.Input<boolean | undefined>;
238
227
  /**
239
228
  * The cache mode to use. Defaults to `min`.
240
229
  */
241
- mode?: pulumi.Input<enums.CacheMode>;
230
+ mode?: pulumi.Input<enums.CacheMode | undefined>;
242
231
  /**
243
232
  * The name of the cache image.
244
233
  */
@@ -246,45 +235,34 @@ export interface CacheToAzureBlobArgs {
246
235
  /**
247
236
  * Blob storage account key.
248
237
  */
249
- secretAccessKey?: pulumi.Input<string>;
238
+ secretAccessKey?: pulumi.Input<string | undefined>;
250
239
  }
251
240
  /**
252
241
  * cacheToAzureBlobArgsProvideDefaults sets the appropriate defaults for CacheToAzureBlobArgs
253
242
  */
254
243
  export declare function cacheToAzureBlobArgsProvideDefaults(val: CacheToAzureBlobArgs): CacheToAzureBlobArgs;
244
+ /**
245
+ * Recommended for use with GitHub Actions workflows.
246
+ *
247
+ * An action like `crazy-max/ghaction-github-runtime` is recommended to expose
248
+ * appropriate credentials to your GitHub workflow.
249
+ */
255
250
  export interface CacheToGitHubActionsArgs {
256
251
  /**
257
252
  * Ignore errors caused by failed cache exports.
258
253
  */
259
- ignoreError?: pulumi.Input<boolean>;
254
+ ignoreError?: pulumi.Input<boolean | undefined>;
260
255
  /**
261
256
  * The cache mode to use. Defaults to `min`.
262
257
  */
263
- mode?: pulumi.Input<enums.CacheMode>;
258
+ mode?: pulumi.Input<enums.CacheMode | undefined>;
264
259
  /**
265
260
  * The scope to use for cache keys. Defaults to `buildkit`.
266
261
  *
267
262
  * This should be set if building and caching multiple images in one
268
263
  * workflow, otherwise caches will overwrite each other.
269
264
  */
270
- scope?: pulumi.Input<string>;
271
- /**
272
- * The GitHub Actions token to use. This is not a personal access tokens
273
- * and is typically generated automatically as part of each job.
274
- *
275
- * Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
276
- * `crazy-max/ghaction-github-runtime` is recommended to expose this
277
- * environment variable to your jobs.
278
- */
279
- token?: pulumi.Input<string>;
280
- /**
281
- * The cache server URL to use for artifacts.
282
- *
283
- * Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
284
- * `crazy-max/ghaction-github-runtime` is recommended to expose this
285
- * environment variable to your jobs.
286
- */
287
- url?: pulumi.Input<string>;
265
+ scope?: pulumi.Input<string | undefined>;
288
266
  }
289
267
  /**
290
268
  * cacheToGitHubActionsArgsProvideDefaults sets the appropriate defaults for CacheToGitHubActionsArgs
@@ -299,11 +277,11 @@ export interface CacheToLocalArgs {
299
277
  /**
300
278
  * The compression type to use.
301
279
  */
302
- compression?: pulumi.Input<enums.CompressionType>;
280
+ compression?: pulumi.Input<enums.CompressionType | undefined>;
303
281
  /**
304
282
  * Compression level from 0 to 22.
305
283
  */
306
- compressionLevel?: pulumi.Input<number>;
284
+ compressionLevel?: pulumi.Input<number | undefined>;
307
285
  /**
308
286
  * Path of the local directory to export the cache.
309
287
  */
@@ -311,15 +289,15 @@ export interface CacheToLocalArgs {
311
289
  /**
312
290
  * Forcefully apply compression.
313
291
  */
314
- forceCompression?: pulumi.Input<boolean>;
292
+ forceCompression?: pulumi.Input<boolean | undefined>;
315
293
  /**
316
294
  * Ignore errors caused by failed cache exports.
317
295
  */
318
- ignoreError?: pulumi.Input<boolean>;
296
+ ignoreError?: pulumi.Input<boolean | undefined>;
319
297
  /**
320
298
  * The cache mode to use. Defaults to `min`.
321
299
  */
322
- mode?: pulumi.Input<enums.CacheMode>;
300
+ mode?: pulumi.Input<enums.CacheMode | undefined>;
323
301
  }
324
302
  /**
325
303
  * cacheToLocalArgsProvideDefaults sets the appropriate defaults for CacheToLocalArgs
@@ -329,19 +307,19 @@ export interface CacheToRegistryArgs {
329
307
  /**
330
308
  * The compression type to use.
331
309
  */
332
- compression?: pulumi.Input<enums.CompressionType>;
310
+ compression?: pulumi.Input<enums.CompressionType | undefined>;
333
311
  /**
334
312
  * Compression level from 0 to 22.
335
313
  */
336
- compressionLevel?: pulumi.Input<number>;
314
+ compressionLevel?: pulumi.Input<number | undefined>;
337
315
  /**
338
316
  * Forcefully apply compression.
339
317
  */
340
- forceCompression?: pulumi.Input<boolean>;
318
+ forceCompression?: pulumi.Input<boolean | undefined>;
341
319
  /**
342
320
  * Ignore errors caused by failed cache exports.
343
321
  */
344
- ignoreError?: pulumi.Input<boolean>;
322
+ ignoreError?: pulumi.Input<boolean | undefined>;
345
323
  /**
346
324
  * Export cache manifest as an OCI-compatible image manifest instead of a
347
325
  * manifest list. Requires `ociMediaTypes` to also be `true`.
@@ -351,16 +329,16 @@ export interface CacheToRegistryArgs {
351
329
  *
352
330
  * Defaults to `false` to match Docker's default behavior.
353
331
  */
354
- imageManifest?: pulumi.Input<boolean>;
332
+ imageManifest?: pulumi.Input<boolean | undefined>;
355
333
  /**
356
334
  * The cache mode to use. Defaults to `min`.
357
335
  */
358
- mode?: pulumi.Input<enums.CacheMode>;
336
+ mode?: pulumi.Input<enums.CacheMode | undefined>;
359
337
  /**
360
338
  * Whether to use OCI media types in exported manifests. Defaults to
361
339
  * `true`.
362
340
  */
363
- ociMediaTypes?: pulumi.Input<boolean>;
341
+ ociMediaTypes?: pulumi.Input<boolean | undefined>;
364
342
  /**
365
343
  * Fully qualified name of the cache image to import.
366
344
  */
@@ -374,11 +352,11 @@ export interface CacheToS3Args {
374
352
  /**
375
353
  * Defaults to `$AWS_ACCESS_KEY_ID`.
376
354
  */
377
- accessKeyId?: pulumi.Input<string>;
355
+ accessKeyId?: pulumi.Input<string | undefined>;
378
356
  /**
379
357
  * Prefix to prepend to blob filenames.
380
358
  */
381
- blobsPrefix?: pulumi.Input<string>;
359
+ blobsPrefix?: pulumi.Input<string | undefined>;
382
360
  /**
383
361
  * Name of the S3 bucket.
384
362
  */
@@ -386,23 +364,23 @@ export interface CacheToS3Args {
386
364
  /**
387
365
  * Endpoint of the S3 bucket.
388
366
  */
389
- endpointUrl?: pulumi.Input<string>;
367
+ endpointUrl?: pulumi.Input<string | undefined>;
390
368
  /**
391
369
  * Ignore errors caused by failed cache exports.
392
370
  */
393
- ignoreError?: pulumi.Input<boolean>;
371
+ ignoreError?: pulumi.Input<boolean | undefined>;
394
372
  /**
395
373
  * Prefix to prepend on manifest filenames.
396
374
  */
397
- manifestsPrefix?: pulumi.Input<string>;
375
+ manifestsPrefix?: pulumi.Input<string | undefined>;
398
376
  /**
399
377
  * The cache mode to use. Defaults to `min`.
400
378
  */
401
- mode?: pulumi.Input<enums.CacheMode>;
379
+ mode?: pulumi.Input<enums.CacheMode | undefined>;
402
380
  /**
403
381
  * Name of the cache image.
404
382
  */
405
- name?: pulumi.Input<string>;
383
+ name?: pulumi.Input<string | undefined>;
406
384
  /**
407
385
  * The geographic location of the bucket. Defaults to `$AWS_REGION`.
408
386
  */
@@ -410,15 +388,15 @@ export interface CacheToS3Args {
410
388
  /**
411
389
  * Defaults to `$AWS_SECRET_ACCESS_KEY`.
412
390
  */
413
- secretAccessKey?: pulumi.Input<string>;
391
+ secretAccessKey?: pulumi.Input<string | undefined>;
414
392
  /**
415
393
  * Defaults to `$AWS_SESSION_TOKEN`.
416
394
  */
417
- sessionToken?: pulumi.Input<string>;
395
+ sessionToken?: pulumi.Input<string | undefined>;
418
396
  /**
419
397
  * Uses `bucket` in the URL instead of hostname when `true`.
420
398
  */
421
- usePathStyle?: pulumi.Input<boolean>;
399
+ usePathStyle?: pulumi.Input<boolean | undefined>;
422
400
  }
423
401
  /**
424
402
  * cacheToS3ArgsProvideDefaults sets the appropriate defaults for CacheToS3Args
@@ -445,7 +423,7 @@ export interface DockerfileArgs {
445
423
  *
446
424
  * Equivalent to invoking Docker with `-f -`.
447
425
  */
448
- inline?: pulumi.Input<string>;
426
+ inline?: pulumi.Input<string | undefined>;
449
427
  /**
450
428
  * Location of the Dockerfile to use.
451
429
  *
@@ -455,47 +433,47 @@ export interface DockerfileArgs {
455
433
  *
456
434
  * Conflicts with `inline`.
457
435
  */
458
- location?: pulumi.Input<string>;
436
+ location?: pulumi.Input<string | undefined>;
459
437
  }
460
438
  export interface ExportArgs {
461
439
  /**
462
440
  * A no-op export. Helpful for silencing the 'no exports' warning if you
463
441
  * just want to populate caches.
464
442
  */
465
- cacheonly?: pulumi.Input<inputs.ExportCacheOnlyArgs>;
443
+ cacheonly?: pulumi.Input<inputs.ExportCacheOnlyArgs | undefined>;
466
444
  /**
467
445
  * When `true` this entry will be excluded. Defaults to `false`.
468
446
  */
469
- disabled?: pulumi.Input<boolean>;
447
+ disabled?: pulumi.Input<boolean | undefined>;
470
448
  /**
471
449
  * Export as a Docker image layout.
472
450
  */
473
- docker?: pulumi.Input<inputs.ExportDockerArgs>;
451
+ docker?: pulumi.Input<inputs.ExportDockerArgs | undefined>;
474
452
  /**
475
453
  * Outputs the build result into a container image format.
476
454
  */
477
- image?: pulumi.Input<inputs.ExportImageArgs>;
455
+ image?: pulumi.Input<inputs.ExportImageArgs | undefined>;
478
456
  /**
479
457
  * Export to a local directory as files and directories.
480
458
  */
481
- local?: pulumi.Input<inputs.ExportLocalArgs>;
459
+ local?: pulumi.Input<inputs.ExportLocalArgs | undefined>;
482
460
  /**
483
461
  * Identical to the Docker exporter but uses OCI media types by default.
484
462
  */
485
- oci?: pulumi.Input<inputs.ExportOCIArgs>;
463
+ oci?: pulumi.Input<inputs.ExportOCIArgs | undefined>;
486
464
  /**
487
465
  * A raw string as you would provide it to the Docker CLI (e.g.,
488
466
  * `type=docker`)
489
467
  */
490
- raw?: pulumi.Input<string>;
468
+ raw?: pulumi.Input<string | undefined>;
491
469
  /**
492
470
  * Identical to the Image exporter, but pushes by default.
493
471
  */
494
- registry?: pulumi.Input<inputs.ExportRegistryArgs>;
472
+ registry?: pulumi.Input<inputs.ExportRegistryArgs | undefined>;
495
473
  /**
496
474
  * Export to a local directory as a tarball.
497
475
  */
498
- tar?: pulumi.Input<inputs.ExportTarArgs>;
476
+ tar?: pulumi.Input<inputs.ExportTarArgs | undefined>;
499
477
  }
500
478
  /**
501
479
  * exportArgsProvideDefaults sets the appropriate defaults for ExportArgs
@@ -509,35 +487,35 @@ export interface ExportDockerArgs {
509
487
  */
510
488
  annotations?: pulumi.Input<{
511
489
  [key: string]: pulumi.Input<string>;
512
- }>;
490
+ } | undefined>;
513
491
  /**
514
492
  * The compression type to use.
515
493
  */
516
- compression?: pulumi.Input<enums.CompressionType>;
494
+ compression?: pulumi.Input<enums.CompressionType | undefined>;
517
495
  /**
518
496
  * Compression level from 0 to 22.
519
497
  */
520
- compressionLevel?: pulumi.Input<number>;
498
+ compressionLevel?: pulumi.Input<number | undefined>;
521
499
  /**
522
500
  * The local export path.
523
501
  */
524
- dest?: pulumi.Input<string>;
502
+ dest?: pulumi.Input<string | undefined>;
525
503
  /**
526
504
  * Forcefully apply compression.
527
505
  */
528
- forceCompression?: pulumi.Input<boolean>;
506
+ forceCompression?: pulumi.Input<boolean | undefined>;
529
507
  /**
530
508
  * Specify images names to export. This is overridden if tags are already specified.
531
509
  */
532
- names?: pulumi.Input<pulumi.Input<string>[]>;
510
+ names?: pulumi.Input<pulumi.Input<string>[] | undefined>;
533
511
  /**
534
512
  * Use OCI media types in exporter manifests.
535
513
  */
536
- ociMediaTypes?: pulumi.Input<boolean>;
514
+ ociMediaTypes?: pulumi.Input<boolean | undefined>;
537
515
  /**
538
516
  * Bundle the output into a tarball layout.
539
517
  */
540
- tar?: pulumi.Input<boolean>;
518
+ tar?: pulumi.Input<boolean | undefined>;
541
519
  }
542
520
  /**
543
521
  * exportDockerArgsProvideDefaults sets the appropriate defaults for ExportDockerArgs
@@ -549,47 +527,47 @@ export interface ExportImageArgs {
549
527
  */
550
528
  annotations?: pulumi.Input<{
551
529
  [key: string]: pulumi.Input<string>;
552
- }>;
530
+ } | undefined>;
553
531
  /**
554
532
  * The compression type to use.
555
533
  */
556
- compression?: pulumi.Input<enums.CompressionType>;
534
+ compression?: pulumi.Input<enums.CompressionType | undefined>;
557
535
  /**
558
536
  * Compression level from 0 to 22.
559
537
  */
560
- compressionLevel?: pulumi.Input<number>;
538
+ compressionLevel?: pulumi.Input<number | undefined>;
561
539
  /**
562
540
  * Name image with `prefix@<digest>`, used for anonymous images.
563
541
  */
564
- danglingNamePrefix?: pulumi.Input<string>;
542
+ danglingNamePrefix?: pulumi.Input<string | undefined>;
565
543
  /**
566
544
  * Forcefully apply compression.
567
545
  */
568
- forceCompression?: pulumi.Input<boolean>;
546
+ forceCompression?: pulumi.Input<boolean | undefined>;
569
547
  /**
570
548
  * Allow pushing to an insecure registry.
571
549
  */
572
- insecure?: pulumi.Input<boolean>;
550
+ insecure?: pulumi.Input<boolean | undefined>;
573
551
  /**
574
552
  * Add additional canonical name (`name@<digest>`).
575
553
  */
576
- nameCanonical?: pulumi.Input<boolean>;
554
+ nameCanonical?: pulumi.Input<boolean | undefined>;
577
555
  /**
578
556
  * Specify images names to export. This is overridden if tags are already specified.
579
557
  */
580
- names?: pulumi.Input<pulumi.Input<string>[]>;
558
+ names?: pulumi.Input<pulumi.Input<string>[] | undefined>;
581
559
  /**
582
560
  * Use OCI media types in exporter manifests.
583
561
  */
584
- ociMediaTypes?: pulumi.Input<boolean>;
562
+ ociMediaTypes?: pulumi.Input<boolean | undefined>;
585
563
  /**
586
564
  * Push after creating the image. Defaults to `false`.
587
565
  */
588
- push?: pulumi.Input<boolean>;
566
+ push?: pulumi.Input<boolean | undefined>;
589
567
  /**
590
568
  * Push image without name.
591
569
  */
592
- pushByDigest?: pulumi.Input<boolean>;
570
+ pushByDigest?: pulumi.Input<boolean | undefined>;
593
571
  /**
594
572
  * Store resulting images to the worker's image store and ensure all of
595
573
  * its blobs are in the content store.
@@ -599,12 +577,12 @@ export interface ExportImageArgs {
599
577
  * Ignored if the worker doesn't have image store (when using OCI workers,
600
578
  * for example).
601
579
  */
602
- store?: pulumi.Input<boolean>;
580
+ store?: pulumi.Input<boolean | undefined>;
603
581
  /**
604
582
  * Unpack image after creation (for use with containerd). Defaults to
605
583
  * `false`.
606
584
  */
607
- unpack?: pulumi.Input<boolean>;
585
+ unpack?: pulumi.Input<boolean | undefined>;
608
586
  }
609
587
  /**
610
588
  * exportImageArgsProvideDefaults sets the appropriate defaults for ExportImageArgs
@@ -622,35 +600,35 @@ export interface ExportOCIArgs {
622
600
  */
623
601
  annotations?: pulumi.Input<{
624
602
  [key: string]: pulumi.Input<string>;
625
- }>;
603
+ } | undefined>;
626
604
  /**
627
605
  * The compression type to use.
628
606
  */
629
- compression?: pulumi.Input<enums.CompressionType>;
607
+ compression?: pulumi.Input<enums.CompressionType | undefined>;
630
608
  /**
631
609
  * Compression level from 0 to 22.
632
610
  */
633
- compressionLevel?: pulumi.Input<number>;
611
+ compressionLevel?: pulumi.Input<number | undefined>;
634
612
  /**
635
613
  * The local export path.
636
614
  */
637
- dest?: pulumi.Input<string>;
615
+ dest?: pulumi.Input<string | undefined>;
638
616
  /**
639
617
  * Forcefully apply compression.
640
618
  */
641
- forceCompression?: pulumi.Input<boolean>;
619
+ forceCompression?: pulumi.Input<boolean | undefined>;
642
620
  /**
643
621
  * Specify images names to export. This is overridden if tags are already specified.
644
622
  */
645
- names?: pulumi.Input<pulumi.Input<string>[]>;
623
+ names?: pulumi.Input<pulumi.Input<string>[] | undefined>;
646
624
  /**
647
625
  * Use OCI media types in exporter manifests.
648
626
  */
649
- ociMediaTypes?: pulumi.Input<boolean>;
627
+ ociMediaTypes?: pulumi.Input<boolean | undefined>;
650
628
  /**
651
629
  * Bundle the output into a tarball layout.
652
630
  */
653
- tar?: pulumi.Input<boolean>;
631
+ tar?: pulumi.Input<boolean | undefined>;
654
632
  }
655
633
  /**
656
634
  * exportOCIArgsProvideDefaults sets the appropriate defaults for ExportOCIArgs
@@ -662,47 +640,47 @@ export interface ExportRegistryArgs {
662
640
  */
663
641
  annotations?: pulumi.Input<{
664
642
  [key: string]: pulumi.Input<string>;
665
- }>;
643
+ } | undefined>;
666
644
  /**
667
645
  * The compression type to use.
668
646
  */
669
- compression?: pulumi.Input<enums.CompressionType>;
647
+ compression?: pulumi.Input<enums.CompressionType | undefined>;
670
648
  /**
671
649
  * Compression level from 0 to 22.
672
650
  */
673
- compressionLevel?: pulumi.Input<number>;
651
+ compressionLevel?: pulumi.Input<number | undefined>;
674
652
  /**
675
653
  * Name image with `prefix@<digest>`, used for anonymous images.
676
654
  */
677
- danglingNamePrefix?: pulumi.Input<string>;
655
+ danglingNamePrefix?: pulumi.Input<string | undefined>;
678
656
  /**
679
657
  * Forcefully apply compression.
680
658
  */
681
- forceCompression?: pulumi.Input<boolean>;
659
+ forceCompression?: pulumi.Input<boolean | undefined>;
682
660
  /**
683
661
  * Allow pushing to an insecure registry.
684
662
  */
685
- insecure?: pulumi.Input<boolean>;
663
+ insecure?: pulumi.Input<boolean | undefined>;
686
664
  /**
687
665
  * Add additional canonical name (`name@<digest>`).
688
666
  */
689
- nameCanonical?: pulumi.Input<boolean>;
667
+ nameCanonical?: pulumi.Input<boolean | undefined>;
690
668
  /**
691
669
  * Specify images names to export. This is overridden if tags are already specified.
692
670
  */
693
- names?: pulumi.Input<pulumi.Input<string>[]>;
671
+ names?: pulumi.Input<pulumi.Input<string>[] | undefined>;
694
672
  /**
695
673
  * Use OCI media types in exporter manifests.
696
674
  */
697
- ociMediaTypes?: pulumi.Input<boolean>;
675
+ ociMediaTypes?: pulumi.Input<boolean | undefined>;
698
676
  /**
699
677
  * Push after creating the image. Defaults to `true`.
700
678
  */
701
- push?: pulumi.Input<boolean>;
679
+ push?: pulumi.Input<boolean | undefined>;
702
680
  /**
703
681
  * Push image without name.
704
682
  */
705
- pushByDigest?: pulumi.Input<boolean>;
683
+ pushByDigest?: pulumi.Input<boolean | undefined>;
706
684
  /**
707
685
  * Store resulting images to the worker's image store and ensure all of
708
686
  * its blobs are in the content store.
@@ -712,12 +690,12 @@ export interface ExportRegistryArgs {
712
690
  * Ignored if the worker doesn't have image store (when using OCI workers,
713
691
  * for example).
714
692
  */
715
- store?: pulumi.Input<boolean>;
693
+ store?: pulumi.Input<boolean | undefined>;
716
694
  /**
717
695
  * Unpack image after creation (for use with containerd). Defaults to
718
696
  * `false`.
719
697
  */
720
- unpack?: pulumi.Input<boolean>;
698
+ unpack?: pulumi.Input<boolean | undefined>;
721
699
  }
722
700
  /**
723
701
  * exportRegistryArgsProvideDefaults sets the appropriate defaults for ExportRegistryArgs
@@ -737,11 +715,11 @@ export interface RegistryArgs {
737
715
  /**
738
716
  * Password or token for the registry.
739
717
  */
740
- password?: pulumi.Input<string>;
718
+ password?: pulumi.Input<string | undefined>;
741
719
  /**
742
720
  * Username for the registry.
743
721
  */
744
- username?: pulumi.Input<string>;
722
+ username?: pulumi.Input<string | undefined>;
745
723
  }
746
724
  export interface SSHArgs {
747
725
  /**
@@ -761,5 +739,6 @@ export interface SSHArgs {
761
739
  * agent. Run `ssh-add -l` locally to confirm which public keys are
762
740
  * visible to the agent; these will be exposed to your build.
763
741
  */
764
- paths?: pulumi.Input<pulumi.Input<string>[]>;
742
+ paths?: pulumi.Input<pulumi.Input<string>[] | undefined>;
765
743
  }
744
+ //# sourceMappingURL=input.d.ts.map