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