@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/README.md
CHANGED
package/config/index.js
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
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 });
|
|
8
15
|
// Export members:
|
|
9
|
-
|
|
16
|
+
__exportStar(require("./vars"), exports);
|
|
10
17
|
//# sourceMappingURL=index.js.map
|
package/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
package/config/vars.d.ts
CHANGED
|
@@ -2,21 +2,21 @@ import { output as outputs } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* PEM-encoded content of Docker host CA certificate
|
|
4
4
|
*/
|
|
5
|
-
export declare
|
|
5
|
+
export declare const caMaterial: string | undefined;
|
|
6
6
|
/**
|
|
7
7
|
* PEM-encoded content of Docker client certificate
|
|
8
8
|
*/
|
|
9
|
-
export declare
|
|
9
|
+
export declare const certMaterial: string | undefined;
|
|
10
10
|
/**
|
|
11
11
|
* Path to directory with Docker TLS config
|
|
12
12
|
*/
|
|
13
|
-
export declare
|
|
13
|
+
export declare const certPath: string | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* The Docker daemon address
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
17
|
+
export declare const host: string;
|
|
18
18
|
/**
|
|
19
19
|
* PEM-encoded content of Docker client private key
|
|
20
20
|
*/
|
|
21
|
-
export declare
|
|
22
|
-
export declare
|
|
21
|
+
export declare const keyMaterial: string | undefined;
|
|
22
|
+
export declare const registryAuth: outputs.config.RegistryAuth[] | undefined;
|
package/config/vars.js
CHANGED
|
@@ -4,26 +4,42 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
const pulumi = require("@pulumi/pulumi");
|
|
6
6
|
const utilities = require("../utilities");
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
7
|
+
const __config = new pulumi.Config("docker");
|
|
8
|
+
Object.defineProperty(exports, "caMaterial", {
|
|
9
|
+
get() {
|
|
10
|
+
return __config.get("caMaterial");
|
|
11
|
+
},
|
|
12
|
+
enumerable: true,
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "certMaterial", {
|
|
15
|
+
get() {
|
|
16
|
+
return __config.get("certMaterial");
|
|
17
|
+
},
|
|
18
|
+
enumerable: true,
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "certPath", {
|
|
21
|
+
get() {
|
|
22
|
+
return __config.get("certPath");
|
|
23
|
+
},
|
|
24
|
+
enumerable: true,
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "host", {
|
|
27
|
+
get() {
|
|
28
|
+
var _a;
|
|
29
|
+
return (_a = __config.get("host")) !== null && _a !== void 0 ? _a : (utilities.getEnv("DOCKER_HOST") || "unix:///var/run/docker.sock");
|
|
30
|
+
},
|
|
31
|
+
enumerable: true,
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "keyMaterial", {
|
|
34
|
+
get() {
|
|
35
|
+
return __config.get("keyMaterial");
|
|
36
|
+
},
|
|
37
|
+
enumerable: true,
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "registryAuth", {
|
|
40
|
+
get() {
|
|
41
|
+
return __config.getObject("registryAuth");
|
|
42
|
+
},
|
|
43
|
+
enumerable: true,
|
|
44
|
+
});
|
|
29
45
|
//# sourceMappingURL=vars.js.map
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAM7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IAC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