@pulumi/docker 3.1.0 → 3.2.0-alpha.1638817875

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 (65) hide show
  1. package/README.md +1 -1
  2. package/config/index.js +11 -4
  3. package/config/index.js.map +1 -1
  4. package/config/vars.d.ts +6 -6
  5. package/config/vars.js +38 -22
  6. package/config/vars.js.map +1 -1
  7. package/container.d.ts +168 -186
  8. package/container.js +16 -0
  9. package/container.js.map +1 -1
  10. package/docker.js +1 -0
  11. package/docker.js.map +1 -1
  12. package/getNetwork.d.ts +36 -28
  13. package/getNetwork.js +6 -27
  14. package/getNetwork.js.map +1 -1
  15. package/getPlugin.d.ts +43 -16
  16. package/getPlugin.js +5 -14
  17. package/getPlugin.js.map +1 -1
  18. package/getRegistryImage.d.ts +31 -18
  19. package/getRegistryImage.js +5 -16
  20. package/getRegistryImage.js.map +1 -1
  21. package/getRemoteImage.d.ts +24 -20
  22. package/getRemoteImage.js +9 -19
  23. package/getRemoteImage.js.map +1 -1
  24. package/image.js +1 -0
  25. package/image.js.map +1 -1
  26. package/index.js +28 -20
  27. package/index.js.map +1 -1
  28. package/network.d.ts +29 -78
  29. package/network.js +1 -43
  30. package/network.js.map +1 -1
  31. package/package.json +4 -3
  32. package/package.json.bak +3 -2
  33. package/package.json.dev +4 -3
  34. package/plugin.d.ts +20 -51
  35. package/plugin.js +2 -32
  36. package/plugin.js.map +1 -1
  37. package/provider.d.ts +26 -6
  38. package/provider.js +2 -1
  39. package/provider.js.map +1 -1
  40. package/registryImage.d.ts +12 -100
  41. package/registryImage.js +1 -85
  42. package/registryImage.js.map +1 -1
  43. package/remoteImage.d.ts +24 -73
  44. package/remoteImage.js +1 -40
  45. package/remoteImage.js.map +1 -1
  46. package/secret.d.ts +7 -7
  47. package/secret.js +2 -1
  48. package/secret.js.map +1 -1
  49. package/service.d.ts +18 -18
  50. package/service.js +1 -0
  51. package/service.js.map +1 -1
  52. package/serviceConfig.d.ts +4 -4
  53. package/serviceConfig.js +1 -0
  54. package/serviceConfig.js.map +1 -1
  55. package/types/index.js +1 -0
  56. package/types/index.js.map +1 -1
  57. package/types/input.d.ts +423 -0
  58. package/types/output.d.ts +423 -7
  59. package/utilities.js +1 -0
  60. package/utilities.js.map +1 -1
  61. package/utils.js +1 -0
  62. package/utils.js.map +1 -1
  63. package/volume.d.ts +9 -32
  64. package/volume.js +1 -23
  65. package/volume.js.map +1 -1
package/plugin.js CHANGED
@@ -2,6 +2,7 @@
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.Plugin = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -25,40 +26,9 @@ const utilities = require("./utilities");
25
26
  * });
26
27
  * ```
27
28
  *
28
- * <!-- schema generated by tfplugindocs -->
29
- * ## Schema
30
- *
31
- * ### Required
32
- *
33
- * - **name** (String) Docker Plugin name
34
- *
35
- * ### Optional
36
- *
37
- * - **alias** (String) Docker Plugin alias
38
- * - **enable_timeout** (Number) HTTP client timeout to enable the plugin
39
- * - **enabled** (Boolean) If `true` the plugin is enabled. Defaults to `true`
40
- * - **env** (Set of String) The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`
41
- * - **force_destroy** (Boolean) If true, then the plugin is destroyed forcibly
42
- * - **force_disable** (Boolean) If true, then the plugin is disabled forcibly
43
- * - **grant_all_permissions** (Boolean) If true, grant all permissions necessary to run the plugin
44
- * - **grant_permissions** (Block Set) Grant specific permissions only (see below for nested schema)
45
- * - **id** (String) The ID of this resource.
46
- *
47
- * ### Read-Only
48
- *
49
- * - **plugin_reference** (String) Docker Plugin Reference
50
- *
51
- * <a id="nestedblock--grant_permissions"></a>
52
- * ### Nested Schema for `grantPermissions`
53
- *
54
- * Required:
55
- *
56
- * - **name** (String) The name of the permission
57
- * - **value** (Set of String) The value of the permission
58
- *
59
29
  * ## Import
60
30
  *
61
- * Import is supported using the following syntax#!/bin/bash
31
+ * #!/bin/bash
62
32
  *
63
33
  * ```sh
64
34
  * $ pulumi import docker:index/plugin:Plugin sample-volume-plugin "$(docker plugin inspect -f {{.ID}} tiborvass/sample-volume-plugin:latest)"
package/plugin.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../plugin.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IA6E7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,C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AAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;IA5GD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBA8GC;AAhGG,gBAAgB;AACO,mBAAY,GAAG,4BAA4B,CAAC"}
package/provider.d.ts CHANGED
@@ -12,6 +12,26 @@ export declare class Provider extends pulumi.ProviderResource {
12
12
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
13
13
  */
14
14
  static isInstance(obj: any): obj is Provider;
15
+ /**
16
+ * PEM-encoded content of Docker host CA certificate
17
+ */
18
+ readonly caMaterial: pulumi.Output<string | undefined>;
19
+ /**
20
+ * PEM-encoded content of Docker client certificate
21
+ */
22
+ readonly certMaterial: pulumi.Output<string | undefined>;
23
+ /**
24
+ * Path to directory with Docker TLS config
25
+ */
26
+ readonly certPath: pulumi.Output<string | undefined>;
27
+ /**
28
+ * The Docker daemon address
29
+ */
30
+ readonly host: pulumi.Output<string | undefined>;
31
+ /**
32
+ * PEM-encoded content of Docker client private key
33
+ */
34
+ readonly keyMaterial: pulumi.Output<string | undefined>;
15
35
  /**
16
36
  * Create a Provider resource with the given unique name, arguments, and options.
17
37
  *
@@ -28,22 +48,22 @@ export interface ProviderArgs {
28
48
  /**
29
49
  * PEM-encoded content of Docker host CA certificate
30
50
  */
31
- readonly caMaterial?: pulumi.Input<string>;
51
+ caMaterial?: pulumi.Input<string>;
32
52
  /**
33
53
  * PEM-encoded content of Docker client certificate
34
54
  */
35
- readonly certMaterial?: pulumi.Input<string>;
55
+ certMaterial?: pulumi.Input<string>;
36
56
  /**
37
57
  * Path to directory with Docker TLS config
38
58
  */
39
- readonly certPath?: pulumi.Input<string>;
59
+ certPath?: pulumi.Input<string>;
40
60
  /**
41
61
  * The Docker daemon address
42
62
  */
43
- readonly host?: pulumi.Input<string>;
63
+ host?: pulumi.Input<string>;
44
64
  /**
45
65
  * PEM-encoded content of Docker client private key
46
66
  */
47
- readonly keyMaterial?: pulumi.Input<string>;
48
- readonly registryAuth?: pulumi.Input<pulumi.Input<inputs.ProviderRegistryAuth>[]>;
67
+ keyMaterial?: pulumi.Input<string>;
68
+ registryAuth?: pulumi.Input<pulumi.Input<inputs.ProviderRegistryAuth>[]>;
49
69
  }
package/provider.js CHANGED
@@ -2,6 +2,7 @@
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.Provider = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -26,7 +27,7 @@ class Provider extends pulumi.ProviderResource {
26
27
  inputs["caMaterial"] = args ? args.caMaterial : undefined;
27
28
  inputs["certMaterial"] = args ? args.certMaterial : undefined;
28
29
  inputs["certPath"] = args ? args.certPath : undefined;
29
- inputs["host"] = (_a = (args ? args.host : undefined), (_a !== null && _a !== void 0 ? _a : (utilities.getEnv("DOCKER_HOST") || "unix:///var/run/docker.sock")));
30
+ inputs["host"] = (_a = (args ? args.host : undefined)) !== null && _a !== void 0 ? _a : (utilities.getEnv("DOCKER_HOST") || "unix:///var/run/docker.sock");
30
31
  inputs["keyMaterial"] = args ? args.keyMaterial : undefined;
31
32
  inputs["registryAuth"] = pulumi.output(args ? args.registryAuth : undefined).apply(JSON.stringify);
32
33
  }
package/provider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAgBjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;;QACxE,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,MAAM,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,MAAM,CAAC,SAAG,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,uCAAI,CAAC,SAAS,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,6BAA6B,CAAC,EAAA,CAAC;YACtH,MAAM,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AbL,4BA2DC;AA1DG,gBAAgB;AACO,qBAAY,GAAG,QAAQ,CAAC"}
@@ -17,91 +17,6 @@ import { input as inputs, output as outputs } from "./types";
17
17
  * },
18
18
  * });
19
19
  * ```
20
- *
21
- * <!-- schema generated by tfplugindocs -->
22
- * ## Schema
23
- *
24
- * ### Required
25
- *
26
- * - **name** (String) The name of the Docker image.
27
- *
28
- * ### Optional
29
- *
30
- * - **build** (Block List, Max: 1) Definition for building the image (see below for nested schema)
31
- * - **id** (String) The ID of this resource.
32
- * - **insecure_skip_verify** (Boolean) If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
33
- * - **keep_remotely** (Boolean) If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`
34
- *
35
- * ### Read-Only
36
- *
37
- * - **sha256_digest** (String) The sha256 digest of the image.
38
- *
39
- * <a id="nestedblock--build"></a>
40
- * ### Nested Schema for `build`
41
- *
42
- * Required:
43
- *
44
- * - **context** (String) The absolute path to the context folder. You can use the helper function '${path.cwd}/context-dir'.
45
- *
46
- * Optional:
47
- *
48
- * - **auth_config** (Block List) The configuration for the authentication (see below for nested schema)
49
- * - **build_args** (Map of String) Pairs for build-time variables in the form TODO
50
- * - **build_id** (String) BuildID is an optional identifier that can be passed together with the build request. The
51
- * - **cache_from** (List of String) Images to consider as cache sources
52
- * - **cgroup_parent** (String) Optional parent cgroup for the container
53
- * - **cpu_period** (Number) The length of a CPU period in microseconds
54
- * - **cpu_quota** (Number) Microseconds of CPU time that the container can get in a CPU period
55
- * - **cpu_set_cpus** (String) CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
56
- * - **cpu_set_mems** (String) MEMs in which to allow execution (`0-3`, `0`, `1`)
57
- * - **cpu_shares** (Number) CPU shares (relative weight)
58
- * - **dockerfile** (String) Dockerfile file. Defaults to `Dockerfile`
59
- * - **extra_hosts** (List of String) A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]
60
- * - **force_remove** (Boolean) Always remove intermediate containers
61
- * - **isolation** (String) Isolation represents the isolation technology of a container. The supported values are
62
- * - **labels** (Map of String) User-defined key/value metadata
63
- * - **memory** (Number) Set memory limit for build
64
- * - **memory_swap** (Number) Total memory (memory + swap), -1 to enable unlimited swap
65
- * - **network_mode** (String) Set the networking mode for the RUN instructions during build
66
- * - **no_cache** (Boolean) Do not use the cache when building the image
67
- * - **platform** (String) Set platform if server is multi-platform capable
68
- * - **pull_parent** (Boolean) Attempt to pull the image even if an older image exists locally
69
- * - **remote_context** (String) A Git repository URI or HTTP/HTTPS context URI
70
- * - **remove** (Boolean) Remove intermediate containers after a successful build (default behavior)
71
- * - **security_opt** (List of String) The security options
72
- * - **session_id** (String) Set an ID for the build session
73
- * - **shm_size** (Number) Size of /dev/shm in bytes. The size must be greater than 0
74
- * - **squash** (Boolean) If true the new layers are squashed into a new image with a single new layer
75
- * - **suppress_output** (Boolean) Suppress the build output and print image ID on success
76
- * - **target** (String) Set the target build stage to build
77
- * - **ulimit** (Block List) Configuration for ulimits (see below for nested schema)
78
- * - **version** (String) Version of the unerlying builder to use
79
- *
80
- * <a id="nestedblock--build--auth_config"></a>
81
- * ### Nested Schema for `build.auth_config`
82
- *
83
- * Required:
84
- *
85
- * - **host_name** (String) hostname of the registry
86
- *
87
- * Optional:
88
- *
89
- * - **auth** (String) the auth token
90
- * - **email** (String) the user emal
91
- * - **identity_token** (String) the identity token
92
- * - **password** (String) the registry password
93
- * - **registry_token** (String) the registry token
94
- * - **server_address** (String) the server address
95
- * - **user_name** (String) the registry user name
96
- *
97
- * <a id="nestedblock--build--ulimit"></a>
98
- * ### Nested Schema for `build.ulimit`
99
- *
100
- * Required:
101
- *
102
- * - **hard** (Number) soft limit
103
- * - **name** (String) type of ulimit, e.g. `nofile`
104
- * - **soft** (Number) hard limit
105
20
  */
106
21
  export declare class RegistryImage extends pulumi.CustomResource {
107
22
  /**
@@ -128,8 +43,7 @@ export declare class RegistryImage extends pulumi.CustomResource {
128
43
  */
129
44
  readonly insecureSkipVerify: pulumi.Output<boolean | undefined>;
130
45
  /**
131
- * If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from
132
- * the docker registry on destroy operation. Defaults to `false`
46
+ * If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`
133
47
  */
134
48
  readonly keepRemotely: pulumi.Output<boolean | undefined>;
135
49
  /**
@@ -156,24 +70,23 @@ export interface RegistryImageState {
156
70
  /**
157
71
  * Definition for building the image
158
72
  */
159
- readonly build?: pulumi.Input<inputs.RegistryImageBuild>;
73
+ build?: pulumi.Input<inputs.RegistryImageBuild>;
160
74
  /**
161
75
  * If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
162
76
  */
163
- readonly insecureSkipVerify?: pulumi.Input<boolean>;
77
+ insecureSkipVerify?: pulumi.Input<boolean>;
164
78
  /**
165
- * If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from
166
- * the docker registry on destroy operation. Defaults to `false`
79
+ * If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`
167
80
  */
168
- readonly keepRemotely?: pulumi.Input<boolean>;
81
+ keepRemotely?: pulumi.Input<boolean>;
169
82
  /**
170
83
  * The name of the Docker image.
171
84
  */
172
- readonly name?: pulumi.Input<string>;
85
+ name?: pulumi.Input<string>;
173
86
  /**
174
87
  * The sha256 digest of the image.
175
88
  */
176
- readonly sha256Digest?: pulumi.Input<string>;
89
+ sha256Digest?: pulumi.Input<string>;
177
90
  }
178
91
  /**
179
92
  * The set of arguments for constructing a RegistryImage resource.
@@ -182,18 +95,17 @@ export interface RegistryImageArgs {
182
95
  /**
183
96
  * Definition for building the image
184
97
  */
185
- readonly build?: pulumi.Input<inputs.RegistryImageBuild>;
98
+ build?: pulumi.Input<inputs.RegistryImageBuild>;
186
99
  /**
187
100
  * If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
188
101
  */
189
- readonly insecureSkipVerify?: pulumi.Input<boolean>;
102
+ insecureSkipVerify?: pulumi.Input<boolean>;
190
103
  /**
191
- * If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from
192
- * the docker registry on destroy operation. Defaults to `false`
104
+ * If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`
193
105
  */
194
- readonly keepRemotely?: pulumi.Input<boolean>;
106
+ keepRemotely?: pulumi.Input<boolean>;
195
107
  /**
196
108
  * The name of the Docker image.
197
109
  */
198
- readonly name?: pulumi.Input<string>;
110
+ name?: pulumi.Input<string>;
199
111
  }
package/registryImage.js CHANGED
@@ -2,6 +2,7 @@
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.RegistryImage = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -21,91 +22,6 @@ const utilities = require("./utilities");
21
22
  * },
22
23
  * });
23
24
  * ```
24
- *
25
- * <!-- schema generated by tfplugindocs -->
26
- * ## Schema
27
- *
28
- * ### Required
29
- *
30
- * - **name** (String) The name of the Docker image.
31
- *
32
- * ### Optional
33
- *
34
- * - **build** (Block List, Max: 1) Definition for building the image (see below for nested schema)
35
- * - **id** (String) The ID of this resource.
36
- * - **insecure_skip_verify** (Boolean) If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`
37
- * - **keep_remotely** (Boolean) If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`
38
- *
39
- * ### Read-Only
40
- *
41
- * - **sha256_digest** (String) The sha256 digest of the image.
42
- *
43
- * <a id="nestedblock--build"></a>
44
- * ### Nested Schema for `build`
45
- *
46
- * Required:
47
- *
48
- * - **context** (String) The absolute path to the context folder. You can use the helper function '${path.cwd}/context-dir'.
49
- *
50
- * Optional:
51
- *
52
- * - **auth_config** (Block List) The configuration for the authentication (see below for nested schema)
53
- * - **build_args** (Map of String) Pairs for build-time variables in the form TODO
54
- * - **build_id** (String) BuildID is an optional identifier that can be passed together with the build request. The
55
- * - **cache_from** (List of String) Images to consider as cache sources
56
- * - **cgroup_parent** (String) Optional parent cgroup for the container
57
- * - **cpu_period** (Number) The length of a CPU period in microseconds
58
- * - **cpu_quota** (Number) Microseconds of CPU time that the container can get in a CPU period
59
- * - **cpu_set_cpus** (String) CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
60
- * - **cpu_set_mems** (String) MEMs in which to allow execution (`0-3`, `0`, `1`)
61
- * - **cpu_shares** (Number) CPU shares (relative weight)
62
- * - **dockerfile** (String) Dockerfile file. Defaults to `Dockerfile`
63
- * - **extra_hosts** (List of String) A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]
64
- * - **force_remove** (Boolean) Always remove intermediate containers
65
- * - **isolation** (String) Isolation represents the isolation technology of a container. The supported values are
66
- * - **labels** (Map of String) User-defined key/value metadata
67
- * - **memory** (Number) Set memory limit for build
68
- * - **memory_swap** (Number) Total memory (memory + swap), -1 to enable unlimited swap
69
- * - **network_mode** (String) Set the networking mode for the RUN instructions during build
70
- * - **no_cache** (Boolean) Do not use the cache when building the image
71
- * - **platform** (String) Set platform if server is multi-platform capable
72
- * - **pull_parent** (Boolean) Attempt to pull the image even if an older image exists locally
73
- * - **remote_context** (String) A Git repository URI or HTTP/HTTPS context URI
74
- * - **remove** (Boolean) Remove intermediate containers after a successful build (default behavior)
75
- * - **security_opt** (List of String) The security options
76
- * - **session_id** (String) Set an ID for the build session
77
- * - **shm_size** (Number) Size of /dev/shm in bytes. The size must be greater than 0
78
- * - **squash** (Boolean) If true the new layers are squashed into a new image with a single new layer
79
- * - **suppress_output** (Boolean) Suppress the build output and print image ID on success
80
- * - **target** (String) Set the target build stage to build
81
- * - **ulimit** (Block List) Configuration for ulimits (see below for nested schema)
82
- * - **version** (String) Version of the unerlying builder to use
83
- *
84
- * <a id="nestedblock--build--auth_config"></a>
85
- * ### Nested Schema for `build.auth_config`
86
- *
87
- * Required:
88
- *
89
- * - **host_name** (String) hostname of the registry
90
- *
91
- * Optional:
92
- *
93
- * - **auth** (String) the auth token
94
- * - **email** (String) the user emal
95
- * - **identity_token** (String) the identity token
96
- * - **password** (String) the registry password
97
- * - **registry_token** (String) the registry token
98
- * - **server_address** (String) the server address
99
- * - **user_name** (String) the registry user name
100
- *
101
- * <a id="nestedblock--build--ulimit"></a>
102
- * ### Nested Schema for `build.ulimit`
103
- *
104
- * Required:
105
- *
106
- * - **hard** (Number) soft limit
107
- * - **name** (String) type of ulimit, e.g. `nofile`
108
- * - **soft** (Number) hard limit
109
25
  */
110
26
  class RegistryImage extends pulumi.CustomResource {
111
27
  constructor(name, argsOrState, opts) {
@@ -1 +1 @@
1
- {"version":3,"file":"registryImage.js","sourceRoot":"","sources":["../registryImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsGG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IA0DpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,oBAAoB,CAAC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;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCAgFC;AAlEG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
package/remoteImage.d.ts CHANGED
@@ -59,46 +59,6 @@ import { input as inputs, output as outputs } from "./types";
59
59
  * },
60
60
  * });
61
61
  * ```
62
- *
63
- * <!-- schema generated by tfplugindocs -->
64
- * ## Schema
65
- *
66
- * ### Required
67
- *
68
- * - **name** (String) The name of the Docker image, including any tags or SHA256 repo digests.
69
- *
70
- * ### Optional
71
- *
72
- * - **build** (Block Set, Max: 1) Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too. (see below for nested schema)
73
- * - **force_remove** (Boolean) If true, then the image is removed forcibly when the resource is destroyed.
74
- * - **id** (String) The ID of this resource.
75
- * - **keep_locally** (Boolean) If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
76
- * - **pull_trigger** (String, Deprecated) A value which cause an image pull when changed
77
- * - **pull_triggers** (Set of String) List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker_registry_image.
78
- *
79
- * ### Read-Only
80
- *
81
- * - **latest** (String, Deprecated) The ID of the image in the form of `sha256:<hash>` image digest. Do not confuse it with the default `latest` tag.
82
- * - **output** (String, Deprecated)
83
- * - **repo_digest** (String) The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
84
- *
85
- * <a id="nestedblock--build"></a>
86
- * ### Nested Schema for `build`
87
- *
88
- * Required:
89
- *
90
- * - **path** (String) Context path
91
- *
92
- * Optional:
93
- *
94
- * - **build_arg** (Map of String) Set build-time variables
95
- * - **dockerfile** (String) Name of the Dockerfile. Defaults to `Dockerfile`.
96
- * - **force_remove** (Boolean) Always remove intermediate containers
97
- * - **label** (Map of String) Set metadata for an image
98
- * - **no_cache** (Boolean) Do not use cache when building the image
99
- * - **remove** (Boolean) Remove intermediate containers after a successful build. Defaults to `true`.
100
- * - **tag** (List of String) Name and optionally a tag in the 'name:tag' format
101
- * - **target** (String) Set the target build stage to build
102
62
  */
103
63
  export declare class RemoteImage extends pulumi.CustomResource {
104
64
  /**
@@ -117,8 +77,7 @@ export declare class RemoteImage extends pulumi.CustomResource {
117
77
  */
118
78
  static isInstance(obj: any): obj is RemoteImage;
119
79
  /**
120
- * Configuration to build an image. Please see [docker build command
121
- * reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
80
+ * Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
122
81
  */
123
82
  readonly build: pulumi.Output<outputs.RemoteImageBuild | undefined>;
124
83
  /**
@@ -126,8 +85,7 @@ export declare class RemoteImage extends pulumi.CustomResource {
126
85
  */
127
86
  readonly forceRemove: pulumi.Output<boolean | undefined>;
128
87
  /**
129
- * If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from
130
- * the docker local storage on destroy operation.
88
+ * If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
131
89
  */
132
90
  readonly keepLocally: pulumi.Output<boolean | undefined>;
133
91
  /**
@@ -151,8 +109,7 @@ export declare class RemoteImage extends pulumi.CustomResource {
151
109
  */
152
110
  readonly pullTrigger: pulumi.Output<string | undefined>;
153
111
  /**
154
- * List of values which cause an image pull when changed. This is used to store the image digest from the registry when
155
- * using the [docker_registry_image](../data-sources/registry_image.md).
112
+ * List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker*registry*image.
156
113
  */
157
114
  readonly pullTriggers: pulumi.Output<string[] | undefined>;
158
115
  /**
@@ -173,80 +130,74 @@ export declare class RemoteImage extends pulumi.CustomResource {
173
130
  */
174
131
  export interface RemoteImageState {
175
132
  /**
176
- * Configuration to build an image. Please see [docker build command
177
- * reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
133
+ * Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
178
134
  */
179
- readonly build?: pulumi.Input<inputs.RemoteImageBuild>;
135
+ build?: pulumi.Input<inputs.RemoteImageBuild>;
180
136
  /**
181
137
  * If true, then the image is removed forcibly when the resource is destroyed.
182
138
  */
183
- readonly forceRemove?: pulumi.Input<boolean>;
139
+ forceRemove?: pulumi.Input<boolean>;
184
140
  /**
185
- * If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from
186
- * the docker local storage on destroy operation.
141
+ * If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
187
142
  */
188
- readonly keepLocally?: pulumi.Input<boolean>;
143
+ keepLocally?: pulumi.Input<boolean>;
189
144
  /**
190
145
  * The ID of the image in the form of `sha256:<hash>` image digest. Do not confuse it with the default `latest` tag.
191
146
  *
192
147
  * @deprecated Use repo_digest instead
193
148
  */
194
- readonly latest?: pulumi.Input<string>;
149
+ latest?: pulumi.Input<string>;
195
150
  /**
196
151
  * The name of the Docker image, including any tags or SHA256 repo digests.
197
152
  */
198
- readonly name?: pulumi.Input<string>;
153
+ name?: pulumi.Input<string>;
199
154
  /**
200
155
  * @deprecated Is unused and will be removed.
201
156
  */
202
- readonly output?: pulumi.Input<string>;
157
+ output?: pulumi.Input<string>;
203
158
  /**
204
159
  * A value which cause an image pull when changed
205
160
  *
206
161
  * @deprecated Use field pull_triggers instead
207
162
  */
208
- readonly pullTrigger?: pulumi.Input<string>;
163
+ pullTrigger?: pulumi.Input<string>;
209
164
  /**
210
- * List of values which cause an image pull when changed. This is used to store the image digest from the registry when
211
- * using the [docker_registry_image](../data-sources/registry_image.md).
165
+ * List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker*registry*image.
212
166
  */
213
- readonly pullTriggers?: pulumi.Input<pulumi.Input<string>[]>;
167
+ pullTriggers?: pulumi.Input<pulumi.Input<string>[]>;
214
168
  /**
215
169
  * The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
216
170
  */
217
- readonly repoDigest?: pulumi.Input<string>;
171
+ repoDigest?: pulumi.Input<string>;
218
172
  }
219
173
  /**
220
174
  * The set of arguments for constructing a RemoteImage resource.
221
175
  */
222
176
  export interface RemoteImageArgs {
223
177
  /**
224
- * Configuration to build an image. Please see [docker build command
225
- * reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
178
+ * Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too.
226
179
  */
227
- readonly build?: pulumi.Input<inputs.RemoteImageBuild>;
180
+ build?: pulumi.Input<inputs.RemoteImageBuild>;
228
181
  /**
229
182
  * If true, then the image is removed forcibly when the resource is destroyed.
230
183
  */
231
- readonly forceRemove?: pulumi.Input<boolean>;
184
+ forceRemove?: pulumi.Input<boolean>;
232
185
  /**
233
- * If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from
234
- * the docker local storage on destroy operation.
186
+ * If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
235
187
  */
236
- readonly keepLocally?: pulumi.Input<boolean>;
188
+ keepLocally?: pulumi.Input<boolean>;
237
189
  /**
238
190
  * The name of the Docker image, including any tags or SHA256 repo digests.
239
191
  */
240
- readonly name: pulumi.Input<string>;
192
+ name: pulumi.Input<string>;
241
193
  /**
242
194
  * A value which cause an image pull when changed
243
195
  *
244
196
  * @deprecated Use field pull_triggers instead
245
197
  */
246
- readonly pullTrigger?: pulumi.Input<string>;
198
+ pullTrigger?: pulumi.Input<string>;
247
199
  /**
248
- * List of values which cause an image pull when changed. This is used to store the image digest from the registry when
249
- * using the [docker_registry_image](../data-sources/registry_image.md).
200
+ * List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker*registry*image.
250
201
  */
251
- readonly pullTriggers?: pulumi.Input<pulumi.Input<string>[]>;
202
+ pullTriggers?: pulumi.Input<pulumi.Input<string>[]>;
252
203
  }
package/remoteImage.js CHANGED
@@ -2,6 +2,7 @@
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.RemoteImage = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -63,46 +64,6 @@ const utilities = require("./utilities");
63
64
  * },
64
65
  * });
65
66
  * ```
66
- *
67
- * <!-- schema generated by tfplugindocs -->
68
- * ## Schema
69
- *
70
- * ### Required
71
- *
72
- * - **name** (String) The name of the Docker image, including any tags or SHA256 repo digests.
73
- *
74
- * ### Optional
75
- *
76
- * - **build** (Block Set, Max: 1) Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too. (see below for nested schema)
77
- * - **force_remove** (Boolean) If true, then the image is removed forcibly when the resource is destroyed.
78
- * - **id** (String) The ID of this resource.
79
- * - **keep_locally** (Boolean) If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
80
- * - **pull_trigger** (String, Deprecated) A value which cause an image pull when changed
81
- * - **pull_triggers** (Set of String) List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker_registry_image.
82
- *
83
- * ### Read-Only
84
- *
85
- * - **latest** (String, Deprecated) The ID of the image in the form of `sha256:<hash>` image digest. Do not confuse it with the default `latest` tag.
86
- * - **output** (String, Deprecated)
87
- * - **repo_digest** (String) The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.
88
- *
89
- * <a id="nestedblock--build"></a>
90
- * ### Nested Schema for `build`
91
- *
92
- * Required:
93
- *
94
- * - **path** (String) Context path
95
- *
96
- * Optional:
97
- *
98
- * - **build_arg** (Map of String) Set build-time variables
99
- * - **dockerfile** (String) Name of the Dockerfile. Defaults to `Dockerfile`.
100
- * - **force_remove** (Boolean) Always remove intermediate containers
101
- * - **label** (Map of String) Set metadata for an image
102
- * - **no_cache** (Boolean) Do not use cache when building the image
103
- * - **remove** (Boolean) Remove intermediate containers after a successful build. Defaults to `true`.
104
- * - **tag** (List of String) Name and optionally a tag in the 'name:tag' format
105
- * - **target** (String) Set the target build stage to build
106
67
  */
107
68
  class RemoteImage extends pulumi.CustomResource {
108
69
  constructor(name, argsOrState, opts) {