pulumi-docker 4.6.0b2__py3-none-any.whl → 4.6.0b3__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 might be problematic. Click here for more details.
- pulumi_docker/__init__.py +2 -1
- pulumi_docker/buildx/__init__.py +1 -0
- pulumi_docker/buildx/_inputs.py +521 -487
- pulumi_docker/buildx/image.py +238 -78
- pulumi_docker/buildx/index.py +352 -0
- pulumi_docker/buildx/outputs.py +316 -283
- {pulumi_docker-4.6.0b2.dist-info → pulumi_docker-4.6.0b3.dist-info}/METADATA +1 -1
- {pulumi_docker-4.6.0b2.dist-info → pulumi_docker-4.6.0b3.dist-info}/RECORD +10 -9
- {pulumi_docker-4.6.0b2.dist-info → pulumi_docker-4.6.0b3.dist-info}/WHEEL +1 -1
- {pulumi_docker-4.6.0b2.dist-info → pulumi_docker-4.6.0b3.dist-info}/top_level.txt +0 -0
pulumi_docker/buildx/outputs.py
CHANGED
|
@@ -14,14 +14,14 @@ from ._enums import *
|
|
|
14
14
|
__all__ = [
|
|
15
15
|
'BuildContext',
|
|
16
16
|
'BuilderConfig',
|
|
17
|
+
'CacheFrom',
|
|
17
18
|
'CacheFromAzureBlob',
|
|
18
|
-
'CacheFromEntry',
|
|
19
19
|
'CacheFromGitHubActions',
|
|
20
20
|
'CacheFromLocal',
|
|
21
21
|
'CacheFromRegistry',
|
|
22
22
|
'CacheFromS3',
|
|
23
|
+
'CacheTo',
|
|
23
24
|
'CacheToAzureBlob',
|
|
24
|
-
'CacheToEntry',
|
|
25
25
|
'CacheToGitHubActions',
|
|
26
26
|
'CacheToInline',
|
|
27
27
|
'CacheToLocal',
|
|
@@ -29,8 +29,9 @@ __all__ = [
|
|
|
29
29
|
'CacheToS3',
|
|
30
30
|
'Context',
|
|
31
31
|
'Dockerfile',
|
|
32
|
+
'Export',
|
|
33
|
+
'ExportCacheOnly',
|
|
32
34
|
'ExportDocker',
|
|
33
|
-
'ExportEntry',
|
|
34
35
|
'ExportImage',
|
|
35
36
|
'ExportLocal',
|
|
36
37
|
'ExportOCI',
|
|
@@ -124,68 +125,7 @@ class BuilderConfig(dict):
|
|
|
124
125
|
|
|
125
126
|
|
|
126
127
|
@pulumi.output_type
|
|
127
|
-
class
|
|
128
|
-
@staticmethod
|
|
129
|
-
def __key_warning(key: str):
|
|
130
|
-
suggest = None
|
|
131
|
-
if key == "accountUrl":
|
|
132
|
-
suggest = "account_url"
|
|
133
|
-
elif key == "secretAccessKey":
|
|
134
|
-
suggest = "secret_access_key"
|
|
135
|
-
|
|
136
|
-
if suggest:
|
|
137
|
-
pulumi.log.warn(f"Key '{key}' not found in CacheFromAzureBlob. Access the value via the '{suggest}' property getter instead.")
|
|
138
|
-
|
|
139
|
-
def __getitem__(self, key: str) -> Any:
|
|
140
|
-
CacheFromAzureBlob.__key_warning(key)
|
|
141
|
-
return super().__getitem__(key)
|
|
142
|
-
|
|
143
|
-
def get(self, key: str, default = None) -> Any:
|
|
144
|
-
CacheFromAzureBlob.__key_warning(key)
|
|
145
|
-
return super().get(key, default)
|
|
146
|
-
|
|
147
|
-
def __init__(__self__, *,
|
|
148
|
-
name: str,
|
|
149
|
-
account_url: Optional[str] = None,
|
|
150
|
-
secret_access_key: Optional[str] = None):
|
|
151
|
-
"""
|
|
152
|
-
:param str name: The name of the cache image.
|
|
153
|
-
:param str account_url: Base URL of the storage account.
|
|
154
|
-
:param str secret_access_key: Blob storage account key.
|
|
155
|
-
"""
|
|
156
|
-
pulumi.set(__self__, "name", name)
|
|
157
|
-
if account_url is not None:
|
|
158
|
-
pulumi.set(__self__, "account_url", account_url)
|
|
159
|
-
if secret_access_key is not None:
|
|
160
|
-
pulumi.set(__self__, "secret_access_key", secret_access_key)
|
|
161
|
-
|
|
162
|
-
@property
|
|
163
|
-
@pulumi.getter
|
|
164
|
-
def name(self) -> str:
|
|
165
|
-
"""
|
|
166
|
-
The name of the cache image.
|
|
167
|
-
"""
|
|
168
|
-
return pulumi.get(self, "name")
|
|
169
|
-
|
|
170
|
-
@property
|
|
171
|
-
@pulumi.getter(name="accountUrl")
|
|
172
|
-
def account_url(self) -> Optional[str]:
|
|
173
|
-
"""
|
|
174
|
-
Base URL of the storage account.
|
|
175
|
-
"""
|
|
176
|
-
return pulumi.get(self, "account_url")
|
|
177
|
-
|
|
178
|
-
@property
|
|
179
|
-
@pulumi.getter(name="secretAccessKey")
|
|
180
|
-
def secret_access_key(self) -> Optional[str]:
|
|
181
|
-
"""
|
|
182
|
-
Blob storage account key.
|
|
183
|
-
"""
|
|
184
|
-
return pulumi.get(self, "secret_access_key")
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
@pulumi.output_type
|
|
188
|
-
class CacheFromEntry(dict):
|
|
128
|
+
class CacheFrom(dict):
|
|
189
129
|
def __init__(__self__, *,
|
|
190
130
|
azblob: Optional['outputs.CacheFromAzureBlob'] = None,
|
|
191
131
|
disabled: Optional[bool] = None,
|
|
@@ -285,6 +225,67 @@ class CacheFromEntry(dict):
|
|
|
285
225
|
return pulumi.get(self, "s3")
|
|
286
226
|
|
|
287
227
|
|
|
228
|
+
@pulumi.output_type
|
|
229
|
+
class CacheFromAzureBlob(dict):
|
|
230
|
+
@staticmethod
|
|
231
|
+
def __key_warning(key: str):
|
|
232
|
+
suggest = None
|
|
233
|
+
if key == "accountUrl":
|
|
234
|
+
suggest = "account_url"
|
|
235
|
+
elif key == "secretAccessKey":
|
|
236
|
+
suggest = "secret_access_key"
|
|
237
|
+
|
|
238
|
+
if suggest:
|
|
239
|
+
pulumi.log.warn(f"Key '{key}' not found in CacheFromAzureBlob. Access the value via the '{suggest}' property getter instead.")
|
|
240
|
+
|
|
241
|
+
def __getitem__(self, key: str) -> Any:
|
|
242
|
+
CacheFromAzureBlob.__key_warning(key)
|
|
243
|
+
return super().__getitem__(key)
|
|
244
|
+
|
|
245
|
+
def get(self, key: str, default = None) -> Any:
|
|
246
|
+
CacheFromAzureBlob.__key_warning(key)
|
|
247
|
+
return super().get(key, default)
|
|
248
|
+
|
|
249
|
+
def __init__(__self__, *,
|
|
250
|
+
name: str,
|
|
251
|
+
account_url: Optional[str] = None,
|
|
252
|
+
secret_access_key: Optional[str] = None):
|
|
253
|
+
"""
|
|
254
|
+
:param str name: The name of the cache image.
|
|
255
|
+
:param str account_url: Base URL of the storage account.
|
|
256
|
+
:param str secret_access_key: Blob storage account key.
|
|
257
|
+
"""
|
|
258
|
+
pulumi.set(__self__, "name", name)
|
|
259
|
+
if account_url is not None:
|
|
260
|
+
pulumi.set(__self__, "account_url", account_url)
|
|
261
|
+
if secret_access_key is not None:
|
|
262
|
+
pulumi.set(__self__, "secret_access_key", secret_access_key)
|
|
263
|
+
|
|
264
|
+
@property
|
|
265
|
+
@pulumi.getter
|
|
266
|
+
def name(self) -> str:
|
|
267
|
+
"""
|
|
268
|
+
The name of the cache image.
|
|
269
|
+
"""
|
|
270
|
+
return pulumi.get(self, "name")
|
|
271
|
+
|
|
272
|
+
@property
|
|
273
|
+
@pulumi.getter(name="accountUrl")
|
|
274
|
+
def account_url(self) -> Optional[str]:
|
|
275
|
+
"""
|
|
276
|
+
Base URL of the storage account.
|
|
277
|
+
"""
|
|
278
|
+
return pulumi.get(self, "account_url")
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
@pulumi.getter(name="secretAccessKey")
|
|
282
|
+
def secret_access_key(self) -> Optional[str]:
|
|
283
|
+
"""
|
|
284
|
+
Blob storage account key.
|
|
285
|
+
"""
|
|
286
|
+
return pulumi.get(self, "secret_access_key")
|
|
287
|
+
|
|
288
|
+
|
|
288
289
|
@pulumi.output_type
|
|
289
290
|
class CacheFromGitHubActions(dict):
|
|
290
291
|
def __init__(__self__, *,
|
|
@@ -569,98 +570,7 @@ class CacheFromS3(dict):
|
|
|
569
570
|
|
|
570
571
|
|
|
571
572
|
@pulumi.output_type
|
|
572
|
-
class
|
|
573
|
-
@staticmethod
|
|
574
|
-
def __key_warning(key: str):
|
|
575
|
-
suggest = None
|
|
576
|
-
if key == "accountUrl":
|
|
577
|
-
suggest = "account_url"
|
|
578
|
-
elif key == "ignoreError":
|
|
579
|
-
suggest = "ignore_error"
|
|
580
|
-
elif key == "secretAccessKey":
|
|
581
|
-
suggest = "secret_access_key"
|
|
582
|
-
|
|
583
|
-
if suggest:
|
|
584
|
-
pulumi.log.warn(f"Key '{key}' not found in CacheToAzureBlob. Access the value via the '{suggest}' property getter instead.")
|
|
585
|
-
|
|
586
|
-
def __getitem__(self, key: str) -> Any:
|
|
587
|
-
CacheToAzureBlob.__key_warning(key)
|
|
588
|
-
return super().__getitem__(key)
|
|
589
|
-
|
|
590
|
-
def get(self, key: str, default = None) -> Any:
|
|
591
|
-
CacheToAzureBlob.__key_warning(key)
|
|
592
|
-
return super().get(key, default)
|
|
593
|
-
|
|
594
|
-
def __init__(__self__, *,
|
|
595
|
-
name: str,
|
|
596
|
-
account_url: Optional[str] = None,
|
|
597
|
-
ignore_error: Optional[bool] = None,
|
|
598
|
-
mode: Optional['CacheMode'] = None,
|
|
599
|
-
secret_access_key: Optional[str] = None):
|
|
600
|
-
"""
|
|
601
|
-
:param str name: The name of the cache image.
|
|
602
|
-
:param str account_url: Base URL of the storage account.
|
|
603
|
-
:param bool ignore_error: Ignore errors caused by failed cache exports.
|
|
604
|
-
:param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
|
|
605
|
-
:param str secret_access_key: Blob storage account key.
|
|
606
|
-
"""
|
|
607
|
-
pulumi.set(__self__, "name", name)
|
|
608
|
-
if account_url is not None:
|
|
609
|
-
pulumi.set(__self__, "account_url", account_url)
|
|
610
|
-
if ignore_error is None:
|
|
611
|
-
ignore_error = False
|
|
612
|
-
if ignore_error is not None:
|
|
613
|
-
pulumi.set(__self__, "ignore_error", ignore_error)
|
|
614
|
-
if mode is None:
|
|
615
|
-
mode = 'min'
|
|
616
|
-
if mode is not None:
|
|
617
|
-
pulumi.set(__self__, "mode", mode)
|
|
618
|
-
if secret_access_key is not None:
|
|
619
|
-
pulumi.set(__self__, "secret_access_key", secret_access_key)
|
|
620
|
-
|
|
621
|
-
@property
|
|
622
|
-
@pulumi.getter
|
|
623
|
-
def name(self) -> str:
|
|
624
|
-
"""
|
|
625
|
-
The name of the cache image.
|
|
626
|
-
"""
|
|
627
|
-
return pulumi.get(self, "name")
|
|
628
|
-
|
|
629
|
-
@property
|
|
630
|
-
@pulumi.getter(name="accountUrl")
|
|
631
|
-
def account_url(self) -> Optional[str]:
|
|
632
|
-
"""
|
|
633
|
-
Base URL of the storage account.
|
|
634
|
-
"""
|
|
635
|
-
return pulumi.get(self, "account_url")
|
|
636
|
-
|
|
637
|
-
@property
|
|
638
|
-
@pulumi.getter(name="ignoreError")
|
|
639
|
-
def ignore_error(self) -> Optional[bool]:
|
|
640
|
-
"""
|
|
641
|
-
Ignore errors caused by failed cache exports.
|
|
642
|
-
"""
|
|
643
|
-
return pulumi.get(self, "ignore_error")
|
|
644
|
-
|
|
645
|
-
@property
|
|
646
|
-
@pulumi.getter
|
|
647
|
-
def mode(self) -> Optional['CacheMode']:
|
|
648
|
-
"""
|
|
649
|
-
The cache mode to use. Defaults to `min`.
|
|
650
|
-
"""
|
|
651
|
-
return pulumi.get(self, "mode")
|
|
652
|
-
|
|
653
|
-
@property
|
|
654
|
-
@pulumi.getter(name="secretAccessKey")
|
|
655
|
-
def secret_access_key(self) -> Optional[str]:
|
|
656
|
-
"""
|
|
657
|
-
Blob storage account key.
|
|
658
|
-
"""
|
|
659
|
-
return pulumi.get(self, "secret_access_key")
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
@pulumi.output_type
|
|
663
|
-
class CacheToEntry(dict):
|
|
573
|
+
class CacheTo(dict):
|
|
664
574
|
def __init__(__self__, *,
|
|
665
575
|
azblob: Optional['outputs.CacheToAzureBlob'] = None,
|
|
666
576
|
disabled: Optional[bool] = None,
|
|
@@ -742,38 +652,129 @@ class CacheToEntry(dict):
|
|
|
742
652
|
return pulumi.get(self, "inline")
|
|
743
653
|
|
|
744
654
|
@property
|
|
745
|
-
@pulumi.getter
|
|
746
|
-
def local(self) -> Optional['outputs.CacheToLocal']:
|
|
655
|
+
@pulumi.getter
|
|
656
|
+
def local(self) -> Optional['outputs.CacheToLocal']:
|
|
657
|
+
"""
|
|
658
|
+
A simple backend which caches imagines on your local filesystem.
|
|
659
|
+
"""
|
|
660
|
+
return pulumi.get(self, "local")
|
|
661
|
+
|
|
662
|
+
@property
|
|
663
|
+
@pulumi.getter
|
|
664
|
+
def raw(self) -> Optional[str]:
|
|
665
|
+
"""
|
|
666
|
+
A raw string as you would provide it to the Docker CLI (e.g.,
|
|
667
|
+
`type=inline`)
|
|
668
|
+
"""
|
|
669
|
+
return pulumi.get(self, "raw")
|
|
670
|
+
|
|
671
|
+
@property
|
|
672
|
+
@pulumi.getter
|
|
673
|
+
def registry(self) -> Optional['outputs.CacheToRegistry']:
|
|
674
|
+
"""
|
|
675
|
+
Push caches to remote registries. Incompatible with the `docker` build
|
|
676
|
+
driver.
|
|
677
|
+
"""
|
|
678
|
+
return pulumi.get(self, "registry")
|
|
679
|
+
|
|
680
|
+
@property
|
|
681
|
+
@pulumi.getter
|
|
682
|
+
def s3(self) -> Optional['outputs.CacheToS3']:
|
|
683
|
+
"""
|
|
684
|
+
Push cache to AWS S3 or S3-compatible services such as MinIO.
|
|
685
|
+
"""
|
|
686
|
+
return pulumi.get(self, "s3")
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
@pulumi.output_type
|
|
690
|
+
class CacheToAzureBlob(dict):
|
|
691
|
+
@staticmethod
|
|
692
|
+
def __key_warning(key: str):
|
|
693
|
+
suggest = None
|
|
694
|
+
if key == "accountUrl":
|
|
695
|
+
suggest = "account_url"
|
|
696
|
+
elif key == "ignoreError":
|
|
697
|
+
suggest = "ignore_error"
|
|
698
|
+
elif key == "secretAccessKey":
|
|
699
|
+
suggest = "secret_access_key"
|
|
700
|
+
|
|
701
|
+
if suggest:
|
|
702
|
+
pulumi.log.warn(f"Key '{key}' not found in CacheToAzureBlob. Access the value via the '{suggest}' property getter instead.")
|
|
703
|
+
|
|
704
|
+
def __getitem__(self, key: str) -> Any:
|
|
705
|
+
CacheToAzureBlob.__key_warning(key)
|
|
706
|
+
return super().__getitem__(key)
|
|
707
|
+
|
|
708
|
+
def get(self, key: str, default = None) -> Any:
|
|
709
|
+
CacheToAzureBlob.__key_warning(key)
|
|
710
|
+
return super().get(key, default)
|
|
711
|
+
|
|
712
|
+
def __init__(__self__, *,
|
|
713
|
+
name: str,
|
|
714
|
+
account_url: Optional[str] = None,
|
|
715
|
+
ignore_error: Optional[bool] = None,
|
|
716
|
+
mode: Optional['CacheMode'] = None,
|
|
717
|
+
secret_access_key: Optional[str] = None):
|
|
718
|
+
"""
|
|
719
|
+
:param str name: The name of the cache image.
|
|
720
|
+
:param str account_url: Base URL of the storage account.
|
|
721
|
+
:param bool ignore_error: Ignore errors caused by failed cache exports.
|
|
722
|
+
:param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
|
|
723
|
+
:param str secret_access_key: Blob storage account key.
|
|
724
|
+
"""
|
|
725
|
+
pulumi.set(__self__, "name", name)
|
|
726
|
+
if account_url is not None:
|
|
727
|
+
pulumi.set(__self__, "account_url", account_url)
|
|
728
|
+
if ignore_error is None:
|
|
729
|
+
ignore_error = False
|
|
730
|
+
if ignore_error is not None:
|
|
731
|
+
pulumi.set(__self__, "ignore_error", ignore_error)
|
|
732
|
+
if mode is None:
|
|
733
|
+
mode = 'min'
|
|
734
|
+
if mode is not None:
|
|
735
|
+
pulumi.set(__self__, "mode", mode)
|
|
736
|
+
if secret_access_key is not None:
|
|
737
|
+
pulumi.set(__self__, "secret_access_key", secret_access_key)
|
|
738
|
+
|
|
739
|
+
@property
|
|
740
|
+
@pulumi.getter
|
|
741
|
+
def name(self) -> str:
|
|
742
|
+
"""
|
|
743
|
+
The name of the cache image.
|
|
744
|
+
"""
|
|
745
|
+
return pulumi.get(self, "name")
|
|
746
|
+
|
|
747
|
+
@property
|
|
748
|
+
@pulumi.getter(name="accountUrl")
|
|
749
|
+
def account_url(self) -> Optional[str]:
|
|
747
750
|
"""
|
|
748
|
-
|
|
751
|
+
Base URL of the storage account.
|
|
749
752
|
"""
|
|
750
|
-
return pulumi.get(self, "
|
|
753
|
+
return pulumi.get(self, "account_url")
|
|
751
754
|
|
|
752
755
|
@property
|
|
753
|
-
@pulumi.getter
|
|
754
|
-
def
|
|
756
|
+
@pulumi.getter(name="ignoreError")
|
|
757
|
+
def ignore_error(self) -> Optional[bool]:
|
|
755
758
|
"""
|
|
756
|
-
|
|
757
|
-
`type=inline`)
|
|
759
|
+
Ignore errors caused by failed cache exports.
|
|
758
760
|
"""
|
|
759
|
-
return pulumi.get(self, "
|
|
761
|
+
return pulumi.get(self, "ignore_error")
|
|
760
762
|
|
|
761
763
|
@property
|
|
762
764
|
@pulumi.getter
|
|
763
|
-
def
|
|
765
|
+
def mode(self) -> Optional['CacheMode']:
|
|
764
766
|
"""
|
|
765
|
-
|
|
766
|
-
driver.
|
|
767
|
+
The cache mode to use. Defaults to `min`.
|
|
767
768
|
"""
|
|
768
|
-
return pulumi.get(self, "
|
|
769
|
+
return pulumi.get(self, "mode")
|
|
769
770
|
|
|
770
771
|
@property
|
|
771
|
-
@pulumi.getter
|
|
772
|
-
def
|
|
772
|
+
@pulumi.getter(name="secretAccessKey")
|
|
773
|
+
def secret_access_key(self) -> Optional[str]:
|
|
773
774
|
"""
|
|
774
|
-
|
|
775
|
+
Blob storage account key.
|
|
775
776
|
"""
|
|
776
|
-
return pulumi.get(self, "
|
|
777
|
+
return pulumi.get(self, "secret_access_key")
|
|
777
778
|
|
|
778
779
|
|
|
779
780
|
@pulumi.output_type
|
|
@@ -896,7 +897,13 @@ class CacheToGitHubActions(dict):
|
|
|
896
897
|
|
|
897
898
|
@pulumi.output_type
|
|
898
899
|
class CacheToInline(dict):
|
|
900
|
+
"""
|
|
901
|
+
Include an inline cache with the exported image.
|
|
902
|
+
"""
|
|
899
903
|
def __init__(__self__):
|
|
904
|
+
"""
|
|
905
|
+
Include an inline cache with the exported image.
|
|
906
|
+
"""
|
|
900
907
|
pass
|
|
901
908
|
|
|
902
909
|
|
|
@@ -1052,9 +1059,12 @@ class CacheToRegistry(dict):
|
|
|
1052
1059
|
:param bool force_compression: Forcefully apply compression.
|
|
1053
1060
|
:param bool ignore_error: Ignore errors caused by failed cache exports.
|
|
1054
1061
|
:param bool image_manifest: Export cache manifest as an OCI-compatible image manifest instead of a
|
|
1055
|
-
manifest list
|
|
1062
|
+
manifest list. Requires `ociMediaTypes` to also be `true`.
|
|
1063
|
+
|
|
1064
|
+
Some registries like AWS ECR will not work with caching if this is
|
|
1065
|
+
`false`.
|
|
1056
1066
|
|
|
1057
|
-
Defaults to `false
|
|
1067
|
+
Defaults to `false` to match Docker's default behavior.
|
|
1058
1068
|
:param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
|
|
1059
1069
|
:param bool oci_media_types: Whether to use OCI media types in exported manifests. Defaults to
|
|
1060
1070
|
`true`.
|
|
@@ -1134,9 +1144,12 @@ class CacheToRegistry(dict):
|
|
|
1134
1144
|
def image_manifest(self) -> Optional[bool]:
|
|
1135
1145
|
"""
|
|
1136
1146
|
Export cache manifest as an OCI-compatible image manifest instead of a
|
|
1137
|
-
manifest list
|
|
1147
|
+
manifest list. Requires `ociMediaTypes` to also be `true`.
|
|
1138
1148
|
|
|
1139
|
-
|
|
1149
|
+
Some registries like AWS ECR will not work with caching if this is
|
|
1150
|
+
`false`.
|
|
1151
|
+
|
|
1152
|
+
Defaults to `false` to match Docker's default behavior.
|
|
1140
1153
|
"""
|
|
1141
1154
|
return pulumi.get(self, "image_manifest")
|
|
1142
1155
|
|
|
@@ -1433,6 +1446,131 @@ class Dockerfile(dict):
|
|
|
1433
1446
|
return pulumi.get(self, "location")
|
|
1434
1447
|
|
|
1435
1448
|
|
|
1449
|
+
@pulumi.output_type
|
|
1450
|
+
class Export(dict):
|
|
1451
|
+
def __init__(__self__, *,
|
|
1452
|
+
cacheonly: Optional['outputs.ExportCacheOnly'] = None,
|
|
1453
|
+
disabled: Optional[bool] = None,
|
|
1454
|
+
docker: Optional['outputs.ExportDocker'] = None,
|
|
1455
|
+
image: Optional['outputs.ExportImage'] = None,
|
|
1456
|
+
local: Optional['outputs.ExportLocal'] = None,
|
|
1457
|
+
oci: Optional['outputs.ExportOCI'] = None,
|
|
1458
|
+
raw: Optional[str] = None,
|
|
1459
|
+
registry: Optional['outputs.ExportRegistry'] = None,
|
|
1460
|
+
tar: Optional['outputs.ExportTar'] = None):
|
|
1461
|
+
"""
|
|
1462
|
+
:param 'ExportCacheOnlyArgs' cacheonly: A no-op export. Helpful for silencing the 'no exports' warning if you
|
|
1463
|
+
just want to populate caches.
|
|
1464
|
+
:param bool disabled: When `true` this entry will be excluded. Defaults to `false`.
|
|
1465
|
+
:param 'ExportDockerArgs' docker: Export as a Docker image layout.
|
|
1466
|
+
:param 'ExportImageArgs' image: Outputs the build result into a container image format.
|
|
1467
|
+
:param 'ExportLocalArgs' local: Export to a local directory as files and directories.
|
|
1468
|
+
:param 'ExportOCIArgs' oci: Identical to the Docker exporter but uses OCI media types by default.
|
|
1469
|
+
:param str raw: A raw string as you would provide it to the Docker CLI (e.g.,
|
|
1470
|
+
`type=docker`)
|
|
1471
|
+
:param 'ExportRegistryArgs' registry: Identical to the Image exporter, but pushes by default.
|
|
1472
|
+
:param 'ExportTarArgs' tar: Export to a local directory as a tarball.
|
|
1473
|
+
"""
|
|
1474
|
+
if cacheonly is not None:
|
|
1475
|
+
pulumi.set(__self__, "cacheonly", cacheonly)
|
|
1476
|
+
if disabled is not None:
|
|
1477
|
+
pulumi.set(__self__, "disabled", disabled)
|
|
1478
|
+
if docker is not None:
|
|
1479
|
+
pulumi.set(__self__, "docker", docker)
|
|
1480
|
+
if image is not None:
|
|
1481
|
+
pulumi.set(__self__, "image", image)
|
|
1482
|
+
if local is not None:
|
|
1483
|
+
pulumi.set(__self__, "local", local)
|
|
1484
|
+
if oci is not None:
|
|
1485
|
+
pulumi.set(__self__, "oci", oci)
|
|
1486
|
+
if raw is not None:
|
|
1487
|
+
pulumi.set(__self__, "raw", raw)
|
|
1488
|
+
if registry is not None:
|
|
1489
|
+
pulumi.set(__self__, "registry", registry)
|
|
1490
|
+
if tar is not None:
|
|
1491
|
+
pulumi.set(__self__, "tar", tar)
|
|
1492
|
+
|
|
1493
|
+
@property
|
|
1494
|
+
@pulumi.getter
|
|
1495
|
+
def cacheonly(self) -> Optional['outputs.ExportCacheOnly']:
|
|
1496
|
+
"""
|
|
1497
|
+
A no-op export. Helpful for silencing the 'no exports' warning if you
|
|
1498
|
+
just want to populate caches.
|
|
1499
|
+
"""
|
|
1500
|
+
return pulumi.get(self, "cacheonly")
|
|
1501
|
+
|
|
1502
|
+
@property
|
|
1503
|
+
@pulumi.getter
|
|
1504
|
+
def disabled(self) -> Optional[bool]:
|
|
1505
|
+
"""
|
|
1506
|
+
When `true` this entry will be excluded. Defaults to `false`.
|
|
1507
|
+
"""
|
|
1508
|
+
return pulumi.get(self, "disabled")
|
|
1509
|
+
|
|
1510
|
+
@property
|
|
1511
|
+
@pulumi.getter
|
|
1512
|
+
def docker(self) -> Optional['outputs.ExportDocker']:
|
|
1513
|
+
"""
|
|
1514
|
+
Export as a Docker image layout.
|
|
1515
|
+
"""
|
|
1516
|
+
return pulumi.get(self, "docker")
|
|
1517
|
+
|
|
1518
|
+
@property
|
|
1519
|
+
@pulumi.getter
|
|
1520
|
+
def image(self) -> Optional['outputs.ExportImage']:
|
|
1521
|
+
"""
|
|
1522
|
+
Outputs the build result into a container image format.
|
|
1523
|
+
"""
|
|
1524
|
+
return pulumi.get(self, "image")
|
|
1525
|
+
|
|
1526
|
+
@property
|
|
1527
|
+
@pulumi.getter
|
|
1528
|
+
def local(self) -> Optional['outputs.ExportLocal']:
|
|
1529
|
+
"""
|
|
1530
|
+
Export to a local directory as files and directories.
|
|
1531
|
+
"""
|
|
1532
|
+
return pulumi.get(self, "local")
|
|
1533
|
+
|
|
1534
|
+
@property
|
|
1535
|
+
@pulumi.getter
|
|
1536
|
+
def oci(self) -> Optional['outputs.ExportOCI']:
|
|
1537
|
+
"""
|
|
1538
|
+
Identical to the Docker exporter but uses OCI media types by default.
|
|
1539
|
+
"""
|
|
1540
|
+
return pulumi.get(self, "oci")
|
|
1541
|
+
|
|
1542
|
+
@property
|
|
1543
|
+
@pulumi.getter
|
|
1544
|
+
def raw(self) -> Optional[str]:
|
|
1545
|
+
"""
|
|
1546
|
+
A raw string as you would provide it to the Docker CLI (e.g.,
|
|
1547
|
+
`type=docker`)
|
|
1548
|
+
"""
|
|
1549
|
+
return pulumi.get(self, "raw")
|
|
1550
|
+
|
|
1551
|
+
@property
|
|
1552
|
+
@pulumi.getter
|
|
1553
|
+
def registry(self) -> Optional['outputs.ExportRegistry']:
|
|
1554
|
+
"""
|
|
1555
|
+
Identical to the Image exporter, but pushes by default.
|
|
1556
|
+
"""
|
|
1557
|
+
return pulumi.get(self, "registry")
|
|
1558
|
+
|
|
1559
|
+
@property
|
|
1560
|
+
@pulumi.getter
|
|
1561
|
+
def tar(self) -> Optional['outputs.ExportTar']:
|
|
1562
|
+
"""
|
|
1563
|
+
Export to a local directory as a tarball.
|
|
1564
|
+
"""
|
|
1565
|
+
return pulumi.get(self, "tar")
|
|
1566
|
+
|
|
1567
|
+
|
|
1568
|
+
@pulumi.output_type
|
|
1569
|
+
class ExportCacheOnly(dict):
|
|
1570
|
+
def __init__(__self__):
|
|
1571
|
+
pass
|
|
1572
|
+
|
|
1573
|
+
|
|
1436
1574
|
@pulumi.output_type
|
|
1437
1575
|
class ExportDocker(dict):
|
|
1438
1576
|
@staticmethod
|
|
@@ -1567,111 +1705,6 @@ class ExportDocker(dict):
|
|
|
1567
1705
|
return pulumi.get(self, "tar")
|
|
1568
1706
|
|
|
1569
1707
|
|
|
1570
|
-
@pulumi.output_type
|
|
1571
|
-
class ExportEntry(dict):
|
|
1572
|
-
def __init__(__self__, *,
|
|
1573
|
-
disabled: Optional[bool] = None,
|
|
1574
|
-
docker: Optional['outputs.ExportDocker'] = None,
|
|
1575
|
-
image: Optional['outputs.ExportImage'] = None,
|
|
1576
|
-
local: Optional['outputs.ExportLocal'] = None,
|
|
1577
|
-
oci: Optional['outputs.ExportOCI'] = None,
|
|
1578
|
-
raw: Optional[str] = None,
|
|
1579
|
-
registry: Optional['outputs.ExportRegistry'] = None,
|
|
1580
|
-
tar: Optional['outputs.ExportTar'] = None):
|
|
1581
|
-
"""
|
|
1582
|
-
:param bool disabled: When `true` this entry will be excluded. Defaults to `false`.
|
|
1583
|
-
:param 'ExportDockerArgs' docker: Export as a Docker image layout.
|
|
1584
|
-
:param 'ExportImageArgs' image: Outputs the build result into a container image format.
|
|
1585
|
-
:param 'ExportLocalArgs' local: Export to a local directory as files and directories.
|
|
1586
|
-
:param 'ExportOCIArgs' oci: Identical to the Docker exporter but uses OCI media types by default.
|
|
1587
|
-
:param str raw: A raw string as you would provide it to the Docker CLI (e.g.,
|
|
1588
|
-
`type=docker`)
|
|
1589
|
-
:param 'ExportRegistryArgs' registry: Identical to the Image exporter, but pushes by default.
|
|
1590
|
-
:param 'ExportTarArgs' tar: Export to a local directory as a tarball.
|
|
1591
|
-
"""
|
|
1592
|
-
if disabled is not None:
|
|
1593
|
-
pulumi.set(__self__, "disabled", disabled)
|
|
1594
|
-
if docker is not None:
|
|
1595
|
-
pulumi.set(__self__, "docker", docker)
|
|
1596
|
-
if image is not None:
|
|
1597
|
-
pulumi.set(__self__, "image", image)
|
|
1598
|
-
if local is not None:
|
|
1599
|
-
pulumi.set(__self__, "local", local)
|
|
1600
|
-
if oci is not None:
|
|
1601
|
-
pulumi.set(__self__, "oci", oci)
|
|
1602
|
-
if raw is not None:
|
|
1603
|
-
pulumi.set(__self__, "raw", raw)
|
|
1604
|
-
if registry is not None:
|
|
1605
|
-
pulumi.set(__self__, "registry", registry)
|
|
1606
|
-
if tar is not None:
|
|
1607
|
-
pulumi.set(__self__, "tar", tar)
|
|
1608
|
-
|
|
1609
|
-
@property
|
|
1610
|
-
@pulumi.getter
|
|
1611
|
-
def disabled(self) -> Optional[bool]:
|
|
1612
|
-
"""
|
|
1613
|
-
When `true` this entry will be excluded. Defaults to `false`.
|
|
1614
|
-
"""
|
|
1615
|
-
return pulumi.get(self, "disabled")
|
|
1616
|
-
|
|
1617
|
-
@property
|
|
1618
|
-
@pulumi.getter
|
|
1619
|
-
def docker(self) -> Optional['outputs.ExportDocker']:
|
|
1620
|
-
"""
|
|
1621
|
-
Export as a Docker image layout.
|
|
1622
|
-
"""
|
|
1623
|
-
return pulumi.get(self, "docker")
|
|
1624
|
-
|
|
1625
|
-
@property
|
|
1626
|
-
@pulumi.getter
|
|
1627
|
-
def image(self) -> Optional['outputs.ExportImage']:
|
|
1628
|
-
"""
|
|
1629
|
-
Outputs the build result into a container image format.
|
|
1630
|
-
"""
|
|
1631
|
-
return pulumi.get(self, "image")
|
|
1632
|
-
|
|
1633
|
-
@property
|
|
1634
|
-
@pulumi.getter
|
|
1635
|
-
def local(self) -> Optional['outputs.ExportLocal']:
|
|
1636
|
-
"""
|
|
1637
|
-
Export to a local directory as files and directories.
|
|
1638
|
-
"""
|
|
1639
|
-
return pulumi.get(self, "local")
|
|
1640
|
-
|
|
1641
|
-
@property
|
|
1642
|
-
@pulumi.getter
|
|
1643
|
-
def oci(self) -> Optional['outputs.ExportOCI']:
|
|
1644
|
-
"""
|
|
1645
|
-
Identical to the Docker exporter but uses OCI media types by default.
|
|
1646
|
-
"""
|
|
1647
|
-
return pulumi.get(self, "oci")
|
|
1648
|
-
|
|
1649
|
-
@property
|
|
1650
|
-
@pulumi.getter
|
|
1651
|
-
def raw(self) -> Optional[str]:
|
|
1652
|
-
"""
|
|
1653
|
-
A raw string as you would provide it to the Docker CLI (e.g.,
|
|
1654
|
-
`type=docker`)
|
|
1655
|
-
"""
|
|
1656
|
-
return pulumi.get(self, "raw")
|
|
1657
|
-
|
|
1658
|
-
@property
|
|
1659
|
-
@pulumi.getter
|
|
1660
|
-
def registry(self) -> Optional['outputs.ExportRegistry']:
|
|
1661
|
-
"""
|
|
1662
|
-
Identical to the Image exporter, but pushes by default.
|
|
1663
|
-
"""
|
|
1664
|
-
return pulumi.get(self, "registry")
|
|
1665
|
-
|
|
1666
|
-
@property
|
|
1667
|
-
@pulumi.getter
|
|
1668
|
-
def tar(self) -> Optional['outputs.ExportTar']:
|
|
1669
|
-
"""
|
|
1670
|
-
Export to a local directory as a tarball.
|
|
1671
|
-
"""
|
|
1672
|
-
return pulumi.get(self, "tar")
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
1708
|
@pulumi.output_type
|
|
1676
1709
|
class ExportImage(dict):
|
|
1677
1710
|
@staticmethod
|