@pulumi/pulumi 3.130.1-alpha.x7e2ccd8 → 3.130.1-alpha.xb52882e

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/pulumi",
3
- "version": "3.130.1-alpha.x7e2ccd8",
3
+ "version": "3.130.1-alpha.xb52882e",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -6,11 +6,46 @@
6
6
 
7
7
  import * as jspb from "google-protobuf";
8
8
 
9
+ export class Parameterization extends jspb.Message {
10
+ getName(): string;
11
+ setName(value: string): Parameterization;
12
+ getVersion(): string;
13
+ setVersion(value: string): Parameterization;
14
+ getValue(): Uint8Array | string;
15
+ getValue_asU8(): Uint8Array;
16
+ getValue_asB64(): string;
17
+ setValue(value: Uint8Array | string): Parameterization;
18
+
19
+ serializeBinary(): Uint8Array;
20
+ toObject(includeInstance?: boolean): Parameterization.AsObject;
21
+ static toObject(includeInstance: boolean, msg: Parameterization): Parameterization.AsObject;
22
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
23
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
24
+ static serializeBinaryToWriter(message: Parameterization, writer: jspb.BinaryWriter): void;
25
+ static deserializeBinary(bytes: Uint8Array): Parameterization;
26
+ static deserializeBinaryFromReader(message: Parameterization, reader: jspb.BinaryReader): Parameterization;
27
+ }
28
+
29
+ export namespace Parameterization {
30
+ export type AsObject = {
31
+ name: string,
32
+ version: string,
33
+ value: Uint8Array | string,
34
+ }
35
+ }
36
+
9
37
  export class GetSchemaRequest extends jspb.Message {
10
38
  getPackage(): string;
11
39
  setPackage(value: string): GetSchemaRequest;
12
40
  getVersion(): string;
13
41
  setVersion(value: string): GetSchemaRequest;
42
+ getDownloadUrl(): string;
43
+ setDownloadUrl(value: string): GetSchemaRequest;
44
+
45
+ hasParameterization(): boolean;
46
+ clearParameterization(): void;
47
+ getParameterization(): Parameterization | undefined;
48
+ setParameterization(value?: Parameterization): GetSchemaRequest;
14
49
 
15
50
  serializeBinary(): Uint8Array;
16
51
  toObject(includeInstance?: boolean): GetSchemaRequest.AsObject;
@@ -26,6 +61,8 @@ export namespace GetSchemaRequest {
26
61
  export type AsObject = {
27
62
  pb_package: string,
28
63
  version: string,
64
+ downloadUrl: string,
65
+ parameterization?: Parameterization.AsObject,
29
66
  }
30
67
  }
31
68
 
@@ -17,6 +17,28 @@ var proto = { pulumirpc: { codegen: { }, testing: { } } }, global = proto;
17
17
 
18
18
  goog.exportSymbol('proto.codegen.GetSchemaRequest', null, global);
19
19
  goog.exportSymbol('proto.codegen.GetSchemaResponse', null, global);
20
+ goog.exportSymbol('proto.codegen.Parameterization', null, global);
21
+ /**
22
+ * Generated by JsPbCodeGenerator.
23
+ * @param {Array=} opt_data Optional initial data array, typically from a
24
+ * server response, or constructed directly in Javascript. The array is used
25
+ * in place and becomes part of the constructed object. It is not cloned.
26
+ * If no data is provided, the constructed object will be empty, but still
27
+ * valid.
28
+ * @extends {jspb.Message}
29
+ * @constructor
30
+ */
31
+ proto.codegen.Parameterization = function(opt_data) {
32
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
33
+ };
34
+ goog.inherits(proto.codegen.Parameterization, jspb.Message);
35
+ if (goog.DEBUG && !COMPILED) {
36
+ /**
37
+ * @public
38
+ * @override
39
+ */
40
+ proto.codegen.Parameterization.displayName = 'proto.codegen.Parameterization';
41
+ }
20
42
  /**
21
43
  * Generated by JsPbCodeGenerator.
22
44
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -62,6 +84,220 @@ if (goog.DEBUG && !COMPILED) {
62
84
 
63
85
 
64
86
 
87
+ if (jspb.Message.GENERATE_TO_OBJECT) {
88
+ /**
89
+ * Creates an object representation of this proto.
90
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
91
+ * Optional fields that are not set will be set to undefined.
92
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
93
+ * For the list of reserved names please see:
94
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
95
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
96
+ * JSPB instance for transitional soy proto support:
97
+ * http://goto/soy-param-migration
98
+ * @return {!Object}
99
+ */
100
+ proto.codegen.Parameterization.prototype.toObject = function(opt_includeInstance) {
101
+ return proto.codegen.Parameterization.toObject(opt_includeInstance, this);
102
+ };
103
+
104
+
105
+ /**
106
+ * Static version of the {@see toObject} method.
107
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
108
+ * the JSPB instance for transitional soy proto support:
109
+ * http://goto/soy-param-migration
110
+ * @param {!proto.codegen.Parameterization} msg The msg instance to transform.
111
+ * @return {!Object}
112
+ * @suppress {unusedLocalVariables} f is only used for nested messages
113
+ */
114
+ proto.codegen.Parameterization.toObject = function(includeInstance, msg) {
115
+ var f, obj = {
116
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
117
+ version: jspb.Message.getFieldWithDefault(msg, 2, ""),
118
+ value: msg.getValue_asB64()
119
+ };
120
+
121
+ if (includeInstance) {
122
+ obj.$jspbMessageInstance = msg;
123
+ }
124
+ return obj;
125
+ };
126
+ }
127
+
128
+
129
+ /**
130
+ * Deserializes binary data (in protobuf wire format).
131
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
132
+ * @return {!proto.codegen.Parameterization}
133
+ */
134
+ proto.codegen.Parameterization.deserializeBinary = function(bytes) {
135
+ var reader = new jspb.BinaryReader(bytes);
136
+ var msg = new proto.codegen.Parameterization;
137
+ return proto.codegen.Parameterization.deserializeBinaryFromReader(msg, reader);
138
+ };
139
+
140
+
141
+ /**
142
+ * Deserializes binary data (in protobuf wire format) from the
143
+ * given reader into the given message object.
144
+ * @param {!proto.codegen.Parameterization} msg The message object to deserialize into.
145
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
146
+ * @return {!proto.codegen.Parameterization}
147
+ */
148
+ proto.codegen.Parameterization.deserializeBinaryFromReader = function(msg, reader) {
149
+ while (reader.nextField()) {
150
+ if (reader.isEndGroup()) {
151
+ break;
152
+ }
153
+ var field = reader.getFieldNumber();
154
+ switch (field) {
155
+ case 1:
156
+ var value = /** @type {string} */ (reader.readString());
157
+ msg.setName(value);
158
+ break;
159
+ case 2:
160
+ var value = /** @type {string} */ (reader.readString());
161
+ msg.setVersion(value);
162
+ break;
163
+ case 3:
164
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
165
+ msg.setValue(value);
166
+ break;
167
+ default:
168
+ reader.skipField();
169
+ break;
170
+ }
171
+ }
172
+ return msg;
173
+ };
174
+
175
+
176
+ /**
177
+ * Serializes the message to binary data (in protobuf wire format).
178
+ * @return {!Uint8Array}
179
+ */
180
+ proto.codegen.Parameterization.prototype.serializeBinary = function() {
181
+ var writer = new jspb.BinaryWriter();
182
+ proto.codegen.Parameterization.serializeBinaryToWriter(this, writer);
183
+ return writer.getResultBuffer();
184
+ };
185
+
186
+
187
+ /**
188
+ * Serializes the given message to binary data (in protobuf wire
189
+ * format), writing to the given BinaryWriter.
190
+ * @param {!proto.codegen.Parameterization} message
191
+ * @param {!jspb.BinaryWriter} writer
192
+ * @suppress {unusedLocalVariables} f is only used for nested messages
193
+ */
194
+ proto.codegen.Parameterization.serializeBinaryToWriter = function(message, writer) {
195
+ var f = undefined;
196
+ f = message.getName();
197
+ if (f.length > 0) {
198
+ writer.writeString(
199
+ 1,
200
+ f
201
+ );
202
+ }
203
+ f = message.getVersion();
204
+ if (f.length > 0) {
205
+ writer.writeString(
206
+ 2,
207
+ f
208
+ );
209
+ }
210
+ f = message.getValue_asU8();
211
+ if (f.length > 0) {
212
+ writer.writeBytes(
213
+ 3,
214
+ f
215
+ );
216
+ }
217
+ };
218
+
219
+
220
+ /**
221
+ * optional string name = 1;
222
+ * @return {string}
223
+ */
224
+ proto.codegen.Parameterization.prototype.getName = function() {
225
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
226
+ };
227
+
228
+
229
+ /**
230
+ * @param {string} value
231
+ * @return {!proto.codegen.Parameterization} returns this
232
+ */
233
+ proto.codegen.Parameterization.prototype.setName = function(value) {
234
+ return jspb.Message.setProto3StringField(this, 1, value);
235
+ };
236
+
237
+
238
+ /**
239
+ * optional string version = 2;
240
+ * @return {string}
241
+ */
242
+ proto.codegen.Parameterization.prototype.getVersion = function() {
243
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
244
+ };
245
+
246
+
247
+ /**
248
+ * @param {string} value
249
+ * @return {!proto.codegen.Parameterization} returns this
250
+ */
251
+ proto.codegen.Parameterization.prototype.setVersion = function(value) {
252
+ return jspb.Message.setProto3StringField(this, 2, value);
253
+ };
254
+
255
+
256
+ /**
257
+ * optional bytes value = 3;
258
+ * @return {!(string|Uint8Array)}
259
+ */
260
+ proto.codegen.Parameterization.prototype.getValue = function() {
261
+ return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
262
+ };
263
+
264
+
265
+ /**
266
+ * optional bytes value = 3;
267
+ * This is a type-conversion wrapper around `getValue()`
268
+ * @return {string}
269
+ */
270
+ proto.codegen.Parameterization.prototype.getValue_asB64 = function() {
271
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
272
+ this.getValue()));
273
+ };
274
+
275
+
276
+ /**
277
+ * optional bytes value = 3;
278
+ * Note that Uint8Array is not supported on all browsers.
279
+ * @see http://caniuse.com/Uint8Array
280
+ * This is a type-conversion wrapper around `getValue()`
281
+ * @return {!Uint8Array}
282
+ */
283
+ proto.codegen.Parameterization.prototype.getValue_asU8 = function() {
284
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
285
+ this.getValue()));
286
+ };
287
+
288
+
289
+ /**
290
+ * @param {!(string|Uint8Array)} value
291
+ * @return {!proto.codegen.Parameterization} returns this
292
+ */
293
+ proto.codegen.Parameterization.prototype.setValue = function(value) {
294
+ return jspb.Message.setProto3BytesField(this, 3, value);
295
+ };
296
+
297
+
298
+
299
+
300
+
65
301
  if (jspb.Message.GENERATE_TO_OBJECT) {
66
302
  /**
67
303
  * Creates an object representation of this proto.
@@ -92,7 +328,9 @@ proto.codegen.GetSchemaRequest.prototype.toObject = function(opt_includeInstance
92
328
  proto.codegen.GetSchemaRequest.toObject = function(includeInstance, msg) {
93
329
  var f, obj = {
94
330
  pb_package: jspb.Message.getFieldWithDefault(msg, 1, ""),
95
- version: jspb.Message.getFieldWithDefault(msg, 2, "")
331
+ version: jspb.Message.getFieldWithDefault(msg, 2, ""),
332
+ downloadUrl: jspb.Message.getFieldWithDefault(msg, 3, ""),
333
+ parameterization: (f = msg.getParameterization()) && proto.codegen.Parameterization.toObject(includeInstance, f)
96
334
  };
97
335
 
98
336
  if (includeInstance) {
@@ -137,6 +375,15 @@ proto.codegen.GetSchemaRequest.deserializeBinaryFromReader = function(msg, reade
137
375
  var value = /** @type {string} */ (reader.readString());
138
376
  msg.setVersion(value);
139
377
  break;
378
+ case 3:
379
+ var value = /** @type {string} */ (reader.readString());
380
+ msg.setDownloadUrl(value);
381
+ break;
382
+ case 4:
383
+ var value = new proto.codegen.Parameterization;
384
+ reader.readMessage(value,proto.codegen.Parameterization.deserializeBinaryFromReader);
385
+ msg.setParameterization(value);
386
+ break;
140
387
  default:
141
388
  reader.skipField();
142
389
  break;
@@ -180,6 +427,21 @@ proto.codegen.GetSchemaRequest.serializeBinaryToWriter = function(message, write
180
427
  f
181
428
  );
182
429
  }
430
+ f = message.getDownloadUrl();
431
+ if (f.length > 0) {
432
+ writer.writeString(
433
+ 3,
434
+ f
435
+ );
436
+ }
437
+ f = message.getParameterization();
438
+ if (f != null) {
439
+ writer.writeMessage(
440
+ 4,
441
+ f,
442
+ proto.codegen.Parameterization.serializeBinaryToWriter
443
+ );
444
+ }
183
445
  };
184
446
 
185
447
 
@@ -219,6 +481,61 @@ proto.codegen.GetSchemaRequest.prototype.setVersion = function(value) {
219
481
  };
220
482
 
221
483
 
484
+ /**
485
+ * optional string download_url = 3;
486
+ * @return {string}
487
+ */
488
+ proto.codegen.GetSchemaRequest.prototype.getDownloadUrl = function() {
489
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
490
+ };
491
+
492
+
493
+ /**
494
+ * @param {string} value
495
+ * @return {!proto.codegen.GetSchemaRequest} returns this
496
+ */
497
+ proto.codegen.GetSchemaRequest.prototype.setDownloadUrl = function(value) {
498
+ return jspb.Message.setProto3StringField(this, 3, value);
499
+ };
500
+
501
+
502
+ /**
503
+ * optional Parameterization parameterization = 4;
504
+ * @return {?proto.codegen.Parameterization}
505
+ */
506
+ proto.codegen.GetSchemaRequest.prototype.getParameterization = function() {
507
+ return /** @type{?proto.codegen.Parameterization} */ (
508
+ jspb.Message.getWrapperField(this, proto.codegen.Parameterization, 4));
509
+ };
510
+
511
+
512
+ /**
513
+ * @param {?proto.codegen.Parameterization|undefined} value
514
+ * @return {!proto.codegen.GetSchemaRequest} returns this
515
+ */
516
+ proto.codegen.GetSchemaRequest.prototype.setParameterization = function(value) {
517
+ return jspb.Message.setWrapperField(this, 4, value);
518
+ };
519
+
520
+
521
+ /**
522
+ * Clears the message field making it undefined.
523
+ * @return {!proto.codegen.GetSchemaRequest} returns this
524
+ */
525
+ proto.codegen.GetSchemaRequest.prototype.clearParameterization = function() {
526
+ return this.setParameterization(undefined);
527
+ };
528
+
529
+
530
+ /**
531
+ * Returns whether this field is set.
532
+ * @return {boolean}
533
+ */
534
+ proto.codegen.GetSchemaRequest.prototype.hasParameterization = function() {
535
+ return jspb.Message.getField(this, 4) != null;
536
+ };
537
+
538
+
222
539
 
223
540
 
224
541
 
@@ -267,6 +267,8 @@ export class RunRequest extends jspb.Message {
267
267
  clearInfo(): void;
268
268
  getInfo(): ProgramInfo | undefined;
269
269
  setInfo(value?: ProgramInfo): RunRequest;
270
+ getLoaderTarget(): string;
271
+ setLoaderTarget(value: string): RunRequest;
270
272
 
271
273
  serializeBinary(): Uint8Array;
272
274
  toObject(includeInstance?: boolean): RunRequest.AsObject;
@@ -295,6 +297,7 @@ export namespace RunRequest {
295
297
  organization: string,
296
298
  configpropertymap?: google_protobuf_struct_pb.Struct.AsObject,
297
299
  info?: ProgramInfo.AsObject,
300
+ loaderTarget: string,
298
301
  }
299
302
  }
300
303
 
@@ -2226,7 +2226,8 @@ proto.pulumirpc.RunRequest.toObject = function(includeInstance, msg) {
2226
2226
  configsecretkeysList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
2227
2227
  organization: jspb.Message.getFieldWithDefault(msg, 12, ""),
2228
2228
  configpropertymap: (f = msg.getConfigpropertymap()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
2229
- info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f)
2229
+ info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f),
2230
+ loaderTarget: jspb.Message.getFieldWithDefault(msg, 15, "")
2230
2231
  };
2231
2232
 
2232
2233
  if (includeInstance) {
@@ -2323,6 +2324,10 @@ proto.pulumirpc.RunRequest.deserializeBinaryFromReader = function(msg, reader) {
2323
2324
  reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
2324
2325
  msg.setInfo(value);
2325
2326
  break;
2327
+ case 15:
2328
+ var value = /** @type {string} */ (reader.readString());
2329
+ msg.setLoaderTarget(value);
2330
+ break;
2326
2331
  default:
2327
2332
  reader.skipField();
2328
2333
  break;
@@ -2449,6 +2454,13 @@ proto.pulumirpc.RunRequest.serializeBinaryToWriter = function(message, writer) {
2449
2454
  proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
2450
2455
  );
2451
2456
  }
2457
+ f = message.getLoaderTarget();
2458
+ if (f.length > 0) {
2459
+ writer.writeString(
2460
+ 15,
2461
+ f
2462
+ );
2463
+ }
2452
2464
  };
2453
2465
 
2454
2466
 
@@ -2784,6 +2796,24 @@ proto.pulumirpc.RunRequest.prototype.hasInfo = function() {
2784
2796
  };
2785
2797
 
2786
2798
 
2799
+ /**
2800
+ * optional string loader_target = 15;
2801
+ * @return {string}
2802
+ */
2803
+ proto.pulumirpc.RunRequest.prototype.getLoaderTarget = function() {
2804
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
2805
+ };
2806
+
2807
+
2808
+ /**
2809
+ * @param {string} value
2810
+ * @return {!proto.pulumirpc.RunRequest} returns this
2811
+ */
2812
+ proto.pulumirpc.RunRequest.prototype.setLoaderTarget = function(value) {
2813
+ return jspb.Message.setProto3StringField(this, 15, value);
2814
+ };
2815
+
2816
+
2787
2817
 
2788
2818
 
2789
2819
 
package/version.js CHANGED
@@ -13,5 +13,5 @@
13
13
  // See the License for the specific language governing permissions and
14
14
  // limitations under the License.
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.version = "3.130.1-alpha.x7e2ccd8";
16
+ exports.version = "3.130.1-alpha.xb52882e";
17
17
  //# sourceMappingURL=version.js.map