pulumi-docker 4.9.0a1753422638__py3-none-any.whl → 4.9.0a1753508940__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 +1 -1
- pulumi_docker/_enums.py +2 -2
- pulumi_docker/_inputs.py +1783 -1784
- pulumi_docker/buildx_builder.py +197 -198
- pulumi_docker/config/__init__.py +1 -1
- pulumi_docker/config/__init__.pyi +1 -2
- pulumi_docker/config/outputs.py +24 -25
- pulumi_docker/config/vars.py +10 -11
- pulumi_docker/container.py +994 -995
- pulumi_docker/get_logs.py +55 -56
- pulumi_docker/get_network.py +18 -19
- pulumi_docker/get_plugin.py +23 -24
- pulumi_docker/get_registry_image.py +17 -18
- pulumi_docker/get_registry_image_manifests.py +17 -18
- pulumi_docker/get_remote_image.py +11 -12
- pulumi_docker/image.py +41 -42
- pulumi_docker/network.py +186 -187
- pulumi_docker/outputs.py +1169 -1170
- pulumi_docker/plugin.py +149 -150
- pulumi_docker/provider.py +79 -80
- pulumi_docker/pulumi-plugin.json +1 -1
- pulumi_docker/registry_image.py +81 -82
- pulumi_docker/remote_image.py +124 -125
- pulumi_docker/secret.py +38 -39
- pulumi_docker/service.py +42 -43
- pulumi_docker/service_config.py +35 -36
- pulumi_docker/tag.py +61 -62
- pulumi_docker/volume.py +64 -65
- {pulumi_docker-4.9.0a1753422638.dist-info → pulumi_docker-4.9.0a1753508940.dist-info}/METADATA +1 -1
- pulumi_docker-4.9.0a1753508940.dist-info/RECORD +34 -0
- pulumi_docker-4.9.0a1753422638.dist-info/RECORD +0 -34
- {pulumi_docker-4.9.0a1753422638.dist-info → pulumi_docker-4.9.0a1753508940.dist-info}/WHEEL +0 -0
- {pulumi_docker-4.9.0a1753422638.dist-info → pulumi_docker-4.9.0a1753508940.dist-info}/top_level.txt +0 -0
pulumi_docker/config/__init__.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
|
pulumi_docker/config/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
|
|
@@ -22,18 +21,18 @@ __all__ = [
|
|
|
22
21
|
@pulumi.output_type
|
|
23
22
|
class RegistryAuth(dict):
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
address:
|
|
26
|
-
auth_disabled: Optional[
|
|
27
|
-
config_file: Optional[
|
|
28
|
-
config_file_content: Optional[
|
|
29
|
-
password: Optional[
|
|
30
|
-
username: Optional[
|
|
24
|
+
address: _builtins.str,
|
|
25
|
+
auth_disabled: Optional[_builtins.bool] = None,
|
|
26
|
+
config_file: Optional[_builtins.str] = None,
|
|
27
|
+
config_file_content: Optional[_builtins.str] = None,
|
|
28
|
+
password: Optional[_builtins.str] = None,
|
|
29
|
+
username: Optional[_builtins.str] = None):
|
|
31
30
|
"""
|
|
32
|
-
:param
|
|
33
|
-
:param
|
|
34
|
-
:param
|
|
35
|
-
:param
|
|
36
|
-
:param
|
|
31
|
+
:param _builtins.str address: Address of the registry
|
|
32
|
+
:param _builtins.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.
|
|
33
|
+
:param _builtins.str config_file_content: Plain content of the docker json file for registry auth. `config_file_content` has precedence over username/password.
|
|
34
|
+
:param _builtins.str password: Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.
|
|
35
|
+
:param _builtins.str username: Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.
|
|
37
36
|
"""
|
|
38
37
|
pulumi.set(__self__, "address", address)
|
|
39
38
|
if auth_disabled is not None:
|
|
@@ -47,46 +46,46 @@ class RegistryAuth(dict):
|
|
|
47
46
|
if username is not None:
|
|
48
47
|
pulumi.set(__self__, "username", username)
|
|
49
48
|
|
|
50
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
51
50
|
@pulumi.getter
|
|
52
|
-
def address(self) ->
|
|
51
|
+
def address(self) -> _builtins.str:
|
|
53
52
|
"""
|
|
54
53
|
Address of the registry
|
|
55
54
|
"""
|
|
56
55
|
return pulumi.get(self, "address")
|
|
57
56
|
|
|
58
|
-
@property
|
|
57
|
+
@_builtins.property
|
|
59
58
|
@pulumi.getter(name="authDisabled")
|
|
60
|
-
def auth_disabled(self) -> Optional[
|
|
59
|
+
def auth_disabled(self) -> Optional[_builtins.bool]:
|
|
61
60
|
return pulumi.get(self, "auth_disabled")
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter(name="configFile")
|
|
65
|
-
def config_file(self) -> Optional[
|
|
64
|
+
def config_file(self) -> Optional[_builtins.str]:
|
|
66
65
|
"""
|
|
67
66
|
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.
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "config_file")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter(name="configFileContent")
|
|
73
|
-
def config_file_content(self) -> Optional[
|
|
72
|
+
def config_file_content(self) -> Optional[_builtins.str]:
|
|
74
73
|
"""
|
|
75
74
|
Plain content of the docker json file for registry auth. `config_file_content` has precedence over username/password.
|
|
76
75
|
"""
|
|
77
76
|
return pulumi.get(self, "config_file_content")
|
|
78
77
|
|
|
79
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
80
79
|
@pulumi.getter
|
|
81
|
-
def password(self) -> Optional[
|
|
80
|
+
def password(self) -> Optional[_builtins.str]:
|
|
82
81
|
"""
|
|
83
82
|
Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.
|
|
84
83
|
"""
|
|
85
84
|
return pulumi.get(self, "password")
|
|
86
85
|
|
|
87
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
88
87
|
@pulumi.getter
|
|
89
|
-
def username(self) -> Optional[
|
|
88
|
+
def username(self) -> Optional[_builtins.str]:
|
|
90
89
|
"""
|
|
91
90
|
Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.
|
|
92
91
|
"""
|
pulumi_docker/config/vars.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
|
|
@@ -22,28 +21,28 @@ __config__ = pulumi.Config('docker')
|
|
|
22
21
|
|
|
23
22
|
|
|
24
23
|
class _ExportableConfig(types.ModuleType):
|
|
25
|
-
@property
|
|
24
|
+
@_builtins.property
|
|
26
25
|
def ca_material(self) -> Optional[str]:
|
|
27
26
|
"""
|
|
28
27
|
PEM-encoded content of Docker host CA certificate
|
|
29
28
|
"""
|
|
30
29
|
return __config__.get('caMaterial')
|
|
31
30
|
|
|
32
|
-
@property
|
|
31
|
+
@_builtins.property
|
|
33
32
|
def cert_material(self) -> Optional[str]:
|
|
34
33
|
"""
|
|
35
34
|
PEM-encoded content of Docker client certificate
|
|
36
35
|
"""
|
|
37
36
|
return __config__.get('certMaterial')
|
|
38
37
|
|
|
39
|
-
@property
|
|
38
|
+
@_builtins.property
|
|
40
39
|
def cert_path(self) -> Optional[str]:
|
|
41
40
|
"""
|
|
42
41
|
Path to directory with Docker TLS config
|
|
43
42
|
"""
|
|
44
43
|
return __config__.get('certPath')
|
|
45
44
|
|
|
46
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
47
46
|
def context(self) -> Optional[str]:
|
|
48
47
|
"""
|
|
49
48
|
The name of the Docker context to use. Can also be set via `DOCKER_CONTEXT` environment variable. Overrides the `host`
|
|
@@ -51,7 +50,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
51
50
|
"""
|
|
52
51
|
return __config__.get('context')
|
|
53
52
|
|
|
54
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
55
54
|
def disable_docker_daemon_check(self) -> Optional[bool]:
|
|
56
55
|
"""
|
|
57
56
|
If set to `true`, the provider will not check if the Docker daemon is running. This is useful for
|
|
@@ -59,25 +58,25 @@ class _ExportableConfig(types.ModuleType):
|
|
|
59
58
|
"""
|
|
60
59
|
return __config__.get_bool('disableDockerDaemonCheck')
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
def host(self) -> Optional[str]:
|
|
64
63
|
"""
|
|
65
64
|
The Docker daemon address
|
|
66
65
|
"""
|
|
67
66
|
return __config__.get('host') or _utilities.get_env('DOCKER_HOST')
|
|
68
67
|
|
|
69
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
70
69
|
def key_material(self) -> Optional[str]:
|
|
71
70
|
"""
|
|
72
71
|
PEM-encoded content of Docker client private key
|
|
73
72
|
"""
|
|
74
73
|
return __config__.get('keyMaterial')
|
|
75
74
|
|
|
76
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
77
76
|
def registry_auth(self) -> Optional[str]:
|
|
78
77
|
return __config__.get('registryAuth')
|
|
79
78
|
|
|
80
|
-
@property
|
|
79
|
+
@_builtins.property
|
|
81
80
|
def ssh_opts(self) -> Optional[str]:
|
|
82
81
|
"""
|
|
83
82
|
Additional SSH option flags to be appended when using `ssh://` protocol
|