@pulumi/pulumi 3.142.1-alpha.x294f7f3 → 3.142.1-alpha.x76a6f96

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.
@@ -34,6 +34,8 @@ goog.exportSymbol('proto.pulumirpc.GenerateProjectRequest', null, global);
34
34
  goog.exportSymbol('proto.pulumirpc.GenerateProjectResponse', null, global);
35
35
  goog.exportSymbol('proto.pulumirpc.GetProgramDependenciesRequest', null, global);
36
36
  goog.exportSymbol('proto.pulumirpc.GetProgramDependenciesResponse', null, global);
37
+ goog.exportSymbol('proto.pulumirpc.GetRequiredPackagesRequest', null, global);
38
+ goog.exportSymbol('proto.pulumirpc.GetRequiredPackagesResponse', null, global);
37
39
  goog.exportSymbol('proto.pulumirpc.GetRequiredPluginsRequest', null, global);
38
40
  goog.exportSymbol('proto.pulumirpc.GetRequiredPluginsResponse', null, global);
39
41
  goog.exportSymbol('proto.pulumirpc.InstallDependenciesRequest', null, global);
@@ -219,6 +221,48 @@ if (goog.DEBUG && !COMPILED) {
219
221
  */
220
222
  proto.pulumirpc.GetRequiredPluginsResponse.displayName = 'proto.pulumirpc.GetRequiredPluginsResponse';
221
223
  }
224
+ /**
225
+ * Generated by JsPbCodeGenerator.
226
+ * @param {Array=} opt_data Optional initial data array, typically from a
227
+ * server response, or constructed directly in Javascript. The array is used
228
+ * in place and becomes part of the constructed object. It is not cloned.
229
+ * If no data is provided, the constructed object will be empty, but still
230
+ * valid.
231
+ * @extends {jspb.Message}
232
+ * @constructor
233
+ */
234
+ proto.pulumirpc.GetRequiredPackagesRequest = function(opt_data) {
235
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
236
+ };
237
+ goog.inherits(proto.pulumirpc.GetRequiredPackagesRequest, jspb.Message);
238
+ if (goog.DEBUG && !COMPILED) {
239
+ /**
240
+ * @public
241
+ * @override
242
+ */
243
+ proto.pulumirpc.GetRequiredPackagesRequest.displayName = 'proto.pulumirpc.GetRequiredPackagesRequest';
244
+ }
245
+ /**
246
+ * Generated by JsPbCodeGenerator.
247
+ * @param {Array=} opt_data Optional initial data array, typically from a
248
+ * server response, or constructed directly in Javascript. The array is used
249
+ * in place and becomes part of the constructed object. It is not cloned.
250
+ * If no data is provided, the constructed object will be empty, but still
251
+ * valid.
252
+ * @extends {jspb.Message}
253
+ * @constructor
254
+ */
255
+ proto.pulumirpc.GetRequiredPackagesResponse = function(opt_data) {
256
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.GetRequiredPackagesResponse.repeatedFields_, null);
257
+ };
258
+ goog.inherits(proto.pulumirpc.GetRequiredPackagesResponse, jspb.Message);
259
+ if (goog.DEBUG && !COMPILED) {
260
+ /**
261
+ * @public
262
+ * @override
263
+ */
264
+ proto.pulumirpc.GetRequiredPackagesResponse.displayName = 'proto.pulumirpc.GetRequiredPackagesResponse';
265
+ }
222
266
  /**
223
267
  * Generated by JsPbCodeGenerator.
224
268
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2175,6 +2219,317 @@ proto.pulumirpc.GetRequiredPluginsResponse.prototype.clearPluginsList = function
2175
2219
 
2176
2220
 
2177
2221
 
2222
+
2223
+
2224
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2225
+ /**
2226
+ * Creates an object representation of this proto.
2227
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2228
+ * Optional fields that are not set will be set to undefined.
2229
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2230
+ * For the list of reserved names please see:
2231
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2232
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2233
+ * JSPB instance for transitional soy proto support:
2234
+ * http://goto/soy-param-migration
2235
+ * @return {!Object}
2236
+ */
2237
+ proto.pulumirpc.GetRequiredPackagesRequest.prototype.toObject = function(opt_includeInstance) {
2238
+ return proto.pulumirpc.GetRequiredPackagesRequest.toObject(opt_includeInstance, this);
2239
+ };
2240
+
2241
+
2242
+ /**
2243
+ * Static version of the {@see toObject} method.
2244
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2245
+ * the JSPB instance for transitional soy proto support:
2246
+ * http://goto/soy-param-migration
2247
+ * @param {!proto.pulumirpc.GetRequiredPackagesRequest} msg The msg instance to transform.
2248
+ * @return {!Object}
2249
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2250
+ */
2251
+ proto.pulumirpc.GetRequiredPackagesRequest.toObject = function(includeInstance, msg) {
2252
+ var f, obj = {
2253
+ info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f)
2254
+ };
2255
+
2256
+ if (includeInstance) {
2257
+ obj.$jspbMessageInstance = msg;
2258
+ }
2259
+ return obj;
2260
+ };
2261
+ }
2262
+
2263
+
2264
+ /**
2265
+ * Deserializes binary data (in protobuf wire format).
2266
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2267
+ * @return {!proto.pulumirpc.GetRequiredPackagesRequest}
2268
+ */
2269
+ proto.pulumirpc.GetRequiredPackagesRequest.deserializeBinary = function(bytes) {
2270
+ var reader = new jspb.BinaryReader(bytes);
2271
+ var msg = new proto.pulumirpc.GetRequiredPackagesRequest;
2272
+ return proto.pulumirpc.GetRequiredPackagesRequest.deserializeBinaryFromReader(msg, reader);
2273
+ };
2274
+
2275
+
2276
+ /**
2277
+ * Deserializes binary data (in protobuf wire format) from the
2278
+ * given reader into the given message object.
2279
+ * @param {!proto.pulumirpc.GetRequiredPackagesRequest} msg The message object to deserialize into.
2280
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2281
+ * @return {!proto.pulumirpc.GetRequiredPackagesRequest}
2282
+ */
2283
+ proto.pulumirpc.GetRequiredPackagesRequest.deserializeBinaryFromReader = function(msg, reader) {
2284
+ while (reader.nextField()) {
2285
+ if (reader.isEndGroup()) {
2286
+ break;
2287
+ }
2288
+ var field = reader.getFieldNumber();
2289
+ switch (field) {
2290
+ case 1:
2291
+ var value = new proto.pulumirpc.ProgramInfo;
2292
+ reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
2293
+ msg.setInfo(value);
2294
+ break;
2295
+ default:
2296
+ reader.skipField();
2297
+ break;
2298
+ }
2299
+ }
2300
+ return msg;
2301
+ };
2302
+
2303
+
2304
+ /**
2305
+ * Serializes the message to binary data (in protobuf wire format).
2306
+ * @return {!Uint8Array}
2307
+ */
2308
+ proto.pulumirpc.GetRequiredPackagesRequest.prototype.serializeBinary = function() {
2309
+ var writer = new jspb.BinaryWriter();
2310
+ proto.pulumirpc.GetRequiredPackagesRequest.serializeBinaryToWriter(this, writer);
2311
+ return writer.getResultBuffer();
2312
+ };
2313
+
2314
+
2315
+ /**
2316
+ * Serializes the given message to binary data (in protobuf wire
2317
+ * format), writing to the given BinaryWriter.
2318
+ * @param {!proto.pulumirpc.GetRequiredPackagesRequest} message
2319
+ * @param {!jspb.BinaryWriter} writer
2320
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2321
+ */
2322
+ proto.pulumirpc.GetRequiredPackagesRequest.serializeBinaryToWriter = function(message, writer) {
2323
+ var f = undefined;
2324
+ f = message.getInfo();
2325
+ if (f != null) {
2326
+ writer.writeMessage(
2327
+ 1,
2328
+ f,
2329
+ proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
2330
+ );
2331
+ }
2332
+ };
2333
+
2334
+
2335
+ /**
2336
+ * optional ProgramInfo info = 1;
2337
+ * @return {?proto.pulumirpc.ProgramInfo}
2338
+ */
2339
+ proto.pulumirpc.GetRequiredPackagesRequest.prototype.getInfo = function() {
2340
+ return /** @type{?proto.pulumirpc.ProgramInfo} */ (
2341
+ jspb.Message.getWrapperField(this, proto.pulumirpc.ProgramInfo, 1));
2342
+ };
2343
+
2344
+
2345
+ /**
2346
+ * @param {?proto.pulumirpc.ProgramInfo|undefined} value
2347
+ * @return {!proto.pulumirpc.GetRequiredPackagesRequest} returns this
2348
+ */
2349
+ proto.pulumirpc.GetRequiredPackagesRequest.prototype.setInfo = function(value) {
2350
+ return jspb.Message.setWrapperField(this, 1, value);
2351
+ };
2352
+
2353
+
2354
+ /**
2355
+ * Clears the message field making it undefined.
2356
+ * @return {!proto.pulumirpc.GetRequiredPackagesRequest} returns this
2357
+ */
2358
+ proto.pulumirpc.GetRequiredPackagesRequest.prototype.clearInfo = function() {
2359
+ return this.setInfo(undefined);
2360
+ };
2361
+
2362
+
2363
+ /**
2364
+ * Returns whether this field is set.
2365
+ * @return {boolean}
2366
+ */
2367
+ proto.pulumirpc.GetRequiredPackagesRequest.prototype.hasInfo = function() {
2368
+ return jspb.Message.getField(this, 1) != null;
2369
+ };
2370
+
2371
+
2372
+
2373
+ /**
2374
+ * List of repeated fields within this message type.
2375
+ * @private {!Array<number>}
2376
+ * @const
2377
+ */
2378
+ proto.pulumirpc.GetRequiredPackagesResponse.repeatedFields_ = [1];
2379
+
2380
+
2381
+
2382
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2383
+ /**
2384
+ * Creates an object representation of this proto.
2385
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2386
+ * Optional fields that are not set will be set to undefined.
2387
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2388
+ * For the list of reserved names please see:
2389
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2390
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2391
+ * JSPB instance for transitional soy proto support:
2392
+ * http://goto/soy-param-migration
2393
+ * @return {!Object}
2394
+ */
2395
+ proto.pulumirpc.GetRequiredPackagesResponse.prototype.toObject = function(opt_includeInstance) {
2396
+ return proto.pulumirpc.GetRequiredPackagesResponse.toObject(opt_includeInstance, this);
2397
+ };
2398
+
2399
+
2400
+ /**
2401
+ * Static version of the {@see toObject} method.
2402
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2403
+ * the JSPB instance for transitional soy proto support:
2404
+ * http://goto/soy-param-migration
2405
+ * @param {!proto.pulumirpc.GetRequiredPackagesResponse} msg The msg instance to transform.
2406
+ * @return {!Object}
2407
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2408
+ */
2409
+ proto.pulumirpc.GetRequiredPackagesResponse.toObject = function(includeInstance, msg) {
2410
+ var f, obj = {
2411
+ packagesList: jspb.Message.toObjectList(msg.getPackagesList(),
2412
+ pulumi_plugin_pb.PackageDependency.toObject, includeInstance)
2413
+ };
2414
+
2415
+ if (includeInstance) {
2416
+ obj.$jspbMessageInstance = msg;
2417
+ }
2418
+ return obj;
2419
+ };
2420
+ }
2421
+
2422
+
2423
+ /**
2424
+ * Deserializes binary data (in protobuf wire format).
2425
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2426
+ * @return {!proto.pulumirpc.GetRequiredPackagesResponse}
2427
+ */
2428
+ proto.pulumirpc.GetRequiredPackagesResponse.deserializeBinary = function(bytes) {
2429
+ var reader = new jspb.BinaryReader(bytes);
2430
+ var msg = new proto.pulumirpc.GetRequiredPackagesResponse;
2431
+ return proto.pulumirpc.GetRequiredPackagesResponse.deserializeBinaryFromReader(msg, reader);
2432
+ };
2433
+
2434
+
2435
+ /**
2436
+ * Deserializes binary data (in protobuf wire format) from the
2437
+ * given reader into the given message object.
2438
+ * @param {!proto.pulumirpc.GetRequiredPackagesResponse} msg The message object to deserialize into.
2439
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2440
+ * @return {!proto.pulumirpc.GetRequiredPackagesResponse}
2441
+ */
2442
+ proto.pulumirpc.GetRequiredPackagesResponse.deserializeBinaryFromReader = function(msg, reader) {
2443
+ while (reader.nextField()) {
2444
+ if (reader.isEndGroup()) {
2445
+ break;
2446
+ }
2447
+ var field = reader.getFieldNumber();
2448
+ switch (field) {
2449
+ case 1:
2450
+ var value = new pulumi_plugin_pb.PackageDependency;
2451
+ reader.readMessage(value,pulumi_plugin_pb.PackageDependency.deserializeBinaryFromReader);
2452
+ msg.addPackages(value);
2453
+ break;
2454
+ default:
2455
+ reader.skipField();
2456
+ break;
2457
+ }
2458
+ }
2459
+ return msg;
2460
+ };
2461
+
2462
+
2463
+ /**
2464
+ * Serializes the message to binary data (in protobuf wire format).
2465
+ * @return {!Uint8Array}
2466
+ */
2467
+ proto.pulumirpc.GetRequiredPackagesResponse.prototype.serializeBinary = function() {
2468
+ var writer = new jspb.BinaryWriter();
2469
+ proto.pulumirpc.GetRequiredPackagesResponse.serializeBinaryToWriter(this, writer);
2470
+ return writer.getResultBuffer();
2471
+ };
2472
+
2473
+
2474
+ /**
2475
+ * Serializes the given message to binary data (in protobuf wire
2476
+ * format), writing to the given BinaryWriter.
2477
+ * @param {!proto.pulumirpc.GetRequiredPackagesResponse} message
2478
+ * @param {!jspb.BinaryWriter} writer
2479
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2480
+ */
2481
+ proto.pulumirpc.GetRequiredPackagesResponse.serializeBinaryToWriter = function(message, writer) {
2482
+ var f = undefined;
2483
+ f = message.getPackagesList();
2484
+ if (f.length > 0) {
2485
+ writer.writeRepeatedMessage(
2486
+ 1,
2487
+ f,
2488
+ pulumi_plugin_pb.PackageDependency.serializeBinaryToWriter
2489
+ );
2490
+ }
2491
+ };
2492
+
2493
+
2494
+ /**
2495
+ * repeated PackageDependency packages = 1;
2496
+ * @return {!Array<!proto.pulumirpc.PackageDependency>}
2497
+ */
2498
+ proto.pulumirpc.GetRequiredPackagesResponse.prototype.getPackagesList = function() {
2499
+ return /** @type{!Array<!proto.pulumirpc.PackageDependency>} */ (
2500
+ jspb.Message.getRepeatedWrapperField(this, pulumi_plugin_pb.PackageDependency, 1));
2501
+ };
2502
+
2503
+
2504
+ /**
2505
+ * @param {!Array<!proto.pulumirpc.PackageDependency>} value
2506
+ * @return {!proto.pulumirpc.GetRequiredPackagesResponse} returns this
2507
+ */
2508
+ proto.pulumirpc.GetRequiredPackagesResponse.prototype.setPackagesList = function(value) {
2509
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2510
+ };
2511
+
2512
+
2513
+ /**
2514
+ * @param {!proto.pulumirpc.PackageDependency=} opt_value
2515
+ * @param {number=} opt_index
2516
+ * @return {!proto.pulumirpc.PackageDependency}
2517
+ */
2518
+ proto.pulumirpc.GetRequiredPackagesResponse.prototype.addPackages = function(opt_value, opt_index) {
2519
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.pulumirpc.PackageDependency, opt_index);
2520
+ };
2521
+
2522
+
2523
+ /**
2524
+ * Clears the list making it empty but non-null.
2525
+ * @return {!proto.pulumirpc.GetRequiredPackagesResponse} returns this
2526
+ */
2527
+ proto.pulumirpc.GetRequiredPackagesResponse.prototype.clearPackagesList = function() {
2528
+ return this.setPackagesList([]);
2529
+ };
2530
+
2531
+
2532
+
2178
2533
  /**
2179
2534
  * List of repeated fields within this message type.
2180
2535
  * @private {!Array<number>}
@@ -79,3 +79,71 @@ export namespace PluginAttach {
79
79
  address: string,
80
80
  }
81
81
  }
82
+
83
+ export class PackageParameterization extends jspb.Message {
84
+ getName(): string;
85
+ setName(value: string): PackageParameterization;
86
+ getVersion(): string;
87
+ setVersion(value: string): PackageParameterization;
88
+ getValue(): Uint8Array | string;
89
+ getValue_asU8(): Uint8Array;
90
+ getValue_asB64(): string;
91
+ setValue(value: Uint8Array | string): PackageParameterization;
92
+
93
+ serializeBinary(): Uint8Array;
94
+ toObject(includeInstance?: boolean): PackageParameterization.AsObject;
95
+ static toObject(includeInstance: boolean, msg: PackageParameterization): PackageParameterization.AsObject;
96
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
97
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
98
+ static serializeBinaryToWriter(message: PackageParameterization, writer: jspb.BinaryWriter): void;
99
+ static deserializeBinary(bytes: Uint8Array): PackageParameterization;
100
+ static deserializeBinaryFromReader(message: PackageParameterization, reader: jspb.BinaryReader): PackageParameterization;
101
+ }
102
+
103
+ export namespace PackageParameterization {
104
+ export type AsObject = {
105
+ name: string,
106
+ version: string,
107
+ value: Uint8Array | string,
108
+ }
109
+ }
110
+
111
+ export class PackageDependency extends jspb.Message {
112
+ getName(): string;
113
+ setName(value: string): PackageDependency;
114
+ getKind(): string;
115
+ setKind(value: string): PackageDependency;
116
+ getVersion(): string;
117
+ setVersion(value: string): PackageDependency;
118
+ getServer(): string;
119
+ setServer(value: string): PackageDependency;
120
+
121
+ getChecksumsMap(): jspb.Map<string, Uint8Array | string>;
122
+ clearChecksumsMap(): void;
123
+
124
+ hasParameterization(): boolean;
125
+ clearParameterization(): void;
126
+ getParameterization(): PackageParameterization | undefined;
127
+ setParameterization(value?: PackageParameterization): PackageDependency;
128
+
129
+ serializeBinary(): Uint8Array;
130
+ toObject(includeInstance?: boolean): PackageDependency.AsObject;
131
+ static toObject(includeInstance: boolean, msg: PackageDependency): PackageDependency.AsObject;
132
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
133
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
134
+ static serializeBinaryToWriter(message: PackageDependency, writer: jspb.BinaryWriter): void;
135
+ static deserializeBinary(bytes: Uint8Array): PackageDependency;
136
+ static deserializeBinaryFromReader(message: PackageDependency, reader: jspb.BinaryReader): PackageDependency;
137
+ }
138
+
139
+ export namespace PackageDependency {
140
+ export type AsObject = {
141
+ name: string,
142
+ kind: string,
143
+ version: string,
144
+ server: string,
145
+
146
+ checksumsMap: Array<[string, Uint8Array | string]>,
147
+ parameterization?: PackageParameterization.AsObject,
148
+ }
149
+ }