@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.
- package/README.md +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +6 -6
- package/config/vars.js +38 -22
- package/config/vars.js.map +1 -1
- package/container.d.ts +168 -186
- package/container.js +16 -0
- package/container.js.map +1 -1
- package/docker.js +1 -0
- package/docker.js.map +1 -1
- package/getNetwork.d.ts +36 -28
- package/getNetwork.js +6 -27
- package/getNetwork.js.map +1 -1
- package/getPlugin.d.ts +43 -16
- package/getPlugin.js +5 -14
- package/getPlugin.js.map +1 -1
- package/getRegistryImage.d.ts +31 -18
- package/getRegistryImage.js +5 -16
- package/getRegistryImage.js.map +1 -1
- package/getRemoteImage.d.ts +24 -20
- package/getRemoteImage.js +9 -19
- package/getRemoteImage.js.map +1 -1
- package/image.js +1 -0
- package/image.js.map +1 -1
- package/index.js +28 -20
- package/index.js.map +1 -1
- package/network.d.ts +29 -78
- package/network.js +1 -43
- package/network.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/plugin.d.ts +20 -51
- package/plugin.js +2 -32
- package/plugin.js.map +1 -1
- package/provider.d.ts +26 -6
- package/provider.js +2 -1
- package/provider.js.map +1 -1
- package/registryImage.d.ts +12 -100
- package/registryImage.js +1 -85
- package/registryImage.js.map +1 -1
- package/remoteImage.d.ts +24 -73
- package/remoteImage.js +1 -40
- package/remoteImage.js.map +1 -1
- package/secret.d.ts +7 -7
- package/secret.js +2 -1
- package/secret.js.map +1 -1
- package/service.d.ts +18 -18
- package/service.js +1 -0
- package/service.js.map +1 -1
- package/serviceConfig.d.ts +4 -4
- package/serviceConfig.js +1 -0
- package/serviceConfig.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +423 -0
- package/types/output.d.ts +423 -7
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
- package/utils.js +1 -0
- package/utils.js.map +1 -1
- package/volume.d.ts +9 -32
- package/volume.js +1 -23
- package/volume.js.map +1 -1
package/getRemoteImage.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.getRemoteImageOutput = exports.getRemoteImage = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -16,35 +17,20 @@ const utilities = require("./utilities");
|
|
|
16
17
|
* // uses the 'latest' tag
|
|
17
18
|
* const latest = pulumi.output(docker.getRemoteImage({
|
|
18
19
|
* name: "nginx",
|
|
19
|
-
* }
|
|
20
|
+
* }));
|
|
20
21
|
* // uses a specific tag
|
|
21
22
|
* const specific = pulumi.output(docker.getRemoteImage({
|
|
22
23
|
* name: "nginx:1.17.6",
|
|
23
|
-
* }
|
|
24
|
+
* }));
|
|
24
25
|
* // use the image digest
|
|
25
26
|
* const digest = pulumi.output(docker.getRemoteImage({
|
|
26
27
|
* name: "nginx@sha256:36b74457bccb56fbf8b05f79c85569501b721d4db813b684391d63e02287c0b2",
|
|
27
|
-
* }
|
|
28
|
+
* }));
|
|
28
29
|
* // uses the tag and the image digest
|
|
29
30
|
* const tagAndDigest = pulumi.output(docker.getRemoteImage({
|
|
30
31
|
* name: "nginx:1.19.1@sha256:36b74457bccb56fbf8b05f79c85569501b721d4db813b684391d63e02287c0b2",
|
|
31
|
-
* }
|
|
32
|
+
* }));
|
|
32
33
|
* ```
|
|
33
|
-
*
|
|
34
|
-
* <!-- schema generated by tfplugindocs -->
|
|
35
|
-
* ## Schema
|
|
36
|
-
*
|
|
37
|
-
* ### Required
|
|
38
|
-
*
|
|
39
|
-
* - **name** (String) The name of the Docker image, including any tags or SHA256 repo digests.
|
|
40
|
-
*
|
|
41
|
-
* ### Optional
|
|
42
|
-
*
|
|
43
|
-
* - **id** (String) The ID of this resource.
|
|
44
|
-
*
|
|
45
|
-
* ### Read-Only
|
|
46
|
-
*
|
|
47
|
-
* - **repo_digest** (String) The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`. It may be empty in the edge case where the local image was pulled from a repo, tagged locally, and then referred to in the data source by that local name/tag.
|
|
48
34
|
*/
|
|
49
35
|
function getRemoteImage(args, opts) {
|
|
50
36
|
if (!opts) {
|
|
@@ -58,4 +44,8 @@ function getRemoteImage(args, opts) {
|
|
|
58
44
|
}, opts);
|
|
59
45
|
}
|
|
60
46
|
exports.getRemoteImage = getRemoteImage;
|
|
47
|
+
function getRemoteImageOutput(args, opts) {
|
|
48
|
+
return pulumi.output(args).apply(a => getRemoteImage(a, opts));
|
|
49
|
+
}
|
|
50
|
+
exports.getRemoteImageOutput = getRemoteImageOutput;
|
|
61
51
|
//# sourceMappingURL=getRemoteImage.js.map
|
package/getRemoteImage.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRemoteImage.js","sourceRoot":"","sources":["../getRemoteImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getRemoteImage.js","sourceRoot":"","sources":["../getRemoteImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC;AA8BD,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
|
package/image.js
CHANGED
|
@@ -22,6 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.Image = void 0;
|
|
25
26
|
const pulumi = require("@pulumi/pulumi");
|
|
26
27
|
const docker = require("./docker");
|
|
27
28
|
const utils = require("./utils");
|
package/image.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","sourceRoot":"","sources":["../image.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC
|
|
1
|
+
{"version":3,"file":"image.js","sourceRoot":"","sources":["../image.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;AAEjC,yCAAyC;AACzC,mCAAmC;AACnC,iCAAiC;AAyDjC;;;;;;;GAO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@@
|
|
|
1
1
|
"use strict";
|
|
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
|
-
function
|
|
5
|
-
|
|
6
|
-
}
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
+
}) : (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
o[k2] = m[k];
|
|
10
|
+
}));
|
|
11
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
+
};
|
|
7
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.types = exports.config = void 0;
|
|
8
16
|
const pulumi = require("@pulumi/pulumi");
|
|
9
17
|
const utilities = require("./utilities");
|
|
10
18
|
// Export members:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
__exportStar(require("./container"), exports);
|
|
20
|
+
__exportStar(require("./docker"), exports);
|
|
21
|
+
__exportStar(require("./getNetwork"), exports);
|
|
22
|
+
__exportStar(require("./getPlugin"), exports);
|
|
23
|
+
__exportStar(require("./getRegistryImage"), exports);
|
|
24
|
+
__exportStar(require("./getRemoteImage"), exports);
|
|
25
|
+
__exportStar(require("./image"), exports);
|
|
26
|
+
__exportStar(require("./network"), exports);
|
|
27
|
+
__exportStar(require("./plugin"), exports);
|
|
28
|
+
__exportStar(require("./provider"), exports);
|
|
29
|
+
__exportStar(require("./registryImage"), exports);
|
|
30
|
+
__exportStar(require("./remoteImage"), exports);
|
|
31
|
+
__exportStar(require("./secret"), exports);
|
|
32
|
+
__exportStar(require("./service"), exports);
|
|
33
|
+
__exportStar(require("./serviceConfig"), exports);
|
|
34
|
+
__exportStar(require("./utils"), exports);
|
|
35
|
+
__exportStar(require("./volume"), exports);
|
|
28
36
|
// Export sub-modules:
|
|
29
37
|
const config = require("./config");
|
|
30
38
|
exports.config = config;
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,8CAA4B;AAC5B,2CAAyB;AACzB,+CAA6B;AAC7B,8CAA4B;AAC5B,qDAAmC;AACnC,mDAAiC;AACjC,0CAAwB;AACxB,4CAA0B;AAC1B,2CAAyB;AACzB,6CAA2B;AAC3B,kDAAgC;AAChC,gDAA8B;AAC9B,2CAAyB;AACzB,4CAA0B;AAC1B,kDAAgC;AAChC,0CAAwB;AACxB,2CAAyB;AAEzB,sBAAsB;AACtB,mCAAmC;AAI/B,wBAAM;AAHV,iCAAiC;AAI7B,sBAAK;AAGT,gCAAgC;AAChC,2CAAwC;AACxC,uCAAoC;AACpC,qCAAkC;AAClC,mDAAgD;AAChD,+CAA4C;AAC5C,qCAAkC;AAClC,uCAAoC;AACpC,mDAAgD;AAChD,qCAAkC;AAElC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EA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AAQ,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AAExE,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,QAAQ,EAAE;IAC7C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,yBAAyB,EAAE;YACpC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/network.d.ts
CHANGED
|
@@ -13,49 +13,6 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
13
13
|
* const privateNetwork = new docker.Network("private_network", {});
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
|
-
* <!-- schema generated by tfplugindocs -->
|
|
17
|
-
* ## Schema
|
|
18
|
-
*
|
|
19
|
-
* ### Required
|
|
20
|
-
*
|
|
21
|
-
* - **name** (String) The name of the Docker network.
|
|
22
|
-
*
|
|
23
|
-
* ### Optional
|
|
24
|
-
*
|
|
25
|
-
* - **attachable** (Boolean) Enable manual container attachment to the network.
|
|
26
|
-
* - **check_duplicate** (Boolean) Requests daemon to check for networks with same name.
|
|
27
|
-
* - **driver** (String) The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.
|
|
28
|
-
* - **id** (String) The ID of this resource.
|
|
29
|
-
* - **ingress** (Boolean) Create swarm routing-mesh network. Defaults to `false`.
|
|
30
|
-
* - **internal** (Boolean) Whether the network is internal.
|
|
31
|
-
* - **ipam_config** (Block Set) The IPAM configuration options (see below for nested schema)
|
|
32
|
-
* - **ipam_driver** (String) Driver used by the custom IP scheme of the network. Defaults to `default`
|
|
33
|
-
* - **ipv6** (Boolean) Enable IPv6 networking. Defaults to `false`.
|
|
34
|
-
* - **labels** (Block Set) User-defined key/value metadata (see below for nested schema)
|
|
35
|
-
* - **options** (Map of String) Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
|
|
36
|
-
*
|
|
37
|
-
* ### Read-Only
|
|
38
|
-
*
|
|
39
|
-
* - **scope** (String) Scope of the network. One of `swarm`, `global`, or `local`.
|
|
40
|
-
*
|
|
41
|
-
* <a id="nestedblock--ipam_config"></a>
|
|
42
|
-
* ### Nested Schema for `ipamConfig`
|
|
43
|
-
*
|
|
44
|
-
* Optional:
|
|
45
|
-
*
|
|
46
|
-
* - **aux_address** (Map of String) Auxiliary IPv4 or IPv6 addresses used by Network driver
|
|
47
|
-
* - **gateway** (String) The IP address of the gateway
|
|
48
|
-
* - **ip_range** (String) The ip range in CIDR form
|
|
49
|
-
* - **subnet** (String) The subnet in CIDR form
|
|
50
|
-
*
|
|
51
|
-
* <a id="nestedblock--labels"></a>
|
|
52
|
-
* ### Nested Schema for `labels`
|
|
53
|
-
*
|
|
54
|
-
* Required:
|
|
55
|
-
*
|
|
56
|
-
* - **label** (String) Name of the label
|
|
57
|
-
* - **value** (String) Value of the label
|
|
58
|
-
*
|
|
59
16
|
* ## Import
|
|
60
17
|
*
|
|
61
18
|
* ### Example Assuming you created a `network` as follows #!/bin/bash docker network create foo # prints the long ID 87b57a9b91ecab2db2a6dbf38df74c67d7c7108cbe479d6576574ec2cd8c2d73 you provide the definition for the resource as follows terraform resource "docker_network" "foo" {
|
|
@@ -91,8 +48,7 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
91
48
|
*/
|
|
92
49
|
readonly checkDuplicate: pulumi.Output<boolean | undefined>;
|
|
93
50
|
/**
|
|
94
|
-
* The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network
|
|
95
|
-
* docs](https://docs.docker.com/network/#network-drivers) for more details.
|
|
51
|
+
* The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.
|
|
96
52
|
*/
|
|
97
53
|
readonly driver: pulumi.Output<string>;
|
|
98
54
|
/**
|
|
@@ -124,8 +80,7 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
124
80
|
*/
|
|
125
81
|
readonly name: pulumi.Output<string>;
|
|
126
82
|
/**
|
|
127
|
-
* Only available with bridge networks. See [bridge options
|
|
128
|
-
* docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
|
|
83
|
+
* Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
|
|
129
84
|
*/
|
|
130
85
|
readonly options: pulumi.Output<{
|
|
131
86
|
[key: string]: any;
|
|
@@ -150,55 +105,53 @@ export interface NetworkState {
|
|
|
150
105
|
/**
|
|
151
106
|
* Enable manual container attachment to the network.
|
|
152
107
|
*/
|
|
153
|
-
|
|
108
|
+
attachable?: pulumi.Input<boolean>;
|
|
154
109
|
/**
|
|
155
110
|
* Requests daemon to check for networks with same name.
|
|
156
111
|
*/
|
|
157
|
-
|
|
112
|
+
checkDuplicate?: pulumi.Input<boolean>;
|
|
158
113
|
/**
|
|
159
|
-
* The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network
|
|
160
|
-
* docs](https://docs.docker.com/network/#network-drivers) for more details.
|
|
114
|
+
* The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.
|
|
161
115
|
*/
|
|
162
|
-
|
|
116
|
+
driver?: pulumi.Input<string>;
|
|
163
117
|
/**
|
|
164
118
|
* Create swarm routing-mesh network. Defaults to `false`.
|
|
165
119
|
*/
|
|
166
|
-
|
|
120
|
+
ingress?: pulumi.Input<boolean>;
|
|
167
121
|
/**
|
|
168
122
|
* Whether the network is internal.
|
|
169
123
|
*/
|
|
170
|
-
|
|
124
|
+
internal?: pulumi.Input<boolean>;
|
|
171
125
|
/**
|
|
172
126
|
* The IPAM configuration options
|
|
173
127
|
*/
|
|
174
|
-
|
|
128
|
+
ipamConfigs?: pulumi.Input<pulumi.Input<inputs.NetworkIpamConfig>[]>;
|
|
175
129
|
/**
|
|
176
130
|
* Driver used by the custom IP scheme of the network. Defaults to `default`
|
|
177
131
|
*/
|
|
178
|
-
|
|
132
|
+
ipamDriver?: pulumi.Input<string>;
|
|
179
133
|
/**
|
|
180
134
|
* Enable IPv6 networking. Defaults to `false`.
|
|
181
135
|
*/
|
|
182
|
-
|
|
136
|
+
ipv6?: pulumi.Input<boolean>;
|
|
183
137
|
/**
|
|
184
138
|
* User-defined key/value metadata
|
|
185
139
|
*/
|
|
186
|
-
|
|
140
|
+
labels?: pulumi.Input<pulumi.Input<inputs.NetworkLabel>[]>;
|
|
187
141
|
/**
|
|
188
142
|
* The name of the Docker network.
|
|
189
143
|
*/
|
|
190
|
-
|
|
144
|
+
name?: pulumi.Input<string>;
|
|
191
145
|
/**
|
|
192
|
-
* Only available with bridge networks. See [bridge options
|
|
193
|
-
* docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
|
|
146
|
+
* Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
|
|
194
147
|
*/
|
|
195
|
-
|
|
148
|
+
options?: pulumi.Input<{
|
|
196
149
|
[key: string]: any;
|
|
197
150
|
}>;
|
|
198
151
|
/**
|
|
199
152
|
* Scope of the network. One of `swarm`, `global`, or `local`.
|
|
200
153
|
*/
|
|
201
|
-
|
|
154
|
+
scope?: pulumi.Input<string>;
|
|
202
155
|
}
|
|
203
156
|
/**
|
|
204
157
|
* The set of arguments for constructing a Network resource.
|
|
@@ -207,49 +160,47 @@ export interface NetworkArgs {
|
|
|
207
160
|
/**
|
|
208
161
|
* Enable manual container attachment to the network.
|
|
209
162
|
*/
|
|
210
|
-
|
|
163
|
+
attachable?: pulumi.Input<boolean>;
|
|
211
164
|
/**
|
|
212
165
|
* Requests daemon to check for networks with same name.
|
|
213
166
|
*/
|
|
214
|
-
|
|
167
|
+
checkDuplicate?: pulumi.Input<boolean>;
|
|
215
168
|
/**
|
|
216
|
-
* The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network
|
|
217
|
-
* docs](https://docs.docker.com/network/#network-drivers) for more details.
|
|
169
|
+
* The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.
|
|
218
170
|
*/
|
|
219
|
-
|
|
171
|
+
driver?: pulumi.Input<string>;
|
|
220
172
|
/**
|
|
221
173
|
* Create swarm routing-mesh network. Defaults to `false`.
|
|
222
174
|
*/
|
|
223
|
-
|
|
175
|
+
ingress?: pulumi.Input<boolean>;
|
|
224
176
|
/**
|
|
225
177
|
* Whether the network is internal.
|
|
226
178
|
*/
|
|
227
|
-
|
|
179
|
+
internal?: pulumi.Input<boolean>;
|
|
228
180
|
/**
|
|
229
181
|
* The IPAM configuration options
|
|
230
182
|
*/
|
|
231
|
-
|
|
183
|
+
ipamConfigs?: pulumi.Input<pulumi.Input<inputs.NetworkIpamConfig>[]>;
|
|
232
184
|
/**
|
|
233
185
|
* Driver used by the custom IP scheme of the network. Defaults to `default`
|
|
234
186
|
*/
|
|
235
|
-
|
|
187
|
+
ipamDriver?: pulumi.Input<string>;
|
|
236
188
|
/**
|
|
237
189
|
* Enable IPv6 networking. Defaults to `false`.
|
|
238
190
|
*/
|
|
239
|
-
|
|
191
|
+
ipv6?: pulumi.Input<boolean>;
|
|
240
192
|
/**
|
|
241
193
|
* User-defined key/value metadata
|
|
242
194
|
*/
|
|
243
|
-
|
|
195
|
+
labels?: pulumi.Input<pulumi.Input<inputs.NetworkLabel>[]>;
|
|
244
196
|
/**
|
|
245
197
|
* The name of the Docker network.
|
|
246
198
|
*/
|
|
247
|
-
|
|
199
|
+
name?: pulumi.Input<string>;
|
|
248
200
|
/**
|
|
249
|
-
* Only available with bridge networks. See [bridge options
|
|
250
|
-
* docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
|
|
201
|
+
* Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
|
|
251
202
|
*/
|
|
252
|
-
|
|
203
|
+
options?: pulumi.Input<{
|
|
253
204
|
[key: string]: any;
|
|
254
205
|
}>;
|
|
255
206
|
}
|
package/network.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.Network = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -17,49 +18,6 @@ const utilities = require("./utilities");
|
|
|
17
18
|
* const privateNetwork = new docker.Network("private_network", {});
|
|
18
19
|
* ```
|
|
19
20
|
*
|
|
20
|
-
* <!-- schema generated by tfplugindocs -->
|
|
21
|
-
* ## Schema
|
|
22
|
-
*
|
|
23
|
-
* ### Required
|
|
24
|
-
*
|
|
25
|
-
* - **name** (String) The name of the Docker network.
|
|
26
|
-
*
|
|
27
|
-
* ### Optional
|
|
28
|
-
*
|
|
29
|
-
* - **attachable** (Boolean) Enable manual container attachment to the network.
|
|
30
|
-
* - **check_duplicate** (Boolean) Requests daemon to check for networks with same name.
|
|
31
|
-
* - **driver** (String) The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.
|
|
32
|
-
* - **id** (String) The ID of this resource.
|
|
33
|
-
* - **ingress** (Boolean) Create swarm routing-mesh network. Defaults to `false`.
|
|
34
|
-
* - **internal** (Boolean) Whether the network is internal.
|
|
35
|
-
* - **ipam_config** (Block Set) The IPAM configuration options (see below for nested schema)
|
|
36
|
-
* - **ipam_driver** (String) Driver used by the custom IP scheme of the network. Defaults to `default`
|
|
37
|
-
* - **ipv6** (Boolean) Enable IPv6 networking. Defaults to `false`.
|
|
38
|
-
* - **labels** (Block Set) User-defined key/value metadata (see below for nested schema)
|
|
39
|
-
* - **options** (Map of String) Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.
|
|
40
|
-
*
|
|
41
|
-
* ### Read-Only
|
|
42
|
-
*
|
|
43
|
-
* - **scope** (String) Scope of the network. One of `swarm`, `global`, or `local`.
|
|
44
|
-
*
|
|
45
|
-
* <a id="nestedblock--ipam_config"></a>
|
|
46
|
-
* ### Nested Schema for `ipamConfig`
|
|
47
|
-
*
|
|
48
|
-
* Optional:
|
|
49
|
-
*
|
|
50
|
-
* - **aux_address** (Map of String) Auxiliary IPv4 or IPv6 addresses used by Network driver
|
|
51
|
-
* - **gateway** (String) The IP address of the gateway
|
|
52
|
-
* - **ip_range** (String) The ip range in CIDR form
|
|
53
|
-
* - **subnet** (String) The subnet in CIDR form
|
|
54
|
-
*
|
|
55
|
-
* <a id="nestedblock--labels"></a>
|
|
56
|
-
* ### Nested Schema for `labels`
|
|
57
|
-
*
|
|
58
|
-
* Required:
|
|
59
|
-
*
|
|
60
|
-
* - **label** (String) Name of the label
|
|
61
|
-
* - **value** (String) Value of the label
|
|
62
|
-
*
|
|
63
21
|
* ## Import
|
|
64
22
|
*
|
|
65
23
|
* ### Example Assuming you created a `network` as follows #!/bin/bash docker network create foo # prints the long ID 87b57a9b91ecab2db2a6dbf38df74c67d7c7108cbe479d6576574ec2cd8c2d73 you provide the definition for the resource as follows terraform resource "docker_network" "foo" {
|
package/network.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.js","sourceRoot":"","sources":["../network.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"network.js","sourceRoot":"","sources":["../network.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAqF9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAA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AI,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,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;IAxHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BA0HC;AA5GG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/docker",
|
|
3
|
-
"version": "v3.
|
|
3
|
+
"version": "v3.2.0-alpha.1638817875+1ba16206",
|
|
4
4
|
"description": "A Pulumi package for interacting with Docker in Pulumi programs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource docker v3.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource docker v3.2.0-alpha.1638817875+1ba16206"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/node": "^10.0.0",
|
|
22
|
-
"@types/semver": "^5.4.0"
|
|
22
|
+
"@types/semver": "^5.4.0",
|
|
23
|
+
"typescript": "^4.3.5"
|
|
23
24
|
},
|
|
24
25
|
"pulumi": {
|
|
25
26
|
"resource": true
|
package/package.json.bak
CHANGED
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/docker",
|
|
3
|
-
"version": "v3.
|
|
3
|
+
"version": "v3.2.0-alpha.1638817875+1ba16206",
|
|
4
4
|
"description": "A Pulumi package for interacting with Docker in Pulumi programs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -18,9 +18,10 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/node": "^10.0.0",
|
|
21
|
-
"@types/semver": "^5.4.0"
|
|
21
|
+
"@types/semver": "^5.4.0",
|
|
22
|
+
"typescript": "^4.3.5"
|
|
22
23
|
},
|
|
23
24
|
"pulumi": {
|
|
24
25
|
"resource": true
|
|
25
26
|
}
|
|
26
|
-
}
|
|
27
|
+
}
|
package/plugin.d.ts
CHANGED
|
@@ -21,40 +21,9 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
|
-
* <!-- schema generated by tfplugindocs -->
|
|
25
|
-
* ## Schema
|
|
26
|
-
*
|
|
27
|
-
* ### Required
|
|
28
|
-
*
|
|
29
|
-
* - **name** (String) Docker Plugin name
|
|
30
|
-
*
|
|
31
|
-
* ### Optional
|
|
32
|
-
*
|
|
33
|
-
* - **alias** (String) Docker Plugin alias
|
|
34
|
-
* - **enable_timeout** (Number) HTTP client timeout to enable the plugin
|
|
35
|
-
* - **enabled** (Boolean) If `true` the plugin is enabled. Defaults to `true`
|
|
36
|
-
* - **env** (Set of String) The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`
|
|
37
|
-
* - **force_destroy** (Boolean) If true, then the plugin is destroyed forcibly
|
|
38
|
-
* - **force_disable** (Boolean) If true, then the plugin is disabled forcibly
|
|
39
|
-
* - **grant_all_permissions** (Boolean) If true, grant all permissions necessary to run the plugin
|
|
40
|
-
* - **grant_permissions** (Block Set) Grant specific permissions only (see below for nested schema)
|
|
41
|
-
* - **id** (String) The ID of this resource.
|
|
42
|
-
*
|
|
43
|
-
* ### Read-Only
|
|
44
|
-
*
|
|
45
|
-
* - **plugin_reference** (String) Docker Plugin Reference
|
|
46
|
-
*
|
|
47
|
-
* <a id="nestedblock--grant_permissions"></a>
|
|
48
|
-
* ### Nested Schema for `grantPermissions`
|
|
49
|
-
*
|
|
50
|
-
* Required:
|
|
51
|
-
*
|
|
52
|
-
* - **name** (String) The name of the permission
|
|
53
|
-
* - **value** (Set of String) The value of the permission
|
|
54
|
-
*
|
|
55
24
|
* ## Import
|
|
56
25
|
*
|
|
57
|
-
*
|
|
26
|
+
* #!/bin/bash
|
|
58
27
|
*
|
|
59
28
|
* ```sh
|
|
60
29
|
* $ pulumi import docker:index/plugin:Plugin sample-volume-plugin "$(docker plugin inspect -f {{.ID}} tiborvass/sample-volume-plugin:latest)"
|
|
@@ -132,43 +101,43 @@ export interface PluginState {
|
|
|
132
101
|
/**
|
|
133
102
|
* Docker Plugin alias
|
|
134
103
|
*/
|
|
135
|
-
|
|
104
|
+
alias?: pulumi.Input<string>;
|
|
136
105
|
/**
|
|
137
106
|
* HTTP client timeout to enable the plugin
|
|
138
107
|
*/
|
|
139
|
-
|
|
108
|
+
enableTimeout?: pulumi.Input<number>;
|
|
140
109
|
/**
|
|
141
110
|
* If `true` the plugin is enabled. Defaults to `true`
|
|
142
111
|
*/
|
|
143
|
-
|
|
112
|
+
enabled?: pulumi.Input<boolean>;
|
|
144
113
|
/**
|
|
145
114
|
* The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`
|
|
146
115
|
*/
|
|
147
|
-
|
|
116
|
+
envs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
148
117
|
/**
|
|
149
118
|
* If true, then the plugin is destroyed forcibly
|
|
150
119
|
*/
|
|
151
|
-
|
|
120
|
+
forceDestroy?: pulumi.Input<boolean>;
|
|
152
121
|
/**
|
|
153
122
|
* If true, then the plugin is disabled forcibly
|
|
154
123
|
*/
|
|
155
|
-
|
|
124
|
+
forceDisable?: pulumi.Input<boolean>;
|
|
156
125
|
/**
|
|
157
126
|
* If true, grant all permissions necessary to run the plugin
|
|
158
127
|
*/
|
|
159
|
-
|
|
128
|
+
grantAllPermissions?: pulumi.Input<boolean>;
|
|
160
129
|
/**
|
|
161
130
|
* Grant specific permissions only
|
|
162
131
|
*/
|
|
163
|
-
|
|
132
|
+
grantPermissions?: pulumi.Input<pulumi.Input<inputs.PluginGrantPermission>[]>;
|
|
164
133
|
/**
|
|
165
134
|
* Docker Plugin name
|
|
166
135
|
*/
|
|
167
|
-
|
|
136
|
+
name?: pulumi.Input<string>;
|
|
168
137
|
/**
|
|
169
138
|
* Docker Plugin Reference
|
|
170
139
|
*/
|
|
171
|
-
|
|
140
|
+
pluginReference?: pulumi.Input<string>;
|
|
172
141
|
}
|
|
173
142
|
/**
|
|
174
143
|
* The set of arguments for constructing a Plugin resource.
|
|
@@ -177,37 +146,37 @@ export interface PluginArgs {
|
|
|
177
146
|
/**
|
|
178
147
|
* Docker Plugin alias
|
|
179
148
|
*/
|
|
180
|
-
|
|
149
|
+
alias?: pulumi.Input<string>;
|
|
181
150
|
/**
|
|
182
151
|
* HTTP client timeout to enable the plugin
|
|
183
152
|
*/
|
|
184
|
-
|
|
153
|
+
enableTimeout?: pulumi.Input<number>;
|
|
185
154
|
/**
|
|
186
155
|
* If `true` the plugin is enabled. Defaults to `true`
|
|
187
156
|
*/
|
|
188
|
-
|
|
157
|
+
enabled?: pulumi.Input<boolean>;
|
|
189
158
|
/**
|
|
190
159
|
* The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`
|
|
191
160
|
*/
|
|
192
|
-
|
|
161
|
+
envs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
193
162
|
/**
|
|
194
163
|
* If true, then the plugin is destroyed forcibly
|
|
195
164
|
*/
|
|
196
|
-
|
|
165
|
+
forceDestroy?: pulumi.Input<boolean>;
|
|
197
166
|
/**
|
|
198
167
|
* If true, then the plugin is disabled forcibly
|
|
199
168
|
*/
|
|
200
|
-
|
|
169
|
+
forceDisable?: pulumi.Input<boolean>;
|
|
201
170
|
/**
|
|
202
171
|
* If true, grant all permissions necessary to run the plugin
|
|
203
172
|
*/
|
|
204
|
-
|
|
173
|
+
grantAllPermissions?: pulumi.Input<boolean>;
|
|
205
174
|
/**
|
|
206
175
|
* Grant specific permissions only
|
|
207
176
|
*/
|
|
208
|
-
|
|
177
|
+
grantPermissions?: pulumi.Input<pulumi.Input<inputs.PluginGrantPermission>[]>;
|
|
209
178
|
/**
|
|
210
179
|
* Docker Plugin name
|
|
211
180
|
*/
|
|
212
|
-
|
|
181
|
+
name?: pulumi.Input<string>;
|
|
213
182
|
}
|