@pulumi/command 0.7.0 → 0.7.1-alpha.1672299748

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.
@@ -119,7 +119,9 @@ export declare class Command extends pulumi.CustomResource {
119
119
  */
120
120
  readonly create: pulumi.Output<string | undefined>;
121
121
  /**
122
- * The command to run on delete.
122
+ * The command to run on delete. The environment variables PULUMI_COMMAND_STDOUT
123
+ * and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the
124
+ * Command resource from previous create or update steps.
123
125
  */
124
126
  readonly delete: pulumi.Output<string | undefined>;
125
127
  /**
@@ -155,7 +157,10 @@ export declare class Command extends pulumi.CustomResource {
155
157
  */
156
158
  readonly triggers: pulumi.Output<any[] | undefined>;
157
159
  /**
158
- * The command to run on update, if empty, create will run again.
160
+ * The command to run on update, if empty, create will
161
+ * run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR
162
+ * are set to the stdout and stderr properties of the Command resource from previous
163
+ * create or update steps.
159
164
  */
160
165
  readonly update: pulumi.Output<string | undefined>;
161
166
  /**
@@ -258,7 +263,9 @@ export interface CommandArgs {
258
263
  */
259
264
  create?: pulumi.Input<string>;
260
265
  /**
261
- * The command to run on delete.
266
+ * The command to run on delete. The environment variables PULUMI_COMMAND_STDOUT
267
+ * and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the
268
+ * Command resource from previous create or update steps.
262
269
  */
263
270
  delete?: pulumi.Input<string>;
264
271
  /**
@@ -286,7 +293,10 @@ export interface CommandArgs {
286
293
  */
287
294
  triggers?: pulumi.Input<any[]>;
288
295
  /**
289
- * The command to run on update, if empty, create will run again.
296
+ * The command to run on update, if empty, create will
297
+ * run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR
298
+ * are set to the stdout and stderr properties of the Command resource from previous
299
+ * create or update steps.
290
300
  */
291
301
  update?: pulumi.Input<string>;
292
302
  }
@@ -1 +1 @@
1
- {"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,CAAC,OAAO,CAAC,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,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAnNL,0BAoNC;AAvMG,gBAAgB;AACO,oBAAY,GAAG,uBAAuB,CAAC"}
package/local/run.d.ts CHANGED
@@ -239,6 +239,10 @@ export interface RunResult {
239
239
  */
240
240
  readonly stdout: string;
241
241
  }
242
+ /**
243
+ * A local command to be executed.
244
+ * This command will always be run on any preview or deployment. Use `local.Command` to avoid duplicating executions.
245
+ */
242
246
  export declare function runOutput(args: RunOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RunResult>;
243
247
  export interface RunOutputArgs {
244
248
  /**
package/local/run.js CHANGED
@@ -22,8 +22,12 @@ function run(args, opts) {
22
22
  }, opts);
23
23
  }
24
24
  exports.run = run;
25
+ /**
26
+ * A local command to be executed.
27
+ * This command will always be run on any preview or deployment. Use `local.Command` to avoid duplicating executions.
28
+ */
25
29
  function runOutput(args, opts) {
26
- return pulumi.output(args).apply(a => run(a, opts));
30
+ return pulumi.output(args).apply((a) => run(a, opts));
27
31
  }
28
32
  exports.runOutput = runOutput;
29
33
  //# sourceMappingURL=run.js.map
package/local/run.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"run.js","sourceRoot":"","sources":["../../local/run.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;GAGG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAE1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mBAAmB,EAAE;QAC9C,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,kBAYC;AAyOD,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvD,CAAC;AAFD,8BAEC"}
1
+ {"version":3,"file":"run.js","sourceRoot":"","sources":["../../local/run.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;GAGG;AACH,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAE1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mBAAmB,EAAE;QAC9C,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,kBAYC;AAwOD;;;GAGG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,8BAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/command",
3
- "version": "v0.7.0",
3
+ "version": "0.7.1-alpha.1672299748+334686c5",
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 v0.7.0"
15
+ "install": "node scripts/install-pulumi-plugin.js resource command 0.7.1-alpha.1672299748+334686c5"
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": "v0.7.0",
3
+ "version": "0.7.1-alpha.1672299748+334686c5",
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 v0.7.0"
15
+ "install": "node scripts/install-pulumi-plugin.js resource command 0.7.1-alpha.1672299748+334686c5"
16
16
  },
17
17
  "dependencies": {
18
18
  "@pulumi/pulumi": "^3.0.0"
@@ -29,7 +29,9 @@ export declare class Command extends pulumi.CustomResource {
29
29
  */
30
30
  readonly create: pulumi.Output<string | undefined>;
31
31
  /**
32
- * The command to run on delete.
32
+ * The command to run on delete. The environment variables PULUMI_COMMAND_STDOUT
33
+ * and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the
34
+ * Command resource from previous create or update steps.
33
35
  */
34
36
  readonly delete: pulumi.Output<string | undefined>;
35
37
  /**
@@ -55,7 +57,10 @@ export declare class Command extends pulumi.CustomResource {
55
57
  */
56
58
  readonly triggers: pulumi.Output<any[] | undefined>;
57
59
  /**
58
- * The command to run on update, if empty, create will run again.
60
+ * The command to run on update, if empty, create will
61
+ * run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR
62
+ * are set to the stdout and stderr properties of the Command resource from previous
63
+ * create or update steps.
59
64
  */
60
65
  readonly update: pulumi.Output<string | undefined>;
61
66
  /**
@@ -80,7 +85,9 @@ export interface CommandArgs {
80
85
  */
81
86
  create?: pulumi.Input<string>;
82
87
  /**
83
- * The command to run on delete.
88
+ * The command to run on delete. The environment variables PULUMI_COMMAND_STDOUT
89
+ * and PULUMI_COMMAND_STDERR are set to the stdout and stderr properties of the
90
+ * Command resource from previous create or update steps.
84
91
  */
85
92
  delete?: pulumi.Input<string>;
86
93
  /**
@@ -98,7 +105,10 @@ export interface CommandArgs {
98
105
  */
99
106
  triggers?: pulumi.Input<any[]>;
100
107
  /**
101
- * The command to run on update, if empty, create will run again.
108
+ * The command to run on update, if empty, create will
109
+ * run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR
110
+ * are set to the stdout and stderr properties of the Command resource from previous
111
+ * create or update steps.
102
112
  */
103
113
  update?: pulumi.Input<string>;
104
114
  }
@@ -1 +1 @@
1
- {"version":3,"file":"command.js","sour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C,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA7GL,0BA8GC;AAjGG,gBAAgB;AACO,oBAAY,GAAG,wBAAwB,CAAC"}
package/types/input.d.ts CHANGED
@@ -1 +1,40 @@
1
- export * as remote from "./remote/input";
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare namespace remote {
3
+ /**
4
+ * Instructions for how to connect to a remote endpoint.
5
+ */
6
+ interface ConnectionArgs {
7
+ /**
8
+ * SSH Agent socket path. Default to environment variable SSH_AUTH_SOCK if present.
9
+ */
10
+ agentSocketPath?: pulumi.Input<string>;
11
+ /**
12
+ * The address of the resource to connect to.
13
+ */
14
+ host: pulumi.Input<string>;
15
+ /**
16
+ * The password we should use for the connection.
17
+ */
18
+ password?: pulumi.Input<string>;
19
+ /**
20
+ * The port to connect to.
21
+ */
22
+ port?: pulumi.Input<number>;
23
+ /**
24
+ * The contents of an SSH key to use for the connection. This takes preference over the password if provided.
25
+ */
26
+ privateKey?: pulumi.Input<string>;
27
+ /**
28
+ * The password to use in case the private key is encrypted.
29
+ */
30
+ privateKeyPassword?: pulumi.Input<string>;
31
+ /**
32
+ * The user that we should use for the connection.
33
+ */
34
+ user?: pulumi.Input<string>;
35
+ }
36
+ /**
37
+ * connectionArgsProvideDefaults sets the appropriate defaults for ConnectionArgs
38
+ */
39
+ function connectionArgsProvideDefaults(val: ConnectionArgs): ConnectionArgs;
40
+ }
package/types/input.js CHANGED
@@ -3,5 +3,15 @@
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
5
  exports.remote = void 0;
6
- exports.remote = require("./remote/input");
6
+ var remote;
7
+ (function (remote) {
8
+ /**
9
+ * connectionArgsProvideDefaults sets the appropriate defaults for ConnectionArgs
10
+ */
11
+ function connectionArgsProvideDefaults(val) {
12
+ var _a, _b;
13
+ return Object.assign(Object.assign({}, val), { port: (_a = (val.port)) !== null && _a !== void 0 ? _a : 22, user: (_b = (val.user)) !== null && _b !== void 0 ? _b : "root" });
14
+ }
15
+ remote.connectionArgsProvideDefaults = connectionArgsProvideDefaults;
16
+ })(remote = exports.remote || (exports.remote = {}));
7
17
  //# sourceMappingURL=input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iFAAiF;;;AAOjF,2CAAyC"}
1
+ {"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iFAAiF;;;AAQjF,IAAiB,MAAM,CA4CtB;AA5CD,WAAiB,MAAM;IAkCnB;;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,EA5CgB,MAAM,GAAN,cAAM,KAAN,cAAM,QA4CtB"}
package/types/output.d.ts CHANGED
@@ -1 +1,39 @@
1
- export * as remote from "./remote/output";
1
+ export declare namespace remote {
2
+ /**
3
+ * Instructions for how to connect to a remote endpoint.
4
+ */
5
+ interface Connection {
6
+ /**
7
+ * SSH Agent socket path. Default to environment variable SSH_AUTH_SOCK if present.
8
+ */
9
+ agentSocketPath?: string;
10
+ /**
11
+ * The address of the resource to connect to.
12
+ */
13
+ host: string;
14
+ /**
15
+ * The password we should use for the connection.
16
+ */
17
+ password?: string;
18
+ /**
19
+ * The port to connect to.
20
+ */
21
+ port?: number;
22
+ /**
23
+ * The contents of an SSH key to use for the connection. This takes preference over the password if provided.
24
+ */
25
+ privateKey?: string;
26
+ /**
27
+ * The password to use in case the private key is encrypted.
28
+ */
29
+ privateKeyPassword?: string;
30
+ /**
31
+ * The user that we should use for the connection.
32
+ */
33
+ user?: string;
34
+ }
35
+ /**
36
+ * connectionProvideDefaults sets the appropriate defaults for Connection
37
+ */
38
+ function connectionProvideDefaults(val: Connection): Connection;
39
+ }
package/types/output.js CHANGED
@@ -3,5 +3,15 @@
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
5
  exports.remote = void 0;
6
- exports.remote = require("./remote/output");
6
+ var remote;
7
+ (function (remote) {
8
+ /**
9
+ * connectionProvideDefaults sets the appropriate defaults for Connection
10
+ */
11
+ function connectionProvideDefaults(val) {
12
+ var _a, _b;
13
+ return Object.assign(Object.assign({}, val), { port: (_a = (val.port)) !== null && _a !== void 0 ? _a : 22, user: (_b = (val.user)) !== null && _b !== void 0 ? _b : "root" });
14
+ }
15
+ remote.connectionProvideDefaults = connectionProvideDefaults;
16
+ })(remote = exports.remote || (exports.remote = {}));
7
17
  //# sourceMappingURL=output.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iFAAiF;;;AAOjF,4CAA0C"}
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iFAAiF;;;AAQjF,IAAiB,MAAM,CA6CtB;AA7CD,WAAiB,MAAM;IAkCnB;;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,EA7CgB,MAAM,GAAN,cAAM,KAAN,cAAM,QA6CtB"}
File without changes
@@ -1,4 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/remote/index.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iFAAiF"}
@@ -1,38 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Instructions for how to connect to a remote endpoint.
4
- */
5
- export interface ConnectionArgs {
6
- /**
7
- * SSH Agent socket path. Default to environment variable SSH_AUTH_SOCK if present.
8
- */
9
- agentSocketPath?: pulumi.Input<string>;
10
- /**
11
- * The address of the resource to connect to.
12
- */
13
- host: pulumi.Input<string>;
14
- /**
15
- * The password we should use for the connection.
16
- */
17
- password?: pulumi.Input<string>;
18
- /**
19
- * The port to connect to.
20
- */
21
- port?: pulumi.Input<number>;
22
- /**
23
- * The contents of an SSH key to use for the connection. This takes preference over the password if provided.
24
- */
25
- privateKey?: pulumi.Input<string>;
26
- /**
27
- * The password to use in case the private key is encrypted.
28
- */
29
- privateKeyPassword?: pulumi.Input<string>;
30
- /**
31
- * The user that we should use for the connection.
32
- */
33
- user?: pulumi.Input<string>;
34
- }
35
- /**
36
- * connectionArgsProvideDefaults sets the appropriate defaults for ConnectionArgs
37
- */
38
- export declare function connectionArgsProvideDefaults(val: ConnectionArgs): ConnectionArgs;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.connectionArgsProvideDefaults = void 0;
6
- /**
7
- * connectionArgsProvideDefaults sets the appropriate defaults for ConnectionArgs
8
- */
9
- function connectionArgsProvideDefaults(val) {
10
- var _a, _b;
11
- return Object.assign(Object.assign({}, val), { port: (_a = (val.port)) !== null && _a !== void 0 ? _a : 22, user: (_b = (val.user)) !== null && _b !== void 0 ? _b : "root" });
12
- }
13
- exports.connectionArgsProvideDefaults = connectionArgsProvideDefaults;
14
- //# sourceMappingURL=input.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input.js","sourceRoot":"","sources":["../../../types/remote/input.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iFAAiF;;;AAwCjF;;GAEG;AACH,SAAgB,6BAA6B,CAAC,GAAmB;;IAC7D,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;AACN,CAAC;AAND,sEAMC"}
@@ -1,37 +0,0 @@
1
- /**
2
- * Instructions for how to connect to a remote endpoint.
3
- */
4
- export interface Connection {
5
- /**
6
- * SSH Agent socket path. Default to environment variable SSH_AUTH_SOCK if present.
7
- */
8
- agentSocketPath?: string;
9
- /**
10
- * The address of the resource to connect to.
11
- */
12
- host: string;
13
- /**
14
- * The password we should use for the connection.
15
- */
16
- password?: string;
17
- /**
18
- * The port to connect to.
19
- */
20
- port?: number;
21
- /**
22
- * The contents of an SSH key to use for the connection. This takes preference over the password if provided.
23
- */
24
- privateKey?: string;
25
- /**
26
- * The password to use in case the private key is encrypted.
27
- */
28
- privateKeyPassword?: string;
29
- /**
30
- * The user that we should use for the connection.
31
- */
32
- user?: string;
33
- }
34
- /**
35
- * connectionProvideDefaults sets the appropriate defaults for Connection
36
- */
37
- export declare function connectionProvideDefaults(val: Connection): Connection;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.connectionProvideDefaults = void 0;
6
- /**
7
- * connectionProvideDefaults sets the appropriate defaults for Connection
8
- */
9
- function connectionProvideDefaults(val) {
10
- var _a, _b;
11
- return Object.assign(Object.assign({}, val), { port: (_a = (val.port)) !== null && _a !== void 0 ? _a : 22, user: (_b = (val.user)) !== null && _b !== void 0 ? _b : "root" });
12
- }
13
- exports.connectionProvideDefaults = connectionProvideDefaults;
14
- //# sourceMappingURL=output.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"output.js","sourceRoot":"","sources":["../../../types/remote/output.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iFAAiF;;;AAwCjF;;GAEG;AACH,SAAgB,yBAAyB,CAAC,GAAe;;IACrD,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;AACN,CAAC;AAND,8DAMC"}