@pulumi/command 1.2.0-alpha.1771566950 → 1.2.0-alpha.1771616608
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/command",
|
|
3
|
-
"version": "1.2.0-alpha.
|
|
3
|
+
"version": "1.2.0-alpha.1771616608",
|
|
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 1.2.0-alpha.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource command 1.2.0-alpha.1771616608"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.142.0"
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "command",
|
|
27
|
-
"version": "1.2.0-alpha.
|
|
27
|
+
"version": "1.2.0-alpha.1771616608"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/command",
|
|
3
|
-
"version": "1.2.0-alpha.
|
|
3
|
+
"version": "1.2.0-alpha.1771616608",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"command",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "command",
|
|
26
|
-
"version": "1.2.0-alpha.
|
|
26
|
+
"version": "1.2.0-alpha.1771616608"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/remote/copyToRemote.d.ts
CHANGED
|
@@ -4,6 +4,11 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Copy an Asset or Archive to a remote host.
|
|
6
6
|
*
|
|
7
|
+
* Supported source types:
|
|
8
|
+
* - `FileAsset`: Copy a local file to the remote host.
|
|
9
|
+
* - `StringAsset`: Copy text content directly to a remote file (useful for configuration files, certificates, etc.).
|
|
10
|
+
* - `FileArchive`: Copy a local directory or archive to the remote host.
|
|
11
|
+
*
|
|
7
12
|
* ## Example usage
|
|
8
13
|
*
|
|
9
14
|
* This example copies a local directory to a remote host via SSH. For brevity, the remote server is assumed to exist, but it could also be provisioned in the same Pulumi program.
|
|
@@ -86,7 +91,7 @@ export declare class CopyToRemote extends pulumi.CustomResource {
|
|
|
86
91
|
*/
|
|
87
92
|
readonly remotePath: pulumi.Output<string>;
|
|
88
93
|
/**
|
|
89
|
-
* An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. It must be
|
|
94
|
+
* An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. It must be a `FileAsset`, `StringAsset`, or a `FileArchive`. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files.
|
|
90
95
|
*/
|
|
91
96
|
readonly source: pulumi.Output<pulumi.asset.Asset | pulumi.asset.Archive>;
|
|
92
97
|
/**
|
|
@@ -115,7 +120,7 @@ export interface CopyToRemoteArgs {
|
|
|
115
120
|
*/
|
|
116
121
|
remotePath: pulumi.Input<string>;
|
|
117
122
|
/**
|
|
118
|
-
* An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. It must be
|
|
123
|
+
* An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. It must be a `FileAsset`, `StringAsset`, or a `FileArchive`. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files.
|
|
119
124
|
*/
|
|
120
125
|
source: pulumi.Input<pulumi.asset.Asset | pulumi.asset.Archive>;
|
|
121
126
|
/**
|
package/remote/copyToRemote.js
CHANGED
|
@@ -9,6 +9,11 @@ const utilities = require("../utilities");
|
|
|
9
9
|
/**
|
|
10
10
|
* Copy an Asset or Archive to a remote host.
|
|
11
11
|
*
|
|
12
|
+
* Supported source types:
|
|
13
|
+
* - `FileAsset`: Copy a local file to the remote host.
|
|
14
|
+
* - `StringAsset`: Copy text content directly to a remote file (useful for configuration files, certificates, etc.).
|
|
15
|
+
* - `FileArchive`: Copy a local directory or archive to the remote host.
|
|
16
|
+
*
|
|
12
17
|
* ## Example usage
|
|
13
18
|
*
|
|
14
19
|
* This example copies a local directory to a remote host via SSH. For brevity, the remote server is assumed to exist, but it could also be provisioned in the same Pulumi program.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copyToRemote.js","sourceRoot":"","sources":["../../remote/copyToRemote.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"copyToRemote.js","sourceRoot":"","sources":["../../remote/copyToRemote.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,YAAY,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,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