pulumi-docker 4.7.0a1744751302__py3-none-any.whl → 4.7.0a1744786482__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 -0
- pulumi_docker/_enums.py +3 -1
- pulumi_docker/_inputs.py +1184 -1183
- pulumi_docker/config/__init__.py +1 -0
- pulumi_docker/config/__init__.pyi +1 -0
- pulumi_docker/config/outputs.py +18 -17
- pulumi_docker/config/vars.py +1 -0
- pulumi_docker/container.py +732 -731
- 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_remote_image.py +8 -7
- pulumi_docker/image.py +29 -28
- pulumi_docker/network.py +148 -147
- pulumi_docker/outputs.py +677 -676
- pulumi_docker/plugin.py +120 -119
- pulumi_docker/provider.py +48 -47
- pulumi_docker/pulumi-plugin.json +1 -1
- pulumi_docker/registry_image.py +64 -63
- pulumi_docker/remote_image.py +99 -98
- pulumi_docker/secret.py +29 -28
- pulumi_docker/service.py +15 -14
- pulumi_docker/service_config.py +29 -28
- pulumi_docker/tag.py +36 -35
- pulumi_docker/volume.py +50 -49
- {pulumi_docker-4.7.0a1744751302.dist-info → pulumi_docker-4.7.0a1744786482.dist-info}/METADATA +1 -1
- pulumi_docker-4.7.0a1744786482.dist-info/RECORD +32 -0
- pulumi_docker-4.7.0a1744751302.dist-info/RECORD +0 -32
- {pulumi_docker-4.7.0a1744751302.dist-info → pulumi_docker-4.7.0a1744786482.dist-info}/WHEEL +0 -0
- {pulumi_docker-4.7.0a1744751302.dist-info → pulumi_docker-4.7.0a1744786482.dist-info}/top_level.txt +0 -0
pulumi_docker/get_logs.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
|
|
@@ -69,12 +70,12 @@ class GetLogsResult:
|
|
|
69
70
|
|
|
70
71
|
@property
|
|
71
72
|
@pulumi.getter
|
|
72
|
-
def details(self) -> Optional[bool]:
|
|
73
|
+
def details(self) -> Optional[builtins.bool]:
|
|
73
74
|
return pulumi.get(self, "details")
|
|
74
75
|
|
|
75
76
|
@property
|
|
76
77
|
@pulumi.getter(name="discardHeaders")
|
|
77
|
-
def discard_headers(self) -> Optional[bool]:
|
|
78
|
+
def discard_headers(self) -> Optional[builtins.bool]:
|
|
78
79
|
"""
|
|
79
80
|
Discard headers that docker appends to each log entry
|
|
80
81
|
"""
|
|
@@ -82,12 +83,12 @@ class GetLogsResult:
|
|
|
82
83
|
|
|
83
84
|
@property
|
|
84
85
|
@pulumi.getter
|
|
85
|
-
def follow(self) -> Optional[bool]:
|
|
86
|
+
def follow(self) -> Optional[builtins.bool]:
|
|
86
87
|
return pulumi.get(self, "follow")
|
|
87
88
|
|
|
88
89
|
@property
|
|
89
90
|
@pulumi.getter
|
|
90
|
-
def id(self) -> str:
|
|
91
|
+
def id(self) -> builtins.str:
|
|
91
92
|
"""
|
|
92
93
|
The provider-assigned unique ID for this managed resource.
|
|
93
94
|
"""
|
|
@@ -95,7 +96,7 @@ class GetLogsResult:
|
|
|
95
96
|
|
|
96
97
|
@property
|
|
97
98
|
@pulumi.getter(name="logsListStringEnabled")
|
|
98
|
-
def logs_list_string_enabled(self) -> Optional[bool]:
|
|
99
|
+
def logs_list_string_enabled(self) -> Optional[builtins.bool]:
|
|
99
100
|
"""
|
|
100
101
|
If true populate computed value `logs_list_string`
|
|
101
102
|
"""
|
|
@@ -103,7 +104,7 @@ class GetLogsResult:
|
|
|
103
104
|
|
|
104
105
|
@property
|
|
105
106
|
@pulumi.getter(name="logsListStrings")
|
|
106
|
-
def logs_list_strings(self) -> Sequence[str]:
|
|
107
|
+
def logs_list_strings(self) -> Sequence[builtins.str]:
|
|
107
108
|
"""
|
|
108
109
|
List of container logs, each element is a line.
|
|
109
110
|
"""
|
|
@@ -111,7 +112,7 @@ class GetLogsResult:
|
|
|
111
112
|
|
|
112
113
|
@property
|
|
113
114
|
@pulumi.getter
|
|
114
|
-
def name(self) -> str:
|
|
115
|
+
def name(self) -> builtins.str:
|
|
115
116
|
"""
|
|
116
117
|
The name of the Docker Container
|
|
117
118
|
"""
|
|
@@ -119,32 +120,32 @@ class GetLogsResult:
|
|
|
119
120
|
|
|
120
121
|
@property
|
|
121
122
|
@pulumi.getter(name="showStderr")
|
|
122
|
-
def show_stderr(self) -> Optional[bool]:
|
|
123
|
+
def show_stderr(self) -> Optional[builtins.bool]:
|
|
123
124
|
return pulumi.get(self, "show_stderr")
|
|
124
125
|
|
|
125
126
|
@property
|
|
126
127
|
@pulumi.getter(name="showStdout")
|
|
127
|
-
def show_stdout(self) -> Optional[bool]:
|
|
128
|
+
def show_stdout(self) -> Optional[builtins.bool]:
|
|
128
129
|
return pulumi.get(self, "show_stdout")
|
|
129
130
|
|
|
130
131
|
@property
|
|
131
132
|
@pulumi.getter
|
|
132
|
-
def since(self) -> Optional[str]:
|
|
133
|
+
def since(self) -> Optional[builtins.str]:
|
|
133
134
|
return pulumi.get(self, "since")
|
|
134
135
|
|
|
135
136
|
@property
|
|
136
137
|
@pulumi.getter
|
|
137
|
-
def tail(self) -> Optional[str]:
|
|
138
|
+
def tail(self) -> Optional[builtins.str]:
|
|
138
139
|
return pulumi.get(self, "tail")
|
|
139
140
|
|
|
140
141
|
@property
|
|
141
142
|
@pulumi.getter
|
|
142
|
-
def timestamps(self) -> Optional[bool]:
|
|
143
|
+
def timestamps(self) -> Optional[builtins.bool]:
|
|
143
144
|
return pulumi.get(self, "timestamps")
|
|
144
145
|
|
|
145
146
|
@property
|
|
146
147
|
@pulumi.getter
|
|
147
|
-
def until(self) -> Optional[str]:
|
|
148
|
+
def until(self) -> Optional[builtins.str]:
|
|
148
149
|
return pulumi.get(self, "until")
|
|
149
150
|
|
|
150
151
|
|
|
@@ -169,25 +170,25 @@ class AwaitableGetLogsResult(GetLogsResult):
|
|
|
169
170
|
until=self.until)
|
|
170
171
|
|
|
171
172
|
|
|
172
|
-
def get_logs(details: Optional[bool] = None,
|
|
173
|
-
discard_headers: Optional[bool] = None,
|
|
174
|
-
follow: Optional[bool] = None,
|
|
175
|
-
logs_list_string_enabled: Optional[bool] = None,
|
|
176
|
-
name: Optional[str] = None,
|
|
177
|
-
show_stderr: Optional[bool] = None,
|
|
178
|
-
show_stdout: Optional[bool] = None,
|
|
179
|
-
since: Optional[str] = None,
|
|
180
|
-
tail: Optional[str] = None,
|
|
181
|
-
timestamps: Optional[bool] = None,
|
|
182
|
-
until: Optional[str] = None,
|
|
173
|
+
def get_logs(details: Optional[builtins.bool] = None,
|
|
174
|
+
discard_headers: Optional[builtins.bool] = None,
|
|
175
|
+
follow: Optional[builtins.bool] = None,
|
|
176
|
+
logs_list_string_enabled: Optional[builtins.bool] = None,
|
|
177
|
+
name: Optional[builtins.str] = None,
|
|
178
|
+
show_stderr: Optional[builtins.bool] = None,
|
|
179
|
+
show_stdout: Optional[builtins.bool] = None,
|
|
180
|
+
since: Optional[builtins.str] = None,
|
|
181
|
+
tail: Optional[builtins.str] = None,
|
|
182
|
+
timestamps: Optional[builtins.bool] = None,
|
|
183
|
+
until: Optional[builtins.str] = None,
|
|
183
184
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLogsResult:
|
|
184
185
|
"""
|
|
185
186
|
`get_logs` provides logs from specific container
|
|
186
187
|
|
|
187
188
|
|
|
188
|
-
:param bool discard_headers: Discard headers that docker appends to each log entry
|
|
189
|
-
:param bool logs_list_string_enabled: If true populate computed value `logs_list_string`
|
|
190
|
-
:param str name: The name of the Docker Container
|
|
189
|
+
:param builtins.bool discard_headers: Discard headers that docker appends to each log entry
|
|
190
|
+
:param builtins.bool logs_list_string_enabled: If true populate computed value `logs_list_string`
|
|
191
|
+
:param builtins.str name: The name of the Docker Container
|
|
191
192
|
"""
|
|
192
193
|
__args__ = dict()
|
|
193
194
|
__args__['details'] = details
|
|
@@ -218,25 +219,25 @@ def get_logs(details: Optional[bool] = None,
|
|
|
218
219
|
tail=pulumi.get(__ret__, 'tail'),
|
|
219
220
|
timestamps=pulumi.get(__ret__, 'timestamps'),
|
|
220
221
|
until=pulumi.get(__ret__, 'until'))
|
|
221
|
-
def get_logs_output(details: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
222
|
-
discard_headers: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
223
|
-
follow: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
224
|
-
logs_list_string_enabled: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
225
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
226
|
-
show_stderr: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
227
|
-
show_stdout: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
228
|
-
since: Optional[pulumi.Input[Optional[str]]] = None,
|
|
229
|
-
tail: Optional[pulumi.Input[Optional[str]]] = None,
|
|
230
|
-
timestamps: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
231
|
-
until: Optional[pulumi.Input[Optional[str]]] = None,
|
|
222
|
+
def get_logs_output(details: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
223
|
+
discard_headers: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
224
|
+
follow: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
225
|
+
logs_list_string_enabled: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
226
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
227
|
+
show_stderr: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
228
|
+
show_stdout: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
229
|
+
since: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
230
|
+
tail: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
231
|
+
timestamps: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
232
|
+
until: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
232
233
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLogsResult]:
|
|
233
234
|
"""
|
|
234
235
|
`get_logs` provides logs from specific container
|
|
235
236
|
|
|
236
237
|
|
|
237
|
-
:param bool discard_headers: Discard headers that docker appends to each log entry
|
|
238
|
-
:param bool logs_list_string_enabled: If true populate computed value `logs_list_string`
|
|
239
|
-
:param str name: The name of the Docker Container
|
|
238
|
+
:param builtins.bool discard_headers: Discard headers that docker appends to each log entry
|
|
239
|
+
:param builtins.bool logs_list_string_enabled: If true populate computed value `logs_list_string`
|
|
240
|
+
:param builtins.str name: The name of the Docker Container
|
|
240
241
|
"""
|
|
241
242
|
__args__ = dict()
|
|
242
243
|
__args__['details'] = details
|
pulumi_docker/get_network.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
|
|
@@ -52,7 +53,7 @@ class GetNetworkResult:
|
|
|
52
53
|
|
|
53
54
|
@property
|
|
54
55
|
@pulumi.getter
|
|
55
|
-
def driver(self) -> str:
|
|
56
|
+
def driver(self) -> builtins.str:
|
|
56
57
|
"""
|
|
57
58
|
The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.
|
|
58
59
|
"""
|
|
@@ -60,7 +61,7 @@ class GetNetworkResult:
|
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def id(self) -> str:
|
|
64
|
+
def id(self) -> builtins.str:
|
|
64
65
|
"""
|
|
65
66
|
The ID of this resource.
|
|
66
67
|
"""
|
|
@@ -68,7 +69,7 @@ class GetNetworkResult:
|
|
|
68
69
|
|
|
69
70
|
@property
|
|
70
71
|
@pulumi.getter
|
|
71
|
-
def internal(self) -> bool:
|
|
72
|
+
def internal(self) -> builtins.bool:
|
|
72
73
|
"""
|
|
73
74
|
If `true`, the network is internal.
|
|
74
75
|
"""
|
|
@@ -84,7 +85,7 @@ class GetNetworkResult:
|
|
|
84
85
|
|
|
85
86
|
@property
|
|
86
87
|
@pulumi.getter
|
|
87
|
-
def name(self) -> str:
|
|
88
|
+
def name(self) -> builtins.str:
|
|
88
89
|
"""
|
|
89
90
|
The name of the Docker network.
|
|
90
91
|
"""
|
|
@@ -92,7 +93,7 @@ class GetNetworkResult:
|
|
|
92
93
|
|
|
93
94
|
@property
|
|
94
95
|
@pulumi.getter
|
|
95
|
-
def options(self) -> Mapping[str, str]:
|
|
96
|
+
def options(self) -> Mapping[str, builtins.str]:
|
|
96
97
|
"""
|
|
97
98
|
Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
|
|
98
99
|
"""
|
|
@@ -100,7 +101,7 @@ class GetNetworkResult:
|
|
|
100
101
|
|
|
101
102
|
@property
|
|
102
103
|
@pulumi.getter
|
|
103
|
-
def scope(self) -> str:
|
|
104
|
+
def scope(self) -> builtins.str:
|
|
104
105
|
"""
|
|
105
106
|
Scope of the network. One of `swarm`, `global`, or `local`.
|
|
106
107
|
"""
|
|
@@ -122,7 +123,7 @@ class AwaitableGetNetworkResult(GetNetworkResult):
|
|
|
122
123
|
scope=self.scope)
|
|
123
124
|
|
|
124
125
|
|
|
125
|
-
def get_network(name: Optional[str] = None,
|
|
126
|
+
def get_network(name: Optional[builtins.str] = None,
|
|
126
127
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkResult:
|
|
127
128
|
"""
|
|
128
129
|
`Network` provides details about a specific Docker Network.
|
|
@@ -137,7 +138,7 @@ def get_network(name: Optional[str] = None,
|
|
|
137
138
|
```
|
|
138
139
|
|
|
139
140
|
|
|
140
|
-
:param str name: The name of the Docker network.
|
|
141
|
+
:param builtins.str name: The name of the Docker network.
|
|
141
142
|
"""
|
|
142
143
|
__args__ = dict()
|
|
143
144
|
__args__['name'] = name
|
|
@@ -152,7 +153,7 @@ def get_network(name: Optional[str] = None,
|
|
|
152
153
|
name=pulumi.get(__ret__, 'name'),
|
|
153
154
|
options=pulumi.get(__ret__, 'options'),
|
|
154
155
|
scope=pulumi.get(__ret__, 'scope'))
|
|
155
|
-
def get_network_output(name: Optional[pulumi.Input[str]] = None,
|
|
156
|
+
def get_network_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
156
157
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkResult]:
|
|
157
158
|
"""
|
|
158
159
|
`Network` provides details about a specific Docker Network.
|
|
@@ -167,7 +168,7 @@ def get_network_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
167
168
|
```
|
|
168
169
|
|
|
169
170
|
|
|
170
|
-
:param str name: The name of the Docker network.
|
|
171
|
+
:param builtins.str name: The name of the Docker network.
|
|
171
172
|
"""
|
|
172
173
|
__args__ = dict()
|
|
173
174
|
__args__['name'] = name
|
pulumi_docker/get_plugin.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
|
|
@@ -51,7 +52,7 @@ class GetPluginResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter
|
|
54
|
-
def alias(self) -> Optional[str]:
|
|
55
|
+
def alias(self) -> Optional[builtins.str]:
|
|
55
56
|
"""
|
|
56
57
|
The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value.
|
|
57
58
|
"""
|
|
@@ -59,7 +60,7 @@ class GetPluginResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def enabled(self) -> bool:
|
|
63
|
+
def enabled(self) -> builtins.bool:
|
|
63
64
|
"""
|
|
64
65
|
If `true` the plugin is enabled
|
|
65
66
|
"""
|
|
@@ -67,7 +68,7 @@ class GetPluginResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter
|
|
70
|
-
def envs(self) -> Sequence[str]:
|
|
71
|
+
def envs(self) -> Sequence[builtins.str]:
|
|
71
72
|
"""
|
|
72
73
|
The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`
|
|
73
74
|
"""
|
|
@@ -75,7 +76,7 @@ class GetPluginResult:
|
|
|
75
76
|
|
|
76
77
|
@property
|
|
77
78
|
@pulumi.getter(name="grantAllPermissions")
|
|
78
|
-
def grant_all_permissions(self) -> bool:
|
|
79
|
+
def grant_all_permissions(self) -> builtins.bool:
|
|
79
80
|
"""
|
|
80
81
|
If true, grant all permissions necessary to run the plugin
|
|
81
82
|
"""
|
|
@@ -83,7 +84,7 @@ class GetPluginResult:
|
|
|
83
84
|
|
|
84
85
|
@property
|
|
85
86
|
@pulumi.getter
|
|
86
|
-
def id(self) -> Optional[str]:
|
|
87
|
+
def id(self) -> Optional[builtins.str]:
|
|
87
88
|
"""
|
|
88
89
|
The ID of the plugin, which has precedence over the `alias` of both are given
|
|
89
90
|
"""
|
|
@@ -91,7 +92,7 @@ class GetPluginResult:
|
|
|
91
92
|
|
|
92
93
|
@property
|
|
93
94
|
@pulumi.getter
|
|
94
|
-
def name(self) -> str:
|
|
95
|
+
def name(self) -> builtins.str:
|
|
95
96
|
"""
|
|
96
97
|
The plugin name. If the tag is omitted, `:latest` is complemented to the attribute value.
|
|
97
98
|
"""
|
|
@@ -99,7 +100,7 @@ class GetPluginResult:
|
|
|
99
100
|
|
|
100
101
|
@property
|
|
101
102
|
@pulumi.getter(name="pluginReference")
|
|
102
|
-
def plugin_reference(self) -> str:
|
|
103
|
+
def plugin_reference(self) -> builtins.str:
|
|
103
104
|
"""
|
|
104
105
|
The Docker Plugin Reference
|
|
105
106
|
"""
|
|
@@ -121,8 +122,8 @@ class AwaitableGetPluginResult(GetPluginResult):
|
|
|
121
122
|
plugin_reference=self.plugin_reference)
|
|
122
123
|
|
|
123
124
|
|
|
124
|
-
def get_plugin(alias: Optional[str] = None,
|
|
125
|
-
id: Optional[str] = None,
|
|
125
|
+
def get_plugin(alias: Optional[builtins.str] = None,
|
|
126
|
+
id: Optional[builtins.str] = None,
|
|
126
127
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPluginResult:
|
|
127
128
|
"""
|
|
128
129
|
Reads the local Docker plugin. The plugin must be installed locally.
|
|
@@ -140,8 +141,8 @@ def get_plugin(alias: Optional[str] = None,
|
|
|
140
141
|
```
|
|
141
142
|
|
|
142
143
|
|
|
143
|
-
:param str alias: The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value.
|
|
144
|
-
:param str id: The ID of the plugin, which has precedence over the `alias` of both are given
|
|
144
|
+
:param builtins.str alias: The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value.
|
|
145
|
+
:param builtins.str id: The ID of the plugin, which has precedence over the `alias` of both are given
|
|
145
146
|
"""
|
|
146
147
|
__args__ = dict()
|
|
147
148
|
__args__['alias'] = alias
|
|
@@ -157,8 +158,8 @@ def get_plugin(alias: Optional[str] = None,
|
|
|
157
158
|
id=pulumi.get(__ret__, 'id'),
|
|
158
159
|
name=pulumi.get(__ret__, 'name'),
|
|
159
160
|
plugin_reference=pulumi.get(__ret__, 'plugin_reference'))
|
|
160
|
-
def get_plugin_output(alias: Optional[pulumi.Input[Optional[str]]] = None,
|
|
161
|
-
id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
161
|
+
def get_plugin_output(alias: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
162
|
+
id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
162
163
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPluginResult]:
|
|
163
164
|
"""
|
|
164
165
|
Reads the local Docker plugin. The plugin must be installed locally.
|
|
@@ -176,8 +177,8 @@ def get_plugin_output(alias: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
176
177
|
```
|
|
177
178
|
|
|
178
179
|
|
|
179
|
-
:param str alias: The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value.
|
|
180
|
-
:param str id: The ID of the plugin, which has precedence over the `alias` of both are given
|
|
180
|
+
:param builtins.str alias: The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value.
|
|
181
|
+
:param builtins.str id: The ID of the plugin, which has precedence over the `alias` of both are given
|
|
181
182
|
"""
|
|
182
183
|
__args__ = dict()
|
|
183
184
|
__args__['alias'] = alias
|
|
@@ -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,7 +43,7 @@ class GetRegistryImageResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter
|
|
45
|
-
def id(self) -> str:
|
|
46
|
+
def id(self) -> builtins.str:
|
|
46
47
|
"""
|
|
47
48
|
The provider-assigned unique ID for this managed resource.
|
|
48
49
|
"""
|
|
@@ -50,7 +51,7 @@ class GetRegistryImageResult:
|
|
|
50
51
|
|
|
51
52
|
@property
|
|
52
53
|
@pulumi.getter(name="insecureSkipVerify")
|
|
53
|
-
def insecure_skip_verify(self) -> Optional[bool]:
|
|
54
|
+
def insecure_skip_verify(self) -> Optional[builtins.bool]:
|
|
54
55
|
"""
|
|
55
56
|
If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
56
57
|
"""
|
|
@@ -58,7 +59,7 @@ class GetRegistryImageResult:
|
|
|
58
59
|
|
|
59
60
|
@property
|
|
60
61
|
@pulumi.getter
|
|
61
|
-
def name(self) -> str:
|
|
62
|
+
def name(self) -> builtins.str:
|
|
62
63
|
"""
|
|
63
64
|
The name of the Docker image, including any tags. e.g. `alpine:latest`
|
|
64
65
|
"""
|
|
@@ -66,7 +67,7 @@ class GetRegistryImageResult:
|
|
|
66
67
|
|
|
67
68
|
@property
|
|
68
69
|
@pulumi.getter(name="sha256Digest")
|
|
69
|
-
def sha256_digest(self) -> str:
|
|
70
|
+
def sha256_digest(self) -> builtins.str:
|
|
70
71
|
"""
|
|
71
72
|
The content digest of the image, as stored in the registry.
|
|
72
73
|
"""
|
|
@@ -85,8 +86,8 @@ class AwaitableGetRegistryImageResult(GetRegistryImageResult):
|
|
|
85
86
|
sha256_digest=self.sha256_digest)
|
|
86
87
|
|
|
87
88
|
|
|
88
|
-
def get_registry_image(insecure_skip_verify: Optional[bool] = None,
|
|
89
|
-
name: Optional[str] = None,
|
|
89
|
+
def get_registry_image(insecure_skip_verify: Optional[builtins.bool] = None,
|
|
90
|
+
name: Optional[builtins.str] = None,
|
|
90
91
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegistryImageResult:
|
|
91
92
|
"""
|
|
92
93
|
Reads the image metadata from a Docker Registry. Used in conjunction with the RemoteImage resource to keep an image up to date on the latest available version of the tag.
|
|
@@ -104,8 +105,8 @@ def get_registry_image(insecure_skip_verify: Optional[bool] = None,
|
|
|
104
105
|
```
|
|
105
106
|
|
|
106
107
|
|
|
107
|
-
:param bool insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
108
|
-
:param str name: The name of the Docker image, including any tags. e.g. `alpine:latest`
|
|
108
|
+
:param builtins.bool insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
109
|
+
:param builtins.str name: The name of the Docker image, including any tags. e.g. `alpine:latest`
|
|
109
110
|
"""
|
|
110
111
|
__args__ = dict()
|
|
111
112
|
__args__['insecureSkipVerify'] = insecure_skip_verify
|
|
@@ -118,8 +119,8 @@ def get_registry_image(insecure_skip_verify: Optional[bool] = None,
|
|
|
118
119
|
insecure_skip_verify=pulumi.get(__ret__, 'insecure_skip_verify'),
|
|
119
120
|
name=pulumi.get(__ret__, 'name'),
|
|
120
121
|
sha256_digest=pulumi.get(__ret__, 'sha256_digest'))
|
|
121
|
-
def get_registry_image_output(insecure_skip_verify: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
122
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
122
|
+
def get_registry_image_output(insecure_skip_verify: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
123
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
123
124
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegistryImageResult]:
|
|
124
125
|
"""
|
|
125
126
|
Reads the image metadata from a Docker Registry. Used in conjunction with the RemoteImage resource to keep an image up to date on the latest available version of the tag.
|
|
@@ -137,8 +138,8 @@ def get_registry_image_output(insecure_skip_verify: Optional[pulumi.Input[Option
|
|
|
137
138
|
```
|
|
138
139
|
|
|
139
140
|
|
|
140
|
-
:param bool insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
141
|
-
:param str name: The name of the Docker image, including any tags. e.g. `alpine:latest`
|
|
141
|
+
:param builtins.bool insecure_skip_verify: If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
|
|
142
|
+
:param builtins.str name: The name of the Docker image, including any tags. e.g. `alpine:latest`
|
|
142
143
|
"""
|
|
143
144
|
__args__ = dict()
|
|
144
145
|
__args__['insecureSkipVerify'] = insecure_skip_verify
|
|
@@ -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
|
|
@@ -39,7 +40,7 @@ class GetRemoteImageResult:
|
|
|
39
40
|
|
|
40
41
|
@property
|
|
41
42
|
@pulumi.getter
|
|
42
|
-
def id(self) -> str:
|
|
43
|
+
def id(self) -> builtins.str:
|
|
43
44
|
"""
|
|
44
45
|
The provider-assigned unique ID for this managed resource.
|
|
45
46
|
"""
|
|
@@ -47,7 +48,7 @@ class GetRemoteImageResult:
|
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter
|
|
50
|
-
def name(self) -> str:
|
|
51
|
+
def name(self) -> builtins.str:
|
|
51
52
|
"""
|
|
52
53
|
The name of the Docker image, including any tags or SHA256 repo digests.
|
|
53
54
|
"""
|
|
@@ -55,7 +56,7 @@ class GetRemoteImageResult:
|
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter(name="repoDigest")
|
|
58
|
-
def repo_digest(self) -> str:
|
|
59
|
+
def repo_digest(self) -> builtins.str:
|
|
59
60
|
"""
|
|
60
61
|
The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`. It may be empty in the edge case where the local image was pulled from a repo, tagged locally, and then referred to in the data source by that local name/tag.
|
|
61
62
|
"""
|
|
@@ -73,7 +74,7 @@ class AwaitableGetRemoteImageResult(GetRemoteImageResult):
|
|
|
73
74
|
repo_digest=self.repo_digest)
|
|
74
75
|
|
|
75
76
|
|
|
76
|
-
def get_remote_image(name: Optional[str] = None,
|
|
77
|
+
def get_remote_image(name: Optional[builtins.str] = None,
|
|
77
78
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRemoteImageResult:
|
|
78
79
|
"""
|
|
79
80
|
`RemoteImage` provides details about a specific Docker Image which needs to be present on the Docker Host
|
|
@@ -95,7 +96,7 @@ def get_remote_image(name: Optional[str] = None,
|
|
|
95
96
|
```
|
|
96
97
|
|
|
97
98
|
|
|
98
|
-
:param str name: The name of the Docker image, including any tags or SHA256 repo digests.
|
|
99
|
+
:param builtins.str name: The name of the Docker image, including any tags or SHA256 repo digests.
|
|
99
100
|
"""
|
|
100
101
|
__args__ = dict()
|
|
101
102
|
__args__['name'] = name
|
|
@@ -106,7 +107,7 @@ def get_remote_image(name: Optional[str] = None,
|
|
|
106
107
|
id=pulumi.get(__ret__, 'id'),
|
|
107
108
|
name=pulumi.get(__ret__, 'name'),
|
|
108
109
|
repo_digest=pulumi.get(__ret__, 'repo_digest'))
|
|
109
|
-
def get_remote_image_output(name: Optional[pulumi.Input[str]] = None,
|
|
110
|
+
def get_remote_image_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
110
111
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRemoteImageResult]:
|
|
111
112
|
"""
|
|
112
113
|
`RemoteImage` provides details about a specific Docker Image which needs to be present on the Docker Host
|
|
@@ -128,7 +129,7 @@ def get_remote_image_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
128
129
|
```
|
|
129
130
|
|
|
130
131
|
|
|
131
|
-
:param str name: The name of the Docker image, including any tags or SHA256 repo digests.
|
|
132
|
+
:param builtins.str name: The name of the Docker image, including any tags or SHA256 repo digests.
|
|
132
133
|
"""
|
|
133
134
|
__args__ = dict()
|
|
134
135
|
__args__['name'] = name
|