@pulumi/command 4.5.0 → 4.6.0-alpha.1662390243
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/index.d.ts +3 -1
- package/index.js +4 -19
- package/index.js.map +1 -1
- package/local/index.d.ts +6 -2
- package/local/index.js +7 -20
- package/local/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/remote/command.d.ts +2 -1
- package/remote/command.js +2 -2
- package/remote/command.js.map +1 -1
- package/remote/copyFile.d.ts +2 -1
- package/remote/copyFile.js +2 -2
- package/remote/copyFile.js.map +1 -1
- package/remote/index.d.ts +6 -2
- package/remote/index.js +7 -22
- package/remote/index.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.js.map +1 -1
- package/types/output.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { ProviderArgs } from "./provider";
|
|
2
|
+
export declare type Provider = import("./provider").Provider;
|
|
3
|
+
export declare const Provider: typeof import("./provider").Provider;
|
|
2
4
|
import * as local from "./local";
|
|
3
5
|
import * as remote from "./remote";
|
|
4
6
|
import * as types from "./types";
|
package/index.js
CHANGED
|
@@ -1,26 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
-
};
|
|
18
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.types = exports.remote = exports.local = void 0;
|
|
5
|
+
exports.types = exports.remote = exports.local = exports.Provider = void 0;
|
|
20
6
|
const pulumi = require("@pulumi/pulumi");
|
|
21
7
|
const utilities = require("./utilities");
|
|
22
|
-
|
|
23
|
-
|
|
8
|
+
exports.Provider = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
24
10
|
// Export sub-modules:
|
|
25
11
|
const local = require("./local");
|
|
26
12
|
exports.local = local;
|
|
@@ -28,14 +14,13 @@ const remote = require("./remote");
|
|
|
28
14
|
exports.remote = remote;
|
|
29
15
|
const types = require("./types");
|
|
30
16
|
exports.types = types;
|
|
31
|
-
const provider_1 = require("./provider");
|
|
32
17
|
pulumi.runtime.registerResourcePackage("command", {
|
|
33
18
|
version: utilities.getVersion(),
|
|
34
19
|
constructProvider: (name, type, urn) => {
|
|
35
20
|
if (type !== "pulumi:providers:command") {
|
|
36
21
|
throw new Error(`unknown provider type ${type}`);
|
|
37
22
|
}
|
|
38
|
-
return new
|
|
23
|
+
return new exports.Provider(name, undefined, { urn });
|
|
39
24
|
},
|
|
40
25
|
});
|
|
41
26
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAE1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAEvE,sBAAsB;AACtB,iCAAiC;AAK7B,sBAAK;AAJT,mCAAmC;AAK/B,wBAAM;AAJV,iCAAiC;AAK7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,SAAS,EAAE;IAC9C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,0BAA0B,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/local/index.d.ts
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { CommandArgs } from "./command";
|
|
2
|
+
export declare type Command = import("./command").Command;
|
|
3
|
+
export declare const Command: typeof import("./command").Command;
|
|
4
|
+
export { RunArgs, RunResult, RunOutputArgs } from "./run";
|
|
5
|
+
export declare const run: typeof import("./run").run;
|
|
6
|
+
export declare const runOutput: typeof import("./run").runOutput;
|
package/local/index.js
CHANGED
|
@@ -1,34 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
-
};
|
|
18
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.runOutput = exports.run = exports.Command = void 0;
|
|
19
6
|
const pulumi = require("@pulumi/pulumi");
|
|
20
7
|
const utilities = require("../utilities");
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
8
|
+
exports.Command = null;
|
|
9
|
+
exports.run = null;
|
|
10
|
+
exports.runOutput = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["Command"], () => require("./command"));
|
|
12
|
+
utilities.lazyLoad(exports, ["run", "runOutput"], () => require("./run"));
|
|
26
13
|
const _module = {
|
|
27
14
|
version: utilities.getVersion(),
|
|
28
15
|
construct: (name, type, urn) => {
|
|
29
16
|
switch (type) {
|
|
30
17
|
case "command:local:Command":
|
|
31
|
-
return new
|
|
18
|
+
return new exports.Command(name, undefined, { urn });
|
|
32
19
|
default:
|
|
33
20
|
throw new Error(`unknown resource type ${type}`);
|
|
34
21
|
}
|
package/local/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../local/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../local/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AAG1D,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC9C,QAAA,SAAS,GAAqC,IAAW,CAAC;AAEvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AACrE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,EAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAEzE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,uBAAuB;gBACxB,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/command",
|
|
3
|
-
"version": "v4.
|
|
3
|
+
"version": "v4.6.0-alpha.1662390243+5c22c9dd",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"command",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource command v4.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource command v4.6.0-alpha.1662390243+5c22c9dd"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/command",
|
|
3
|
-
"version": "v4.
|
|
3
|
+
"version": "v4.6.0-alpha.1662390243+5c22c9dd",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"command",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource command v4.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource command v4.6.0-alpha.1662390243+5c22c9dd"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/remote/command.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
3
4
|
/**
|
|
4
5
|
* A command to run on a remote host.
|
|
5
6
|
* The connection is established via ssh.
|
package/remote/command.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.Command = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const
|
|
7
|
+
const inputs = require("../types/input");
|
|
8
8
|
const utilities = require("../utilities");
|
|
9
9
|
/**
|
|
10
10
|
* A command to run on a remote host.
|
|
@@ -25,7 +25,7 @@ class Command extends pulumi.CustomResource {
|
|
|
25
25
|
if ((!args || args.connection === undefined) && !opts.urn) {
|
|
26
26
|
throw new Error("Missing required property 'connection'");
|
|
27
27
|
}
|
|
28
|
-
resourceInputs["connection"] = args ? (args.connection ? pulumi.output(args.connection).apply(
|
|
28
|
+
resourceInputs["connection"] = args ? (args.connection ? pulumi.output(args.connection).apply(inputs.remote.connectionArgsProvideDefaults) : undefined) : undefined;
|
|
29
29
|
resourceInputs["create"] = args ? args.create : undefined;
|
|
30
30
|
resourceInputs["delete"] = args ? args.delete : undefined;
|
|
31
31
|
resourceInputs["environment"] = args ? args.environment : undefined;
|
package/remote/command.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../remote/command.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../remote/command.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,0CAA0C;AAE1C;;;GAGG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAgE9C;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAiB,EAAE,IAAmC;QAC5E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,KAAK,CAA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,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IAnGD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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;;AAzBL,0BAqGC;AAxFG,gBAAgB;AACO,oBAAY,GAAG,wBAAwB,CAAC"}
|
package/remote/copyFile.d.ts
CHANGED
package/remote/copyFile.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.CopyFile = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const
|
|
7
|
+
const inputs = require("../types/input");
|
|
8
8
|
const utilities = require("../utilities");
|
|
9
9
|
/**
|
|
10
10
|
* Copy a local file to a remote host.
|
|
@@ -30,7 +30,7 @@ class CopyFile extends pulumi.CustomResource {
|
|
|
30
30
|
if ((!args || args.remotePath === undefined) && !opts.urn) {
|
|
31
31
|
throw new Error("Missing required property 'remotePath'");
|
|
32
32
|
}
|
|
33
|
-
resourceInputs["connection"] = args ? (args.connection ? pulumi.output(args.connection).apply(
|
|
33
|
+
resourceInputs["connection"] = args ? (args.connection ? pulumi.output(args.connection).apply(inputs.remote.connectionArgsProvideDefaults) : undefined) : undefined;
|
|
34
34
|
resourceInputs["localPath"] = args ? args.localPath : undefined;
|
|
35
35
|
resourceInputs["remotePath"] = args ? args.remotePath : undefined;
|
|
36
36
|
resourceInputs["triggers"] = args ? args.triggers : undefined;
|
package/remote/copyFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copyFile.js","sourceRoot":"","sources":["../../remote/copyFile.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"copyFile.js","sourceRoot":"","sources":["../../remote/copyFile.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IA4C/C;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAAmC;QAC7E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,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,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IA3ED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAzBL,4BA6EC;AAhEG,gBAAgB;AACO,qBAAY,GAAG,yBAAyB,CAAC"}
|
package/remote/index.d.ts
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { CommandArgs } from "./command";
|
|
2
|
+
export declare type Command = import("./command").Command;
|
|
3
|
+
export declare const Command: typeof import("./command").Command;
|
|
4
|
+
export { CopyFileArgs } from "./copyFile";
|
|
5
|
+
export declare type CopyFile = import("./copyFile").CopyFile;
|
|
6
|
+
export declare const CopyFile: typeof import("./copyFile").CopyFile;
|
package/remote/index.js
CHANGED
|
@@ -1,37 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
-
};
|
|
18
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CopyFile = exports.Command = void 0;
|
|
19
6
|
const pulumi = require("@pulumi/pulumi");
|
|
20
7
|
const utilities = require("../utilities");
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const command_1 = require("./command");
|
|
26
|
-
const copyFile_1 = require("./copyFile");
|
|
8
|
+
exports.Command = null;
|
|
9
|
+
exports.CopyFile = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["Command"], () => require("./command"));
|
|
11
|
+
utilities.lazyLoad(exports, ["CopyFile"], () => require("./copyFile"));
|
|
27
12
|
const _module = {
|
|
28
13
|
version: utilities.getVersion(),
|
|
29
14
|
construct: (name, type, urn) => {
|
|
30
15
|
switch (type) {
|
|
31
16
|
case "command:remote:Command":
|
|
32
|
-
return new
|
|
17
|
+
return new exports.Command(name, undefined, { urn });
|
|
33
18
|
case "command:remote:CopyFile":
|
|
34
|
-
return new
|
|
19
|
+
return new exports.CopyFile(name, undefined, { urn });
|
|
35
20
|
default:
|
|
36
21
|
throw new Error(`unknown resource type ${type}`);
|
|
37
22
|
}
|
package/remote/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../remote/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../remote/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AAI1D,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAE1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AACrE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAEvE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,wBAAwB;gBACzB,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,yBAAyB;gBAC1B,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA"}
|
package/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAIjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}
|
package/types/input.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAQjF,IAAiB,MAAM,CAoCtB;AApCD,WAAiB,MAAM;IA0BnB;;OAEG;IACH,SAAgB,6BAA6B,CAAC,GAAmB;;QAC7D,uCACO,GAAG,KACN,IAAI,EAAE,MAAA,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,EACtB,IAAI,EAAE,MAAA,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,MAAM,IAC5B;IACN,CAAC;IANe,oCAA6B,gCAM5C,CAAA;AACL,CAAC,EApCgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAoCtB"}
|
package/types/output.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAQjF,IAAiB,MAAM,CAqCtB;AArCD,WAAiB,MAAM;IA0BnB;;OAEG;IACH,SAAgB,yBAAyB,CAAC,GAAe;;QACrD,uCACO,GAAG,KACN,IAAI,EAAE,MAAA,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,EACtB,IAAI,EAAE,MAAA,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,MAAM,IAC5B;IACN,CAAC;IANe,gCAAyB,4BAMxC,CAAA;AAEL,CAAC,EArCgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAqCtB"}
|
package/utilities.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumigen. ***
|
|
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.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
5
|
+
exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
6
6
|
function getEnv(...vars) {
|
|
7
7
|
for (const v of vars) {
|
|
8
8
|
const value = process.env[v];
|
|
@@ -54,4 +54,16 @@ function resourceOptsDefaults() {
|
|
|
54
54
|
return { version: getVersion() };
|
|
55
55
|
}
|
|
56
56
|
exports.resourceOptsDefaults = resourceOptsDefaults;
|
|
57
|
+
/** @internal */
|
|
58
|
+
function lazyLoad(exports, props, loadModule) {
|
|
59
|
+
for (let property of props) {
|
|
60
|
+
Object.defineProperty(exports, property, {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return loadModule()[property];
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.lazyLoad = lazyLoad;
|
|
57
69
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAGjF,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,C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