cdk-docker-image-deployment 0.0.44__py3-none-any.whl → 0.0.60__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.
@@ -107,7 +107,13 @@ class Destination(
107
107
  :param tag: Tag of deployed image. Default: - tag of source
108
108
  '''
109
109
  if __debug__:
110
- type_hints = typing.get_type_hints(Destination.ecr)
110
+ def stub(
111
+ repository: aws_cdk.aws_ecr.IRepository,
112
+ *,
113
+ tag: typing.Optional[builtins.str] = None,
114
+ ) -> None:
115
+ ...
116
+ type_hints = typing.get_type_hints(stub)
111
117
  check_type(argname="argument repository", value=repository, expected_type=type_hints["repository"])
112
118
  options = EcrSourceOptions(tag=tag)
113
119
 
@@ -135,7 +141,9 @@ class _DestinationProxy(Destination):
135
141
  :param role: -
136
142
  '''
137
143
  if __debug__:
138
- type_hints = typing.get_type_hints(Destination.bind)
144
+ def stub(role: aws_cdk.aws_iam.IGrantable) -> None:
145
+ ...
146
+ type_hints = typing.get_type_hints(stub)
139
147
  check_type(argname="argument role", value=role, expected_type=type_hints["role"])
140
148
  return typing.cast("DestinationConfig", jsii.invoke(self, "bind", [role]))
141
149
 
@@ -169,7 +177,14 @@ class DestinationConfig:
169
177
  if isinstance(login_config, dict):
170
178
  login_config = LoginConfig(**login_config)
171
179
  if __debug__:
172
- type_hints = typing.get_type_hints(DestinationConfig.__init__)
180
+ def stub(
181
+ *,
182
+ destination_uri: builtins.str,
183
+ login_config: typing.Union["LoginConfig", typing.Dict[str, typing.Any]],
184
+ destination_tag: typing.Optional[builtins.str] = None,
185
+ ) -> None:
186
+ ...
187
+ type_hints = typing.get_type_hints(stub)
173
188
  check_type(argname="argument destination_uri", value=destination_uri, expected_type=type_hints["destination_uri"])
174
189
  check_type(argname="argument login_config", value=login_config, expected_type=type_hints["login_config"])
175
190
  check_type(argname="argument destination_tag", value=destination_tag, expected_type=type_hints["destination_tag"])
@@ -237,7 +252,15 @@ class DockerImageDeployment(
237
252
  :param source: Source of the image to deploy.
238
253
  '''
239
254
  if __debug__:
240
- type_hints = typing.get_type_hints(DockerImageDeployment.__init__)
255
+ def stub(
256
+ scope: constructs.Construct,
257
+ id: builtins.str,
258
+ *,
259
+ destination: Destination,
260
+ source: "Source",
261
+ ) -> None:
262
+ ...
263
+ type_hints = typing.get_type_hints(stub)
241
264
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
242
265
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
243
266
  props = DockerImageDeploymentProps(destination=destination, source=source)
@@ -257,7 +280,9 @@ class DockerImageDeploymentProps:
257
280
  :param source: Source of the image to deploy.
258
281
  '''
259
282
  if __debug__:
260
- type_hints = typing.get_type_hints(DockerImageDeploymentProps.__init__)
283
+ def stub(*, destination: Destination, source: "Source") -> None:
284
+ ...
285
+ type_hints = typing.get_type_hints(stub)
261
286
  check_type(argname="argument destination", value=destination, expected_type=type_hints["destination"])
262
287
  check_type(argname="argument source", value=source, expected_type=type_hints["source"])
263
288
  self._values: typing.Dict[str, typing.Any] = {
@@ -303,7 +328,9 @@ class EcrSourceOptions:
303
328
  :param tag: Tag of deployed image. Default: - tag of source
304
329
  '''
305
330
  if __debug__:
306
- type_hints = typing.get_type_hints(EcrSourceOptions.__init__)
331
+ def stub(*, tag: typing.Optional[builtins.str] = None) -> None:
332
+ ...
333
+ type_hints = typing.get_type_hints(stub)
307
334
  check_type(argname="argument tag", value=tag, expected_type=type_hints["tag"])
308
335
  self._values: typing.Dict[str, typing.Any] = {}
309
336
  if tag is not None:
@@ -348,7 +375,13 @@ class LoginConfig:
348
375
  :param region: Region of ECR repository. Default: - undefined if not an ECR repository
349
376
  '''
350
377
  if __debug__:
351
- type_hints = typing.get_type_hints(LoginConfig.__init__)
378
+ def stub(
379
+ *,
380
+ login_command: builtins.str,
381
+ region: typing.Optional[builtins.str] = None,
382
+ ) -> None:
383
+ ...
384
+ type_hints = typing.get_type_hints(stub)
352
385
  check_type(argname="argument login_command", value=login_command, expected_type=type_hints["login_command"])
353
386
  check_type(argname="argument region", value=region, expected_type=type_hints["region"])
354
387
  self._values: typing.Dict[str, typing.Any] = {
@@ -412,7 +445,9 @@ class Source(
412
445
  :param path: - path to the directory containing your Dockerfile (not a path to a file).
413
446
  '''
414
447
  if __debug__:
415
- type_hints = typing.get_type_hints(Source.directory)
448
+ def stub(path: builtins.str) -> None:
449
+ ...
450
+ type_hints = typing.get_type_hints(stub)
416
451
  check_type(argname="argument path", value=path, expected_type=type_hints["path"])
417
452
  return typing.cast("Source", jsii.sinvoke(cls, "directory", [path]))
418
453
 
@@ -450,7 +485,13 @@ class _SourceProxy(Source):
450
485
  :param handler_role: The role for the handler.
451
486
  '''
452
487
  if __debug__:
453
- type_hints = typing.get_type_hints(Source.bind)
488
+ def stub(
489
+ scope: constructs.Construct,
490
+ *,
491
+ handler_role: aws_cdk.aws_iam.IRole,
492
+ ) -> None:
493
+ ...
494
+ type_hints = typing.get_type_hints(stub)
454
495
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
455
496
  context = SourceContext(handler_role=handler_role)
456
497
 
@@ -486,7 +527,14 @@ class SourceConfig:
486
527
  if isinstance(login_config, dict):
487
528
  login_config = LoginConfig(**login_config)
488
529
  if __debug__:
489
- type_hints = typing.get_type_hints(SourceConfig.__init__)
530
+ def stub(
531
+ *,
532
+ image_tag: builtins.str,
533
+ image_uri: builtins.str,
534
+ login_config: typing.Union[LoginConfig, typing.Dict[str, typing.Any]],
535
+ ) -> None:
536
+ ...
537
+ type_hints = typing.get_type_hints(stub)
490
538
  check_type(argname="argument image_tag", value=image_tag, expected_type=type_hints["image_tag"])
491
539
  check_type(argname="argument image_uri", value=image_uri, expected_type=type_hints["image_uri"])
492
540
  check_type(argname="argument login_config", value=login_config, expected_type=type_hints["login_config"])
@@ -541,7 +589,9 @@ class SourceContext:
541
589
  :param handler_role: The role for the handler.
542
590
  '''
543
591
  if __debug__:
544
- type_hints = typing.get_type_hints(SourceContext.__init__)
592
+ def stub(*, handler_role: aws_cdk.aws_iam.IRole) -> None:
593
+ ...
594
+ type_hints = typing.get_type_hints(stub)
545
595
  check_type(argname="argument handler_role", value=handler_role, expected_type=type_hints["handler_role"])
546
596
  self._values: typing.Dict[str, typing.Any] = {
547
597
  "handler_role": handler_role,
@@ -15,9 +15,9 @@ import constructs._jsii
15
15
 
16
16
  __jsii_assembly__ = jsii.JSIIAssembly.load(
17
17
  "cdk-docker-image-deployment",
18
- "0.0.44",
18
+ "0.0.60",
19
19
  __name__[0:-6],
20
- "cdk-docker-image-deployment@0.0.44.jsii.tgz",
20
+ "cdk-docker-image-deployment@0.0.60.jsii.tgz",
21
21
  )
22
22
 
23
23
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk-docker-image-deployment
3
- Version: 0.0.44
3
+ Version: 0.0.60
4
4
  Summary: This module allows you to copy docker image assets to a repository you control. This can be necessary if you want to build a Docker image in one CDK app and consume it in a different app or outside the CDK.
5
5
  Home-page: https://github.com/cdklabs/cdk-docker-image-deployment#readme
6
6
  Author: Parker Scanlon
@@ -23,7 +23,7 @@ License-File: LICENSE
23
23
  License-File: NOTICE
24
24
  Requires-Dist: aws-cdk-lib (<3.0.0,>=2.24.0)
25
25
  Requires-Dist: constructs (<11.0.0,>=10.0.5)
26
- Requires-Dist: jsii (<2.0.0,>=1.69.0)
26
+ Requires-Dist: jsii (<2.0.0,>=1.70.0)
27
27
  Requires-Dist: publication (>=0.0.3)
28
28
  Requires-Dist: typeguard (~=2.13.3)
29
29
 
@@ -0,0 +1,10 @@
1
+ cdk_docker_image_deployment/__init__.py,sha256=v6vqzsRFbkaUJksnov5WL2N2lyLNZRvZU2eiKxfwaDc,22756
2
+ cdk_docker_image_deployment/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ cdk_docker_image_deployment/_jsii/__init__.py,sha256=D9uEg9ZBy-xwBVkau4veWJzZ-97UMb88bV7S1jeBOX8,436
4
+ cdk_docker_image_deployment/_jsii/cdk-docker-image-deployment@0.0.60.jsii.tgz,sha256=xkavgGp3Fu5KDu8vtgpw5qNm5makZZQOFRQ6mb2iW_M,10441656
5
+ cdk_docker_image_deployment-0.0.60.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
+ cdk_docker_image_deployment-0.0.60.dist-info/METADATA,sha256=Z3i4_tP-b_GeJOk8bftGrzgSw18l9uJUUYCl6wo4V2Y,3911
7
+ cdk_docker_image_deployment-0.0.60.dist-info/NOTICE,sha256=1CkO1kwu3Q_OHYTj-d-yiBJA_lNN73a4zSntavaD4oc,67
8
+ cdk_docker_image_deployment-0.0.60.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
9
+ cdk_docker_image_deployment-0.0.60.dist-info/top_level.txt,sha256=WdzWJDV-WRpz7LHNc3kSSBBcEbKJGcyyW5BcqU_l1Ew,28
10
+ cdk_docker_image_deployment-0.0.60.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- cdk_docker_image_deployment/__init__.py,sha256=gMCJ3wVbOWeRja0iGvRNCZyZUZGN9GaAvsvBXwlBih4,21156
2
- cdk_docker_image_deployment/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- cdk_docker_image_deployment/_jsii/__init__.py,sha256=CzkqFpCcF42OEAA0f_99A761YuuB8BJdJPKEbSr74Sw,436
4
- cdk_docker_image_deployment/_jsii/cdk-docker-image-deployment@0.0.44.jsii.tgz,sha256=C8mCwi1Ii6BpX8qgDTqIMdS0A8zpNerdNZZBIY9KP2E,10392876
5
- cdk_docker_image_deployment-0.0.44.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
- cdk_docker_image_deployment-0.0.44.dist-info/METADATA,sha256=7KKJiQJqN3w4UiwogrRQ6qPndx65ronWCNMnWFPUTL8,3911
7
- cdk_docker_image_deployment-0.0.44.dist-info/NOTICE,sha256=1CkO1kwu3Q_OHYTj-d-yiBJA_lNN73a4zSntavaD4oc,67
8
- cdk_docker_image_deployment-0.0.44.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
9
- cdk_docker_image_deployment-0.0.44.dist-info/top_level.txt,sha256=WdzWJDV-WRpz7LHNc3kSSBBcEbKJGcyyW5BcqU_l1Ew,28
10
- cdk_docker_image_deployment-0.0.44.dist-info/RECORD,,