pulumi-docker 4.6.2__py3-none-any.whl → 4.7.0__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 -0
- pulumi_docker/_enums.py +4 -1
- pulumi_docker/_inputs.py +1519 -1203
- pulumi_docker/config/__init__.py +1 -0
- pulumi_docker/config/__init__.pyi +13 -0
- pulumi_docker/config/outputs.py +18 -17
- pulumi_docker/config/vars.py +17 -0
- pulumi_docker/container.py +795 -746
- pulumi_docker/get_logs.py +42 -41
- pulumi_docker/get_network.py +11 -10
- pulumi_docker/get_plugin.py +16 -15
- pulumi_docker/get_registry_image.py +13 -12
- pulumi_docker/get_registry_image_manifests.py +151 -0
- pulumi_docker/get_remote_image.py +8 -7
- pulumi_docker/image.py +30 -28
- pulumi_docker/network.py +158 -147
- pulumi_docker/outputs.py +931 -691
- pulumi_docker/plugin.py +121 -119
- pulumi_docker/provider.py +124 -47
- pulumi_docker/pulumi-plugin.json +1 -1
- pulumi_docker/registry_image.py +116 -65
- pulumi_docker/remote_image.py +104 -229
- pulumi_docker/secret.py +30 -28
- pulumi_docker/service.py +16 -14
- pulumi_docker/service_config.py +30 -28
- pulumi_docker/tag.py +84 -35
- pulumi_docker/volume.py +51 -49
- {pulumi_docker-4.6.2.dist-info → pulumi_docker-4.7.0.dist-info}/METADATA +4 -4
- pulumi_docker-4.7.0.dist-info/RECORD +33 -0
- {pulumi_docker-4.6.2.dist-info → pulumi_docker-4.7.0.dist-info}/WHEEL +1 -1
- pulumi_docker-4.6.2.dist-info/RECORD +0 -32
- {pulumi_docker-4.6.2.dist-info → pulumi_docker-4.7.0.dist-info}/top_level.txt +0 -0
pulumi_docker/config/__init__.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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
|
|
@@ -30,6 +31,18 @@ certPath: Optional[str]
|
|
|
30
31
|
Path to directory with Docker TLS config
|
|
31
32
|
"""
|
|
32
33
|
|
|
34
|
+
context: Optional[str]
|
|
35
|
+
"""
|
|
36
|
+
The name of the Docker context to use. Can also be set via `DOCKER_CONTEXT` environment variable. Overrides the `host`
|
|
37
|
+
if set.
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
disableDockerDaemonCheck: Optional[bool]
|
|
41
|
+
"""
|
|
42
|
+
If set to `true`, the provider will not check if the Docker daemon is running. This is useful for
|
|
43
|
+
resources/data_sourcess that do not require a running Docker daemon, such as the data source `RegistryImage`.
|
|
44
|
+
"""
|
|
45
|
+
|
|
33
46
|
host: Optional[str]
|
|
34
47
|
"""
|
|
35
48
|
The Docker daemon address
|
pulumi_docker/config/outputs.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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,18 +22,18 @@ __all__ = [
|
|
|
21
22
|
@pulumi.output_type
|
|
22
23
|
class RegistryAuth(dict):
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
address: str,
|
|
25
|
-
auth_disabled: Optional[bool] = None,
|
|
26
|
-
config_file: Optional[str] = None,
|
|
27
|
-
config_file_content: Optional[str] = None,
|
|
28
|
-
password: Optional[str] = None,
|
|
29
|
-
username: Optional[str] = None):
|
|
25
|
+
address: builtins.str,
|
|
26
|
+
auth_disabled: Optional[builtins.bool] = None,
|
|
27
|
+
config_file: Optional[builtins.str] = None,
|
|
28
|
+
config_file_content: Optional[builtins.str] = None,
|
|
29
|
+
password: Optional[builtins.str] = None,
|
|
30
|
+
username: Optional[builtins.str] = None):
|
|
30
31
|
"""
|
|
31
|
-
:param str address: Address of the registry
|
|
32
|
-
: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.
|
|
33
|
-
:param str config_file_content: Plain content of the docker json file for registry auth. `config_file_content` has precedence over username/password.
|
|
34
|
-
:param str password: Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.
|
|
35
|
-
:param str username: Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.
|
|
32
|
+
:param builtins.str address: Address of the registry
|
|
33
|
+
: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.
|
|
34
|
+
:param builtins.str config_file_content: Plain content of the docker json file for registry auth. `config_file_content` has precedence over username/password.
|
|
35
|
+
:param builtins.str password: Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.
|
|
36
|
+
:param builtins.str username: Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.
|
|
36
37
|
"""
|
|
37
38
|
pulumi.set(__self__, "address", address)
|
|
38
39
|
if auth_disabled is not None:
|
|
@@ -48,7 +49,7 @@ class RegistryAuth(dict):
|
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter
|
|
51
|
-
def address(self) -> str:
|
|
52
|
+
def address(self) -> builtins.str:
|
|
52
53
|
"""
|
|
53
54
|
Address of the registry
|
|
54
55
|
"""
|
|
@@ -56,12 +57,12 @@ class RegistryAuth(dict):
|
|
|
56
57
|
|
|
57
58
|
@property
|
|
58
59
|
@pulumi.getter(name="authDisabled")
|
|
59
|
-
def auth_disabled(self) -> Optional[bool]:
|
|
60
|
+
def auth_disabled(self) -> Optional[builtins.bool]:
|
|
60
61
|
return pulumi.get(self, "auth_disabled")
|
|
61
62
|
|
|
62
63
|
@property
|
|
63
64
|
@pulumi.getter(name="configFile")
|
|
64
|
-
def config_file(self) -> Optional[str]:
|
|
65
|
+
def config_file(self) -> Optional[builtins.str]:
|
|
65
66
|
"""
|
|
66
67
|
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.
|
|
67
68
|
"""
|
|
@@ -69,7 +70,7 @@ class RegistryAuth(dict):
|
|
|
69
70
|
|
|
70
71
|
@property
|
|
71
72
|
@pulumi.getter(name="configFileContent")
|
|
72
|
-
def config_file_content(self) -> Optional[str]:
|
|
73
|
+
def config_file_content(self) -> Optional[builtins.str]:
|
|
73
74
|
"""
|
|
74
75
|
Plain content of the docker json file for registry auth. `config_file_content` has precedence over username/password.
|
|
75
76
|
"""
|
|
@@ -77,7 +78,7 @@ class RegistryAuth(dict):
|
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter
|
|
80
|
-
def password(self) -> Optional[str]:
|
|
81
|
+
def password(self) -> Optional[builtins.str]:
|
|
81
82
|
"""
|
|
82
83
|
Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.
|
|
83
84
|
"""
|
|
@@ -85,7 +86,7 @@ class RegistryAuth(dict):
|
|
|
85
86
|
|
|
86
87
|
@property
|
|
87
88
|
@pulumi.getter
|
|
88
|
-
def username(self) -> Optional[str]:
|
|
89
|
+
def username(self) -> Optional[builtins.str]:
|
|
89
90
|
"""
|
|
90
91
|
Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.
|
|
91
92
|
"""
|
pulumi_docker/config/vars.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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
|
|
@@ -42,6 +43,22 @@ class _ExportableConfig(types.ModuleType):
|
|
|
42
43
|
"""
|
|
43
44
|
return __config__.get('certPath')
|
|
44
45
|
|
|
46
|
+
@property
|
|
47
|
+
def context(self) -> Optional[str]:
|
|
48
|
+
"""
|
|
49
|
+
The name of the Docker context to use. Can also be set via `DOCKER_CONTEXT` environment variable. Overrides the `host`
|
|
50
|
+
if set.
|
|
51
|
+
"""
|
|
52
|
+
return __config__.get('context')
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def disable_docker_daemon_check(self) -> Optional[bool]:
|
|
56
|
+
"""
|
|
57
|
+
If set to `true`, the provider will not check if the Docker daemon is running. This is useful for
|
|
58
|
+
resources/data_sourcess that do not require a running Docker daemon, such as the data source `RegistryImage`.
|
|
59
|
+
"""
|
|
60
|
+
return __config__.get_bool('disableDockerDaemonCheck')
|
|
61
|
+
|
|
45
62
|
@property
|
|
46
63
|
def host(self) -> Optional[str]:
|
|
47
64
|
"""
|