pulumi-docker-build 0.0.11__py3-none-any.whl → 0.0.13__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-build 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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -21,15 +21,15 @@ __all__ = ['IndexArgs', 'Index']
21
21
  @pulumi.input_type
22
22
  class IndexArgs:
23
23
  def __init__(__self__, *,
24
- sources: pulumi.Input[Sequence[pulumi.Input[str]]],
25
- tag: pulumi.Input[str],
26
- push: Optional[pulumi.Input[bool]] = None,
24
+ sources: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
25
+ tag: pulumi.Input[_builtins.str],
26
+ push: Optional[pulumi.Input[_builtins.bool]] = None,
27
27
  registry: Optional[pulumi.Input['RegistryArgs']] = None):
28
28
  """
29
29
  The set of arguments for constructing a Index resource.
30
- :param pulumi.Input[Sequence[pulumi.Input[str]]] sources: Existing images to include in the index.
31
- :param pulumi.Input[str] tag: The tag to apply to the index.
32
- :param pulumi.Input[bool] push: If true, push the index to the target registry.
30
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] sources: Existing images to include in the index.
31
+ :param pulumi.Input[_builtins.str] tag: The tag to apply to the index.
32
+ :param pulumi.Input[_builtins.bool] push: If true, push the index to the target registry.
33
33
 
34
34
  Defaults to `true`.
35
35
  :param pulumi.Input['RegistryArgs'] registry: Authentication for the registry where the tagged index will be pushed.
@@ -45,33 +45,33 @@ class IndexArgs:
45
45
  if registry is not None:
46
46
  pulumi.set(__self__, "registry", registry)
47
47
 
48
- @property
48
+ @_builtins.property
49
49
  @pulumi.getter
50
- def sources(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
50
+ def sources(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
51
51
  """
52
52
  Existing images to include in the index.
53
53
  """
54
54
  return pulumi.get(self, "sources")
55
55
 
56
56
  @sources.setter
57
- def sources(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
57
+ def sources(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
58
58
  pulumi.set(self, "sources", value)
59
59
 
60
- @property
60
+ @_builtins.property
61
61
  @pulumi.getter
62
- def tag(self) -> pulumi.Input[str]:
62
+ def tag(self) -> pulumi.Input[_builtins.str]:
63
63
  """
64
64
  The tag to apply to the index.
65
65
  """
66
66
  return pulumi.get(self, "tag")
67
67
 
68
68
  @tag.setter
69
- def tag(self, value: pulumi.Input[str]):
69
+ def tag(self, value: pulumi.Input[_builtins.str]):
70
70
  pulumi.set(self, "tag", value)
71
71
 
72
- @property
72
+ @_builtins.property
73
73
  @pulumi.getter
74
- def push(self) -> Optional[pulumi.Input[bool]]:
74
+ def push(self) -> Optional[pulumi.Input[_builtins.bool]]:
75
75
  """
76
76
  If true, push the index to the target registry.
77
77
 
@@ -80,10 +80,10 @@ class IndexArgs:
80
80
  return pulumi.get(self, "push")
81
81
 
82
82
  @push.setter
83
- def push(self, value: Optional[pulumi.Input[bool]]):
83
+ def push(self, value: Optional[pulumi.Input[_builtins.bool]]):
84
84
  pulumi.set(self, "push", value)
85
85
 
86
- @property
86
+ @_builtins.property
87
87
  @pulumi.getter
88
88
  def registry(self) -> Optional[pulumi.Input['RegistryArgs']]:
89
89
  """
@@ -98,15 +98,16 @@ class IndexArgs:
98
98
  pulumi.set(self, "registry", value)
99
99
 
100
100
 
101
+ @pulumi.type_token("docker-build:index:Index")
101
102
  class Index(pulumi.CustomResource):
102
103
  @overload
103
104
  def __init__(__self__,
104
105
  resource_name: str,
105
106
  opts: Optional[pulumi.ResourceOptions] = None,
106
- push: Optional[pulumi.Input[bool]] = None,
107
+ push: Optional[pulumi.Input[_builtins.bool]] = None,
107
108
  registry: Optional[pulumi.Input[Union['RegistryArgs', 'RegistryArgsDict']]] = None,
108
- sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
109
- tag: Optional[pulumi.Input[str]] = None,
109
+ sources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
110
+ tag: Optional[pulumi.Input[_builtins.str]] = None,
110
111
  __props__=None):
111
112
  """
112
113
  A wrapper around `docker buildx imagetools create` to create an index
@@ -180,14 +181,14 @@ class Index(pulumi.CustomResource):
180
181
 
181
182
  :param str resource_name: The name of the resource.
182
183
  :param pulumi.ResourceOptions opts: Options for the resource.
183
- :param pulumi.Input[bool] push: If true, push the index to the target registry.
184
+ :param pulumi.Input[_builtins.bool] push: If true, push the index to the target registry.
184
185
 
185
186
  Defaults to `true`.
186
187
  :param pulumi.Input[Union['RegistryArgs', 'RegistryArgsDict']] registry: Authentication for the registry where the tagged index will be pushed.
187
188
 
188
189
  Credentials can also be included with the provider's configuration.
189
- :param pulumi.Input[Sequence[pulumi.Input[str]]] sources: Existing images to include in the index.
190
- :param pulumi.Input[str] tag: The tag to apply to the index.
190
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] sources: Existing images to include in the index.
191
+ :param pulumi.Input[_builtins.str] tag: The tag to apply to the index.
191
192
  """
192
193
  ...
193
194
  @overload
@@ -280,10 +281,10 @@ class Index(pulumi.CustomResource):
280
281
  def _internal_init(__self__,
281
282
  resource_name: str,
282
283
  opts: Optional[pulumi.ResourceOptions] = None,
283
- push: Optional[pulumi.Input[bool]] = None,
284
+ push: Optional[pulumi.Input[_builtins.bool]] = None,
284
285
  registry: Optional[pulumi.Input[Union['RegistryArgs', 'RegistryArgsDict']]] = None,
285
- sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
286
- tag: Optional[pulumi.Input[str]] = None,
286
+ sources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
287
+ tag: Optional[pulumi.Input[_builtins.str]] = None,
287
288
  __props__=None):
288
289
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
289
290
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -333,9 +334,9 @@ class Index(pulumi.CustomResource):
333
334
  __props__.__dict__["tag"] = None
334
335
  return Index(resource_name, opts=opts, __props__=__props__)
335
336
 
336
- @property
337
+ @_builtins.property
337
338
  @pulumi.getter
338
- def push(self) -> pulumi.Output[Optional[bool]]:
339
+ def push(self) -> pulumi.Output[Optional[_builtins.bool]]:
339
340
  """
340
341
  If true, push the index to the target registry.
341
342
 
@@ -343,9 +344,9 @@ class Index(pulumi.CustomResource):
343
344
  """
344
345
  return pulumi.get(self, "push")
345
346
 
346
- @property
347
+ @_builtins.property
347
348
  @pulumi.getter
348
- def ref(self) -> pulumi.Output[str]:
349
+ def ref(self) -> pulumi.Output[_builtins.str]:
349
350
  """
350
351
  The pushed tag with digest.
351
352
 
@@ -353,7 +354,7 @@ class Index(pulumi.CustomResource):
353
354
  """
354
355
  return pulumi.get(self, "ref")
355
356
 
356
- @property
357
+ @_builtins.property
357
358
  @pulumi.getter
358
359
  def registry(self) -> pulumi.Output[Optional['outputs.Registry']]:
359
360
  """
@@ -363,17 +364,17 @@ class Index(pulumi.CustomResource):
363
364
  """
364
365
  return pulumi.get(self, "registry")
365
366
 
366
- @property
367
+ @_builtins.property
367
368
  @pulumi.getter
368
- def sources(self) -> pulumi.Output[Sequence[str]]:
369
+ def sources(self) -> pulumi.Output[Sequence[_builtins.str]]:
369
370
  """
370
371
  Existing images to include in the index.
371
372
  """
372
373
  return pulumi.get(self, "sources")
373
374
 
374
- @property
375
+ @_builtins.property
375
376
  @pulumi.getter
376
- def tag(self) -> pulumi.Output[str]:
377
+ def tag(self) -> pulumi.Output[_builtins.str]:
377
378
  """
378
379
  The tag to apply to the index.
379
380
  """