@pulumi/docker 4.6.0-beta.4 → 4.6.0

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/types/output.js CHANGED
@@ -2,119 +2,4 @@
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
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.buildx = void 0;
6
- const outputs = require("../types/output");
7
- const utilities = require("../utilities");
8
- var buildx;
9
- (function (buildx) {
10
- /**
11
- * cacheFromProvideDefaults sets the appropriate defaults for CacheFrom
12
- */
13
- function cacheFromProvideDefaults(val) {
14
- return Object.assign(Object.assign({}, val), { gha: (val.gha ? outputs.buildx.cacheFromGitHubActionsProvideDefaults(val.gha) : undefined), s3: (val.s3 ? outputs.buildx.cacheFromS3ProvideDefaults(val.s3) : undefined) });
15
- }
16
- buildx.cacheFromProvideDefaults = cacheFromProvideDefaults;
17
- /**
18
- * cacheFromGitHubActionsProvideDefaults sets the appropriate defaults for CacheFromGitHubActions
19
- */
20
- function cacheFromGitHubActionsProvideDefaults(val) {
21
- var _a, _b, _c;
22
- return Object.assign(Object.assign({}, val), { scope: (_a = (val.scope)) !== null && _a !== void 0 ? _a : (utilities.getEnv("buildkit") || ""), token: (_b = (val.token)) !== null && _b !== void 0 ? _b : (utilities.getEnv("ACTIONS_RUNTIME_TOKEN") || ""), url: (_c = (val.url)) !== null && _c !== void 0 ? _c : (utilities.getEnv("ACTIONS_RUNTIME_URL") || "") });
23
- }
24
- buildx.cacheFromGitHubActionsProvideDefaults = cacheFromGitHubActionsProvideDefaults;
25
- /**
26
- * cacheFromS3ProvideDefaults sets the appropriate defaults for CacheFromS3
27
- */
28
- function cacheFromS3ProvideDefaults(val) {
29
- var _a, _b, _c, _d;
30
- return Object.assign(Object.assign({}, val), { accessKeyId: (_a = (val.accessKeyId)) !== null && _a !== void 0 ? _a : (utilities.getEnv("AWS_ACCESS_KEY_ID") || ""), region: (_b = (val.region)) !== null && _b !== void 0 ? _b : (utilities.getEnv("AWS_REGION") || ""), secretAccessKey: (_c = (val.secretAccessKey)) !== null && _c !== void 0 ? _c : (utilities.getEnv("AWS_SECRET_ACCESS_KEY") || ""), sessionToken: (_d = (val.sessionToken)) !== null && _d !== void 0 ? _d : (utilities.getEnv("AWS_SESSION_TOKEN") || "") });
31
- }
32
- buildx.cacheFromS3ProvideDefaults = cacheFromS3ProvideDefaults;
33
- /**
34
- * cacheToProvideDefaults sets the appropriate defaults for CacheTo
35
- */
36
- function cacheToProvideDefaults(val) {
37
- return Object.assign(Object.assign({}, val), { azblob: (val.azblob ? outputs.buildx.cacheToAzureBlobProvideDefaults(val.azblob) : undefined), gha: (val.gha ? outputs.buildx.cacheToGitHubActionsProvideDefaults(val.gha) : undefined), local: (val.local ? outputs.buildx.cacheToLocalProvideDefaults(val.local) : undefined), registry: (val.registry ? outputs.buildx.cacheToRegistryProvideDefaults(val.registry) : undefined), s3: (val.s3 ? outputs.buildx.cacheToS3ProvideDefaults(val.s3) : undefined) });
38
- }
39
- buildx.cacheToProvideDefaults = cacheToProvideDefaults;
40
- /**
41
- * cacheToAzureBlobProvideDefaults sets the appropriate defaults for CacheToAzureBlob
42
- */
43
- function cacheToAzureBlobProvideDefaults(val) {
44
- var _a, _b;
45
- return Object.assign(Object.assign({}, val), { ignoreError: (_a = (val.ignoreError)) !== null && _a !== void 0 ? _a : false, mode: (_b = (val.mode)) !== null && _b !== void 0 ? _b : "min" });
46
- }
47
- buildx.cacheToAzureBlobProvideDefaults = cacheToAzureBlobProvideDefaults;
48
- /**
49
- * cacheToGitHubActionsProvideDefaults sets the appropriate defaults for CacheToGitHubActions
50
- */
51
- function cacheToGitHubActionsProvideDefaults(val) {
52
- var _a, _b, _c, _d, _e;
53
- return Object.assign(Object.assign({}, val), { ignoreError: (_a = (val.ignoreError)) !== null && _a !== void 0 ? _a : false, mode: (_b = (val.mode)) !== null && _b !== void 0 ? _b : "min", scope: (_c = (val.scope)) !== null && _c !== void 0 ? _c : (utilities.getEnv("buildkit") || ""), token: (_d = (val.token)) !== null && _d !== void 0 ? _d : (utilities.getEnv("ACTIONS_RUNTIME_TOKEN") || ""), url: (_e = (val.url)) !== null && _e !== void 0 ? _e : (utilities.getEnv("ACTIONS_RUNTIME_URL") || "") });
54
- }
55
- buildx.cacheToGitHubActionsProvideDefaults = cacheToGitHubActionsProvideDefaults;
56
- /**
57
- * cacheToLocalProvideDefaults sets the appropriate defaults for CacheToLocal
58
- */
59
- function cacheToLocalProvideDefaults(val) {
60
- var _a, _b, _c, _d, _e;
61
- return Object.assign(Object.assign({}, val), { compression: (_a = (val.compression)) !== null && _a !== void 0 ? _a : "gzip", compressionLevel: (_b = (val.compressionLevel)) !== null && _b !== void 0 ? _b : 0, forceCompression: (_c = (val.forceCompression)) !== null && _c !== void 0 ? _c : false, ignoreError: (_d = (val.ignoreError)) !== null && _d !== void 0 ? _d : false, mode: (_e = (val.mode)) !== null && _e !== void 0 ? _e : "min" });
62
- }
63
- buildx.cacheToLocalProvideDefaults = cacheToLocalProvideDefaults;
64
- /**
65
- * cacheToRegistryProvideDefaults sets the appropriate defaults for CacheToRegistry
66
- */
67
- function cacheToRegistryProvideDefaults(val) {
68
- var _a, _b, _c, _d, _e, _f, _g;
69
- return Object.assign(Object.assign({}, val), { compression: (_a = (val.compression)) !== null && _a !== void 0 ? _a : "gzip", compressionLevel: (_b = (val.compressionLevel)) !== null && _b !== void 0 ? _b : 0, forceCompression: (_c = (val.forceCompression)) !== null && _c !== void 0 ? _c : false, ignoreError: (_d = (val.ignoreError)) !== null && _d !== void 0 ? _d : false, imageManifest: (_e = (val.imageManifest)) !== null && _e !== void 0 ? _e : false, mode: (_f = (val.mode)) !== null && _f !== void 0 ? _f : "min", ociMediaTypes: (_g = (val.ociMediaTypes)) !== null && _g !== void 0 ? _g : true });
70
- }
71
- buildx.cacheToRegistryProvideDefaults = cacheToRegistryProvideDefaults;
72
- /**
73
- * cacheToS3ProvideDefaults sets the appropriate defaults for CacheToS3
74
- */
75
- function cacheToS3ProvideDefaults(val) {
76
- var _a, _b, _c, _d, _e, _f;
77
- return Object.assign(Object.assign({}, val), { accessKeyId: (_a = (val.accessKeyId)) !== null && _a !== void 0 ? _a : (utilities.getEnv("AWS_ACCESS_KEY_ID") || ""), ignoreError: (_b = (val.ignoreError)) !== null && _b !== void 0 ? _b : false, mode: (_c = (val.mode)) !== null && _c !== void 0 ? _c : "min", region: (_d = (val.region)) !== null && _d !== void 0 ? _d : (utilities.getEnv("AWS_REGION") || ""), secretAccessKey: (_e = (val.secretAccessKey)) !== null && _e !== void 0 ? _e : (utilities.getEnv("AWS_SECRET_ACCESS_KEY") || ""), sessionToken: (_f = (val.sessionToken)) !== null && _f !== void 0 ? _f : (utilities.getEnv("AWS_SESSION_TOKEN") || "") });
78
- }
79
- buildx.cacheToS3ProvideDefaults = cacheToS3ProvideDefaults;
80
- /**
81
- * exportProvideDefaults sets the appropriate defaults for Export
82
- */
83
- function exportProvideDefaults(val) {
84
- return Object.assign(Object.assign({}, val), { docker: (val.docker ? outputs.buildx.exportDockerProvideDefaults(val.docker) : undefined), image: (val.image ? outputs.buildx.exportImageProvideDefaults(val.image) : undefined), oci: (val.oci ? outputs.buildx.exportOCIProvideDefaults(val.oci) : undefined), registry: (val.registry ? outputs.buildx.exportRegistryProvideDefaults(val.registry) : undefined) });
85
- }
86
- buildx.exportProvideDefaults = exportProvideDefaults;
87
- /**
88
- * exportDockerProvideDefaults sets the appropriate defaults for ExportDocker
89
- */
90
- function exportDockerProvideDefaults(val) {
91
- var _a, _b, _c, _d, _e;
92
- return Object.assign(Object.assign({}, val), { compression: (_a = (val.compression)) !== null && _a !== void 0 ? _a : "gzip", compressionLevel: (_b = (val.compressionLevel)) !== null && _b !== void 0 ? _b : 0, forceCompression: (_c = (val.forceCompression)) !== null && _c !== void 0 ? _c : false, ociMediaTypes: (_d = (val.ociMediaTypes)) !== null && _d !== void 0 ? _d : false, tar: (_e = (val.tar)) !== null && _e !== void 0 ? _e : true });
93
- }
94
- buildx.exportDockerProvideDefaults = exportDockerProvideDefaults;
95
- /**
96
- * exportImageProvideDefaults sets the appropriate defaults for ExportImage
97
- */
98
- function exportImageProvideDefaults(val) {
99
- var _a, _b, _c, _d, _e;
100
- return Object.assign(Object.assign({}, val), { compression: (_a = (val.compression)) !== null && _a !== void 0 ? _a : "gzip", compressionLevel: (_b = (val.compressionLevel)) !== null && _b !== void 0 ? _b : 0, forceCompression: (_c = (val.forceCompression)) !== null && _c !== void 0 ? _c : false, ociMediaTypes: (_d = (val.ociMediaTypes)) !== null && _d !== void 0 ? _d : false, store: (_e = (val.store)) !== null && _e !== void 0 ? _e : true });
101
- }
102
- buildx.exportImageProvideDefaults = exportImageProvideDefaults;
103
- /**
104
- * exportOCIProvideDefaults sets the appropriate defaults for ExportOCI
105
- */
106
- function exportOCIProvideDefaults(val) {
107
- var _a, _b, _c, _d, _e;
108
- return Object.assign(Object.assign({}, val), { compression: (_a = (val.compression)) !== null && _a !== void 0 ? _a : "gzip", compressionLevel: (_b = (val.compressionLevel)) !== null && _b !== void 0 ? _b : 0, forceCompression: (_c = (val.forceCompression)) !== null && _c !== void 0 ? _c : false, ociMediaTypes: (_d = (val.ociMediaTypes)) !== null && _d !== void 0 ? _d : true, tar: (_e = (val.tar)) !== null && _e !== void 0 ? _e : true });
109
- }
110
- buildx.exportOCIProvideDefaults = exportOCIProvideDefaults;
111
- /**
112
- * exportRegistryProvideDefaults sets the appropriate defaults for ExportRegistry
113
- */
114
- function exportRegistryProvideDefaults(val) {
115
- var _a, _b, _c, _d, _e, _f;
116
- return Object.assign(Object.assign({}, val), { compression: (_a = (val.compression)) !== null && _a !== void 0 ? _a : "gzip", compressionLevel: (_b = (val.compressionLevel)) !== null && _b !== void 0 ? _b : 0, forceCompression: (_c = (val.forceCompression)) !== null && _c !== void 0 ? _c : false, ociMediaTypes: (_d = (val.ociMediaTypes)) !== null && _d !== void 0 ? _d : false, push: (_e = (val.push)) !== null && _e !== void 0 ? _e : true, store: (_f = (val.store)) !== null && _f !== void 0 ? _f : true });
117
- }
118
- buildx.exportRegistryProvideDefaults = exportRegistryProvideDefaults;
119
- })(buildx = exports.buildx || (exports.buildx = {}));
120
5
  //# sourceMappingURL=output.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAIjF,2CAA2C;AAG3C,0CAA0C;AAuqC1C,IAAiB,MAAM,CAo4BtB;AAp4BD,WAAiB,MAAM;IAuEnB;;OAEG;IACH,SAAgB,wBAAwB,CAAC,GAAc;QACnD,uCACO,GAAG,KACN,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EAC1F,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAC9E;IACN,CAAC;IANe,+BAAwB,2BAMvC,CAAA;IA2CD;;OAEG;IACH,SAAgB,qCAAqC,CAA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ts CHANGED
@@ -11,36 +11,36 @@ import * as outputs from "./types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as docker from "@pulumi/docker";
13
13
  *
14
- * const sharedVolume = new docker.Volume("sharedVolume", {});
14
+ * const sharedVolume = new docker.Volume("shared_volume", {name: "shared_volume"});
15
15
  * ```
16
16
  *
17
17
  * ## Import
18
18
  *
19
19
  * ### Example
20
20
  *
21
- * Assuming you created a `volume` as follows
21
+ * Assuming you created a `volume` as follows
22
22
  *
23
- * #!/bin/bash
23
+ * #!/bin/bash
24
24
  *
25
- * docker volume create
25
+ * docker volume create
26
26
  *
27
- * prints the long ID
27
+ * prints the long ID
28
28
  *
29
- * 524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d
29
+ * 524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d
30
30
  *
31
- * you provide the definition for the resource as follows
31
+ * you provide the definition for the resource as follows
32
32
  *
33
- * terraform
33
+ * terraform
34
34
  *
35
- * resource "docker_volume" "foo" {
35
+ * resource "docker_volume" "foo" {
36
36
  *
37
- * name = "524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d"
37
+ * name = "524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d"
38
38
  *
39
- * }
39
+ * }
40
40
  *
41
- * then the import command is as follows
41
+ * then the import command is as follows
42
42
  *
43
- * #!/bin/bash
43
+ * #!/bin/bash
44
44
  *
45
45
  * ```sh
46
46
  * $ pulumi import docker:index/volume:Volume foo 524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d
@@ -70,7 +70,7 @@ export declare class Volume extends pulumi.CustomResource {
70
70
  * Options specific to the driver.
71
71
  */
72
72
  readonly driverOpts: pulumi.Output<{
73
- [key: string]: any;
73
+ [key: string]: string;
74
74
  } | undefined>;
75
75
  /**
76
76
  * User-defined key/value metadata
@@ -105,7 +105,7 @@ export interface VolumeState {
105
105
  * Options specific to the driver.
106
106
  */
107
107
  driverOpts?: pulumi.Input<{
108
- [key: string]: any;
108
+ [key: string]: pulumi.Input<string>;
109
109
  }>;
110
110
  /**
111
111
  * User-defined key/value metadata
@@ -132,7 +132,7 @@ export interface VolumeArgs {
132
132
  * Options specific to the driver.
133
133
  */
134
134
  driverOpts?: pulumi.Input<{
135
- [key: string]: any;
135
+ [key: string]: pulumi.Input<string>;
136
136
  }>;
137
137
  /**
138
138
  * User-defined key/value metadata
package/volume.js CHANGED
@@ -15,36 +15,36 @@ const utilities = require("./utilities");
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as docker from "@pulumi/docker";
17
17
  *
18
- * const sharedVolume = new docker.Volume("sharedVolume", {});
18
+ * const sharedVolume = new docker.Volume("shared_volume", {name: "shared_volume"});
19
19
  * ```
20
20
  *
21
21
  * ## Import
22
22
  *
23
23
  * ### Example
24
24
  *
25
- * Assuming you created a `volume` as follows
25
+ * Assuming you created a `volume` as follows
26
26
  *
27
- * #!/bin/bash
27
+ * #!/bin/bash
28
28
  *
29
- * docker volume create
29
+ * docker volume create
30
30
  *
31
- * prints the long ID
31
+ * prints the long ID
32
32
  *
33
- * 524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d
33
+ * 524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d
34
34
  *
35
- * you provide the definition for the resource as follows
35
+ * you provide the definition for the resource as follows
36
36
  *
37
- * terraform
37
+ * terraform
38
38
  *
39
- * resource "docker_volume" "foo" {
39
+ * resource "docker_volume" "foo" {
40
40
  *
41
- * name = "524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d"
41
+ * name = "524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d"
42
42
  *
43
- * }
43
+ * }
44
44
  *
45
- * then the import command is as follows
45
+ * then the import command is as follows
46
46
  *
47
- * #!/bin/bash
47
+ * #!/bin/bash
48
48
  *
49
49
  * ```sh
50
50
  * $ pulumi import docker:index/volume:Volume foo 524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d