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