pulumi-docker-build 0.0.11__py3-none-any.whl → 0.0.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-docker-build might be problematic. Click here for more details.
- pulumi_docker_build/__init__.py +1 -0
- pulumi_docker_build/_enums.py +10 -4
- pulumi_docker_build/_inputs.py +527 -526
- pulumi_docker_build/config/__init__.py +1 -0
- pulumi_docker_build/config/__init__.pyi +1 -0
- pulumi_docker_build/config/vars.py +1 -0
- pulumi_docker_build/image.py +101 -99
- pulumi_docker_build/index.py +27 -25
- pulumi_docker_build/outputs.py +319 -318
- pulumi_docker_build/provider.py +10 -8
- pulumi_docker_build/pulumi-plugin.json +1 -1
- {pulumi_docker_build-0.0.11.dist-info → pulumi_docker_build-0.0.12.dist-info}/METADATA +3 -3
- pulumi_docker_build-0.0.12.dist-info/RECORD +17 -0
- {pulumi_docker_build-0.0.11.dist-info → pulumi_docker_build-0.0.12.dist-info}/WHEEL +1 -1
- pulumi_docker_build-0.0.11.dist-info/RECORD +0 -17
- {pulumi_docker_build-0.0.11.dist-info → pulumi_docker_build-0.0.12.dist-info}/top_level.txt +0 -0
pulumi_docker_build/index.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,15 +22,15 @@ __all__ = ['IndexArgs', 'Index']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class IndexArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
sources: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
25
|
-
tag: pulumi.Input[str],
|
|
26
|
-
push: Optional[pulumi.Input[bool]] = None,
|
|
25
|
+
sources: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
26
|
+
tag: pulumi.Input[builtins.str],
|
|
27
|
+
push: Optional[pulumi.Input[builtins.bool]] = None,
|
|
27
28
|
registry: Optional[pulumi.Input['RegistryArgs']] = None):
|
|
28
29
|
"""
|
|
29
30
|
The set of arguments for constructing a Index resource.
|
|
30
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] sources: Existing images to include in the index.
|
|
31
|
-
:param pulumi.Input[str] tag: The tag to apply to the index.
|
|
32
|
-
:param pulumi.Input[bool] push: If true, push the index to the target registry.
|
|
31
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] sources: Existing images to include in the index.
|
|
32
|
+
:param pulumi.Input[builtins.str] tag: The tag to apply to the index.
|
|
33
|
+
:param pulumi.Input[builtins.bool] push: If true, push the index to the target registry.
|
|
33
34
|
|
|
34
35
|
Defaults to `true`.
|
|
35
36
|
:param pulumi.Input['RegistryArgs'] registry: Authentication for the registry where the tagged index will be pushed.
|
|
@@ -47,31 +48,31 @@ class IndexArgs:
|
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter
|
|
50
|
-
def sources(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
51
|
+
def sources(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
51
52
|
"""
|
|
52
53
|
Existing images to include in the index.
|
|
53
54
|
"""
|
|
54
55
|
return pulumi.get(self, "sources")
|
|
55
56
|
|
|
56
57
|
@sources.setter
|
|
57
|
-
def sources(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
58
|
+
def sources(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
58
59
|
pulumi.set(self, "sources", value)
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def tag(self) -> pulumi.Input[str]:
|
|
63
|
+
def tag(self) -> pulumi.Input[builtins.str]:
|
|
63
64
|
"""
|
|
64
65
|
The tag to apply to the index.
|
|
65
66
|
"""
|
|
66
67
|
return pulumi.get(self, "tag")
|
|
67
68
|
|
|
68
69
|
@tag.setter
|
|
69
|
-
def tag(self, value: pulumi.Input[str]):
|
|
70
|
+
def tag(self, value: pulumi.Input[builtins.str]):
|
|
70
71
|
pulumi.set(self, "tag", value)
|
|
71
72
|
|
|
72
73
|
@property
|
|
73
74
|
@pulumi.getter
|
|
74
|
-
def push(self) -> Optional[pulumi.Input[bool]]:
|
|
75
|
+
def push(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
75
76
|
"""
|
|
76
77
|
If true, push the index to the target registry.
|
|
77
78
|
|
|
@@ -80,7 +81,7 @@ class IndexArgs:
|
|
|
80
81
|
return pulumi.get(self, "push")
|
|
81
82
|
|
|
82
83
|
@push.setter
|
|
83
|
-
def push(self, value: Optional[pulumi.Input[bool]]):
|
|
84
|
+
def push(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
84
85
|
pulumi.set(self, "push", value)
|
|
85
86
|
|
|
86
87
|
@property
|
|
@@ -98,15 +99,16 @@ class IndexArgs:
|
|
|
98
99
|
pulumi.set(self, "registry", value)
|
|
99
100
|
|
|
100
101
|
|
|
102
|
+
@pulumi.type_token("docker-build:index:Index")
|
|
101
103
|
class Index(pulumi.CustomResource):
|
|
102
104
|
@overload
|
|
103
105
|
def __init__(__self__,
|
|
104
106
|
resource_name: str,
|
|
105
107
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
106
|
-
push: Optional[pulumi.Input[bool]] = None,
|
|
108
|
+
push: Optional[pulumi.Input[builtins.bool]] = None,
|
|
107
109
|
registry: Optional[pulumi.Input[Union['RegistryArgs', 'RegistryArgsDict']]] = None,
|
|
108
|
-
sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
109
|
-
tag: Optional[pulumi.Input[str]] = None,
|
|
110
|
+
sources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
111
|
+
tag: Optional[pulumi.Input[builtins.str]] = None,
|
|
110
112
|
__props__=None):
|
|
111
113
|
"""
|
|
112
114
|
A wrapper around `docker buildx imagetools create` to create an index
|
|
@@ -180,14 +182,14 @@ class Index(pulumi.CustomResource):
|
|
|
180
182
|
|
|
181
183
|
:param str resource_name: The name of the resource.
|
|
182
184
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
183
|
-
:param pulumi.Input[bool] push: If true, push the index to the target registry.
|
|
185
|
+
:param pulumi.Input[builtins.bool] push: If true, push the index to the target registry.
|
|
184
186
|
|
|
185
187
|
Defaults to `true`.
|
|
186
188
|
:param pulumi.Input[Union['RegistryArgs', 'RegistryArgsDict']] registry: Authentication for the registry where the tagged index will be pushed.
|
|
187
189
|
|
|
188
190
|
Credentials can also be included with the provider's configuration.
|
|
189
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] sources: Existing images to include in the index.
|
|
190
|
-
:param pulumi.Input[str] tag: The tag to apply to the index.
|
|
191
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] sources: Existing images to include in the index.
|
|
192
|
+
:param pulumi.Input[builtins.str] tag: The tag to apply to the index.
|
|
191
193
|
"""
|
|
192
194
|
...
|
|
193
195
|
@overload
|
|
@@ -280,10 +282,10 @@ class Index(pulumi.CustomResource):
|
|
|
280
282
|
def _internal_init(__self__,
|
|
281
283
|
resource_name: str,
|
|
282
284
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
283
|
-
push: Optional[pulumi.Input[bool]] = None,
|
|
285
|
+
push: Optional[pulumi.Input[builtins.bool]] = None,
|
|
284
286
|
registry: Optional[pulumi.Input[Union['RegistryArgs', 'RegistryArgsDict']]] = None,
|
|
285
|
-
sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
286
|
-
tag: Optional[pulumi.Input[str]] = None,
|
|
287
|
+
sources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
288
|
+
tag: Optional[pulumi.Input[builtins.str]] = None,
|
|
287
289
|
__props__=None):
|
|
288
290
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
289
291
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -335,7 +337,7 @@ class Index(pulumi.CustomResource):
|
|
|
335
337
|
|
|
336
338
|
@property
|
|
337
339
|
@pulumi.getter
|
|
338
|
-
def push(self) -> pulumi.Output[Optional[bool]]:
|
|
340
|
+
def push(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
339
341
|
"""
|
|
340
342
|
If true, push the index to the target registry.
|
|
341
343
|
|
|
@@ -345,7 +347,7 @@ class Index(pulumi.CustomResource):
|
|
|
345
347
|
|
|
346
348
|
@property
|
|
347
349
|
@pulumi.getter
|
|
348
|
-
def ref(self) -> pulumi.Output[str]:
|
|
350
|
+
def ref(self) -> pulumi.Output[builtins.str]:
|
|
349
351
|
"""
|
|
350
352
|
The pushed tag with digest.
|
|
351
353
|
|
|
@@ -365,7 +367,7 @@ class Index(pulumi.CustomResource):
|
|
|
365
367
|
|
|
366
368
|
@property
|
|
367
369
|
@pulumi.getter
|
|
368
|
-
def sources(self) -> pulumi.Output[Sequence[str]]:
|
|
370
|
+
def sources(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
369
371
|
"""
|
|
370
372
|
Existing images to include in the index.
|
|
371
373
|
"""
|
|
@@ -373,7 +375,7 @@ class Index(pulumi.CustomResource):
|
|
|
373
375
|
|
|
374
376
|
@property
|
|
375
377
|
@pulumi.getter
|
|
376
|
-
def tag(self) -> pulumi.Output[str]:
|
|
378
|
+
def tag(self) -> pulumi.Output[builtins.str]:
|
|
377
379
|
"""
|
|
378
380
|
The tag to apply to the index.
|
|
379
381
|
"""
|