@pulumi/pulumi 3.190.0-alpha.x1189a7d → 3.190.0-alpha.x155bb56

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.
@@ -13,13 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
16
+ var proto = { pulumirpc: { codegen: { }, testing: { } } }, global = proto;
23
17
 
24
18
  var pulumi_codegen_hcl_pb = require('./codegen/hcl_pb.js');
25
19
  goog.object.extend(proto, pulumi_codegen_hcl_pb);
@@ -172,8 +166,8 @@ proto.pulumirpc.ConvertStateRequest.prototype.toObject = function(opt_includeIns
172
166
  */
173
167
  proto.pulumirpc.ConvertStateRequest.toObject = function(includeInstance, msg) {
174
168
  var f, obj = {
175
- mapperTarget: jspb.Message.getFieldWithDefault(msg, 1, ""),
176
- argsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
169
+ mapperTarget: jspb.Message.getFieldWithDefault(msg, 1, ""),
170
+ argsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
177
171
  };
178
172
 
179
173
  if (includeInstance) {
@@ -351,14 +345,14 @@ proto.pulumirpc.ResourceImport.prototype.toObject = function(opt_includeInstance
351
345
  */
352
346
  proto.pulumirpc.ResourceImport.toObject = function(includeInstance, msg) {
353
347
  var f, obj = {
354
- type: jspb.Message.getFieldWithDefault(msg, 1, ""),
355
- name: jspb.Message.getFieldWithDefault(msg, 2, ""),
356
- id: jspb.Message.getFieldWithDefault(msg, 3, ""),
357
- version: jspb.Message.getFieldWithDefault(msg, 4, ""),
358
- plugindownloadurl: jspb.Message.getFieldWithDefault(msg, 5, ""),
359
- logicalName: jspb.Message.getFieldWithDefault(msg, 6, ""),
360
- isComponent: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
361
- isRemote: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
348
+ type: jspb.Message.getFieldWithDefault(msg, 1, ""),
349
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
350
+ id: jspb.Message.getFieldWithDefault(msg, 3, ""),
351
+ version: jspb.Message.getFieldWithDefault(msg, 4, ""),
352
+ plugindownloadurl: jspb.Message.getFieldWithDefault(msg, 5, ""),
353
+ logicalName: jspb.Message.getFieldWithDefault(msg, 6, ""),
354
+ isComponent: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
355
+ isRemote: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
362
356
  };
363
357
 
364
358
  if (includeInstance) {
@@ -698,9 +692,9 @@ proto.pulumirpc.ConvertStateResponse.prototype.toObject = function(opt_includeIn
698
692
  */
699
693
  proto.pulumirpc.ConvertStateResponse.toObject = function(includeInstance, msg) {
700
694
  var f, obj = {
701
- resourcesList: jspb.Message.toObjectList(msg.getResourcesList(),
695
+ resourcesList: jspb.Message.toObjectList(msg.getResourcesList(),
702
696
  proto.pulumirpc.ResourceImport.toObject, includeInstance),
703
- diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
697
+ diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
704
698
  pulumi_codegen_hcl_pb.Diagnostic.toObject, includeInstance)
705
699
  };
706
700
 
@@ -911,12 +905,12 @@ proto.pulumirpc.ConvertProgramRequest.prototype.toObject = function(opt_includeI
911
905
  */
912
906
  proto.pulumirpc.ConvertProgramRequest.toObject = function(includeInstance, msg) {
913
907
  var f, obj = {
914
- sourceDirectory: jspb.Message.getFieldWithDefault(msg, 1, ""),
915
- targetDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
916
- mapperTarget: jspb.Message.getFieldWithDefault(msg, 3, ""),
917
- loaderTarget: jspb.Message.getFieldWithDefault(msg, 4, ""),
918
- argsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
919
- generatedProjectDirectory: jspb.Message.getFieldWithDefault(msg, 6, "")
908
+ sourceDirectory: jspb.Message.getFieldWithDefault(msg, 1, ""),
909
+ targetDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
910
+ mapperTarget: jspb.Message.getFieldWithDefault(msg, 3, ""),
911
+ loaderTarget: jspb.Message.getFieldWithDefault(msg, 4, ""),
912
+ argsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
913
+ generatedProjectDirectory: jspb.Message.getFieldWithDefault(msg, 6, "")
920
914
  };
921
915
 
922
916
  if (includeInstance) {
@@ -1217,7 +1211,7 @@ proto.pulumirpc.ConvertProgramResponse.prototype.toObject = function(opt_include
1217
1211
  */
1218
1212
  proto.pulumirpc.ConvertProgramResponse.toObject = function(includeInstance, msg) {
1219
1213
  var f, obj = {
1220
- diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
1214
+ diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
1221
1215
  pulumi_codegen_hcl_pb.Diagnostic.toObject, includeInstance)
1222
1216
  };
1223
1217
 
@@ -155,4 +155,4 @@ startDebugging: {
155
155
  },
156
156
  };
157
157
 
158
- exports.EngineClient = grpc.makeGenericClientConstructor(EngineService, 'Engine');
158
+ exports.EngineClient = grpc.makeGenericClientConstructor(EngineService);
@@ -13,13 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
16
+ var proto = { pulumirpc: { codegen: { }, testing: { } } }, global = proto;
23
17
 
24
18
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
25
19
  goog.object.extend(proto, google_protobuf_empty_pb);
@@ -190,11 +184,11 @@ proto.pulumirpc.LogRequest.prototype.toObject = function(opt_includeInstance) {
190
184
  */
191
185
  proto.pulumirpc.LogRequest.toObject = function(includeInstance, msg) {
192
186
  var f, obj = {
193
- severity: jspb.Message.getFieldWithDefault(msg, 1, 0),
194
- message: jspb.Message.getFieldWithDefault(msg, 2, ""),
195
- urn: jspb.Message.getFieldWithDefault(msg, 3, ""),
196
- streamid: jspb.Message.getFieldWithDefault(msg, 4, 0),
197
- ephemeral: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
187
+ severity: jspb.Message.getFieldWithDefault(msg, 1, 0),
188
+ message: jspb.Message.getFieldWithDefault(msg, 2, ""),
189
+ urn: jspb.Message.getFieldWithDefault(msg, 3, ""),
190
+ streamid: jspb.Message.getFieldWithDefault(msg, 4, 0),
191
+ ephemeral: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
198
192
  };
199
193
 
200
194
  if (includeInstance) {
@@ -541,7 +535,7 @@ proto.pulumirpc.GetRootResourceResponse.prototype.toObject = function(opt_includ
541
535
  */
542
536
  proto.pulumirpc.GetRootResourceResponse.toObject = function(includeInstance, msg) {
543
537
  var f, obj = {
544
- urn: jspb.Message.getFieldWithDefault(msg, 1, "")
538
+ urn: jspb.Message.getFieldWithDefault(msg, 1, "")
545
539
  };
546
540
 
547
541
  if (includeInstance) {
@@ -671,7 +665,7 @@ proto.pulumirpc.SetRootResourceRequest.prototype.toObject = function(opt_include
671
665
  */
672
666
  proto.pulumirpc.SetRootResourceRequest.toObject = function(includeInstance, msg) {
673
667
  var f, obj = {
674
- urn: jspb.Message.getFieldWithDefault(msg, 1, "")
668
+ urn: jspb.Message.getFieldWithDefault(msg, 1, "")
675
669
  };
676
670
 
677
671
  if (includeInstance) {
@@ -902,8 +896,8 @@ proto.pulumirpc.StartDebuggingRequest.prototype.toObject = function(opt_includeI
902
896
  */
903
897
  proto.pulumirpc.StartDebuggingRequest.toObject = function(includeInstance, msg) {
904
898
  var f, obj = {
905
- config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
906
- message: jspb.Message.getFieldWithDefault(msg, 2, "")
899
+ config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
900
+ message: jspb.Message.getFieldWithDefault(msg, 2, "")
907
901
  };
908
902
 
909
903
  if (includeInstance) {
@@ -13,13 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
16
+ var proto = { pulumirpc: { codegen: { }, testing: { } } }, global = proto;
23
17
 
24
18
  goog.exportSymbol('proto.pulumirpc.ErrorCause', null, global);
25
19
  goog.exportSymbol('proto.pulumirpc.InputPropertiesError', null, global);
@@ -119,8 +113,8 @@ proto.pulumirpc.ErrorCause.prototype.toObject = function(opt_includeInstance) {
119
113
  */
120
114
  proto.pulumirpc.ErrorCause.toObject = function(includeInstance, msg) {
121
115
  var f, obj = {
122
- message: jspb.Message.getFieldWithDefault(msg, 1, ""),
123
- stacktrace: jspb.Message.getFieldWithDefault(msg, 2, "")
116
+ message: jspb.Message.getFieldWithDefault(msg, 1, ""),
117
+ stacktrace: jspb.Message.getFieldWithDefault(msg, 2, "")
124
118
  };
125
119
 
126
120
  if (includeInstance) {
@@ -286,7 +280,7 @@ proto.pulumirpc.InputPropertiesError.prototype.toObject = function(opt_includeIn
286
280
  */
287
281
  proto.pulumirpc.InputPropertiesError.toObject = function(includeInstance, msg) {
288
282
  var f, obj = {
289
- errorsList: jspb.Message.toObjectList(msg.getErrorsList(),
283
+ errorsList: jspb.Message.toObjectList(msg.getErrorsList(),
290
284
  proto.pulumirpc.InputPropertiesError.PropertyError.toObject, includeInstance)
291
285
  };
292
286
 
@@ -401,8 +395,8 @@ proto.pulumirpc.InputPropertiesError.PropertyError.prototype.toObject = function
401
395
  */
402
396
  proto.pulumirpc.InputPropertiesError.PropertyError.toObject = function(includeInstance, msg) {
403
397
  var f, obj = {
404
- propertyPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
405
- reason: jspb.Message.getFieldWithDefault(msg, 2, "")
398
+ propertyPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
399
+ reason: jspb.Message.getFieldWithDefault(msg, 2, "")
406
400
  };
407
401
 
408
402
  if (includeInstance) {
@@ -595,4 +595,4 @@ cancel: {
595
595
  },
596
596
  };
597
597
 
598
- exports.LanguageRuntimeClient = grpc.makeGenericClientConstructor(LanguageRuntimeService, 'LanguageRuntime');
598
+ exports.LanguageRuntimeClient = grpc.makeGenericClientConstructor(LanguageRuntimeService);