pulumi-docker 4.9.0a1753422638__py3-none-any.whl → 4.9.0a1753479729__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.

@@ -2,7 +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
+ import builtins as _builtins
6
6
  import sys
7
7
  from .vars import _ExportableConfig
8
8
 
@@ -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
@@ -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: 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):
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 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.
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) -> builtins.str:
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[builtins.bool]:
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[builtins.str]:
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[builtins.str]:
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[builtins.str]:
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[builtins.str]:
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
  """
@@ -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