pulumi-docker-build 0.1.0a1744406398__py3-none-any.whl → 0.1.0a1745259997__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-docker-build might be problematic. Click here for more details.
- pulumi_docker_build/__init__.py +1 -0
- pulumi_docker_build/_enums.py +6 -4
- pulumi_docker_build/_inputs.py +527 -526
- pulumi_docker_build/config/__init__.py +1 -0
- pulumi_docker_build/config/__init__.pyi +1 -0
- pulumi_docker_build/config/vars.py +1 -0
- pulumi_docker_build/image.py +103 -99
- pulumi_docker_build/index.py +29 -25
- pulumi_docker_build/outputs.py +319 -318
- pulumi_docker_build/provider.py +12 -8
- pulumi_docker_build/pulumi-plugin.json +1 -1
- {pulumi_docker_build-0.1.0a1744406398.dist-info → pulumi_docker_build-0.1.0a1745259997.dist-info}/METADATA +1 -1
- pulumi_docker_build-0.1.0a1745259997.dist-info/RECORD +17 -0
- {pulumi_docker_build-0.1.0a1744406398.dist-info → pulumi_docker_build-0.1.0a1745259997.dist-info}/WHEEL +1 -1
- pulumi_docker_build-0.1.0a1744406398.dist-info/RECORD +0 -17
- {pulumi_docker_build-0.1.0a1744406398.dist-info → pulumi_docker_build-0.1.0a1745259997.dist-info}/top_level.txt +0 -0
pulumi_docker_build/outputs.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -49,10 +50,10 @@ __all__ = [
|
|
|
49
50
|
@pulumi.output_type
|
|
50
51
|
class BuildContext(dict):
|
|
51
52
|
def __init__(__self__, *,
|
|
52
|
-
location: str,
|
|
53
|
+
location: builtins.str,
|
|
53
54
|
named: Optional[Mapping[str, 'outputs.Context']] = None):
|
|
54
55
|
"""
|
|
55
|
-
:param str location: Resources to use for build context.
|
|
56
|
+
:param builtins.str location: Resources to use for build context.
|
|
56
57
|
|
|
57
58
|
The location can be:
|
|
58
59
|
* A relative or absolute path to a local directory (`.`, `./app`,
|
|
@@ -73,7 +74,7 @@ class BuildContext(dict):
|
|
|
73
74
|
|
|
74
75
|
@property
|
|
75
76
|
@pulumi.getter
|
|
76
|
-
def location(self) -> str:
|
|
77
|
+
def location(self) -> builtins.str:
|
|
77
78
|
"""
|
|
78
79
|
Resources to use for build context.
|
|
79
80
|
|
|
@@ -103,9 +104,9 @@ class BuildContext(dict):
|
|
|
103
104
|
@pulumi.output_type
|
|
104
105
|
class BuilderConfig(dict):
|
|
105
106
|
def __init__(__self__, *,
|
|
106
|
-
name: Optional[str] = None):
|
|
107
|
+
name: Optional[builtins.str] = None):
|
|
107
108
|
"""
|
|
108
|
-
:param str name: Name of an existing buildx builder to use.
|
|
109
|
+
:param builtins.str name: Name of an existing buildx builder to use.
|
|
109
110
|
|
|
110
111
|
Only `docker-container`, `kubernetes`, or `remote` drivers are
|
|
111
112
|
supported. The legacy `docker` driver is not supported.
|
|
@@ -117,7 +118,7 @@ class BuilderConfig(dict):
|
|
|
117
118
|
|
|
118
119
|
@property
|
|
119
120
|
@pulumi.getter
|
|
120
|
-
def name(self) -> Optional[str]:
|
|
121
|
+
def name(self) -> Optional[builtins.str]:
|
|
121
122
|
"""
|
|
122
123
|
Name of an existing buildx builder to use.
|
|
123
124
|
|
|
@@ -133,21 +134,21 @@ class BuilderConfig(dict):
|
|
|
133
134
|
class CacheFrom(dict):
|
|
134
135
|
def __init__(__self__, *,
|
|
135
136
|
azblob: Optional['outputs.CacheFromAzureBlob'] = None,
|
|
136
|
-
disabled: Optional[bool] = None,
|
|
137
|
+
disabled: Optional[builtins.bool] = None,
|
|
137
138
|
gha: Optional['outputs.CacheFromGitHubActions'] = None,
|
|
138
139
|
local: Optional['outputs.CacheFromLocal'] = None,
|
|
139
|
-
raw: Optional[str] = None,
|
|
140
|
+
raw: Optional[builtins.str] = None,
|
|
140
141
|
registry: Optional['outputs.CacheFromRegistry'] = None,
|
|
141
142
|
s3: Optional['outputs.CacheFromS3'] = None):
|
|
142
143
|
"""
|
|
143
144
|
:param 'CacheFromAzureBlob' azblob: Upload build caches to Azure's blob storage service.
|
|
144
|
-
:param bool disabled: When `true` this entry will be excluded. Defaults to `false`.
|
|
145
|
+
:param builtins.bool disabled: When `true` this entry will be excluded. Defaults to `false`.
|
|
145
146
|
:param 'CacheFromGitHubActions' gha: Recommended for use with GitHub Actions workflows.
|
|
146
147
|
|
|
147
148
|
An action like `crazy-max/ghaction-github-runtime` is recommended to
|
|
148
149
|
expose appropriate credentials to your GitHub workflow.
|
|
149
150
|
:param 'CacheFromLocal' local: A simple backend which caches images on your local filesystem.
|
|
150
|
-
:param str raw: A raw string as you would provide it to the Docker CLI (e.g.,
|
|
151
|
+
:param builtins.str raw: A raw string as you would provide it to the Docker CLI (e.g.,
|
|
151
152
|
`type=inline`).
|
|
152
153
|
:param 'CacheFromRegistry' registry: Upload build caches to remote registries.
|
|
153
154
|
:param 'CacheFromS3' s3: Upload build caches to AWS S3 or an S3-compatible services such as
|
|
@@ -178,7 +179,7 @@ class CacheFrom(dict):
|
|
|
178
179
|
|
|
179
180
|
@property
|
|
180
181
|
@pulumi.getter
|
|
181
|
-
def disabled(self) -> Optional[bool]:
|
|
182
|
+
def disabled(self) -> Optional[builtins.bool]:
|
|
182
183
|
"""
|
|
183
184
|
When `true` this entry will be excluded. Defaults to `false`.
|
|
184
185
|
"""
|
|
@@ -205,7 +206,7 @@ class CacheFrom(dict):
|
|
|
205
206
|
|
|
206
207
|
@property
|
|
207
208
|
@pulumi.getter
|
|
208
|
-
def raw(self) -> Optional[str]:
|
|
209
|
+
def raw(self) -> Optional[builtins.str]:
|
|
209
210
|
"""
|
|
210
211
|
A raw string as you would provide it to the Docker CLI (e.g.,
|
|
211
212
|
`type=inline`).
|
|
@@ -252,13 +253,13 @@ class CacheFromAzureBlob(dict):
|
|
|
252
253
|
return super().get(key, default)
|
|
253
254
|
|
|
254
255
|
def __init__(__self__, *,
|
|
255
|
-
name: str,
|
|
256
|
-
account_url: Optional[str] = None,
|
|
257
|
-
secret_access_key: Optional[str] = None):
|
|
256
|
+
name: builtins.str,
|
|
257
|
+
account_url: Optional[builtins.str] = None,
|
|
258
|
+
secret_access_key: Optional[builtins.str] = None):
|
|
258
259
|
"""
|
|
259
|
-
:param str name: The name of the cache image.
|
|
260
|
-
:param str account_url: Base URL of the storage account.
|
|
261
|
-
:param str secret_access_key: Blob storage account key.
|
|
260
|
+
:param builtins.str name: The name of the cache image.
|
|
261
|
+
:param builtins.str account_url: Base URL of the storage account.
|
|
262
|
+
:param builtins.str secret_access_key: Blob storage account key.
|
|
262
263
|
"""
|
|
263
264
|
pulumi.set(__self__, "name", name)
|
|
264
265
|
if account_url is not None:
|
|
@@ -268,7 +269,7 @@ class CacheFromAzureBlob(dict):
|
|
|
268
269
|
|
|
269
270
|
@property
|
|
270
271
|
@pulumi.getter
|
|
271
|
-
def name(self) -> str:
|
|
272
|
+
def name(self) -> builtins.str:
|
|
272
273
|
"""
|
|
273
274
|
The name of the cache image.
|
|
274
275
|
"""
|
|
@@ -276,7 +277,7 @@ class CacheFromAzureBlob(dict):
|
|
|
276
277
|
|
|
277
278
|
@property
|
|
278
279
|
@pulumi.getter(name="accountUrl")
|
|
279
|
-
def account_url(self) -> Optional[str]:
|
|
280
|
+
def account_url(self) -> Optional[builtins.str]:
|
|
280
281
|
"""
|
|
281
282
|
Base URL of the storage account.
|
|
282
283
|
"""
|
|
@@ -284,7 +285,7 @@ class CacheFromAzureBlob(dict):
|
|
|
284
285
|
|
|
285
286
|
@property
|
|
286
287
|
@pulumi.getter(name="secretAccessKey")
|
|
287
|
-
def secret_access_key(self) -> Optional[str]:
|
|
288
|
+
def secret_access_key(self) -> Optional[builtins.str]:
|
|
288
289
|
"""
|
|
289
290
|
Blob storage account key.
|
|
290
291
|
"""
|
|
@@ -294,21 +295,21 @@ class CacheFromAzureBlob(dict):
|
|
|
294
295
|
@pulumi.output_type
|
|
295
296
|
class CacheFromGitHubActions(dict):
|
|
296
297
|
def __init__(__self__, *,
|
|
297
|
-
scope: Optional[str] = None,
|
|
298
|
-
token: Optional[str] = None,
|
|
299
|
-
url: Optional[str] = None):
|
|
298
|
+
scope: Optional[builtins.str] = None,
|
|
299
|
+
token: Optional[builtins.str] = None,
|
|
300
|
+
url: Optional[builtins.str] = None):
|
|
300
301
|
"""
|
|
301
|
-
:param str scope: The scope to use for cache keys. Defaults to `buildkit`.
|
|
302
|
+
:param builtins.str scope: The scope to use for cache keys. Defaults to `buildkit`.
|
|
302
303
|
|
|
303
304
|
This should be set if building and caching multiple images in one
|
|
304
305
|
workflow, otherwise caches will overwrite each other.
|
|
305
|
-
:param str token: The GitHub Actions token to use. This is not a personal access tokens
|
|
306
|
+
:param builtins.str token: The GitHub Actions token to use. This is not a personal access tokens
|
|
306
307
|
and is typically generated automatically as part of each job.
|
|
307
308
|
|
|
308
309
|
Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
|
|
309
310
|
`crazy-max/ghaction-github-runtime` is recommended to expose this
|
|
310
311
|
environment variable to your jobs.
|
|
311
|
-
:param str url: The cache server URL to use for artifacts.
|
|
312
|
+
:param builtins.str url: The cache server URL to use for artifacts.
|
|
312
313
|
|
|
313
314
|
Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
|
|
314
315
|
`crazy-max/ghaction-github-runtime` is recommended to expose this
|
|
@@ -329,7 +330,7 @@ class CacheFromGitHubActions(dict):
|
|
|
329
330
|
|
|
330
331
|
@property
|
|
331
332
|
@pulumi.getter
|
|
332
|
-
def scope(self) -> Optional[str]:
|
|
333
|
+
def scope(self) -> Optional[builtins.str]:
|
|
333
334
|
"""
|
|
334
335
|
The scope to use for cache keys. Defaults to `buildkit`.
|
|
335
336
|
|
|
@@ -340,7 +341,7 @@ class CacheFromGitHubActions(dict):
|
|
|
340
341
|
|
|
341
342
|
@property
|
|
342
343
|
@pulumi.getter
|
|
343
|
-
def token(self) -> Optional[str]:
|
|
344
|
+
def token(self) -> Optional[builtins.str]:
|
|
344
345
|
"""
|
|
345
346
|
The GitHub Actions token to use. This is not a personal access tokens
|
|
346
347
|
and is typically generated automatically as part of each job.
|
|
@@ -353,7 +354,7 @@ class CacheFromGitHubActions(dict):
|
|
|
353
354
|
|
|
354
355
|
@property
|
|
355
356
|
@pulumi.getter
|
|
356
|
-
def url(self) -> Optional[str]:
|
|
357
|
+
def url(self) -> Optional[builtins.str]:
|
|
357
358
|
"""
|
|
358
359
|
The cache server URL to use for artifacts.
|
|
359
360
|
|
|
@@ -367,11 +368,11 @@ class CacheFromGitHubActions(dict):
|
|
|
367
368
|
@pulumi.output_type
|
|
368
369
|
class CacheFromLocal(dict):
|
|
369
370
|
def __init__(__self__, *,
|
|
370
|
-
src: str,
|
|
371
|
-
digest: Optional[str] = None):
|
|
371
|
+
src: builtins.str,
|
|
372
|
+
digest: Optional[builtins.str] = None):
|
|
372
373
|
"""
|
|
373
|
-
:param str src: Path of the local directory where cache gets imported from.
|
|
374
|
-
:param str digest: Digest of manifest to import.
|
|
374
|
+
:param builtins.str src: Path of the local directory where cache gets imported from.
|
|
375
|
+
:param builtins.str digest: Digest of manifest to import.
|
|
375
376
|
"""
|
|
376
377
|
pulumi.set(__self__, "src", src)
|
|
377
378
|
if digest is not None:
|
|
@@ -379,7 +380,7 @@ class CacheFromLocal(dict):
|
|
|
379
380
|
|
|
380
381
|
@property
|
|
381
382
|
@pulumi.getter
|
|
382
|
-
def src(self) -> str:
|
|
383
|
+
def src(self) -> builtins.str:
|
|
383
384
|
"""
|
|
384
385
|
Path of the local directory where cache gets imported from.
|
|
385
386
|
"""
|
|
@@ -387,7 +388,7 @@ class CacheFromLocal(dict):
|
|
|
387
388
|
|
|
388
389
|
@property
|
|
389
390
|
@pulumi.getter
|
|
390
|
-
def digest(self) -> Optional[str]:
|
|
391
|
+
def digest(self) -> Optional[builtins.str]:
|
|
391
392
|
"""
|
|
392
393
|
Digest of manifest to import.
|
|
393
394
|
"""
|
|
@@ -397,15 +398,15 @@ class CacheFromLocal(dict):
|
|
|
397
398
|
@pulumi.output_type
|
|
398
399
|
class CacheFromRegistry(dict):
|
|
399
400
|
def __init__(__self__, *,
|
|
400
|
-
ref: str):
|
|
401
|
+
ref: builtins.str):
|
|
401
402
|
"""
|
|
402
|
-
:param str ref: Fully qualified name of the cache image to import.
|
|
403
|
+
:param builtins.str ref: Fully qualified name of the cache image to import.
|
|
403
404
|
"""
|
|
404
405
|
pulumi.set(__self__, "ref", ref)
|
|
405
406
|
|
|
406
407
|
@property
|
|
407
408
|
@pulumi.getter
|
|
408
|
-
def ref(self) -> str:
|
|
409
|
+
def ref(self) -> builtins.str:
|
|
409
410
|
"""
|
|
410
411
|
Fully qualified name of the cache image to import.
|
|
411
412
|
"""
|
|
@@ -444,27 +445,27 @@ class CacheFromS3(dict):
|
|
|
444
445
|
return super().get(key, default)
|
|
445
446
|
|
|
446
447
|
def __init__(__self__, *,
|
|
447
|
-
bucket: str,
|
|
448
|
-
region: Optional[str] = None,
|
|
449
|
-
access_key_id: Optional[str] = None,
|
|
450
|
-
blobs_prefix: Optional[str] = None,
|
|
451
|
-
endpoint_url: Optional[str] = None,
|
|
452
|
-
manifests_prefix: Optional[str] = None,
|
|
453
|
-
name: Optional[str] = None,
|
|
454
|
-
secret_access_key: Optional[str] = None,
|
|
455
|
-
session_token: Optional[str] = None,
|
|
456
|
-
use_path_style: Optional[bool] = None):
|
|
457
|
-
"""
|
|
458
|
-
:param str bucket: Name of the S3 bucket.
|
|
459
|
-
:param str region: The geographic location of the bucket. Defaults to `$AWS_REGION`.
|
|
460
|
-
:param str access_key_id: Defaults to `$AWS_ACCESS_KEY_ID`.
|
|
461
|
-
:param str blobs_prefix: Prefix to prepend to blob filenames.
|
|
462
|
-
:param str endpoint_url: Endpoint of the S3 bucket.
|
|
463
|
-
:param str manifests_prefix: Prefix to prepend on manifest filenames.
|
|
464
|
-
:param str name: Name of the cache image.
|
|
465
|
-
:param str secret_access_key: Defaults to `$AWS_SECRET_ACCESS_KEY`.
|
|
466
|
-
:param str session_token: Defaults to `$AWS_SESSION_TOKEN`.
|
|
467
|
-
:param bool use_path_style: Uses `bucket` in the URL instead of hostname when `true`.
|
|
448
|
+
bucket: builtins.str,
|
|
449
|
+
region: Optional[builtins.str] = None,
|
|
450
|
+
access_key_id: Optional[builtins.str] = None,
|
|
451
|
+
blobs_prefix: Optional[builtins.str] = None,
|
|
452
|
+
endpoint_url: Optional[builtins.str] = None,
|
|
453
|
+
manifests_prefix: Optional[builtins.str] = None,
|
|
454
|
+
name: Optional[builtins.str] = None,
|
|
455
|
+
secret_access_key: Optional[builtins.str] = None,
|
|
456
|
+
session_token: Optional[builtins.str] = None,
|
|
457
|
+
use_path_style: Optional[builtins.bool] = None):
|
|
458
|
+
"""
|
|
459
|
+
:param builtins.str bucket: Name of the S3 bucket.
|
|
460
|
+
:param builtins.str region: The geographic location of the bucket. Defaults to `$AWS_REGION`.
|
|
461
|
+
:param builtins.str access_key_id: Defaults to `$AWS_ACCESS_KEY_ID`.
|
|
462
|
+
:param builtins.str blobs_prefix: Prefix to prepend to blob filenames.
|
|
463
|
+
:param builtins.str endpoint_url: Endpoint of the S3 bucket.
|
|
464
|
+
:param builtins.str manifests_prefix: Prefix to prepend on manifest filenames.
|
|
465
|
+
:param builtins.str name: Name of the cache image.
|
|
466
|
+
:param builtins.str secret_access_key: Defaults to `$AWS_SECRET_ACCESS_KEY`.
|
|
467
|
+
:param builtins.str session_token: Defaults to `$AWS_SESSION_TOKEN`.
|
|
468
|
+
:param builtins.bool use_path_style: Uses `bucket` in the URL instead of hostname when `true`.
|
|
468
469
|
"""
|
|
469
470
|
pulumi.set(__self__, "bucket", bucket)
|
|
470
471
|
if region is None:
|
|
@@ -495,7 +496,7 @@ class CacheFromS3(dict):
|
|
|
495
496
|
|
|
496
497
|
@property
|
|
497
498
|
@pulumi.getter
|
|
498
|
-
def bucket(self) -> str:
|
|
499
|
+
def bucket(self) -> builtins.str:
|
|
499
500
|
"""
|
|
500
501
|
Name of the S3 bucket.
|
|
501
502
|
"""
|
|
@@ -503,7 +504,7 @@ class CacheFromS3(dict):
|
|
|
503
504
|
|
|
504
505
|
@property
|
|
505
506
|
@pulumi.getter
|
|
506
|
-
def region(self) -> str:
|
|
507
|
+
def region(self) -> builtins.str:
|
|
507
508
|
"""
|
|
508
509
|
The geographic location of the bucket. Defaults to `$AWS_REGION`.
|
|
509
510
|
"""
|
|
@@ -511,7 +512,7 @@ class CacheFromS3(dict):
|
|
|
511
512
|
|
|
512
513
|
@property
|
|
513
514
|
@pulumi.getter(name="accessKeyId")
|
|
514
|
-
def access_key_id(self) -> Optional[str]:
|
|
515
|
+
def access_key_id(self) -> Optional[builtins.str]:
|
|
515
516
|
"""
|
|
516
517
|
Defaults to `$AWS_ACCESS_KEY_ID`.
|
|
517
518
|
"""
|
|
@@ -519,7 +520,7 @@ class CacheFromS3(dict):
|
|
|
519
520
|
|
|
520
521
|
@property
|
|
521
522
|
@pulumi.getter(name="blobsPrefix")
|
|
522
|
-
def blobs_prefix(self) -> Optional[str]:
|
|
523
|
+
def blobs_prefix(self) -> Optional[builtins.str]:
|
|
523
524
|
"""
|
|
524
525
|
Prefix to prepend to blob filenames.
|
|
525
526
|
"""
|
|
@@ -527,7 +528,7 @@ class CacheFromS3(dict):
|
|
|
527
528
|
|
|
528
529
|
@property
|
|
529
530
|
@pulumi.getter(name="endpointUrl")
|
|
530
|
-
def endpoint_url(self) -> Optional[str]:
|
|
531
|
+
def endpoint_url(self) -> Optional[builtins.str]:
|
|
531
532
|
"""
|
|
532
533
|
Endpoint of the S3 bucket.
|
|
533
534
|
"""
|
|
@@ -535,7 +536,7 @@ class CacheFromS3(dict):
|
|
|
535
536
|
|
|
536
537
|
@property
|
|
537
538
|
@pulumi.getter(name="manifestsPrefix")
|
|
538
|
-
def manifests_prefix(self) -> Optional[str]:
|
|
539
|
+
def manifests_prefix(self) -> Optional[builtins.str]:
|
|
539
540
|
"""
|
|
540
541
|
Prefix to prepend on manifest filenames.
|
|
541
542
|
"""
|
|
@@ -543,7 +544,7 @@ class CacheFromS3(dict):
|
|
|
543
544
|
|
|
544
545
|
@property
|
|
545
546
|
@pulumi.getter
|
|
546
|
-
def name(self) -> Optional[str]:
|
|
547
|
+
def name(self) -> Optional[builtins.str]:
|
|
547
548
|
"""
|
|
548
549
|
Name of the cache image.
|
|
549
550
|
"""
|
|
@@ -551,7 +552,7 @@ class CacheFromS3(dict):
|
|
|
551
552
|
|
|
552
553
|
@property
|
|
553
554
|
@pulumi.getter(name="secretAccessKey")
|
|
554
|
-
def secret_access_key(self) -> Optional[str]:
|
|
555
|
+
def secret_access_key(self) -> Optional[builtins.str]:
|
|
555
556
|
"""
|
|
556
557
|
Defaults to `$AWS_SECRET_ACCESS_KEY`.
|
|
557
558
|
"""
|
|
@@ -559,7 +560,7 @@ class CacheFromS3(dict):
|
|
|
559
560
|
|
|
560
561
|
@property
|
|
561
562
|
@pulumi.getter(name="sessionToken")
|
|
562
|
-
def session_token(self) -> Optional[str]:
|
|
563
|
+
def session_token(self) -> Optional[builtins.str]:
|
|
563
564
|
"""
|
|
564
565
|
Defaults to `$AWS_SESSION_TOKEN`.
|
|
565
566
|
"""
|
|
@@ -567,7 +568,7 @@ class CacheFromS3(dict):
|
|
|
567
568
|
|
|
568
569
|
@property
|
|
569
570
|
@pulumi.getter(name="usePathStyle")
|
|
570
|
-
def use_path_style(self) -> Optional[bool]:
|
|
571
|
+
def use_path_style(self) -> Optional[builtins.bool]:
|
|
571
572
|
"""
|
|
572
573
|
Uses `bucket` in the URL instead of hostname when `true`.
|
|
573
574
|
"""
|
|
@@ -578,16 +579,16 @@ class CacheFromS3(dict):
|
|
|
578
579
|
class CacheTo(dict):
|
|
579
580
|
def __init__(__self__, *,
|
|
580
581
|
azblob: Optional['outputs.CacheToAzureBlob'] = None,
|
|
581
|
-
disabled: Optional[bool] = None,
|
|
582
|
+
disabled: Optional[builtins.bool] = None,
|
|
582
583
|
gha: Optional['outputs.CacheToGitHubActions'] = None,
|
|
583
584
|
inline: Optional['outputs.CacheToInline'] = None,
|
|
584
585
|
local: Optional['outputs.CacheToLocal'] = None,
|
|
585
|
-
raw: Optional[str] = None,
|
|
586
|
+
raw: Optional[builtins.str] = None,
|
|
586
587
|
registry: Optional['outputs.CacheToRegistry'] = None,
|
|
587
588
|
s3: Optional['outputs.CacheToS3'] = None):
|
|
588
589
|
"""
|
|
589
590
|
:param 'CacheToAzureBlob' azblob: Push cache to Azure's blob storage service.
|
|
590
|
-
:param bool disabled: When `true` this entry will be excluded. Defaults to `false`.
|
|
591
|
+
:param builtins.bool disabled: When `true` this entry will be excluded. Defaults to `false`.
|
|
591
592
|
:param 'CacheToGitHubActions' gha: Recommended for use with GitHub Actions workflows.
|
|
592
593
|
|
|
593
594
|
An action like `crazy-max/ghaction-github-runtime` is recommended to
|
|
@@ -596,7 +597,7 @@ class CacheTo(dict):
|
|
|
596
597
|
started with, but it does not handle multi-stage builds. Consider the
|
|
597
598
|
`registry` cache backend instead.
|
|
598
599
|
:param 'CacheToLocal' local: A simple backend which caches imagines on your local filesystem.
|
|
599
|
-
:param str raw: A raw string as you would provide it to the Docker CLI (e.g.,
|
|
600
|
+
:param builtins.str raw: A raw string as you would provide it to the Docker CLI (e.g.,
|
|
600
601
|
`type=inline`)
|
|
601
602
|
:param 'CacheToRegistry' registry: Push caches to remote registries. Incompatible with the `docker` build
|
|
602
603
|
driver.
|
|
@@ -629,7 +630,7 @@ class CacheTo(dict):
|
|
|
629
630
|
|
|
630
631
|
@property
|
|
631
632
|
@pulumi.getter
|
|
632
|
-
def disabled(self) -> Optional[bool]:
|
|
633
|
+
def disabled(self) -> Optional[builtins.bool]:
|
|
633
634
|
"""
|
|
634
635
|
When `true` this entry will be excluded. Defaults to `false`.
|
|
635
636
|
"""
|
|
@@ -666,7 +667,7 @@ class CacheTo(dict):
|
|
|
666
667
|
|
|
667
668
|
@property
|
|
668
669
|
@pulumi.getter
|
|
669
|
-
def raw(self) -> Optional[str]:
|
|
670
|
+
def raw(self) -> Optional[builtins.str]:
|
|
670
671
|
"""
|
|
671
672
|
A raw string as you would provide it to the Docker CLI (e.g.,
|
|
672
673
|
`type=inline`)
|
|
@@ -715,17 +716,17 @@ class CacheToAzureBlob(dict):
|
|
|
715
716
|
return super().get(key, default)
|
|
716
717
|
|
|
717
718
|
def __init__(__self__, *,
|
|
718
|
-
name: str,
|
|
719
|
-
account_url: Optional[str] = None,
|
|
720
|
-
ignore_error: Optional[bool] = None,
|
|
719
|
+
name: builtins.str,
|
|
720
|
+
account_url: Optional[builtins.str] = None,
|
|
721
|
+
ignore_error: Optional[builtins.bool] = None,
|
|
721
722
|
mode: Optional['CacheMode'] = None,
|
|
722
|
-
secret_access_key: Optional[str] = None):
|
|
723
|
+
secret_access_key: Optional[builtins.str] = None):
|
|
723
724
|
"""
|
|
724
|
-
:param str name: The name of the cache image.
|
|
725
|
-
:param str account_url: Base URL of the storage account.
|
|
726
|
-
:param bool ignore_error: Ignore errors caused by failed cache exports.
|
|
725
|
+
:param builtins.str name: The name of the cache image.
|
|
726
|
+
:param builtins.str account_url: Base URL of the storage account.
|
|
727
|
+
:param builtins.bool ignore_error: Ignore errors caused by failed cache exports.
|
|
727
728
|
:param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
|
|
728
|
-
:param str secret_access_key: Blob storage account key.
|
|
729
|
+
:param builtins.str secret_access_key: Blob storage account key.
|
|
729
730
|
"""
|
|
730
731
|
pulumi.set(__self__, "name", name)
|
|
731
732
|
if account_url is not None:
|
|
@@ -743,7 +744,7 @@ class CacheToAzureBlob(dict):
|
|
|
743
744
|
|
|
744
745
|
@property
|
|
745
746
|
@pulumi.getter
|
|
746
|
-
def name(self) -> str:
|
|
747
|
+
def name(self) -> builtins.str:
|
|
747
748
|
"""
|
|
748
749
|
The name of the cache image.
|
|
749
750
|
"""
|
|
@@ -751,7 +752,7 @@ class CacheToAzureBlob(dict):
|
|
|
751
752
|
|
|
752
753
|
@property
|
|
753
754
|
@pulumi.getter(name="accountUrl")
|
|
754
|
-
def account_url(self) -> Optional[str]:
|
|
755
|
+
def account_url(self) -> Optional[builtins.str]:
|
|
755
756
|
"""
|
|
756
757
|
Base URL of the storage account.
|
|
757
758
|
"""
|
|
@@ -759,7 +760,7 @@ class CacheToAzureBlob(dict):
|
|
|
759
760
|
|
|
760
761
|
@property
|
|
761
762
|
@pulumi.getter(name="ignoreError")
|
|
762
|
-
def ignore_error(self) -> Optional[bool]:
|
|
763
|
+
def ignore_error(self) -> Optional[builtins.bool]:
|
|
763
764
|
"""
|
|
764
765
|
Ignore errors caused by failed cache exports.
|
|
765
766
|
"""
|
|
@@ -775,7 +776,7 @@ class CacheToAzureBlob(dict):
|
|
|
775
776
|
|
|
776
777
|
@property
|
|
777
778
|
@pulumi.getter(name="secretAccessKey")
|
|
778
|
-
def secret_access_key(self) -> Optional[str]:
|
|
779
|
+
def secret_access_key(self) -> Optional[builtins.str]:
|
|
779
780
|
"""
|
|
780
781
|
Blob storage account key.
|
|
781
782
|
"""
|
|
@@ -802,25 +803,25 @@ class CacheToGitHubActions(dict):
|
|
|
802
803
|
return super().get(key, default)
|
|
803
804
|
|
|
804
805
|
def __init__(__self__, *,
|
|
805
|
-
ignore_error: Optional[bool] = None,
|
|
806
|
+
ignore_error: Optional[builtins.bool] = None,
|
|
806
807
|
mode: Optional['CacheMode'] = None,
|
|
807
|
-
scope: Optional[str] = None,
|
|
808
|
-
token: Optional[str] = None,
|
|
809
|
-
url: Optional[str] = None):
|
|
808
|
+
scope: Optional[builtins.str] = None,
|
|
809
|
+
token: Optional[builtins.str] = None,
|
|
810
|
+
url: Optional[builtins.str] = None):
|
|
810
811
|
"""
|
|
811
|
-
:param bool ignore_error: Ignore errors caused by failed cache exports.
|
|
812
|
+
:param builtins.bool ignore_error: Ignore errors caused by failed cache exports.
|
|
812
813
|
:param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
|
|
813
|
-
:param str scope: The scope to use for cache keys. Defaults to `buildkit`.
|
|
814
|
+
:param builtins.str scope: The scope to use for cache keys. Defaults to `buildkit`.
|
|
814
815
|
|
|
815
816
|
This should be set if building and caching multiple images in one
|
|
816
817
|
workflow, otherwise caches will overwrite each other.
|
|
817
|
-
:param str token: The GitHub Actions token to use. This is not a personal access tokens
|
|
818
|
+
:param builtins.str token: The GitHub Actions token to use. This is not a personal access tokens
|
|
818
819
|
and is typically generated automatically as part of each job.
|
|
819
820
|
|
|
820
821
|
Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
|
|
821
822
|
`crazy-max/ghaction-github-runtime` is recommended to expose this
|
|
822
823
|
environment variable to your jobs.
|
|
823
|
-
:param str url: The cache server URL to use for artifacts.
|
|
824
|
+
:param builtins.str url: The cache server URL to use for artifacts.
|
|
824
825
|
|
|
825
826
|
Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
|
|
826
827
|
`crazy-max/ghaction-github-runtime` is recommended to expose this
|
|
@@ -849,7 +850,7 @@ class CacheToGitHubActions(dict):
|
|
|
849
850
|
|
|
850
851
|
@property
|
|
851
852
|
@pulumi.getter(name="ignoreError")
|
|
852
|
-
def ignore_error(self) -> Optional[bool]:
|
|
853
|
+
def ignore_error(self) -> Optional[builtins.bool]:
|
|
853
854
|
"""
|
|
854
855
|
Ignore errors caused by failed cache exports.
|
|
855
856
|
"""
|
|
@@ -865,7 +866,7 @@ class CacheToGitHubActions(dict):
|
|
|
865
866
|
|
|
866
867
|
@property
|
|
867
868
|
@pulumi.getter
|
|
868
|
-
def scope(self) -> Optional[str]:
|
|
869
|
+
def scope(self) -> Optional[builtins.str]:
|
|
869
870
|
"""
|
|
870
871
|
The scope to use for cache keys. Defaults to `buildkit`.
|
|
871
872
|
|
|
@@ -876,7 +877,7 @@ class CacheToGitHubActions(dict):
|
|
|
876
877
|
|
|
877
878
|
@property
|
|
878
879
|
@pulumi.getter
|
|
879
|
-
def token(self) -> Optional[str]:
|
|
880
|
+
def token(self) -> Optional[builtins.str]:
|
|
880
881
|
"""
|
|
881
882
|
The GitHub Actions token to use. This is not a personal access tokens
|
|
882
883
|
and is typically generated automatically as part of each job.
|
|
@@ -889,7 +890,7 @@ class CacheToGitHubActions(dict):
|
|
|
889
890
|
|
|
890
891
|
@property
|
|
891
892
|
@pulumi.getter
|
|
892
|
-
def url(self) -> Optional[str]:
|
|
893
|
+
def url(self) -> Optional[builtins.str]:
|
|
893
894
|
"""
|
|
894
895
|
The cache server URL to use for artifacts.
|
|
895
896
|
|
|
@@ -936,18 +937,18 @@ class CacheToLocal(dict):
|
|
|
936
937
|
return super().get(key, default)
|
|
937
938
|
|
|
938
939
|
def __init__(__self__, *,
|
|
939
|
-
dest: str,
|
|
940
|
+
dest: builtins.str,
|
|
940
941
|
compression: Optional['CompressionType'] = None,
|
|
941
|
-
compression_level: Optional[int] = None,
|
|
942
|
-
force_compression: Optional[bool] = None,
|
|
943
|
-
ignore_error: Optional[bool] = None,
|
|
942
|
+
compression_level: Optional[builtins.int] = None,
|
|
943
|
+
force_compression: Optional[builtins.bool] = None,
|
|
944
|
+
ignore_error: Optional[builtins.bool] = None,
|
|
944
945
|
mode: Optional['CacheMode'] = None):
|
|
945
946
|
"""
|
|
946
|
-
:param str dest: Path of the local directory to export the cache.
|
|
947
|
+
:param builtins.str dest: Path of the local directory to export the cache.
|
|
947
948
|
:param 'CompressionType' compression: The compression type to use.
|
|
948
|
-
:param int compression_level: Compression level from 0 to 22.
|
|
949
|
-
:param bool force_compression: Forcefully apply compression.
|
|
950
|
-
:param bool ignore_error: Ignore errors caused by failed cache exports.
|
|
949
|
+
:param builtins.int compression_level: Compression level from 0 to 22.
|
|
950
|
+
:param builtins.bool force_compression: Forcefully apply compression.
|
|
951
|
+
:param builtins.bool ignore_error: Ignore errors caused by failed cache exports.
|
|
951
952
|
:param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
|
|
952
953
|
"""
|
|
953
954
|
pulumi.set(__self__, "dest", dest)
|
|
@@ -974,7 +975,7 @@ class CacheToLocal(dict):
|
|
|
974
975
|
|
|
975
976
|
@property
|
|
976
977
|
@pulumi.getter
|
|
977
|
-
def dest(self) -> str:
|
|
978
|
+
def dest(self) -> builtins.str:
|
|
978
979
|
"""
|
|
979
980
|
Path of the local directory to export the cache.
|
|
980
981
|
"""
|
|
@@ -990,7 +991,7 @@ class CacheToLocal(dict):
|
|
|
990
991
|
|
|
991
992
|
@property
|
|
992
993
|
@pulumi.getter(name="compressionLevel")
|
|
993
|
-
def compression_level(self) -> Optional[int]:
|
|
994
|
+
def compression_level(self) -> Optional[builtins.int]:
|
|
994
995
|
"""
|
|
995
996
|
Compression level from 0 to 22.
|
|
996
997
|
"""
|
|
@@ -998,7 +999,7 @@ class CacheToLocal(dict):
|
|
|
998
999
|
|
|
999
1000
|
@property
|
|
1000
1001
|
@pulumi.getter(name="forceCompression")
|
|
1001
|
-
def force_compression(self) -> Optional[bool]:
|
|
1002
|
+
def force_compression(self) -> Optional[builtins.bool]:
|
|
1002
1003
|
"""
|
|
1003
1004
|
Forcefully apply compression.
|
|
1004
1005
|
"""
|
|
@@ -1006,7 +1007,7 @@ class CacheToLocal(dict):
|
|
|
1006
1007
|
|
|
1007
1008
|
@property
|
|
1008
1009
|
@pulumi.getter(name="ignoreError")
|
|
1009
|
-
def ignore_error(self) -> Optional[bool]:
|
|
1010
|
+
def ignore_error(self) -> Optional[builtins.bool]:
|
|
1010
1011
|
"""
|
|
1011
1012
|
Ignore errors caused by failed cache exports.
|
|
1012
1013
|
"""
|
|
@@ -1049,21 +1050,21 @@ class CacheToRegistry(dict):
|
|
|
1049
1050
|
return super().get(key, default)
|
|
1050
1051
|
|
|
1051
1052
|
def __init__(__self__, *,
|
|
1052
|
-
ref: str,
|
|
1053
|
+
ref: builtins.str,
|
|
1053
1054
|
compression: Optional['CompressionType'] = None,
|
|
1054
|
-
compression_level: Optional[int] = None,
|
|
1055
|
-
force_compression: Optional[bool] = None,
|
|
1056
|
-
ignore_error: Optional[bool] = None,
|
|
1057
|
-
image_manifest: Optional[bool] = None,
|
|
1055
|
+
compression_level: Optional[builtins.int] = None,
|
|
1056
|
+
force_compression: Optional[builtins.bool] = None,
|
|
1057
|
+
ignore_error: Optional[builtins.bool] = None,
|
|
1058
|
+
image_manifest: Optional[builtins.bool] = None,
|
|
1058
1059
|
mode: Optional['CacheMode'] = None,
|
|
1059
|
-
oci_media_types: Optional[bool] = None):
|
|
1060
|
+
oci_media_types: Optional[builtins.bool] = None):
|
|
1060
1061
|
"""
|
|
1061
|
-
:param str ref: Fully qualified name of the cache image to import.
|
|
1062
|
+
:param builtins.str ref: Fully qualified name of the cache image to import.
|
|
1062
1063
|
:param 'CompressionType' compression: The compression type to use.
|
|
1063
|
-
:param int compression_level: Compression level from 0 to 22.
|
|
1064
|
-
:param bool force_compression: Forcefully apply compression.
|
|
1065
|
-
:param bool ignore_error: Ignore errors caused by failed cache exports.
|
|
1066
|
-
:param bool image_manifest: Export cache manifest as an OCI-compatible image manifest instead of a
|
|
1064
|
+
:param builtins.int compression_level: Compression level from 0 to 22.
|
|
1065
|
+
:param builtins.bool force_compression: Forcefully apply compression.
|
|
1066
|
+
:param builtins.bool ignore_error: Ignore errors caused by failed cache exports.
|
|
1067
|
+
:param builtins.bool image_manifest: Export cache manifest as an OCI-compatible image manifest instead of a
|
|
1067
1068
|
manifest list. Requires `ociMediaTypes` to also be `true`.
|
|
1068
1069
|
|
|
1069
1070
|
Some registries like AWS ECR will not work with caching if this is
|
|
@@ -1071,7 +1072,7 @@ class CacheToRegistry(dict):
|
|
|
1071
1072
|
|
|
1072
1073
|
Defaults to `false` to match Docker's default behavior.
|
|
1073
1074
|
:param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
|
|
1074
|
-
:param bool oci_media_types: Whether to use OCI media types in exported manifests. Defaults to
|
|
1075
|
+
:param builtins.bool oci_media_types: Whether to use OCI media types in exported manifests. Defaults to
|
|
1075
1076
|
`true`.
|
|
1076
1077
|
"""
|
|
1077
1078
|
pulumi.set(__self__, "ref", ref)
|
|
@@ -1106,7 +1107,7 @@ class CacheToRegistry(dict):
|
|
|
1106
1107
|
|
|
1107
1108
|
@property
|
|
1108
1109
|
@pulumi.getter
|
|
1109
|
-
def ref(self) -> str:
|
|
1110
|
+
def ref(self) -> builtins.str:
|
|
1110
1111
|
"""
|
|
1111
1112
|
Fully qualified name of the cache image to import.
|
|
1112
1113
|
"""
|
|
@@ -1122,7 +1123,7 @@ class CacheToRegistry(dict):
|
|
|
1122
1123
|
|
|
1123
1124
|
@property
|
|
1124
1125
|
@pulumi.getter(name="compressionLevel")
|
|
1125
|
-
def compression_level(self) -> Optional[int]:
|
|
1126
|
+
def compression_level(self) -> Optional[builtins.int]:
|
|
1126
1127
|
"""
|
|
1127
1128
|
Compression level from 0 to 22.
|
|
1128
1129
|
"""
|
|
@@ -1130,7 +1131,7 @@ class CacheToRegistry(dict):
|
|
|
1130
1131
|
|
|
1131
1132
|
@property
|
|
1132
1133
|
@pulumi.getter(name="forceCompression")
|
|
1133
|
-
def force_compression(self) -> Optional[bool]:
|
|
1134
|
+
def force_compression(self) -> Optional[builtins.bool]:
|
|
1134
1135
|
"""
|
|
1135
1136
|
Forcefully apply compression.
|
|
1136
1137
|
"""
|
|
@@ -1138,7 +1139,7 @@ class CacheToRegistry(dict):
|
|
|
1138
1139
|
|
|
1139
1140
|
@property
|
|
1140
1141
|
@pulumi.getter(name="ignoreError")
|
|
1141
|
-
def ignore_error(self) -> Optional[bool]:
|
|
1142
|
+
def ignore_error(self) -> Optional[builtins.bool]:
|
|
1142
1143
|
"""
|
|
1143
1144
|
Ignore errors caused by failed cache exports.
|
|
1144
1145
|
"""
|
|
@@ -1146,7 +1147,7 @@ class CacheToRegistry(dict):
|
|
|
1146
1147
|
|
|
1147
1148
|
@property
|
|
1148
1149
|
@pulumi.getter(name="imageManifest")
|
|
1149
|
-
def image_manifest(self) -> Optional[bool]:
|
|
1150
|
+
def image_manifest(self) -> Optional[builtins.bool]:
|
|
1150
1151
|
"""
|
|
1151
1152
|
Export cache manifest as an OCI-compatible image manifest instead of a
|
|
1152
1153
|
manifest list. Requires `ociMediaTypes` to also be `true`.
|
|
@@ -1168,7 +1169,7 @@ class CacheToRegistry(dict):
|
|
|
1168
1169
|
|
|
1169
1170
|
@property
|
|
1170
1171
|
@pulumi.getter(name="ociMediaTypes")
|
|
1171
|
-
def oci_media_types(self) -> Optional[bool]:
|
|
1172
|
+
def oci_media_types(self) -> Optional[builtins.bool]:
|
|
1172
1173
|
"""
|
|
1173
1174
|
Whether to use OCI media types in exported manifests. Defaults to
|
|
1174
1175
|
`true`.
|
|
@@ -1210,31 +1211,31 @@ class CacheToS3(dict):
|
|
|
1210
1211
|
return super().get(key, default)
|
|
1211
1212
|
|
|
1212
1213
|
def __init__(__self__, *,
|
|
1213
|
-
bucket: str,
|
|
1214
|
-
region: Optional[str] = None,
|
|
1215
|
-
access_key_id: Optional[str] = None,
|
|
1216
|
-
blobs_prefix: Optional[str] = None,
|
|
1217
|
-
endpoint_url: Optional[str] = None,
|
|
1218
|
-
ignore_error: Optional[bool] = None,
|
|
1219
|
-
manifests_prefix: Optional[str] = None,
|
|
1214
|
+
bucket: builtins.str,
|
|
1215
|
+
region: Optional[builtins.str] = None,
|
|
1216
|
+
access_key_id: Optional[builtins.str] = None,
|
|
1217
|
+
blobs_prefix: Optional[builtins.str] = None,
|
|
1218
|
+
endpoint_url: Optional[builtins.str] = None,
|
|
1219
|
+
ignore_error: Optional[builtins.bool] = None,
|
|
1220
|
+
manifests_prefix: Optional[builtins.str] = None,
|
|
1220
1221
|
mode: Optional['CacheMode'] = None,
|
|
1221
|
-
name: Optional[str] = None,
|
|
1222
|
-
secret_access_key: Optional[str] = None,
|
|
1223
|
-
session_token: Optional[str] = None,
|
|
1224
|
-
use_path_style: Optional[bool] = None):
|
|
1225
|
-
"""
|
|
1226
|
-
:param str bucket: Name of the S3 bucket.
|
|
1227
|
-
:param str region: The geographic location of the bucket. Defaults to `$AWS_REGION`.
|
|
1228
|
-
:param str access_key_id: Defaults to `$AWS_ACCESS_KEY_ID`.
|
|
1229
|
-
:param str blobs_prefix: Prefix to prepend to blob filenames.
|
|
1230
|
-
:param str endpoint_url: Endpoint of the S3 bucket.
|
|
1231
|
-
:param bool ignore_error: Ignore errors caused by failed cache exports.
|
|
1232
|
-
:param str manifests_prefix: Prefix to prepend on manifest filenames.
|
|
1222
|
+
name: Optional[builtins.str] = None,
|
|
1223
|
+
secret_access_key: Optional[builtins.str] = None,
|
|
1224
|
+
session_token: Optional[builtins.str] = None,
|
|
1225
|
+
use_path_style: Optional[builtins.bool] = None):
|
|
1226
|
+
"""
|
|
1227
|
+
:param builtins.str bucket: Name of the S3 bucket.
|
|
1228
|
+
:param builtins.str region: The geographic location of the bucket. Defaults to `$AWS_REGION`.
|
|
1229
|
+
:param builtins.str access_key_id: Defaults to `$AWS_ACCESS_KEY_ID`.
|
|
1230
|
+
:param builtins.str blobs_prefix: Prefix to prepend to blob filenames.
|
|
1231
|
+
:param builtins.str endpoint_url: Endpoint of the S3 bucket.
|
|
1232
|
+
:param builtins.bool ignore_error: Ignore errors caused by failed cache exports.
|
|
1233
|
+
:param builtins.str manifests_prefix: Prefix to prepend on manifest filenames.
|
|
1233
1234
|
:param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
|
|
1234
|
-
:param str name: Name of the cache image.
|
|
1235
|
-
:param str secret_access_key: Defaults to `$AWS_SECRET_ACCESS_KEY`.
|
|
1236
|
-
:param str session_token: Defaults to `$AWS_SESSION_TOKEN`.
|
|
1237
|
-
:param bool use_path_style: Uses `bucket` in the URL instead of hostname when `true`.
|
|
1235
|
+
:param builtins.str name: Name of the cache image.
|
|
1236
|
+
:param builtins.str secret_access_key: Defaults to `$AWS_SECRET_ACCESS_KEY`.
|
|
1237
|
+
:param builtins.str session_token: Defaults to `$AWS_SESSION_TOKEN`.
|
|
1238
|
+
:param builtins.bool use_path_style: Uses `bucket` in the URL instead of hostname when `true`.
|
|
1238
1239
|
"""
|
|
1239
1240
|
pulumi.set(__self__, "bucket", bucket)
|
|
1240
1241
|
if region is None:
|
|
@@ -1273,7 +1274,7 @@ class CacheToS3(dict):
|
|
|
1273
1274
|
|
|
1274
1275
|
@property
|
|
1275
1276
|
@pulumi.getter
|
|
1276
|
-
def bucket(self) -> str:
|
|
1277
|
+
def bucket(self) -> builtins.str:
|
|
1277
1278
|
"""
|
|
1278
1279
|
Name of the S3 bucket.
|
|
1279
1280
|
"""
|
|
@@ -1281,7 +1282,7 @@ class CacheToS3(dict):
|
|
|
1281
1282
|
|
|
1282
1283
|
@property
|
|
1283
1284
|
@pulumi.getter
|
|
1284
|
-
def region(self) -> str:
|
|
1285
|
+
def region(self) -> builtins.str:
|
|
1285
1286
|
"""
|
|
1286
1287
|
The geographic location of the bucket. Defaults to `$AWS_REGION`.
|
|
1287
1288
|
"""
|
|
@@ -1289,7 +1290,7 @@ class CacheToS3(dict):
|
|
|
1289
1290
|
|
|
1290
1291
|
@property
|
|
1291
1292
|
@pulumi.getter(name="accessKeyId")
|
|
1292
|
-
def access_key_id(self) -> Optional[str]:
|
|
1293
|
+
def access_key_id(self) -> Optional[builtins.str]:
|
|
1293
1294
|
"""
|
|
1294
1295
|
Defaults to `$AWS_ACCESS_KEY_ID`.
|
|
1295
1296
|
"""
|
|
@@ -1297,7 +1298,7 @@ class CacheToS3(dict):
|
|
|
1297
1298
|
|
|
1298
1299
|
@property
|
|
1299
1300
|
@pulumi.getter(name="blobsPrefix")
|
|
1300
|
-
def blobs_prefix(self) -> Optional[str]:
|
|
1301
|
+
def blobs_prefix(self) -> Optional[builtins.str]:
|
|
1301
1302
|
"""
|
|
1302
1303
|
Prefix to prepend to blob filenames.
|
|
1303
1304
|
"""
|
|
@@ -1305,7 +1306,7 @@ class CacheToS3(dict):
|
|
|
1305
1306
|
|
|
1306
1307
|
@property
|
|
1307
1308
|
@pulumi.getter(name="endpointUrl")
|
|
1308
|
-
def endpoint_url(self) -> Optional[str]:
|
|
1309
|
+
def endpoint_url(self) -> Optional[builtins.str]:
|
|
1309
1310
|
"""
|
|
1310
1311
|
Endpoint of the S3 bucket.
|
|
1311
1312
|
"""
|
|
@@ -1313,7 +1314,7 @@ class CacheToS3(dict):
|
|
|
1313
1314
|
|
|
1314
1315
|
@property
|
|
1315
1316
|
@pulumi.getter(name="ignoreError")
|
|
1316
|
-
def ignore_error(self) -> Optional[bool]:
|
|
1317
|
+
def ignore_error(self) -> Optional[builtins.bool]:
|
|
1317
1318
|
"""
|
|
1318
1319
|
Ignore errors caused by failed cache exports.
|
|
1319
1320
|
"""
|
|
@@ -1321,7 +1322,7 @@ class CacheToS3(dict):
|
|
|
1321
1322
|
|
|
1322
1323
|
@property
|
|
1323
1324
|
@pulumi.getter(name="manifestsPrefix")
|
|
1324
|
-
def manifests_prefix(self) -> Optional[str]:
|
|
1325
|
+
def manifests_prefix(self) -> Optional[builtins.str]:
|
|
1325
1326
|
"""
|
|
1326
1327
|
Prefix to prepend on manifest filenames.
|
|
1327
1328
|
"""
|
|
@@ -1337,7 +1338,7 @@ class CacheToS3(dict):
|
|
|
1337
1338
|
|
|
1338
1339
|
@property
|
|
1339
1340
|
@pulumi.getter
|
|
1340
|
-
def name(self) -> Optional[str]:
|
|
1341
|
+
def name(self) -> Optional[builtins.str]:
|
|
1341
1342
|
"""
|
|
1342
1343
|
Name of the cache image.
|
|
1343
1344
|
"""
|
|
@@ -1345,7 +1346,7 @@ class CacheToS3(dict):
|
|
|
1345
1346
|
|
|
1346
1347
|
@property
|
|
1347
1348
|
@pulumi.getter(name="secretAccessKey")
|
|
1348
|
-
def secret_access_key(self) -> Optional[str]:
|
|
1349
|
+
def secret_access_key(self) -> Optional[builtins.str]:
|
|
1349
1350
|
"""
|
|
1350
1351
|
Defaults to `$AWS_SECRET_ACCESS_KEY`.
|
|
1351
1352
|
"""
|
|
@@ -1353,7 +1354,7 @@ class CacheToS3(dict):
|
|
|
1353
1354
|
|
|
1354
1355
|
@property
|
|
1355
1356
|
@pulumi.getter(name="sessionToken")
|
|
1356
|
-
def session_token(self) -> Optional[str]:
|
|
1357
|
+
def session_token(self) -> Optional[builtins.str]:
|
|
1357
1358
|
"""
|
|
1358
1359
|
Defaults to `$AWS_SESSION_TOKEN`.
|
|
1359
1360
|
"""
|
|
@@ -1361,7 +1362,7 @@ class CacheToS3(dict):
|
|
|
1361
1362
|
|
|
1362
1363
|
@property
|
|
1363
1364
|
@pulumi.getter(name="usePathStyle")
|
|
1364
|
-
def use_path_style(self) -> Optional[bool]:
|
|
1365
|
+
def use_path_style(self) -> Optional[builtins.bool]:
|
|
1365
1366
|
"""
|
|
1366
1367
|
Uses `bucket` in the URL instead of hostname when `true`.
|
|
1367
1368
|
"""
|
|
@@ -1371,9 +1372,9 @@ class CacheToS3(dict):
|
|
|
1371
1372
|
@pulumi.output_type
|
|
1372
1373
|
class Context(dict):
|
|
1373
1374
|
def __init__(__self__, *,
|
|
1374
|
-
location: str):
|
|
1375
|
+
location: builtins.str):
|
|
1375
1376
|
"""
|
|
1376
|
-
:param str location: Resources to use for build context.
|
|
1377
|
+
:param builtins.str location: Resources to use for build context.
|
|
1377
1378
|
|
|
1378
1379
|
The location can be:
|
|
1379
1380
|
* A relative or absolute path to a local directory (`.`, `./app`,
|
|
@@ -1386,7 +1387,7 @@ class Context(dict):
|
|
|
1386
1387
|
|
|
1387
1388
|
@property
|
|
1388
1389
|
@pulumi.getter
|
|
1389
|
-
def location(self) -> str:
|
|
1390
|
+
def location(self) -> builtins.str:
|
|
1390
1391
|
"""
|
|
1391
1392
|
Resources to use for build context.
|
|
1392
1393
|
|
|
@@ -1403,15 +1404,15 @@ class Context(dict):
|
|
|
1403
1404
|
@pulumi.output_type
|
|
1404
1405
|
class Dockerfile(dict):
|
|
1405
1406
|
def __init__(__self__, *,
|
|
1406
|
-
inline: Optional[str] = None,
|
|
1407
|
-
location: Optional[str] = None):
|
|
1407
|
+
inline: Optional[builtins.str] = None,
|
|
1408
|
+
location: Optional[builtins.str] = None):
|
|
1408
1409
|
"""
|
|
1409
|
-
:param str inline: Raw Dockerfile contents.
|
|
1410
|
+
:param builtins.str inline: Raw Dockerfile contents.
|
|
1410
1411
|
|
|
1411
1412
|
Conflicts with `location`.
|
|
1412
1413
|
|
|
1413
1414
|
Equivalent to invoking Docker with `-f -`.
|
|
1414
|
-
:param str location: Location of the Dockerfile to use.
|
|
1415
|
+
:param builtins.str location: Location of the Dockerfile to use.
|
|
1415
1416
|
|
|
1416
1417
|
Can be a relative or absolute path to a local file, or a remote URL.
|
|
1417
1418
|
|
|
@@ -1426,7 +1427,7 @@ class Dockerfile(dict):
|
|
|
1426
1427
|
|
|
1427
1428
|
@property
|
|
1428
1429
|
@pulumi.getter
|
|
1429
|
-
def inline(self) -> Optional[str]:
|
|
1430
|
+
def inline(self) -> Optional[builtins.str]:
|
|
1430
1431
|
"""
|
|
1431
1432
|
Raw Dockerfile contents.
|
|
1432
1433
|
|
|
@@ -1438,7 +1439,7 @@ class Dockerfile(dict):
|
|
|
1438
1439
|
|
|
1439
1440
|
@property
|
|
1440
1441
|
@pulumi.getter
|
|
1441
|
-
def location(self) -> Optional[str]:
|
|
1442
|
+
def location(self) -> Optional[builtins.str]:
|
|
1442
1443
|
"""
|
|
1443
1444
|
Location of the Dockerfile to use.
|
|
1444
1445
|
|
|
@@ -1455,23 +1456,23 @@ class Dockerfile(dict):
|
|
|
1455
1456
|
class Export(dict):
|
|
1456
1457
|
def __init__(__self__, *,
|
|
1457
1458
|
cacheonly: Optional['outputs.ExportCacheOnly'] = None,
|
|
1458
|
-
disabled: Optional[bool] = None,
|
|
1459
|
+
disabled: Optional[builtins.bool] = None,
|
|
1459
1460
|
docker: Optional['outputs.ExportDocker'] = None,
|
|
1460
1461
|
image: Optional['outputs.ExportImage'] = None,
|
|
1461
1462
|
local: Optional['outputs.ExportLocal'] = None,
|
|
1462
1463
|
oci: Optional['outputs.ExportOCI'] = None,
|
|
1463
|
-
raw: Optional[str] = None,
|
|
1464
|
+
raw: Optional[builtins.str] = None,
|
|
1464
1465
|
registry: Optional['outputs.ExportRegistry'] = None,
|
|
1465
1466
|
tar: Optional['outputs.ExportTar'] = None):
|
|
1466
1467
|
"""
|
|
1467
1468
|
:param 'ExportCacheOnly' cacheonly: A no-op export. Helpful for silencing the 'no exports' warning if you
|
|
1468
1469
|
just want to populate caches.
|
|
1469
|
-
:param bool disabled: When `true` this entry will be excluded. Defaults to `false`.
|
|
1470
|
+
:param builtins.bool disabled: When `true` this entry will be excluded. Defaults to `false`.
|
|
1470
1471
|
:param 'ExportDocker' docker: Export as a Docker image layout.
|
|
1471
1472
|
:param 'ExportImage' image: Outputs the build result into a container image format.
|
|
1472
1473
|
:param 'ExportLocal' local: Export to a local directory as files and directories.
|
|
1473
1474
|
:param 'ExportOCI' oci: Identical to the Docker exporter but uses OCI media types by default.
|
|
1474
|
-
:param str raw: A raw string as you would provide it to the Docker CLI (e.g.,
|
|
1475
|
+
:param builtins.str raw: A raw string as you would provide it to the Docker CLI (e.g.,
|
|
1475
1476
|
`type=docker`)
|
|
1476
1477
|
:param 'ExportRegistry' registry: Identical to the Image exporter, but pushes by default.
|
|
1477
1478
|
:param 'ExportTar' tar: Export to a local directory as a tarball.
|
|
@@ -1506,7 +1507,7 @@ class Export(dict):
|
|
|
1506
1507
|
|
|
1507
1508
|
@property
|
|
1508
1509
|
@pulumi.getter
|
|
1509
|
-
def disabled(self) -> Optional[bool]:
|
|
1510
|
+
def disabled(self) -> Optional[builtins.bool]:
|
|
1510
1511
|
"""
|
|
1511
1512
|
When `true` this entry will be excluded. Defaults to `false`.
|
|
1512
1513
|
"""
|
|
@@ -1546,7 +1547,7 @@ class Export(dict):
|
|
|
1546
1547
|
|
|
1547
1548
|
@property
|
|
1548
1549
|
@pulumi.getter
|
|
1549
|
-
def raw(self) -> Optional[str]:
|
|
1550
|
+
def raw(self) -> Optional[builtins.str]:
|
|
1550
1551
|
"""
|
|
1551
1552
|
A raw string as you would provide it to the Docker CLI (e.g.,
|
|
1552
1553
|
`type=docker`)
|
|
@@ -1600,23 +1601,23 @@ class ExportDocker(dict):
|
|
|
1600
1601
|
return super().get(key, default)
|
|
1601
1602
|
|
|
1602
1603
|
def __init__(__self__, *,
|
|
1603
|
-
annotations: Optional[Mapping[str, str]] = None,
|
|
1604
|
+
annotations: Optional[Mapping[str, builtins.str]] = None,
|
|
1604
1605
|
compression: Optional['CompressionType'] = None,
|
|
1605
|
-
compression_level: Optional[int] = None,
|
|
1606
|
-
dest: Optional[str] = None,
|
|
1607
|
-
force_compression: Optional[bool] = None,
|
|
1608
|
-
names: Optional[Sequence[str]] = None,
|
|
1609
|
-
oci_media_types: Optional[bool] = None,
|
|
1610
|
-
tar: Optional[bool] = None):
|
|
1611
|
-
"""
|
|
1612
|
-
:param Mapping[str, str] annotations: Attach an arbitrary key/value annotation to the image.
|
|
1606
|
+
compression_level: Optional[builtins.int] = None,
|
|
1607
|
+
dest: Optional[builtins.str] = None,
|
|
1608
|
+
force_compression: Optional[builtins.bool] = None,
|
|
1609
|
+
names: Optional[Sequence[builtins.str]] = None,
|
|
1610
|
+
oci_media_types: Optional[builtins.bool] = None,
|
|
1611
|
+
tar: Optional[builtins.bool] = None):
|
|
1612
|
+
"""
|
|
1613
|
+
:param Mapping[str, builtins.str] annotations: Attach an arbitrary key/value annotation to the image.
|
|
1613
1614
|
:param 'CompressionType' compression: The compression type to use.
|
|
1614
|
-
:param int compression_level: Compression level from 0 to 22.
|
|
1615
|
-
:param str dest: The local export path.
|
|
1616
|
-
:param bool force_compression: Forcefully apply compression.
|
|
1617
|
-
:param Sequence[str] names: Specify images names to export. This is overridden if tags are already specified.
|
|
1618
|
-
:param bool oci_media_types: Use OCI media types in exporter manifests.
|
|
1619
|
-
:param bool tar: Bundle the output into a tarball layout.
|
|
1615
|
+
:param builtins.int compression_level: Compression level from 0 to 22.
|
|
1616
|
+
:param builtins.str dest: The local export path.
|
|
1617
|
+
:param builtins.bool force_compression: Forcefully apply compression.
|
|
1618
|
+
:param Sequence[builtins.str] names: Specify images names to export. This is overridden if tags are already specified.
|
|
1619
|
+
:param builtins.bool oci_media_types: Use OCI media types in exporter manifests.
|
|
1620
|
+
:param builtins.bool tar: Bundle the output into a tarball layout.
|
|
1620
1621
|
"""
|
|
1621
1622
|
if annotations is not None:
|
|
1622
1623
|
pulumi.set(__self__, "annotations", annotations)
|
|
@@ -1647,7 +1648,7 @@ class ExportDocker(dict):
|
|
|
1647
1648
|
|
|
1648
1649
|
@property
|
|
1649
1650
|
@pulumi.getter
|
|
1650
|
-
def annotations(self) -> Optional[Mapping[str, str]]:
|
|
1651
|
+
def annotations(self) -> Optional[Mapping[str, builtins.str]]:
|
|
1651
1652
|
"""
|
|
1652
1653
|
Attach an arbitrary key/value annotation to the image.
|
|
1653
1654
|
"""
|
|
@@ -1663,7 +1664,7 @@ class ExportDocker(dict):
|
|
|
1663
1664
|
|
|
1664
1665
|
@property
|
|
1665
1666
|
@pulumi.getter(name="compressionLevel")
|
|
1666
|
-
def compression_level(self) -> Optional[int]:
|
|
1667
|
+
def compression_level(self) -> Optional[builtins.int]:
|
|
1667
1668
|
"""
|
|
1668
1669
|
Compression level from 0 to 22.
|
|
1669
1670
|
"""
|
|
@@ -1671,7 +1672,7 @@ class ExportDocker(dict):
|
|
|
1671
1672
|
|
|
1672
1673
|
@property
|
|
1673
1674
|
@pulumi.getter
|
|
1674
|
-
def dest(self) -> Optional[str]:
|
|
1675
|
+
def dest(self) -> Optional[builtins.str]:
|
|
1675
1676
|
"""
|
|
1676
1677
|
The local export path.
|
|
1677
1678
|
"""
|
|
@@ -1679,7 +1680,7 @@ class ExportDocker(dict):
|
|
|
1679
1680
|
|
|
1680
1681
|
@property
|
|
1681
1682
|
@pulumi.getter(name="forceCompression")
|
|
1682
|
-
def force_compression(self) -> Optional[bool]:
|
|
1683
|
+
def force_compression(self) -> Optional[builtins.bool]:
|
|
1683
1684
|
"""
|
|
1684
1685
|
Forcefully apply compression.
|
|
1685
1686
|
"""
|
|
@@ -1687,7 +1688,7 @@ class ExportDocker(dict):
|
|
|
1687
1688
|
|
|
1688
1689
|
@property
|
|
1689
1690
|
@pulumi.getter
|
|
1690
|
-
def names(self) -> Optional[Sequence[str]]:
|
|
1691
|
+
def names(self) -> Optional[Sequence[builtins.str]]:
|
|
1691
1692
|
"""
|
|
1692
1693
|
Specify images names to export. This is overridden if tags are already specified.
|
|
1693
1694
|
"""
|
|
@@ -1695,7 +1696,7 @@ class ExportDocker(dict):
|
|
|
1695
1696
|
|
|
1696
1697
|
@property
|
|
1697
1698
|
@pulumi.getter(name="ociMediaTypes")
|
|
1698
|
-
def oci_media_types(self) -> Optional[bool]:
|
|
1699
|
+
def oci_media_types(self) -> Optional[builtins.bool]:
|
|
1699
1700
|
"""
|
|
1700
1701
|
Use OCI media types in exporter manifests.
|
|
1701
1702
|
"""
|
|
@@ -1703,7 +1704,7 @@ class ExportDocker(dict):
|
|
|
1703
1704
|
|
|
1704
1705
|
@property
|
|
1705
1706
|
@pulumi.getter
|
|
1706
|
-
def tar(self) -> Optional[bool]:
|
|
1707
|
+
def tar(self) -> Optional[builtins.bool]:
|
|
1707
1708
|
"""
|
|
1708
1709
|
Bundle the output into a tarball layout.
|
|
1709
1710
|
"""
|
|
@@ -1740,39 +1741,39 @@ class ExportImage(dict):
|
|
|
1740
1741
|
return super().get(key, default)
|
|
1741
1742
|
|
|
1742
1743
|
def __init__(__self__, *,
|
|
1743
|
-
annotations: Optional[Mapping[str, str]] = None,
|
|
1744
|
+
annotations: Optional[Mapping[str, builtins.str]] = None,
|
|
1744
1745
|
compression: Optional['CompressionType'] = None,
|
|
1745
|
-
compression_level: Optional[int] = None,
|
|
1746
|
-
dangling_name_prefix: Optional[str] = None,
|
|
1747
|
-
force_compression: Optional[bool] = None,
|
|
1748
|
-
insecure: Optional[bool] = None,
|
|
1749
|
-
name_canonical: Optional[bool] = None,
|
|
1750
|
-
names: Optional[Sequence[str]] = None,
|
|
1751
|
-
oci_media_types: Optional[bool] = None,
|
|
1752
|
-
push: Optional[bool] = None,
|
|
1753
|
-
push_by_digest: Optional[bool] = None,
|
|
1754
|
-
store: Optional[bool] = None,
|
|
1755
|
-
unpack: Optional[bool] = None):
|
|
1756
|
-
"""
|
|
1757
|
-
:param Mapping[str, str] annotations: Attach an arbitrary key/value annotation to the image.
|
|
1746
|
+
compression_level: Optional[builtins.int] = None,
|
|
1747
|
+
dangling_name_prefix: Optional[builtins.str] = None,
|
|
1748
|
+
force_compression: Optional[builtins.bool] = None,
|
|
1749
|
+
insecure: Optional[builtins.bool] = None,
|
|
1750
|
+
name_canonical: Optional[builtins.bool] = None,
|
|
1751
|
+
names: Optional[Sequence[builtins.str]] = None,
|
|
1752
|
+
oci_media_types: Optional[builtins.bool] = None,
|
|
1753
|
+
push: Optional[builtins.bool] = None,
|
|
1754
|
+
push_by_digest: Optional[builtins.bool] = None,
|
|
1755
|
+
store: Optional[builtins.bool] = None,
|
|
1756
|
+
unpack: Optional[builtins.bool] = None):
|
|
1757
|
+
"""
|
|
1758
|
+
:param Mapping[str, builtins.str] annotations: Attach an arbitrary key/value annotation to the image.
|
|
1758
1759
|
:param 'CompressionType' compression: The compression type to use.
|
|
1759
|
-
:param int compression_level: Compression level from 0 to 22.
|
|
1760
|
-
:param str dangling_name_prefix: Name image with `prefix@<digest>`, used for anonymous images.
|
|
1761
|
-
:param bool force_compression: Forcefully apply compression.
|
|
1762
|
-
:param bool insecure: Allow pushing to an insecure registry.
|
|
1763
|
-
:param bool name_canonical: Add additional canonical name (`name@<digest>`).
|
|
1764
|
-
:param Sequence[str] names: Specify images names to export. This is overridden if tags are already specified.
|
|
1765
|
-
:param bool oci_media_types: Use OCI media types in exporter manifests.
|
|
1766
|
-
:param bool push: Push after creating the image. Defaults to `false`.
|
|
1767
|
-
:param bool push_by_digest: Push image without name.
|
|
1768
|
-
:param bool store: Store resulting images to the worker's image store and ensure all of
|
|
1760
|
+
:param builtins.int compression_level: Compression level from 0 to 22.
|
|
1761
|
+
:param builtins.str dangling_name_prefix: Name image with `prefix@<digest>`, used for anonymous images.
|
|
1762
|
+
:param builtins.bool force_compression: Forcefully apply compression.
|
|
1763
|
+
:param builtins.bool insecure: Allow pushing to an insecure registry.
|
|
1764
|
+
:param builtins.bool name_canonical: Add additional canonical name (`name@<digest>`).
|
|
1765
|
+
:param Sequence[builtins.str] names: Specify images names to export. This is overridden if tags are already specified.
|
|
1766
|
+
:param builtins.bool oci_media_types: Use OCI media types in exporter manifests.
|
|
1767
|
+
:param builtins.bool push: Push after creating the image. Defaults to `false`.
|
|
1768
|
+
:param builtins.bool push_by_digest: Push image without name.
|
|
1769
|
+
:param builtins.bool store: Store resulting images to the worker's image store and ensure all of
|
|
1769
1770
|
its blobs are in the content store.
|
|
1770
1771
|
|
|
1771
1772
|
Defaults to `true`.
|
|
1772
1773
|
|
|
1773
1774
|
Ignored if the worker doesn't have image store (when using OCI workers,
|
|
1774
1775
|
for example).
|
|
1775
|
-
:param bool unpack: Unpack image after creation (for use with containerd). Defaults to
|
|
1776
|
+
:param builtins.bool unpack: Unpack image after creation (for use with containerd). Defaults to
|
|
1776
1777
|
`false`.
|
|
1777
1778
|
"""
|
|
1778
1779
|
if annotations is not None:
|
|
@@ -1814,7 +1815,7 @@ class ExportImage(dict):
|
|
|
1814
1815
|
|
|
1815
1816
|
@property
|
|
1816
1817
|
@pulumi.getter
|
|
1817
|
-
def annotations(self) -> Optional[Mapping[str, str]]:
|
|
1818
|
+
def annotations(self) -> Optional[Mapping[str, builtins.str]]:
|
|
1818
1819
|
"""
|
|
1819
1820
|
Attach an arbitrary key/value annotation to the image.
|
|
1820
1821
|
"""
|
|
@@ -1830,7 +1831,7 @@ class ExportImage(dict):
|
|
|
1830
1831
|
|
|
1831
1832
|
@property
|
|
1832
1833
|
@pulumi.getter(name="compressionLevel")
|
|
1833
|
-
def compression_level(self) -> Optional[int]:
|
|
1834
|
+
def compression_level(self) -> Optional[builtins.int]:
|
|
1834
1835
|
"""
|
|
1835
1836
|
Compression level from 0 to 22.
|
|
1836
1837
|
"""
|
|
@@ -1838,7 +1839,7 @@ class ExportImage(dict):
|
|
|
1838
1839
|
|
|
1839
1840
|
@property
|
|
1840
1841
|
@pulumi.getter(name="danglingNamePrefix")
|
|
1841
|
-
def dangling_name_prefix(self) -> Optional[str]:
|
|
1842
|
+
def dangling_name_prefix(self) -> Optional[builtins.str]:
|
|
1842
1843
|
"""
|
|
1843
1844
|
Name image with `prefix@<digest>`, used for anonymous images.
|
|
1844
1845
|
"""
|
|
@@ -1846,7 +1847,7 @@ class ExportImage(dict):
|
|
|
1846
1847
|
|
|
1847
1848
|
@property
|
|
1848
1849
|
@pulumi.getter(name="forceCompression")
|
|
1849
|
-
def force_compression(self) -> Optional[bool]:
|
|
1850
|
+
def force_compression(self) -> Optional[builtins.bool]:
|
|
1850
1851
|
"""
|
|
1851
1852
|
Forcefully apply compression.
|
|
1852
1853
|
"""
|
|
@@ -1854,7 +1855,7 @@ class ExportImage(dict):
|
|
|
1854
1855
|
|
|
1855
1856
|
@property
|
|
1856
1857
|
@pulumi.getter
|
|
1857
|
-
def insecure(self) -> Optional[bool]:
|
|
1858
|
+
def insecure(self) -> Optional[builtins.bool]:
|
|
1858
1859
|
"""
|
|
1859
1860
|
Allow pushing to an insecure registry.
|
|
1860
1861
|
"""
|
|
@@ -1862,7 +1863,7 @@ class ExportImage(dict):
|
|
|
1862
1863
|
|
|
1863
1864
|
@property
|
|
1864
1865
|
@pulumi.getter(name="nameCanonical")
|
|
1865
|
-
def name_canonical(self) -> Optional[bool]:
|
|
1866
|
+
def name_canonical(self) -> Optional[builtins.bool]:
|
|
1866
1867
|
"""
|
|
1867
1868
|
Add additional canonical name (`name@<digest>`).
|
|
1868
1869
|
"""
|
|
@@ -1870,7 +1871,7 @@ class ExportImage(dict):
|
|
|
1870
1871
|
|
|
1871
1872
|
@property
|
|
1872
1873
|
@pulumi.getter
|
|
1873
|
-
def names(self) -> Optional[Sequence[str]]:
|
|
1874
|
+
def names(self) -> Optional[Sequence[builtins.str]]:
|
|
1874
1875
|
"""
|
|
1875
1876
|
Specify images names to export. This is overridden if tags are already specified.
|
|
1876
1877
|
"""
|
|
@@ -1878,7 +1879,7 @@ class ExportImage(dict):
|
|
|
1878
1879
|
|
|
1879
1880
|
@property
|
|
1880
1881
|
@pulumi.getter(name="ociMediaTypes")
|
|
1881
|
-
def oci_media_types(self) -> Optional[bool]:
|
|
1882
|
+
def oci_media_types(self) -> Optional[builtins.bool]:
|
|
1882
1883
|
"""
|
|
1883
1884
|
Use OCI media types in exporter manifests.
|
|
1884
1885
|
"""
|
|
@@ -1886,7 +1887,7 @@ class ExportImage(dict):
|
|
|
1886
1887
|
|
|
1887
1888
|
@property
|
|
1888
1889
|
@pulumi.getter
|
|
1889
|
-
def push(self) -> Optional[bool]:
|
|
1890
|
+
def push(self) -> Optional[builtins.bool]:
|
|
1890
1891
|
"""
|
|
1891
1892
|
Push after creating the image. Defaults to `false`.
|
|
1892
1893
|
"""
|
|
@@ -1894,7 +1895,7 @@ class ExportImage(dict):
|
|
|
1894
1895
|
|
|
1895
1896
|
@property
|
|
1896
1897
|
@pulumi.getter(name="pushByDigest")
|
|
1897
|
-
def push_by_digest(self) -> Optional[bool]:
|
|
1898
|
+
def push_by_digest(self) -> Optional[builtins.bool]:
|
|
1898
1899
|
"""
|
|
1899
1900
|
Push image without name.
|
|
1900
1901
|
"""
|
|
@@ -1902,7 +1903,7 @@ class ExportImage(dict):
|
|
|
1902
1903
|
|
|
1903
1904
|
@property
|
|
1904
1905
|
@pulumi.getter
|
|
1905
|
-
def store(self) -> Optional[bool]:
|
|
1906
|
+
def store(self) -> Optional[builtins.bool]:
|
|
1906
1907
|
"""
|
|
1907
1908
|
Store resulting images to the worker's image store and ensure all of
|
|
1908
1909
|
its blobs are in the content store.
|
|
@@ -1916,7 +1917,7 @@ class ExportImage(dict):
|
|
|
1916
1917
|
|
|
1917
1918
|
@property
|
|
1918
1919
|
@pulumi.getter
|
|
1919
|
-
def unpack(self) -> Optional[bool]:
|
|
1920
|
+
def unpack(self) -> Optional[builtins.bool]:
|
|
1920
1921
|
"""
|
|
1921
1922
|
Unpack image after creation (for use with containerd). Defaults to
|
|
1922
1923
|
`false`.
|
|
@@ -1927,15 +1928,15 @@ class ExportImage(dict):
|
|
|
1927
1928
|
@pulumi.output_type
|
|
1928
1929
|
class ExportLocal(dict):
|
|
1929
1930
|
def __init__(__self__, *,
|
|
1930
|
-
dest: str):
|
|
1931
|
+
dest: builtins.str):
|
|
1931
1932
|
"""
|
|
1932
|
-
:param str dest: Output path.
|
|
1933
|
+
:param builtins.str dest: Output path.
|
|
1933
1934
|
"""
|
|
1934
1935
|
pulumi.set(__self__, "dest", dest)
|
|
1935
1936
|
|
|
1936
1937
|
@property
|
|
1937
1938
|
@pulumi.getter
|
|
1938
|
-
def dest(self) -> str:
|
|
1939
|
+
def dest(self) -> builtins.str:
|
|
1939
1940
|
"""
|
|
1940
1941
|
Output path.
|
|
1941
1942
|
"""
|
|
@@ -1966,23 +1967,23 @@ class ExportOCI(dict):
|
|
|
1966
1967
|
return super().get(key, default)
|
|
1967
1968
|
|
|
1968
1969
|
def __init__(__self__, *,
|
|
1969
|
-
annotations: Optional[Mapping[str, str]] = None,
|
|
1970
|
+
annotations: Optional[Mapping[str, builtins.str]] = None,
|
|
1970
1971
|
compression: Optional['CompressionType'] = None,
|
|
1971
|
-
compression_level: Optional[int] = None,
|
|
1972
|
-
dest: Optional[str] = None,
|
|
1973
|
-
force_compression: Optional[bool] = None,
|
|
1974
|
-
names: Optional[Sequence[str]] = None,
|
|
1975
|
-
oci_media_types: Optional[bool] = None,
|
|
1976
|
-
tar: Optional[bool] = None):
|
|
1977
|
-
"""
|
|
1978
|
-
:param Mapping[str, str] annotations: Attach an arbitrary key/value annotation to the image.
|
|
1972
|
+
compression_level: Optional[builtins.int] = None,
|
|
1973
|
+
dest: Optional[builtins.str] = None,
|
|
1974
|
+
force_compression: Optional[builtins.bool] = None,
|
|
1975
|
+
names: Optional[Sequence[builtins.str]] = None,
|
|
1976
|
+
oci_media_types: Optional[builtins.bool] = None,
|
|
1977
|
+
tar: Optional[builtins.bool] = None):
|
|
1978
|
+
"""
|
|
1979
|
+
:param Mapping[str, builtins.str] annotations: Attach an arbitrary key/value annotation to the image.
|
|
1979
1980
|
:param 'CompressionType' compression: The compression type to use.
|
|
1980
|
-
:param int compression_level: Compression level from 0 to 22.
|
|
1981
|
-
:param str dest: The local export path.
|
|
1982
|
-
:param bool force_compression: Forcefully apply compression.
|
|
1983
|
-
:param Sequence[str] names: Specify images names to export. This is overridden if tags are already specified.
|
|
1984
|
-
:param bool oci_media_types: Use OCI media types in exporter manifests.
|
|
1985
|
-
:param bool tar: Bundle the output into a tarball layout.
|
|
1981
|
+
:param builtins.int compression_level: Compression level from 0 to 22.
|
|
1982
|
+
:param builtins.str dest: The local export path.
|
|
1983
|
+
:param builtins.bool force_compression: Forcefully apply compression.
|
|
1984
|
+
:param Sequence[builtins.str] names: Specify images names to export. This is overridden if tags are already specified.
|
|
1985
|
+
:param builtins.bool oci_media_types: Use OCI media types in exporter manifests.
|
|
1986
|
+
:param builtins.bool tar: Bundle the output into a tarball layout.
|
|
1986
1987
|
"""
|
|
1987
1988
|
if annotations is not None:
|
|
1988
1989
|
pulumi.set(__self__, "annotations", annotations)
|
|
@@ -2013,7 +2014,7 @@ class ExportOCI(dict):
|
|
|
2013
2014
|
|
|
2014
2015
|
@property
|
|
2015
2016
|
@pulumi.getter
|
|
2016
|
-
def annotations(self) -> Optional[Mapping[str, str]]:
|
|
2017
|
+
def annotations(self) -> Optional[Mapping[str, builtins.str]]:
|
|
2017
2018
|
"""
|
|
2018
2019
|
Attach an arbitrary key/value annotation to the image.
|
|
2019
2020
|
"""
|
|
@@ -2029,7 +2030,7 @@ class ExportOCI(dict):
|
|
|
2029
2030
|
|
|
2030
2031
|
@property
|
|
2031
2032
|
@pulumi.getter(name="compressionLevel")
|
|
2032
|
-
def compression_level(self) -> Optional[int]:
|
|
2033
|
+
def compression_level(self) -> Optional[builtins.int]:
|
|
2033
2034
|
"""
|
|
2034
2035
|
Compression level from 0 to 22.
|
|
2035
2036
|
"""
|
|
@@ -2037,7 +2038,7 @@ class ExportOCI(dict):
|
|
|
2037
2038
|
|
|
2038
2039
|
@property
|
|
2039
2040
|
@pulumi.getter
|
|
2040
|
-
def dest(self) -> Optional[str]:
|
|
2041
|
+
def dest(self) -> Optional[builtins.str]:
|
|
2041
2042
|
"""
|
|
2042
2043
|
The local export path.
|
|
2043
2044
|
"""
|
|
@@ -2045,7 +2046,7 @@ class ExportOCI(dict):
|
|
|
2045
2046
|
|
|
2046
2047
|
@property
|
|
2047
2048
|
@pulumi.getter(name="forceCompression")
|
|
2048
|
-
def force_compression(self) -> Optional[bool]:
|
|
2049
|
+
def force_compression(self) -> Optional[builtins.bool]:
|
|
2049
2050
|
"""
|
|
2050
2051
|
Forcefully apply compression.
|
|
2051
2052
|
"""
|
|
@@ -2053,7 +2054,7 @@ class ExportOCI(dict):
|
|
|
2053
2054
|
|
|
2054
2055
|
@property
|
|
2055
2056
|
@pulumi.getter
|
|
2056
|
-
def names(self) -> Optional[Sequence[str]]:
|
|
2057
|
+
def names(self) -> Optional[Sequence[builtins.str]]:
|
|
2057
2058
|
"""
|
|
2058
2059
|
Specify images names to export. This is overridden if tags are already specified.
|
|
2059
2060
|
"""
|
|
@@ -2061,7 +2062,7 @@ class ExportOCI(dict):
|
|
|
2061
2062
|
|
|
2062
2063
|
@property
|
|
2063
2064
|
@pulumi.getter(name="ociMediaTypes")
|
|
2064
|
-
def oci_media_types(self) -> Optional[bool]:
|
|
2065
|
+
def oci_media_types(self) -> Optional[builtins.bool]:
|
|
2065
2066
|
"""
|
|
2066
2067
|
Use OCI media types in exporter manifests.
|
|
2067
2068
|
"""
|
|
@@ -2069,7 +2070,7 @@ class ExportOCI(dict):
|
|
|
2069
2070
|
|
|
2070
2071
|
@property
|
|
2071
2072
|
@pulumi.getter
|
|
2072
|
-
def tar(self) -> Optional[bool]:
|
|
2073
|
+
def tar(self) -> Optional[builtins.bool]:
|
|
2073
2074
|
"""
|
|
2074
2075
|
Bundle the output into a tarball layout.
|
|
2075
2076
|
"""
|
|
@@ -2106,39 +2107,39 @@ class ExportRegistry(dict):
|
|
|
2106
2107
|
return super().get(key, default)
|
|
2107
2108
|
|
|
2108
2109
|
def __init__(__self__, *,
|
|
2109
|
-
annotations: Optional[Mapping[str, str]] = None,
|
|
2110
|
+
annotations: Optional[Mapping[str, builtins.str]] = None,
|
|
2110
2111
|
compression: Optional['CompressionType'] = None,
|
|
2111
|
-
compression_level: Optional[int] = None,
|
|
2112
|
-
dangling_name_prefix: Optional[str] = None,
|
|
2113
|
-
force_compression: Optional[bool] = None,
|
|
2114
|
-
insecure: Optional[bool] = None,
|
|
2115
|
-
name_canonical: Optional[bool] = None,
|
|
2116
|
-
names: Optional[Sequence[str]] = None,
|
|
2117
|
-
oci_media_types: Optional[bool] = None,
|
|
2118
|
-
push: Optional[bool] = None,
|
|
2119
|
-
push_by_digest: Optional[bool] = None,
|
|
2120
|
-
store: Optional[bool] = None,
|
|
2121
|
-
unpack: Optional[bool] = None):
|
|
2122
|
-
"""
|
|
2123
|
-
:param Mapping[str, str] annotations: Attach an arbitrary key/value annotation to the image.
|
|
2112
|
+
compression_level: Optional[builtins.int] = None,
|
|
2113
|
+
dangling_name_prefix: Optional[builtins.str] = None,
|
|
2114
|
+
force_compression: Optional[builtins.bool] = None,
|
|
2115
|
+
insecure: Optional[builtins.bool] = None,
|
|
2116
|
+
name_canonical: Optional[builtins.bool] = None,
|
|
2117
|
+
names: Optional[Sequence[builtins.str]] = None,
|
|
2118
|
+
oci_media_types: Optional[builtins.bool] = None,
|
|
2119
|
+
push: Optional[builtins.bool] = None,
|
|
2120
|
+
push_by_digest: Optional[builtins.bool] = None,
|
|
2121
|
+
store: Optional[builtins.bool] = None,
|
|
2122
|
+
unpack: Optional[builtins.bool] = None):
|
|
2123
|
+
"""
|
|
2124
|
+
:param Mapping[str, builtins.str] annotations: Attach an arbitrary key/value annotation to the image.
|
|
2124
2125
|
:param 'CompressionType' compression: The compression type to use.
|
|
2125
|
-
:param int compression_level: Compression level from 0 to 22.
|
|
2126
|
-
:param str dangling_name_prefix: Name image with `prefix@<digest>`, used for anonymous images.
|
|
2127
|
-
:param bool force_compression: Forcefully apply compression.
|
|
2128
|
-
:param bool insecure: Allow pushing to an insecure registry.
|
|
2129
|
-
:param bool name_canonical: Add additional canonical name (`name@<digest>`).
|
|
2130
|
-
:param Sequence[str] names: Specify images names to export. This is overridden if tags are already specified.
|
|
2131
|
-
:param bool oci_media_types: Use OCI media types in exporter manifests.
|
|
2132
|
-
:param bool push: Push after creating the image. Defaults to `true`.
|
|
2133
|
-
:param bool push_by_digest: Push image without name.
|
|
2134
|
-
:param bool store: Store resulting images to the worker's image store and ensure all of
|
|
2126
|
+
:param builtins.int compression_level: Compression level from 0 to 22.
|
|
2127
|
+
:param builtins.str dangling_name_prefix: Name image with `prefix@<digest>`, used for anonymous images.
|
|
2128
|
+
:param builtins.bool force_compression: Forcefully apply compression.
|
|
2129
|
+
:param builtins.bool insecure: Allow pushing to an insecure registry.
|
|
2130
|
+
:param builtins.bool name_canonical: Add additional canonical name (`name@<digest>`).
|
|
2131
|
+
:param Sequence[builtins.str] names: Specify images names to export. This is overridden if tags are already specified.
|
|
2132
|
+
:param builtins.bool oci_media_types: Use OCI media types in exporter manifests.
|
|
2133
|
+
:param builtins.bool push: Push after creating the image. Defaults to `true`.
|
|
2134
|
+
:param builtins.bool push_by_digest: Push image without name.
|
|
2135
|
+
:param builtins.bool store: Store resulting images to the worker's image store and ensure all of
|
|
2135
2136
|
its blobs are in the content store.
|
|
2136
2137
|
|
|
2137
2138
|
Defaults to `true`.
|
|
2138
2139
|
|
|
2139
2140
|
Ignored if the worker doesn't have image store (when using OCI workers,
|
|
2140
2141
|
for example).
|
|
2141
|
-
:param bool unpack: Unpack image after creation (for use with containerd). Defaults to
|
|
2142
|
+
:param builtins.bool unpack: Unpack image after creation (for use with containerd). Defaults to
|
|
2142
2143
|
`false`.
|
|
2143
2144
|
"""
|
|
2144
2145
|
if annotations is not None:
|
|
@@ -2182,7 +2183,7 @@ class ExportRegistry(dict):
|
|
|
2182
2183
|
|
|
2183
2184
|
@property
|
|
2184
2185
|
@pulumi.getter
|
|
2185
|
-
def annotations(self) -> Optional[Mapping[str, str]]:
|
|
2186
|
+
def annotations(self) -> Optional[Mapping[str, builtins.str]]:
|
|
2186
2187
|
"""
|
|
2187
2188
|
Attach an arbitrary key/value annotation to the image.
|
|
2188
2189
|
"""
|
|
@@ -2198,7 +2199,7 @@ class ExportRegistry(dict):
|
|
|
2198
2199
|
|
|
2199
2200
|
@property
|
|
2200
2201
|
@pulumi.getter(name="compressionLevel")
|
|
2201
|
-
def compression_level(self) -> Optional[int]:
|
|
2202
|
+
def compression_level(self) -> Optional[builtins.int]:
|
|
2202
2203
|
"""
|
|
2203
2204
|
Compression level from 0 to 22.
|
|
2204
2205
|
"""
|
|
@@ -2206,7 +2207,7 @@ class ExportRegistry(dict):
|
|
|
2206
2207
|
|
|
2207
2208
|
@property
|
|
2208
2209
|
@pulumi.getter(name="danglingNamePrefix")
|
|
2209
|
-
def dangling_name_prefix(self) -> Optional[str]:
|
|
2210
|
+
def dangling_name_prefix(self) -> Optional[builtins.str]:
|
|
2210
2211
|
"""
|
|
2211
2212
|
Name image with `prefix@<digest>`, used for anonymous images.
|
|
2212
2213
|
"""
|
|
@@ -2214,7 +2215,7 @@ class ExportRegistry(dict):
|
|
|
2214
2215
|
|
|
2215
2216
|
@property
|
|
2216
2217
|
@pulumi.getter(name="forceCompression")
|
|
2217
|
-
def force_compression(self) -> Optional[bool]:
|
|
2218
|
+
def force_compression(self) -> Optional[builtins.bool]:
|
|
2218
2219
|
"""
|
|
2219
2220
|
Forcefully apply compression.
|
|
2220
2221
|
"""
|
|
@@ -2222,7 +2223,7 @@ class ExportRegistry(dict):
|
|
|
2222
2223
|
|
|
2223
2224
|
@property
|
|
2224
2225
|
@pulumi.getter
|
|
2225
|
-
def insecure(self) -> Optional[bool]:
|
|
2226
|
+
def insecure(self) -> Optional[builtins.bool]:
|
|
2226
2227
|
"""
|
|
2227
2228
|
Allow pushing to an insecure registry.
|
|
2228
2229
|
"""
|
|
@@ -2230,7 +2231,7 @@ class ExportRegistry(dict):
|
|
|
2230
2231
|
|
|
2231
2232
|
@property
|
|
2232
2233
|
@pulumi.getter(name="nameCanonical")
|
|
2233
|
-
def name_canonical(self) -> Optional[bool]:
|
|
2234
|
+
def name_canonical(self) -> Optional[builtins.bool]:
|
|
2234
2235
|
"""
|
|
2235
2236
|
Add additional canonical name (`name@<digest>`).
|
|
2236
2237
|
"""
|
|
@@ -2238,7 +2239,7 @@ class ExportRegistry(dict):
|
|
|
2238
2239
|
|
|
2239
2240
|
@property
|
|
2240
2241
|
@pulumi.getter
|
|
2241
|
-
def names(self) -> Optional[Sequence[str]]:
|
|
2242
|
+
def names(self) -> Optional[Sequence[builtins.str]]:
|
|
2242
2243
|
"""
|
|
2243
2244
|
Specify images names to export. This is overridden if tags are already specified.
|
|
2244
2245
|
"""
|
|
@@ -2246,7 +2247,7 @@ class ExportRegistry(dict):
|
|
|
2246
2247
|
|
|
2247
2248
|
@property
|
|
2248
2249
|
@pulumi.getter(name="ociMediaTypes")
|
|
2249
|
-
def oci_media_types(self) -> Optional[bool]:
|
|
2250
|
+
def oci_media_types(self) -> Optional[builtins.bool]:
|
|
2250
2251
|
"""
|
|
2251
2252
|
Use OCI media types in exporter manifests.
|
|
2252
2253
|
"""
|
|
@@ -2254,7 +2255,7 @@ class ExportRegistry(dict):
|
|
|
2254
2255
|
|
|
2255
2256
|
@property
|
|
2256
2257
|
@pulumi.getter
|
|
2257
|
-
def push(self) -> Optional[bool]:
|
|
2258
|
+
def push(self) -> Optional[builtins.bool]:
|
|
2258
2259
|
"""
|
|
2259
2260
|
Push after creating the image. Defaults to `true`.
|
|
2260
2261
|
"""
|
|
@@ -2262,7 +2263,7 @@ class ExportRegistry(dict):
|
|
|
2262
2263
|
|
|
2263
2264
|
@property
|
|
2264
2265
|
@pulumi.getter(name="pushByDigest")
|
|
2265
|
-
def push_by_digest(self) -> Optional[bool]:
|
|
2266
|
+
def push_by_digest(self) -> Optional[builtins.bool]:
|
|
2266
2267
|
"""
|
|
2267
2268
|
Push image without name.
|
|
2268
2269
|
"""
|
|
@@ -2270,7 +2271,7 @@ class ExportRegistry(dict):
|
|
|
2270
2271
|
|
|
2271
2272
|
@property
|
|
2272
2273
|
@pulumi.getter
|
|
2273
|
-
def store(self) -> Optional[bool]:
|
|
2274
|
+
def store(self) -> Optional[builtins.bool]:
|
|
2274
2275
|
"""
|
|
2275
2276
|
Store resulting images to the worker's image store and ensure all of
|
|
2276
2277
|
its blobs are in the content store.
|
|
@@ -2284,7 +2285,7 @@ class ExportRegistry(dict):
|
|
|
2284
2285
|
|
|
2285
2286
|
@property
|
|
2286
2287
|
@pulumi.getter
|
|
2287
|
-
def unpack(self) -> Optional[bool]:
|
|
2288
|
+
def unpack(self) -> Optional[builtins.bool]:
|
|
2288
2289
|
"""
|
|
2289
2290
|
Unpack image after creation (for use with containerd). Defaults to
|
|
2290
2291
|
`false`.
|
|
@@ -2295,15 +2296,15 @@ class ExportRegistry(dict):
|
|
|
2295
2296
|
@pulumi.output_type
|
|
2296
2297
|
class ExportTar(dict):
|
|
2297
2298
|
def __init__(__self__, *,
|
|
2298
|
-
dest: str):
|
|
2299
|
+
dest: builtins.str):
|
|
2299
2300
|
"""
|
|
2300
|
-
:param str dest: Output path.
|
|
2301
|
+
:param builtins.str dest: Output path.
|
|
2301
2302
|
"""
|
|
2302
2303
|
pulumi.set(__self__, "dest", dest)
|
|
2303
2304
|
|
|
2304
2305
|
@property
|
|
2305
2306
|
@pulumi.getter
|
|
2306
|
-
def dest(self) -> str:
|
|
2307
|
+
def dest(self) -> builtins.str:
|
|
2307
2308
|
"""
|
|
2308
2309
|
Output path.
|
|
2309
2310
|
"""
|
|
@@ -2313,13 +2314,13 @@ class ExportTar(dict):
|
|
|
2313
2314
|
@pulumi.output_type
|
|
2314
2315
|
class Registry(dict):
|
|
2315
2316
|
def __init__(__self__, *,
|
|
2316
|
-
address: str,
|
|
2317
|
-
password: Optional[str] = None,
|
|
2318
|
-
username: Optional[str] = None):
|
|
2317
|
+
address: builtins.str,
|
|
2318
|
+
password: Optional[builtins.str] = None,
|
|
2319
|
+
username: Optional[builtins.str] = None):
|
|
2319
2320
|
"""
|
|
2320
|
-
:param str address: The registry's address (e.g. "docker.io").
|
|
2321
|
-
:param str password: Password or token for the registry.
|
|
2322
|
-
:param str username: Username for the registry.
|
|
2321
|
+
:param builtins.str address: The registry's address (e.g. "docker.io").
|
|
2322
|
+
:param builtins.str password: Password or token for the registry.
|
|
2323
|
+
:param builtins.str username: Username for the registry.
|
|
2323
2324
|
"""
|
|
2324
2325
|
pulumi.set(__self__, "address", address)
|
|
2325
2326
|
if password is not None:
|
|
@@ -2329,7 +2330,7 @@ class Registry(dict):
|
|
|
2329
2330
|
|
|
2330
2331
|
@property
|
|
2331
2332
|
@pulumi.getter
|
|
2332
|
-
def address(self) -> str:
|
|
2333
|
+
def address(self) -> builtins.str:
|
|
2333
2334
|
"""
|
|
2334
2335
|
The registry's address (e.g. "docker.io").
|
|
2335
2336
|
"""
|
|
@@ -2337,7 +2338,7 @@ class Registry(dict):
|
|
|
2337
2338
|
|
|
2338
2339
|
@property
|
|
2339
2340
|
@pulumi.getter
|
|
2340
|
-
def password(self) -> Optional[str]:
|
|
2341
|
+
def password(self) -> Optional[builtins.str]:
|
|
2341
2342
|
"""
|
|
2342
2343
|
Password or token for the registry.
|
|
2343
2344
|
"""
|
|
@@ -2345,7 +2346,7 @@ class Registry(dict):
|
|
|
2345
2346
|
|
|
2346
2347
|
@property
|
|
2347
2348
|
@pulumi.getter
|
|
2348
|
-
def username(self) -> Optional[str]:
|
|
2349
|
+
def username(self) -> Optional[builtins.str]:
|
|
2349
2350
|
"""
|
|
2350
2351
|
Username for the registry.
|
|
2351
2352
|
"""
|
|
@@ -2355,14 +2356,14 @@ class Registry(dict):
|
|
|
2355
2356
|
@pulumi.output_type
|
|
2356
2357
|
class SSH(dict):
|
|
2357
2358
|
def __init__(__self__, *,
|
|
2358
|
-
id: str,
|
|
2359
|
-
paths: Optional[Sequence[str]] = None):
|
|
2359
|
+
id: builtins.str,
|
|
2360
|
+
paths: Optional[Sequence[builtins.str]] = None):
|
|
2360
2361
|
"""
|
|
2361
|
-
:param str id: Useful for distinguishing different servers that are part of the same
|
|
2362
|
+
:param builtins.str id: Useful for distinguishing different servers that are part of the same
|
|
2362
2363
|
build.
|
|
2363
2364
|
|
|
2364
2365
|
A value of `default` is appropriate if only dealing with a single host.
|
|
2365
|
-
:param Sequence[str] paths: SSH agent socket or private keys to expose to the build under the given
|
|
2366
|
+
:param Sequence[builtins.str] paths: SSH agent socket or private keys to expose to the build under the given
|
|
2366
2367
|
identifier.
|
|
2367
2368
|
|
|
2368
2369
|
Defaults to `[$SSH_AUTH_SOCK]`.
|
|
@@ -2377,7 +2378,7 @@ class SSH(dict):
|
|
|
2377
2378
|
|
|
2378
2379
|
@property
|
|
2379
2380
|
@pulumi.getter
|
|
2380
|
-
def id(self) -> str:
|
|
2381
|
+
def id(self) -> builtins.str:
|
|
2381
2382
|
"""
|
|
2382
2383
|
Useful for distinguishing different servers that are part of the same
|
|
2383
2384
|
build.
|
|
@@ -2388,7 +2389,7 @@ class SSH(dict):
|
|
|
2388
2389
|
|
|
2389
2390
|
@property
|
|
2390
2391
|
@pulumi.getter
|
|
2391
|
-
def paths(self) -> Optional[Sequence[str]]:
|
|
2392
|
+
def paths(self) -> Optional[Sequence[builtins.str]]:
|
|
2392
2393
|
"""
|
|
2393
2394
|
SSH agent socket or private keys to expose to the build under the given
|
|
2394
2395
|
identifier.
|