@pulumi/docker 4.5.0-alpha.1698126220 → 4.5.0-alpha.1698199607

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.
@@ -2,23 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * <!-- Bug: Type and Name are switched -->
4
4
  * Manages the lifecycle of docker image in a registry. You can upload images to a registry (= `docker push`) and also delete them again
5
- *
6
- * ## Example Usage
7
- *
8
- * Build an image with the `docker.RemoteImage` resource and then push it to a registry:
9
- *
10
- * ```typescript
11
- * import * as pulumi from "@pulumi/pulumi";
12
- * import * as docker from "@pulumi/docker";
13
- *
14
- * const helloworld = new docker.RegistryImage("helloworld", {keepRemotely: true});
15
- * const image = new docker.RemoteImage("image", {
16
- * name: "registry.com/somename:1.0",
17
- * build: {
18
- * context: `${path.cwd}/absolutePathToContextFolder`,
19
- * },
20
- * });
21
- * ```
22
5
  */
23
6
  export declare class RegistryImage extends pulumi.CustomResource {
24
7
  /**
package/registryImage.js CHANGED
@@ -8,23 +8,6 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * <!-- Bug: Type and Name are switched -->
10
10
  * Manages the lifecycle of docker image in a registry. You can upload images to a registry (= `docker push`) and also delete them again
11
- *
12
- * ## Example Usage
13
- *
14
- * Build an image with the `docker.RemoteImage` resource and then push it to a registry:
15
- *
16
- * ```typescript
17
- * import * as pulumi from "@pulumi/pulumi";
18
- * import * as docker from "@pulumi/docker";
19
- *
20
- * const helloworld = new docker.RegistryImage("helloworld", {keepRemotely: true});
21
- * const image = new docker.RemoteImage("image", {
22
- * name: "registry.com/somename:1.0",
23
- * build: {
24
- * context: `${path.cwd}/absolutePathToContextFolder`,
25
- * },
26
- * });
27
- * ```
28
11
  */
29
12
  class RegistryImage extends pulumi.CustomResource {
30
13
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"registryImage.js","sourceRoot":"","sources":["../registryImage.ts"],"names":[],"mappings":";AAAA,wFAA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I,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA7EL,sCA8EC;AAhEG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
package/remoteImage.d.ts CHANGED
@@ -7,34 +7,6 @@ import * as outputs from "./types/output";
7
7
  * This resource will *not* pull new layers of the image automatically unless used in conjunction with docker.RegistryImage data source to update the `pullTriggers` field.
8
8
  *
9
9
  * ## Example Usage
10
- * ### Basic
11
- *
12
- * Finds and downloads the latest `ubuntu:precise` image but does not check
13
- * for further updates of the image
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as docker from "@pulumi/docker";
18
- *
19
- * const ubuntu = new docker.RemoteImage("ubuntu", {name: "ubuntu:precise"});
20
- * ```
21
- * ### Dynamic updates
22
- *
23
- * To be able to update an image dynamically when the `sha256` sum changes,
24
- * you need to use it in combination with `docker.RegistryImage` as follows:
25
- *
26
- * ```typescript
27
- * import * as pulumi from "@pulumi/pulumi";
28
- * import * as docker from "@pulumi/docker";
29
- *
30
- * const ubuntuRegistryImage = docker.getRegistryImage({
31
- * name: "ubuntu:precise",
32
- * });
33
- * const ubuntuRemoteImage = new docker.RemoteImage("ubuntuRemoteImage", {
34
- * name: ubuntuRegistryImage.then(ubuntuRegistryImage => ubuntuRegistryImage.name),
35
- * pullTriggers: [ubuntuRegistryImage.then(ubuntuRegistryImage => ubuntuRegistryImage.sha256Digest)],
36
- * });
37
- * ```
38
10
  */
39
11
  export declare class RemoteImage extends pulumi.CustomResource {
40
12
  /**
@@ -57,7 +29,7 @@ export declare class RemoteImage extends pulumi.CustomResource {
57
29
  */
58
30
  readonly build: pulumi.Output<outputs.RemoteImageBuild | undefined>;
59
31
  /**
60
- * If true, then the image is removed forcibly when the resource is destroyed.
32
+ * Always remove intermediate containers
61
33
  */
62
34
  readonly forceRemove: pulumi.Output<boolean | undefined>;
63
35
  /**
@@ -69,11 +41,11 @@ export declare class RemoteImage extends pulumi.CustomResource {
69
41
  */
70
42
  readonly keepLocally: pulumi.Output<boolean | undefined>;
71
43
  /**
72
- * The name of the Docker image, including any tags or SHA256 repo digests.
44
+ * type of ulimit, e.g. `nofile`
73
45
  */
74
46
  readonly name: pulumi.Output<string>;
75
47
  /**
76
- * The platform to use when pulling the image. Defaults to the platform of the current machine.
48
+ * Set platform if server is multi-platform capable
77
49
  */
78
50
  readonly platform: pulumi.Output<string | undefined>;
79
51
  /**
@@ -108,7 +80,7 @@ export interface RemoteImageState {
108
80
  */
109
81
  build?: pulumi.Input<inputs.RemoteImageBuild>;
110
82
  /**
111
- * If true, then the image is removed forcibly when the resource is destroyed.
83
+ * Always remove intermediate containers
112
84
  */
113
85
  forceRemove?: pulumi.Input<boolean>;
114
86
  /**
@@ -120,11 +92,11 @@ export interface RemoteImageState {
120
92
  */
121
93
  keepLocally?: pulumi.Input<boolean>;
122
94
  /**
123
- * The name of the Docker image, including any tags or SHA256 repo digests.
95
+ * type of ulimit, e.g. `nofile`
124
96
  */
125
97
  name?: pulumi.Input<string>;
126
98
  /**
127
- * The platform to use when pulling the image. Defaults to the platform of the current machine.
99
+ * Set platform if server is multi-platform capable
128
100
  */
129
101
  platform?: pulumi.Input<string>;
130
102
  /**
@@ -151,7 +123,7 @@ export interface RemoteImageArgs {
151
123
  */
152
124
  build?: pulumi.Input<inputs.RemoteImageBuild>;
153
125
  /**
154
- * If true, then the image is removed forcibly when the resource is destroyed.
126
+ * Always remove intermediate containers
155
127
  */
156
128
  forceRemove?: pulumi.Input<boolean>;
157
129
  /**
@@ -159,11 +131,11 @@ export interface RemoteImageArgs {
159
131
  */
160
132
  keepLocally?: pulumi.Input<boolean>;
161
133
  /**
162
- * The name of the Docker image, including any tags or SHA256 repo digests.
134
+ * type of ulimit, e.g. `nofile`
163
135
  */
164
136
  name: pulumi.Input<string>;
165
137
  /**
166
- * The platform to use when pulling the image. Defaults to the platform of the current machine.
138
+ * Set platform if server is multi-platform capable
167
139
  */
168
140
  platform?: pulumi.Input<string>;
169
141
  /**
package/remoteImage.js CHANGED
@@ -11,34 +11,6 @@ const utilities = require("./utilities");
11
11
  * This resource will *not* pull new layers of the image automatically unless used in conjunction with docker.RegistryImage data source to update the `pullTriggers` field.
12
12
  *
13
13
  * ## Example Usage
14
- * ### Basic
15
- *
16
- * Finds and downloads the latest `ubuntu:precise` image but does not check
17
- * for further updates of the image
18
- *
19
- * ```typescript
20
- * import * as pulumi from "@pulumi/pulumi";
21
- * import * as docker from "@pulumi/docker";
22
- *
23
- * const ubuntu = new docker.RemoteImage("ubuntu", {name: "ubuntu:precise"});
24
- * ```
25
- * ### Dynamic updates
26
- *
27
- * To be able to update an image dynamically when the `sha256` sum changes,
28
- * you need to use it in combination with `docker.RegistryImage` as follows:
29
- *
30
- * ```typescript
31
- * import * as pulumi from "@pulumi/pulumi";
32
- * import * as docker from "@pulumi/docker";
33
- *
34
- * const ubuntuRegistryImage = docker.getRegistryImage({
35
- * name: "ubuntu:precise",
36
- * });
37
- * const ubuntuRemoteImage = new docker.RemoteImage("ubuntuRemoteImage", {
38
- * name: ubuntuRegistryImage.then(ubuntuRegistryImage => ubuntuRegistryImage.name),
39
- * pullTriggers: [ubuntuRegistryImage.then(ubuntuRegistryImage => ubuntuRegistryImage.sha256Digest)],
40
- * });
41
- * ```
42
14
  */
43
15
  class RemoteImage extends pulumi.CustomResource {
44
16
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"remoteImage.js","sourceRoot":"","sources":["../remoteImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,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,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAxGL,kCAyGC;AA3FG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
package/service.d.ts CHANGED
@@ -69,11 +69,11 @@ export declare class Service extends pulumi.CustomResource {
69
69
  */
70
70
  readonly labels: pulumi.Output<outputs.ServiceLabel[]>;
71
71
  /**
72
- * Scheduling mode for the service
72
+ * The mode of resolution to use for internal load balancing between tasks
73
73
  */
74
74
  readonly mode: pulumi.Output<outputs.ServiceMode>;
75
75
  /**
76
- * Name of the service
76
+ * A random name for the port
77
77
  */
78
78
  readonly name: pulumi.Output<string>;
79
79
  /**
@@ -118,11 +118,11 @@ export interface ServiceState {
118
118
  */
119
119
  labels?: pulumi.Input<pulumi.Input<inputs.ServiceLabel>[]>;
120
120
  /**
121
- * Scheduling mode for the service
121
+ * The mode of resolution to use for internal load balancing between tasks
122
122
  */
123
123
  mode?: pulumi.Input<inputs.ServiceMode>;
124
124
  /**
125
- * Name of the service
125
+ * A random name for the port
126
126
  */
127
127
  name?: pulumi.Input<string>;
128
128
  /**
@@ -159,11 +159,11 @@ export interface ServiceArgs {
159
159
  */
160
160
  labels?: pulumi.Input<pulumi.Input<inputs.ServiceLabel>[]>;
161
161
  /**
162
- * Scheduling mode for the service
162
+ * The mode of resolution to use for internal load balancing between tasks
163
163
  */
164
164
  mode?: pulumi.Input<inputs.ServiceMode>;
165
165
  /**
166
- * Name of the service
166
+ * A random name for the port
167
167
  */
168
168
  name?: pulumi.Input<string>;
169
169
  /**