@pulumi/docker 4.6.0-beta.4 → 4.6.1

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.
Files changed (71) hide show
  1. package/config/vars.d.ts +6 -8
  2. package/config/vars.js.map +1 -1
  3. package/container.d.ts +46 -57
  4. package/container.js +22 -21
  5. package/container.js.map +1 -1
  6. package/getLogs.d.ts +1 -1
  7. package/getLogs.js +14 -1
  8. package/getLogs.js.map +1 -1
  9. package/getNetwork.d.ts +2 -2
  10. package/getNetwork.js +4 -1
  11. package/getNetwork.js.map +1 -1
  12. package/getPlugin.d.ts +27 -9
  13. package/getPlugin.js +32 -9
  14. package/getPlugin.js.map +1 -1
  15. package/getRegistryImage.d.ts +9 -9
  16. package/getRegistryImage.js +13 -9
  17. package/getRegistryImage.js.map +1 -1
  18. package/getRemoteImage.d.ts +9 -1
  19. package/getRemoteImage.js +12 -1
  20. package/getRemoteImage.js.map +1 -1
  21. package/image.d.ts +8 -6
  22. package/image.js +7 -4
  23. package/image.js.map +1 -1
  24. package/index.d.ts +1 -2
  25. package/index.js +1 -3
  26. package/index.js.map +1 -1
  27. package/network.d.ts +19 -19
  28. package/network.js +13 -13
  29. package/package.json +4 -3
  30. package/plugin.d.ts +3 -20
  31. package/plugin.js +0 -17
  32. package/plugin.js.map +1 -1
  33. package/provider.d.ts +11 -14
  34. package/provider.js.map +1 -1
  35. package/registryImage.d.ts +3 -20
  36. package/registryImage.js +0 -17
  37. package/registryImage.js.map +1 -1
  38. package/remoteImage.d.ts +44 -16
  39. package/remoteImage.js +32 -4
  40. package/remoteImage.js.map +1 -1
  41. package/secret.d.ts +1 -1
  42. package/secret.js +1 -1
  43. package/service.d.ts +23 -30
  44. package/service.js +23 -30
  45. package/service.js.map +1 -1
  46. package/serviceConfig.d.ts +13 -13
  47. package/serviceConfig.js +13 -13
  48. package/types/enums/index.d.ts +0 -2
  49. package/types/enums/index.js +1 -4
  50. package/types/enums/index.js.map +1 -1
  51. package/types/input.d.ts +3 -767
  52. package/types/input.js +0 -116
  53. package/types/input.js.map +1 -1
  54. package/types/output.d.ts +4 -769
  55. package/types/output.js +0 -115
  56. package/types/output.js.map +1 -1
  57. package/volume.d.ts +16 -16
  58. package/volume.js +13 -13
  59. package/buildx/image.d.ts +0 -916
  60. package/buildx/image.js +0 -558
  61. package/buildx/image.js.map +0 -1
  62. package/buildx/index.d.ts +0 -7
  63. package/buildx/index.js +0 -42
  64. package/buildx/index.js.map +0 -1
  65. package/buildx/index_.d.ts +0 -140
  66. package/buildx/index_.js +0 -130
  67. package/buildx/index_.js.map +0 -1
  68. package/package.json.bak +0 -28
  69. package/types/enums/buildx/index.d.ts +0 -72
  70. package/types/enums/buildx/index.js +0 -74
  71. package/types/enums/buildx/index.js.map +0 -1
package/buildx/image.js DELETED
@@ -1,558 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Image = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * A Docker image built using buildx -- Docker's interface to the improved
10
- * BuildKit backend.
11
- *
12
- * ## Stability
13
- *
14
- * **This resource is experimental and subject to change.**
15
- *
16
- * API types are unstable. Subsequent releases _may_ require manual edits
17
- * to your state file(s) in order to adopt API changes.
18
- *
19
- * `retainOnDelete: true` is recommended with this resource until it is
20
- * stable. This enables future API changes to be adopted more easily by renaming
21
- * resources.
22
- *
23
- * Only use this resource if you understand and accept the risks.
24
- *
25
- * ## Migrating v3 and v4 Image resources
26
- *
27
- * The `buildx.Image` resource provides a superset of functionality over the `Image` resources available in versions 3 and 4 of the Pulumi Docker provider.
28
- * Existing `Image` resources can be converted to `build.Image` resources with minor modifications.
29
- *
30
- * ### Behavioral differences
31
- *
32
- * There are several key behavioral differences to keep in mind when transitioning images to the new `buildx.Image` resource.
33
- *
34
- * #### Previews
35
- *
36
- * Version `3.x` of the Pulumi Docker provider always builds images during preview operations.
37
- * This is helpful as a safeguard to prevent "broken" images from merging, but users found the behavior unnecessarily redundant when running previews and updates locally.
38
- *
39
- * Version `4.x` changed build-on-preview behavior to be opt-in.
40
- * By default, `v4.x` `Image` resources do _not_ build during previews, but this behavior can be toggled with the `buildOnPreview` option.
41
- * Some users felt this made previews in CI less helpful because they no longer detected bad images by default.
42
- *
43
- * The default behavior of the `buildx.Image` resource has been changed to strike a better balance between CI use cases and manual updates.
44
- * By default, Pulumi will now only build `buildx.Image` resources during previews when it detects a CI environment like GitHub Actions.
45
- * Previews run in non-CI environments will not build images.
46
- * This behavior is still configurable with `buildOnPreview`.
47
- *
48
- * #### Push behavior
49
- *
50
- * Versions `3.x` and `4.x` of the Pulumi Docker provider attempt to push images to remote registries by default.
51
- * They expose a `skipPush: true` option to disable pushing.
52
- *
53
- * The `buildx.Image` resource matches the Docker CLI's behavior and does not push images anywhere by default.
54
- *
55
- * To push images to a registry you can include `push: true` (equivalent to Docker's `--push` flag) or configure an `export` of type `registry` (equivalent to Docker's `--output type=registry`).
56
- * Like Docker, if an image is configured without exports you will see a warning with instructions for how to enable pushing, but the build will still proceed normally.
57
- *
58
- * #### Secrets
59
- *
60
- * Version `3.x` of the Pulumi Docker provider supports secrets by way of the `extraOptions` field.
61
- *
62
- * Version `4.x` of the Pulumi Docker provider does not support secrets.
63
- *
64
- * The `buildx.Image` resource supports secrets but does not require those secrets to exist on-disk or in environment variables.
65
- * Instead, they should be passed directly as values.
66
- * (Please be sure to familiarize yourself with Pulumi's [native secret handling](https://www.pulumi.com/docs/concepts/secrets/).)
67
- * Pulumi also provides [ESC](https://www.pulumi.com/product/esc/) to make it easier to share secrets across stacks and environments.
68
- *
69
- * #### Caching
70
- *
71
- * Version `3.x` of the Pulumi Docker provider exposes `cacheFrom: bool | { stages: [...] }`.
72
- * It builds targets individually and pushes them to separate images for caching.
73
- *
74
- * Version `4.x` exposes a similar parameter `cacheFrom: { images: [...] }` which pushes and pulls inline caches.
75
- *
76
- * Both versions 3 and 4 require specific environment variables to be set and deviate from Docker's native caching behavior.
77
- * This can result in inefficient builds due to unnecessary image pulls, repeated file transfers, etc.
78
- *
79
- * The `buildx.Image` resource delegates all caching behavior to Docker.
80
- * `cacheFrom` and `cacheTo` options (equivalent to Docker's `--cache-to` and `--cache-from`) are exposed and provide additional cache targets, such as local disk, S3 storage, etc.
81
- *
82
- * #### Outputs
83
- *
84
- * Versions `3.x` and `4.x` of the provider exposed a `repoDigest` output which was a fully qualified tag with digest.
85
- * In `4.x` this could also be a single sha256 hash if the image wasn't pushed.
86
- *
87
- * Unlike earlier providers the `buildx.Image` resource can push multiple tags.
88
- * As a convenience, it exposes a `ref` output consisting of a tag with digest as long as the image was pushed.
89
- * If multiple tags were pushed this uses one at random.
90
- *
91
- * If you need more control over tag references you can use the `digest` output, which is always a single sha256 hash as long as the image was exported somewhere.
92
- *
93
- * #### Tag deletion and refreshes
94
- *
95
- * Versions 3 and 4 of Pulumi Docker provider do not delete tags when the `Image` resource is deleted, nor do they confirm expected tags exist during `refresh` operations.
96
- *
97
- * The `buidx.Image` will query your registries during `refresh` to ensure the expected tags exist.
98
- * If any are missing a subsequent `update` will push them.
99
- *
100
- * When a `buildx.Image` is deleted, it will _attempt_ to also delete any pushed tags.
101
- * Deletion of remote tags is not guaranteed because not all registries support the manifest `DELETE` API (`docker.io` in particular).
102
- * Manifests are _not_ deleted in the same way during updates -- to do so safely would require a full build to determine whether a Pulumi operation should be an update or update-replace.
103
- *
104
- * Use the [`retainOnDelete: true`](https://www.pulumi.com/docs/concepts/options/retainondelete/) option if you do not want tags deleted.
105
- *
106
- * ### Example migration
107
- *
108
- * Examples of "fully-featured" `v3` and `v4` `Image` resources are shown below, along with an example `buildx.Image` resource showing how they would look after migration.
109
- *
110
- * The `v3` resource leverages `buildx` via a `DOCKER_BUILDKIT` environment variable and CLI flags passed in with `extraOption`.
111
- * After migration, the environment variable is no longer needed and CLI flags are now properties on the `buildx.Image`.
112
- * In almost all cases, properties of `buildx.Image` are named after the Docker CLI flag they correspond to.
113
- *
114
- * The `v4` resource is less functional than its `v3` counterpart because it lacks the flexibility of `extraOptions`.
115
- * It it is shown with parameters similar to the `v3` example for completeness.
116
- *
117
- * ## Example Usage
118
- * ### v3/v4 migration
119
- *
120
- * ```typescript
121
- *
122
- * // v3 Image
123
- * const v3 = new docker.Image("v3-image", {
124
- * imageName: "myregistry.com/user/repo:latest",
125
- * localImageName: "local-tag",
126
- * skipPush: false,
127
- * build: {
128
- * dockerfile: "./Dockerfile",
129
- * context: "../app",
130
- * target: "mytarget",
131
- * args: {
132
- * MY_BUILD_ARG: "foo",
133
- * },
134
- * env: {
135
- * DOCKER_BUILDKIT: "1",
136
- * },
137
- * extraOptions: [
138
- * "--cache-from",
139
- * "type=registry,myregistry.com/user/repo:cache",
140
- * "--cache-to",
141
- * "type=registry,myregistry.com/user/repo:cache",
142
- * "--add-host",
143
- * "metadata.google.internal:169.254.169.254",
144
- * "--secret",
145
- * "id=mysecret,src=/local/secret",
146
- * "--ssh",
147
- * "default=/home/runner/.ssh/id_ed25519",
148
- * "--network",
149
- * "host",
150
- * "--platform",
151
- * "linux/amd64",
152
- * ],
153
- * },
154
- * registry: {
155
- * server: "myregistry.com",
156
- * username: "username",
157
- * password: pulumi.secret("password"),
158
- * },
159
- * });
160
- *
161
- * // v3 Image after migrating to buildx.Image
162
- * const v3Migrated = new docker.buildx.Image("v3-to-buildx", {
163
- * tags: ["myregistry.com/user/repo:latest", "local-tag"],
164
- * push: true,
165
- * dockerfile: {
166
- * location: "./Dockerfile",
167
- * },
168
- * context: {
169
- * location: "../app",
170
- * },
171
- * targets: ["mytarget"],
172
- * buildArgs: {
173
- * MY_BUILD_ARG: "foo",
174
- * },
175
- * cacheFrom: [{ registry: { ref: "myregistry.com/user/repo:cache" } }],
176
- * cacheTo: [{ registry: { ref: "myregistry.com/user/repo:cache" } }],
177
- * secrets: {
178
- * mysecret: "value",
179
- * },
180
- * addHosts: ["metadata.google.internal:169.254.169.254"],
181
- * ssh: {
182
- * default: ["/home/runner/.ssh/id_ed25519"],
183
- * },
184
- * network: "host",
185
- * platforms: ["linux/amd64"],
186
- * registries: [{
187
- * address: "myregistry.com",
188
- * username: "username",
189
- * password: pulumi.secret("password"),
190
- * }],
191
- * });
192
- *
193
- *
194
- * // v4 Image
195
- * const v4 = new docker.Image("v4-image", {
196
- * imageName: "myregistry.com/user/repo:latest",
197
- * skipPush: false,
198
- * build: {
199
- * dockerfile: "./Dockerfile",
200
- * context: "../app",
201
- * target: "mytarget",
202
- * args: {
203
- * MY_BUILD_ARG: "foo",
204
- * },
205
- * cacheFrom: {
206
- * images: ["myregistry.com/user/repo:cache"],
207
- * },
208
- * addHosts: ["metadata.google.internal:169.254.169.254"],
209
- * network: "host",
210
- * platform: "linux/amd64",
211
- * },
212
- * buildOnPreview: true,
213
- * registry: {
214
- * server: "myregistry.com",
215
- * username: "username",
216
- * password: pulumi.secret("password"),
217
- * },
218
- * });
219
- *
220
- * // v4 Image after migrating to buildx.Image
221
- * const v4Migrated = new docker.buildx.Image("v4-to-buildx", {
222
- * tags: ["myregistry.com/user/repo:latest"],
223
- * push: true,
224
- * dockerfile: {
225
- * location: "./Dockerfile",
226
- * },
227
- * context: {
228
- * location: "../app",
229
- * },
230
- * targets: ["mytarget"],
231
- * buildArgs: {
232
- * MY_BUILD_ARG: "foo",
233
- * },
234
- * cacheFrom: [{ registry: { ref: "myregistry.com/user/repo:cache" } }],
235
- * cacheTo: [{ registry: { ref: "myregistry.com/user/repo:cache" } }],
236
- * addHosts: ["metadata.google.internal:169.254.169.254"],
237
- * network: "host",
238
- * platforms: ["linux/amd64"],
239
- * registries: [{
240
- * address: "myregistry.com",
241
- * username: "username",
242
- * password: pulumi.secret("password"),
243
- * }],
244
- * });
245
- *
246
- * ```
247
- *
248
- * ## Example Usage
249
- * ### Push to AWS ECR with caching
250
- *
251
- * ```typescript
252
- * import * as pulumi from "@pulumi/pulumi";
253
- * import * as aws from "@pulumi/aws";
254
- * import * as docker from "@pulumi/docker";
255
- *
256
- * const ecrRepository = new aws.ecr.Repository("ecr-repository", {});
257
- * const authToken = aws.ecr.getAuthorizationTokenOutput({
258
- * registryId: ecrRepository.registryId,
259
- * });
260
- * const myImage = new docker.buildx.Image("my-image", {
261
- * cacheFrom: [{
262
- * registry: {
263
- * ref: pulumi.interpolate`${ecrRepository.repositoryUrl}:cache`,
264
- * },
265
- * }],
266
- * cacheTo: [{
267
- * registry: {
268
- * imageManifest: true,
269
- * ociMediaTypes: true,
270
- * ref: pulumi.interpolate`${ecrRepository.repositoryUrl}:cache`,
271
- * },
272
- * }],
273
- * context: {
274
- * location: "./app",
275
- * },
276
- * push: true,
277
- * registries: [{
278
- * address: ecrRepository.repositoryUrl,
279
- * password: authToken.apply(authToken => authToken.password),
280
- * username: authToken.apply(authToken => authToken.userName),
281
- * }],
282
- * tags: [pulumi.interpolate`${ecrRepository.repositoryUrl}:latest`],
283
- * });
284
- * export const ref = myImage.ref;
285
- * ```
286
- * ### Multi-platform image
287
- *
288
- * ```typescript
289
- * import * as pulumi from "@pulumi/pulumi";
290
- * import * as docker from "@pulumi/docker";
291
- *
292
- * const image = new docker.buildx.Image("image", {
293
- * context: {
294
- * location: "app",
295
- * },
296
- * platforms: [
297
- * docker.buildx.image.Platform.Plan9_amd64,
298
- * docker.buildx.image.Platform.Plan9_386,
299
- * ],
300
- * });
301
- * ```
302
- * ### Registry export
303
- *
304
- * ```typescript
305
- * import * as pulumi from "@pulumi/pulumi";
306
- * import * as docker from "@pulumi/docker";
307
- *
308
- * const image = new docker.buildx.Image("image", {
309
- * context: {
310
- * location: "app",
311
- * },
312
- * push: true,
313
- * registries: [{
314
- * address: "docker.io",
315
- * password: dockerHubPassword,
316
- * username: "pulumibot",
317
- * }],
318
- * tags: ["docker.io/pulumi/pulumi:3.107.0"],
319
- * });
320
- * export const ref = myImage.ref;
321
- * ```
322
- * ### Caching
323
- *
324
- * ```typescript
325
- * import * as pulumi from "@pulumi/pulumi";
326
- * import * as docker from "@pulumi/docker";
327
- *
328
- * const image = new docker.buildx.Image("image", {
329
- * cacheFrom: [{
330
- * local: {
331
- * src: "tmp/cache",
332
- * },
333
- * }],
334
- * cacheTo: [{
335
- * local: {
336
- * dest: "tmp/cache",
337
- * mode: docker.buildx.image.CacheMode.Max,
338
- * },
339
- * }],
340
- * context: {
341
- * location: "app",
342
- * },
343
- * });
344
- * ```
345
- * ### Docker Build Cloud
346
- *
347
- * ```typescript
348
- * import * as pulumi from "@pulumi/pulumi";
349
- * import * as docker from "@pulumi/docker";
350
- *
351
- * const image = new docker.buildx.Image("image", {
352
- * builder: {
353
- * name: "cloud-builder-name",
354
- * },
355
- * context: {
356
- * location: "app",
357
- * },
358
- * exec: true,
359
- * });
360
- * ```
361
- * ### Build arguments
362
- *
363
- * ```typescript
364
- * import * as pulumi from "@pulumi/pulumi";
365
- * import * as docker from "@pulumi/docker";
366
- *
367
- * const image = new docker.buildx.Image("image", {
368
- * buildArgs: {
369
- * SET_ME_TO_TRUE: "true",
370
- * },
371
- * context: {
372
- * location: "app",
373
- * },
374
- * });
375
- * ```
376
- * ### Build target
377
- *
378
- * ```typescript
379
- * import * as pulumi from "@pulumi/pulumi";
380
- * import * as docker from "@pulumi/docker";
381
- *
382
- * const image = new docker.buildx.Image("image", {
383
- * context: {
384
- * location: "app",
385
- * },
386
- * target: "build-me",
387
- * });
388
- * ```
389
- * ### Named contexts
390
- *
391
- * ```typescript
392
- * import * as pulumi from "@pulumi/pulumi";
393
- * import * as docker from "@pulumi/docker";
394
- *
395
- * const image = new docker.buildx.Image("image", {context: {
396
- * location: "app",
397
- * named: {
398
- * "golang:latest": {
399
- * location: "docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
400
- * },
401
- * },
402
- * }});
403
- * ```
404
- * ### Remote context
405
- *
406
- * ```typescript
407
- * import * as pulumi from "@pulumi/pulumi";
408
- * import * as docker from "@pulumi/docker";
409
- *
410
- * const image = new docker.buildx.Image("image", {context: {
411
- * location: "https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
412
- * }});
413
- * ```
414
- * ### Inline Dockerfile
415
- *
416
- * ```typescript
417
- * import * as pulumi from "@pulumi/pulumi";
418
- * import * as docker from "@pulumi/docker";
419
- *
420
- * const image = new docker.buildx.Image("image", {
421
- * context: {
422
- * location: "app",
423
- * },
424
- * dockerfile: {
425
- * inline: `FROM busybox
426
- * COPY hello.c ./
427
- * `,
428
- * },
429
- * });
430
- * ```
431
- * ### Remote context
432
- *
433
- * ```typescript
434
- * import * as pulumi from "@pulumi/pulumi";
435
- * import * as docker from "@pulumi/docker";
436
- *
437
- * const image = new docker.buildx.Image("image", {
438
- * context: {
439
- * location: "https://github.com/docker-library/hello-world.git",
440
- * },
441
- * dockerfile: {
442
- * location: "app/Dockerfile",
443
- * },
444
- * });
445
- * ```
446
- * ### Local export
447
- *
448
- * ```typescript
449
- * import * as pulumi from "@pulumi/pulumi";
450
- * import * as docker from "@pulumi/docker";
451
- *
452
- * const image = new docker.buildx.Image("image", {
453
- * context: {
454
- * location: "app",
455
- * },
456
- * exports: [{
457
- * docker: {
458
- * tar: true,
459
- * },
460
- * }],
461
- * });
462
- * ```
463
- */
464
- class Image extends pulumi.CustomResource {
465
- /**
466
- * Get an existing Image resource's state with the given name, ID, and optional extra
467
- * properties used to qualify the lookup.
468
- *
469
- * @param name The _unique_ name of the resulting resource.
470
- * @param id The _unique_ provider ID of the resource to lookup.
471
- * @param opts Optional settings to control the behavior of the CustomResource.
472
- */
473
- static get(name, id, opts) {
474
- return new Image(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
475
- }
476
- /**
477
- * Returns true if the given object is an instance of Image. This is designed to work even
478
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
479
- */
480
- static isInstance(obj) {
481
- if (obj === undefined || obj === null) {
482
- return false;
483
- }
484
- return obj['__pulumiType'] === Image.__pulumiType;
485
- }
486
- /**
487
- * Create a Image resource with the given unique name, arguments, and options.
488
- *
489
- * @param name The _unique_ name of the resource.
490
- * @param args The arguments to use to populate this resource's properties.
491
- * @param opts A bag of options that control this resource's behavior.
492
- */
493
- constructor(name, args, opts) {
494
- var _a;
495
- let resourceInputs = {};
496
- opts = opts || {};
497
- if (!opts.id) {
498
- resourceInputs["addHosts"] = args ? args.addHosts : undefined;
499
- resourceInputs["buildArgs"] = args ? args.buildArgs : undefined;
500
- resourceInputs["buildOnPreview"] = args ? args.buildOnPreview : undefined;
501
- resourceInputs["builder"] = args ? args.builder : undefined;
502
- resourceInputs["cacheFrom"] = args ? args.cacheFrom : undefined;
503
- resourceInputs["cacheTo"] = args ? args.cacheTo : undefined;
504
- resourceInputs["context"] = args ? args.context : undefined;
505
- resourceInputs["dockerfile"] = args ? args.dockerfile : undefined;
506
- resourceInputs["exec"] = args ? args.exec : undefined;
507
- resourceInputs["exports"] = args ? args.exports : undefined;
508
- resourceInputs["labels"] = args ? args.labels : undefined;
509
- resourceInputs["load"] = args ? args.load : undefined;
510
- resourceInputs["network"] = (_a = (args ? args.network : undefined)) !== null && _a !== void 0 ? _a : "default";
511
- resourceInputs["noCache"] = args ? args.noCache : undefined;
512
- resourceInputs["platforms"] = args ? args.platforms : undefined;
513
- resourceInputs["pull"] = args ? args.pull : undefined;
514
- resourceInputs["push"] = args ? args.push : undefined;
515
- resourceInputs["registries"] = args ? args.registries : undefined;
516
- resourceInputs["secrets"] = args ? args.secrets : undefined;
517
- resourceInputs["ssh"] = args ? args.ssh : undefined;
518
- resourceInputs["tags"] = args ? args.tags : undefined;
519
- resourceInputs["target"] = args ? args.target : undefined;
520
- resourceInputs["contextHash"] = undefined /*out*/;
521
- resourceInputs["digest"] = undefined /*out*/;
522
- resourceInputs["ref"] = undefined /*out*/;
523
- }
524
- else {
525
- resourceInputs["addHosts"] = undefined /*out*/;
526
- resourceInputs["buildArgs"] = undefined /*out*/;
527
- resourceInputs["buildOnPreview"] = undefined /*out*/;
528
- resourceInputs["builder"] = undefined /*out*/;
529
- resourceInputs["cacheFrom"] = undefined /*out*/;
530
- resourceInputs["cacheTo"] = undefined /*out*/;
531
- resourceInputs["context"] = undefined /*out*/;
532
- resourceInputs["contextHash"] = undefined /*out*/;
533
- resourceInputs["digest"] = undefined /*out*/;
534
- resourceInputs["dockerfile"] = undefined /*out*/;
535
- resourceInputs["exec"] = undefined /*out*/;
536
- resourceInputs["exports"] = undefined /*out*/;
537
- resourceInputs["labels"] = undefined /*out*/;
538
- resourceInputs["load"] = undefined /*out*/;
539
- resourceInputs["network"] = undefined /*out*/;
540
- resourceInputs["noCache"] = undefined /*out*/;
541
- resourceInputs["platforms"] = undefined /*out*/;
542
- resourceInputs["pull"] = undefined /*out*/;
543
- resourceInputs["push"] = undefined /*out*/;
544
- resourceInputs["ref"] = undefined /*out*/;
545
- resourceInputs["registries"] = undefined /*out*/;
546
- resourceInputs["secrets"] = undefined /*out*/;
547
- resourceInputs["ssh"] = undefined /*out*/;
548
- resourceInputs["tags"] = undefined /*out*/;
549
- resourceInputs["target"] = undefined /*out*/;
550
- }
551
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
552
- super(Image.__pulumiType, name, resourceInputs, opts);
553
- }
554
- }
555
- exports.Image = Image;
556
- /** @internal */
557
- Image.__pulumiType = 'docker:buildx/image:Image';
558
- //# sourceMappingURL=image.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"image.js","sourceRoot":"","sources":["../../buildx/image.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ACjD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA7TL,sBA8TC;AAjTG,gBAAgB;AACO,kBAAY,GAAG,2BAA2B,CAAC"}
package/buildx/index.d.ts DELETED
@@ -1,7 +0,0 @@
1
- export { ImageArgs } from "./image";
2
- export type Image = import("./image").Image;
3
- export declare const Image: typeof import("./image").Image;
4
- export { IndexArgs } from "./index_";
5
- export type Index = import("./index_").Index;
6
- export declare const Index: typeof import("./index_").Index;
7
- export * from "../types/enums/buildx";
package/buildx/index.js DELETED
@@ -1,42 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
- };
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.Index = exports.Image = void 0;
20
- const pulumi = require("@pulumi/pulumi");
21
- const utilities = require("../utilities");
22
- exports.Image = null;
23
- utilities.lazyLoad(exports, ["Image"], () => require("./image"));
24
- exports.Index = null;
25
- utilities.lazyLoad(exports, ["Index"], () => require("./index_"));
26
- // Export enums:
27
- __exportStar(require("../types/enums/buildx"), exports);
28
- const _module = {
29
- version: utilities.getVersion(),
30
- construct: (name, type, urn) => {
31
- switch (type) {
32
- case "docker:buildx/image:Image":
33
- return new exports.Image(name, undefined, { urn });
34
- case "docker:buildx/image:Index":
35
- return new exports.Index(name, undefined, { urn });
36
- default:
37
- throw new Error(`unknown resource type ${type}`);
38
- }
39
- },
40
- };
41
- pulumi.runtime.registerResourceModule("docker", "buildx/image", _module);
42
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../buildx/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,KAAK,GAAoC,IAAW,CAAC;AAClE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGlE,gBAAgB;AAChB,wDAAsC;AAEtC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA"}