pulumi-docker 4.6.0b1__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/_inputs.py +2 -2
- pulumi_docker/buildx/__init__.py +1 -0
- pulumi_docker/buildx/_enums.py +16 -0
- pulumi_docker/buildx/_inputs.py +500 -491
- pulumi_docker/buildx/image.py +951 -153
- pulumi_docker/buildx/index.py +352 -0
- pulumi_docker/buildx/outputs.py +460 -440
- pulumi_docker/config/__init__.pyi +8 -6
- pulumi_docker/config/outputs.py +2 -2
- pulumi_docker/config/vars.py +8 -6
- pulumi_docker/provider.py +30 -23
- {pulumi_docker-4.6.0b1.dist-info → pulumi_docker-4.6.0b3.dist-info}/METADATA +1 -1
- {pulumi_docker-4.6.0b1.dist-info → pulumi_docker-4.6.0b3.dist-info}/RECORD +16 -15
- {pulumi_docker-4.6.0b1.dist-info → pulumi_docker-4.6.0b3.dist-info}/WHEEL +1 -1
- {pulumi_docker-4.6.0b1.dist-info → pulumi_docker-4.6.0b3.dist-info}/top_level.txt +0 -0
|
@@ -12,33 +12,35 @@ from . import outputs
|
|
|
12
12
|
|
|
13
13
|
caMaterial: Optional[str]
|
|
14
14
|
"""
|
|
15
|
-
PEM-encoded content of Docker host CA certificate
|
|
15
|
+
PEM-encoded content of Docker host CA certificate.
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
certMaterial: Optional[str]
|
|
19
19
|
"""
|
|
20
|
-
PEM-encoded content of Docker client certificate
|
|
20
|
+
PEM-encoded content of Docker client certificate.
|
|
21
21
|
"""
|
|
22
22
|
|
|
23
23
|
certPath: Optional[str]
|
|
24
24
|
"""
|
|
25
|
-
Path to directory with Docker TLS config
|
|
25
|
+
Path to a directory with Docker TLS config. This directory is expected to contain `ca.pem`, `cert.pem`, and `key.pem`
|
|
26
|
+
files.
|
|
26
27
|
"""
|
|
27
28
|
|
|
28
29
|
host: Optional[str]
|
|
29
30
|
"""
|
|
30
|
-
The Docker daemon address
|
|
31
|
+
The Docker daemon's address.
|
|
31
32
|
"""
|
|
32
33
|
|
|
33
34
|
keyMaterial: Optional[str]
|
|
34
35
|
"""
|
|
35
|
-
PEM-encoded content of Docker client private key
|
|
36
|
+
PEM-encoded content of Docker client private key.
|
|
36
37
|
"""
|
|
37
38
|
|
|
38
39
|
registryAuth: Optional[str]
|
|
39
40
|
|
|
40
41
|
sshOpts: Optional[str]
|
|
41
42
|
"""
|
|
42
|
-
Additional SSH option flags to be appended when using `ssh://` protocol
|
|
43
|
+
Additional SSH option flags to be appended when using `ssh://` protocol. The `ssh://` protocol is not supported for
|
|
44
|
+
`buildx.Image` resources. Instead, use a [remote](https://docs.docker.com/build/drivers/remote/) driver.
|
|
43
45
|
"""
|
|
44
46
|
|
pulumi_docker/config/outputs.py
CHANGED
|
@@ -23,7 +23,7 @@ class RegistryAuth(dict):
|
|
|
23
23
|
password: Optional[str] = None,
|
|
24
24
|
username: Optional[str] = None):
|
|
25
25
|
"""
|
|
26
|
-
:param str address: Address of the registry
|
|
26
|
+
:param str address: Address of the registry.
|
|
27
27
|
:param str config_file: Path to docker json file for registry auth. Defaults to `~/.docker/config.json`. If `DOCKER_CONFIG` is set, the value of `DOCKER_CONFIG` is used as the path. `config_file` has predencen over all other options.
|
|
28
28
|
:param str config_file_content: Plain content of the docker json file for registry auth. `config_file_content` has precedence over username/password.
|
|
29
29
|
:param str password: Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.
|
|
@@ -45,7 +45,7 @@ class RegistryAuth(dict):
|
|
|
45
45
|
@pulumi.getter
|
|
46
46
|
def address(self) -> str:
|
|
47
47
|
"""
|
|
48
|
-
Address of the registry
|
|
48
|
+
Address of the registry.
|
|
49
49
|
"""
|
|
50
50
|
return pulumi.get(self, "address")
|
|
51
51
|
|
pulumi_docker/config/vars.py
CHANGED
|
@@ -19,35 +19,36 @@ class _ExportableConfig(types.ModuleType):
|
|
|
19
19
|
@property
|
|
20
20
|
def ca_material(self) -> Optional[str]:
|
|
21
21
|
"""
|
|
22
|
-
PEM-encoded content of Docker host CA certificate
|
|
22
|
+
PEM-encoded content of Docker host CA certificate.
|
|
23
23
|
"""
|
|
24
24
|
return __config__.get('caMaterial')
|
|
25
25
|
|
|
26
26
|
@property
|
|
27
27
|
def cert_material(self) -> Optional[str]:
|
|
28
28
|
"""
|
|
29
|
-
PEM-encoded content of Docker client certificate
|
|
29
|
+
PEM-encoded content of Docker client certificate.
|
|
30
30
|
"""
|
|
31
31
|
return __config__.get('certMaterial')
|
|
32
32
|
|
|
33
33
|
@property
|
|
34
34
|
def cert_path(self) -> Optional[str]:
|
|
35
35
|
"""
|
|
36
|
-
Path to directory with Docker TLS config
|
|
36
|
+
Path to a directory with Docker TLS config. This directory is expected to contain `ca.pem`, `cert.pem`, and `key.pem`
|
|
37
|
+
files.
|
|
37
38
|
"""
|
|
38
39
|
return __config__.get('certPath')
|
|
39
40
|
|
|
40
41
|
@property
|
|
41
42
|
def host(self) -> Optional[str]:
|
|
42
43
|
"""
|
|
43
|
-
The Docker daemon address
|
|
44
|
+
The Docker daemon's address.
|
|
44
45
|
"""
|
|
45
46
|
return __config__.get('host') or _utilities.get_env('DOCKER_HOST')
|
|
46
47
|
|
|
47
48
|
@property
|
|
48
49
|
def key_material(self) -> Optional[str]:
|
|
49
50
|
"""
|
|
50
|
-
PEM-encoded content of Docker client private key
|
|
51
|
+
PEM-encoded content of Docker client private key.
|
|
51
52
|
"""
|
|
52
53
|
return __config__.get('keyMaterial')
|
|
53
54
|
|
|
@@ -58,7 +59,8 @@ class _ExportableConfig(types.ModuleType):
|
|
|
58
59
|
@property
|
|
59
60
|
def ssh_opts(self) -> Optional[str]:
|
|
60
61
|
"""
|
|
61
|
-
Additional SSH option flags to be appended when using `ssh://` protocol
|
|
62
|
+
Additional SSH option flags to be appended when using `ssh://` protocol. The `ssh://` protocol is not supported for
|
|
63
|
+
`buildx.Image` resources. Instead, use a [remote](https://docs.docker.com/build/drivers/remote/) driver.
|
|
62
64
|
"""
|
|
63
65
|
return __config__.get('sshOpts')
|
|
64
66
|
|
pulumi_docker/provider.py
CHANGED
|
@@ -24,12 +24,14 @@ class ProviderArgs:
|
|
|
24
24
|
ssh_opts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
25
25
|
"""
|
|
26
26
|
The set of arguments for constructing a Provider resource.
|
|
27
|
-
:param pulumi.Input[str] ca_material: PEM-encoded content of Docker host CA certificate
|
|
28
|
-
:param pulumi.Input[str] cert_material: PEM-encoded content of Docker client certificate
|
|
29
|
-
:param pulumi.Input[str] cert_path: Path to directory with Docker TLS config
|
|
30
|
-
|
|
31
|
-
:param pulumi.Input[str]
|
|
32
|
-
:param pulumi.Input[
|
|
27
|
+
:param pulumi.Input[str] ca_material: PEM-encoded content of Docker host CA certificate.
|
|
28
|
+
:param pulumi.Input[str] cert_material: PEM-encoded content of Docker client certificate.
|
|
29
|
+
:param pulumi.Input[str] cert_path: Path to a directory with Docker TLS config. This directory is expected to contain `ca.pem`, `cert.pem`, and `key.pem`
|
|
30
|
+
files.
|
|
31
|
+
:param pulumi.Input[str] host: The Docker daemon's address.
|
|
32
|
+
:param pulumi.Input[str] key_material: PEM-encoded content of Docker client private key.
|
|
33
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ssh_opts: Additional SSH option flags to be appended when using `ssh://` protocol. The `ssh://` protocol is not supported for
|
|
34
|
+
`buildx.Image` resources. Instead, use a [remote](https://docs.docker.com/build/drivers/remote/) driver.
|
|
33
35
|
"""
|
|
34
36
|
if ca_material is not None:
|
|
35
37
|
pulumi.set(__self__, "ca_material", ca_material)
|
|
@@ -52,7 +54,7 @@ class ProviderArgs:
|
|
|
52
54
|
@pulumi.getter(name="caMaterial")
|
|
53
55
|
def ca_material(self) -> Optional[pulumi.Input[str]]:
|
|
54
56
|
"""
|
|
55
|
-
PEM-encoded content of Docker host CA certificate
|
|
57
|
+
PEM-encoded content of Docker host CA certificate.
|
|
56
58
|
"""
|
|
57
59
|
return pulumi.get(self, "ca_material")
|
|
58
60
|
|
|
@@ -64,7 +66,7 @@ class ProviderArgs:
|
|
|
64
66
|
@pulumi.getter(name="certMaterial")
|
|
65
67
|
def cert_material(self) -> Optional[pulumi.Input[str]]:
|
|
66
68
|
"""
|
|
67
|
-
PEM-encoded content of Docker client certificate
|
|
69
|
+
PEM-encoded content of Docker client certificate.
|
|
68
70
|
"""
|
|
69
71
|
return pulumi.get(self, "cert_material")
|
|
70
72
|
|
|
@@ -76,7 +78,8 @@ class ProviderArgs:
|
|
|
76
78
|
@pulumi.getter(name="certPath")
|
|
77
79
|
def cert_path(self) -> Optional[pulumi.Input[str]]:
|
|
78
80
|
"""
|
|
79
|
-
Path to directory with Docker TLS config
|
|
81
|
+
Path to a directory with Docker TLS config. This directory is expected to contain `ca.pem`, `cert.pem`, and `key.pem`
|
|
82
|
+
files.
|
|
80
83
|
"""
|
|
81
84
|
return pulumi.get(self, "cert_path")
|
|
82
85
|
|
|
@@ -88,7 +91,7 @@ class ProviderArgs:
|
|
|
88
91
|
@pulumi.getter
|
|
89
92
|
def host(self) -> Optional[pulumi.Input[str]]:
|
|
90
93
|
"""
|
|
91
|
-
The Docker daemon address
|
|
94
|
+
The Docker daemon's address.
|
|
92
95
|
"""
|
|
93
96
|
return pulumi.get(self, "host")
|
|
94
97
|
|
|
@@ -100,7 +103,7 @@ class ProviderArgs:
|
|
|
100
103
|
@pulumi.getter(name="keyMaterial")
|
|
101
104
|
def key_material(self) -> Optional[pulumi.Input[str]]:
|
|
102
105
|
"""
|
|
103
|
-
PEM-encoded content of Docker client private key
|
|
106
|
+
PEM-encoded content of Docker client private key.
|
|
104
107
|
"""
|
|
105
108
|
return pulumi.get(self, "key_material")
|
|
106
109
|
|
|
@@ -121,7 +124,8 @@ class ProviderArgs:
|
|
|
121
124
|
@pulumi.getter(name="sshOpts")
|
|
122
125
|
def ssh_opts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
123
126
|
"""
|
|
124
|
-
Additional SSH option flags to be appended when using `ssh://` protocol
|
|
127
|
+
Additional SSH option flags to be appended when using `ssh://` protocol. The `ssh://` protocol is not supported for
|
|
128
|
+
`buildx.Image` resources. Instead, use a [remote](https://docs.docker.com/build/drivers/remote/) driver.
|
|
125
129
|
"""
|
|
126
130
|
return pulumi.get(self, "ssh_opts")
|
|
127
131
|
|
|
@@ -151,12 +155,14 @@ class Provider(pulumi.ProviderResource):
|
|
|
151
155
|
|
|
152
156
|
:param str resource_name: The name of the resource.
|
|
153
157
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
154
|
-
:param pulumi.Input[str] ca_material: PEM-encoded content of Docker host CA certificate
|
|
155
|
-
:param pulumi.Input[str] cert_material: PEM-encoded content of Docker client certificate
|
|
156
|
-
:param pulumi.Input[str] cert_path: Path to directory with Docker TLS config
|
|
157
|
-
|
|
158
|
-
:param pulumi.Input[str]
|
|
159
|
-
:param pulumi.Input[
|
|
158
|
+
:param pulumi.Input[str] ca_material: PEM-encoded content of Docker host CA certificate.
|
|
159
|
+
:param pulumi.Input[str] cert_material: PEM-encoded content of Docker client certificate.
|
|
160
|
+
:param pulumi.Input[str] cert_path: Path to a directory with Docker TLS config. This directory is expected to contain `ca.pem`, `cert.pem`, and `key.pem`
|
|
161
|
+
files.
|
|
162
|
+
:param pulumi.Input[str] host: The Docker daemon's address.
|
|
163
|
+
:param pulumi.Input[str] key_material: PEM-encoded content of Docker client private key.
|
|
164
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ssh_opts: Additional SSH option flags to be appended when using `ssh://` protocol. The `ssh://` protocol is not supported for
|
|
165
|
+
`buildx.Image` resources. Instead, use a [remote](https://docs.docker.com/build/drivers/remote/) driver.
|
|
160
166
|
"""
|
|
161
167
|
...
|
|
162
168
|
@overload
|
|
@@ -220,7 +226,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
220
226
|
@pulumi.getter(name="caMaterial")
|
|
221
227
|
def ca_material(self) -> pulumi.Output[Optional[str]]:
|
|
222
228
|
"""
|
|
223
|
-
PEM-encoded content of Docker host CA certificate
|
|
229
|
+
PEM-encoded content of Docker host CA certificate.
|
|
224
230
|
"""
|
|
225
231
|
return pulumi.get(self, "ca_material")
|
|
226
232
|
|
|
@@ -228,7 +234,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
228
234
|
@pulumi.getter(name="certMaterial")
|
|
229
235
|
def cert_material(self) -> pulumi.Output[Optional[str]]:
|
|
230
236
|
"""
|
|
231
|
-
PEM-encoded content of Docker client certificate
|
|
237
|
+
PEM-encoded content of Docker client certificate.
|
|
232
238
|
"""
|
|
233
239
|
return pulumi.get(self, "cert_material")
|
|
234
240
|
|
|
@@ -236,7 +242,8 @@ class Provider(pulumi.ProviderResource):
|
|
|
236
242
|
@pulumi.getter(name="certPath")
|
|
237
243
|
def cert_path(self) -> pulumi.Output[Optional[str]]:
|
|
238
244
|
"""
|
|
239
|
-
Path to directory with Docker TLS config
|
|
245
|
+
Path to a directory with Docker TLS config. This directory is expected to contain `ca.pem`, `cert.pem`, and `key.pem`
|
|
246
|
+
files.
|
|
240
247
|
"""
|
|
241
248
|
return pulumi.get(self, "cert_path")
|
|
242
249
|
|
|
@@ -244,7 +251,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
244
251
|
@pulumi.getter
|
|
245
252
|
def host(self) -> pulumi.Output[Optional[str]]:
|
|
246
253
|
"""
|
|
247
|
-
The Docker daemon address
|
|
254
|
+
The Docker daemon's address.
|
|
248
255
|
"""
|
|
249
256
|
return pulumi.get(self, "host")
|
|
250
257
|
|
|
@@ -252,7 +259,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
252
259
|
@pulumi.getter(name="keyMaterial")
|
|
253
260
|
def key_material(self) -> pulumi.Output[Optional[str]]:
|
|
254
261
|
"""
|
|
255
|
-
PEM-encoded content of Docker client private key
|
|
262
|
+
PEM-encoded content of Docker client private key.
|
|
256
263
|
"""
|
|
257
264
|
return pulumi.get(self, "key_material")
|
|
258
265
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
pulumi_docker/__init__.py,sha256=
|
|
1
|
+
pulumi_docker/__init__.py,sha256=EUaMPpDODU55GebD8gT-njyTLM-Ylf-lvFGz18b2BO8,3065
|
|
2
2
|
pulumi_docker/_enums.py,sha256=7XwY4iLVVNM2x33meoZ1Ln56unzDiB40fhpO7eZfrI4,535
|
|
3
|
-
pulumi_docker/_inputs.py,sha256=
|
|
3
|
+
pulumi_docker/_inputs.py,sha256=_hLDR1xeYFjrID7QdGH42bPtFNxMrNMVgQyitJ9p-8c,180826
|
|
4
4
|
pulumi_docker/_utilities.py,sha256=b6gJn0IIeM1t6Q7EVjqw3yhuGyP-uENQhtL5yp7aHR8,9248
|
|
5
5
|
pulumi_docker/container.py,sha256=u9qv4BsvAHOIdUU3wmLS-_wAqga0qs8SVl3D7Na-ms8,155530
|
|
6
6
|
pulumi_docker/get_logs.py,sha256=CONbx6MjnD3VOLfn-18zD9vxbwnC1VW4YXc5hNDZF8U,9548
|
|
@@ -12,7 +12,7 @@ pulumi_docker/image.py,sha256=obWGo_70WDuNCUQwSnGXDEpQKRKTQIJLuHugDI9Ii6E,20777
|
|
|
12
12
|
pulumi_docker/network.py,sha256=3garhlr3jeVS6L-jQh3oDs4Dnk3hmKP8Ll9y2Zr-KBc,33062
|
|
13
13
|
pulumi_docker/outputs.py,sha256=UbrG0vUE-jijatzN2U7tMTUQqgyrwteQI60G5wu9tkI,148248
|
|
14
14
|
pulumi_docker/plugin.py,sha256=bA0b1uYLOHOafUZIpPhRowPoUjsbyDpd4J_UioXcj3o,24749
|
|
15
|
-
pulumi_docker/provider.py,sha256=
|
|
15
|
+
pulumi_docker/provider.py,sha256=kSVw5oitgzG5y6qnP89PC4Eunal0HaS05fa0gN9H744,12265
|
|
16
16
|
pulumi_docker/pulumi-plugin.json,sha256=ewrT2sVnOrVFOPG8ue2inkZe-ZnazoAqdlTXxdpKypY,43
|
|
17
17
|
pulumi_docker/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
18
|
pulumi_docker/registry_image.py,sha256=UKoz-1-r6IPCwXUMLFO7MWYWDU49d1iNMzO7sn-7mHM,16148
|
|
@@ -22,16 +22,17 @@ pulumi_docker/service.py,sha256=Ak8mW1qohEEGDmKzHoPWapoPQvXqhqMh_nPIY1SAslM,2672
|
|
|
22
22
|
pulumi_docker/service_config.py,sha256=uwavUNWLUJ5s80ThoTBqjYU1q4yPcRpHqjqpRvEX4lg,8341
|
|
23
23
|
pulumi_docker/tag.py,sha256=aQ6AxpZwTTN0NH8gebBJigRDtD5ah3B_ld053YDGrcM,8994
|
|
24
24
|
pulumi_docker/volume.py,sha256=muoQRUbR-O6W1Qfcvm5blEkBIV_W0S9uvrzR4hzwLR0,14655
|
|
25
|
-
pulumi_docker/buildx/__init__.py,sha256=
|
|
26
|
-
pulumi_docker/buildx/_enums.py,sha256=
|
|
27
|
-
pulumi_docker/buildx/_inputs.py,sha256=
|
|
28
|
-
pulumi_docker/buildx/image.py,sha256=
|
|
29
|
-
pulumi_docker/buildx/
|
|
25
|
+
pulumi_docker/buildx/__init__.py,sha256=APGYLQkRXroHRgUa5IU1urW0eZF4EFy4MVEf6ktXQE8,378
|
|
26
|
+
pulumi_docker/buildx/_enums.py,sha256=DoOqAFTNWnGqZNJsIUdI8tfGEvb1XBA1Vq7XH4mbaIM,1946
|
|
27
|
+
pulumi_docker/buildx/_inputs.py,sha256=jh9sMySMFpW1PUo7jJE_X5sfSGGduDXeTKY_Tau5Rdw,97911
|
|
28
|
+
pulumi_docker/buildx/image.py,sha256=fXIGSWWL1fZ2_jY9NunX3DizdvLbWiLvJAugQLbirPI,76808
|
|
29
|
+
pulumi_docker/buildx/index.py,sha256=FHi-ScbMyF8y0x5xAF_cq-b82oDEXqyMK4o3Pe3z0oo,13364
|
|
30
|
+
pulumi_docker/buildx/outputs.py,sha256=LzkAR2d3Tmgu76AhVf2f9BHHxom3y9pLD15XHS9TOds,83276
|
|
30
31
|
pulumi_docker/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
|
|
31
|
-
pulumi_docker/config/__init__.pyi,sha256=
|
|
32
|
-
pulumi_docker/config/outputs.py,sha256=
|
|
33
|
-
pulumi_docker/config/vars.py,sha256=
|
|
34
|
-
pulumi_docker-4.6.
|
|
35
|
-
pulumi_docker-4.6.
|
|
36
|
-
pulumi_docker-4.6.
|
|
37
|
-
pulumi_docker-4.6.
|
|
32
|
+
pulumi_docker/config/__init__.pyi,sha256=IGvQySeXCqKPl-o3jpKPM4FJ0XKCW5CvV74rrhG_MUk,1124
|
|
33
|
+
pulumi_docker/config/outputs.py,sha256=kpzqo2F5iCGU8PmjFE2Z6zcpL9ViNsP-DYC5Gn9iKjc,3488
|
|
34
|
+
pulumi_docker/config/vars.py,sha256=HRn9H8J2c8N-OTKn8iQAWzbBIs35zXZlx8PNxMmtMYo,1942
|
|
35
|
+
pulumi_docker-4.6.0b3.dist-info/METADATA,sha256=OPIMCGmy62Bz1NbDfpc8FzddcpfoKdL2MOmHmJLgTz0,2329
|
|
36
|
+
pulumi_docker-4.6.0b3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
37
|
+
pulumi_docker-4.6.0b3.dist-info/top_level.txt,sha256=5ASR9mwVy1gWMM-yKlseogte316p3DCyj_ozClqiynM,14
|
|
38
|
+
pulumi_docker-4.6.0b3.dist-info/RECORD,,
|
|
File without changes
|