@pulumi/pulumi 3.96.2 → 3.97.0
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/automation/localWorkspace.d.ts +16 -0
- package/automation/localWorkspace.js +42 -0
- package/automation/localWorkspace.js.map +1 -1
- package/automation/stack.d.ts +14 -0
- package/automation/stack.js +22 -0
- package/automation/stack.js.map +1 -1
- package/automation/workspace.d.ts +16 -0
- package/package.json +2 -1
- package/proto/language_pb.d.ts +67 -0
- package/proto/language_pb.js +523 -5
- package/provider/server.js +1 -1
- package/provider/server.js.map +1 -1
- package/tests/automation/data/nested_config/Pulumi.dev.yaml +1 -2
- package/tests/automation/localWorkspace.spec.js +40 -7
- package/tests/automation/localWorkspace.spec.js.map +1 -1
- package/tests/automation/util.js +2 -1
- package/tests/automation/util.js.map +1 -1
- package/tests/runtime/langhost/run.spec.js +85 -67
- package/tests/runtime/langhost/run.spec.js.map +1 -1
- package/version.js +1 -1
package/proto/language_pb.js
CHANGED
|
@@ -39,11 +39,33 @@ goog.exportSymbol('proto.pulumirpc.InstallDependenciesRequest', null, global);
|
|
|
39
39
|
goog.exportSymbol('proto.pulumirpc.InstallDependenciesResponse', null, global);
|
|
40
40
|
goog.exportSymbol('proto.pulumirpc.PackRequest', null, global);
|
|
41
41
|
goog.exportSymbol('proto.pulumirpc.PackResponse', null, global);
|
|
42
|
+
goog.exportSymbol('proto.pulumirpc.ProgramInfo', null, global);
|
|
42
43
|
goog.exportSymbol('proto.pulumirpc.RunPluginRequest', null, global);
|
|
43
44
|
goog.exportSymbol('proto.pulumirpc.RunPluginResponse', null, global);
|
|
44
45
|
goog.exportSymbol('proto.pulumirpc.RunPluginResponse.OutputCase', null, global);
|
|
45
46
|
goog.exportSymbol('proto.pulumirpc.RunRequest', null, global);
|
|
46
47
|
goog.exportSymbol('proto.pulumirpc.RunResponse', null, global);
|
|
48
|
+
/**
|
|
49
|
+
* Generated by JsPbCodeGenerator.
|
|
50
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
51
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
52
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
53
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
54
|
+
* valid.
|
|
55
|
+
* @extends {jspb.Message}
|
|
56
|
+
* @constructor
|
|
57
|
+
*/
|
|
58
|
+
proto.pulumirpc.ProgramInfo = function(opt_data) {
|
|
59
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
60
|
+
};
|
|
61
|
+
goog.inherits(proto.pulumirpc.ProgramInfo, jspb.Message);
|
|
62
|
+
if (goog.DEBUG && !COMPILED) {
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
* @override
|
|
66
|
+
*/
|
|
67
|
+
proto.pulumirpc.ProgramInfo.displayName = 'proto.pulumirpc.ProgramInfo';
|
|
68
|
+
}
|
|
47
69
|
/**
|
|
48
70
|
* Generated by JsPbCodeGenerator.
|
|
49
71
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -467,6 +489,247 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
467
489
|
|
|
468
490
|
|
|
469
491
|
|
|
492
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
493
|
+
/**
|
|
494
|
+
* Creates an object representation of this proto.
|
|
495
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
496
|
+
* Optional fields that are not set will be set to undefined.
|
|
497
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
498
|
+
* For the list of reserved names please see:
|
|
499
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
500
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
501
|
+
* JSPB instance for transitional soy proto support:
|
|
502
|
+
* http://goto/soy-param-migration
|
|
503
|
+
* @return {!Object}
|
|
504
|
+
*/
|
|
505
|
+
proto.pulumirpc.ProgramInfo.prototype.toObject = function(opt_includeInstance) {
|
|
506
|
+
return proto.pulumirpc.ProgramInfo.toObject(opt_includeInstance, this);
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Static version of the {@see toObject} method.
|
|
512
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
513
|
+
* the JSPB instance for transitional soy proto support:
|
|
514
|
+
* http://goto/soy-param-migration
|
|
515
|
+
* @param {!proto.pulumirpc.ProgramInfo} msg The msg instance to transform.
|
|
516
|
+
* @return {!Object}
|
|
517
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
518
|
+
*/
|
|
519
|
+
proto.pulumirpc.ProgramInfo.toObject = function(includeInstance, msg) {
|
|
520
|
+
var f, obj = {
|
|
521
|
+
rootDirectory: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
522
|
+
programDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
523
|
+
entryPoint: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
524
|
+
options: (f = msg.getOptions()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
if (includeInstance) {
|
|
528
|
+
obj.$jspbMessageInstance = msg;
|
|
529
|
+
}
|
|
530
|
+
return obj;
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Deserializes binary data (in protobuf wire format).
|
|
537
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
538
|
+
* @return {!proto.pulumirpc.ProgramInfo}
|
|
539
|
+
*/
|
|
540
|
+
proto.pulumirpc.ProgramInfo.deserializeBinary = function(bytes) {
|
|
541
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
542
|
+
var msg = new proto.pulumirpc.ProgramInfo;
|
|
543
|
+
return proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader(msg, reader);
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
549
|
+
* given reader into the given message object.
|
|
550
|
+
* @param {!proto.pulumirpc.ProgramInfo} msg The message object to deserialize into.
|
|
551
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
552
|
+
* @return {!proto.pulumirpc.ProgramInfo}
|
|
553
|
+
*/
|
|
554
|
+
proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
555
|
+
while (reader.nextField()) {
|
|
556
|
+
if (reader.isEndGroup()) {
|
|
557
|
+
break;
|
|
558
|
+
}
|
|
559
|
+
var field = reader.getFieldNumber();
|
|
560
|
+
switch (field) {
|
|
561
|
+
case 1:
|
|
562
|
+
var value = /** @type {string} */ (reader.readString());
|
|
563
|
+
msg.setRootDirectory(value);
|
|
564
|
+
break;
|
|
565
|
+
case 2:
|
|
566
|
+
var value = /** @type {string} */ (reader.readString());
|
|
567
|
+
msg.setProgramDirectory(value);
|
|
568
|
+
break;
|
|
569
|
+
case 3:
|
|
570
|
+
var value = /** @type {string} */ (reader.readString());
|
|
571
|
+
msg.setEntryPoint(value);
|
|
572
|
+
break;
|
|
573
|
+
case 4:
|
|
574
|
+
var value = new google_protobuf_struct_pb.Struct;
|
|
575
|
+
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
576
|
+
msg.setOptions(value);
|
|
577
|
+
break;
|
|
578
|
+
default:
|
|
579
|
+
reader.skipField();
|
|
580
|
+
break;
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
return msg;
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
589
|
+
* @return {!Uint8Array}
|
|
590
|
+
*/
|
|
591
|
+
proto.pulumirpc.ProgramInfo.prototype.serializeBinary = function() {
|
|
592
|
+
var writer = new jspb.BinaryWriter();
|
|
593
|
+
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter(this, writer);
|
|
594
|
+
return writer.getResultBuffer();
|
|
595
|
+
};
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
600
|
+
* format), writing to the given BinaryWriter.
|
|
601
|
+
* @param {!proto.pulumirpc.ProgramInfo} message
|
|
602
|
+
* @param {!jspb.BinaryWriter} writer
|
|
603
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
604
|
+
*/
|
|
605
|
+
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter = function(message, writer) {
|
|
606
|
+
var f = undefined;
|
|
607
|
+
f = message.getRootDirectory();
|
|
608
|
+
if (f.length > 0) {
|
|
609
|
+
writer.writeString(
|
|
610
|
+
1,
|
|
611
|
+
f
|
|
612
|
+
);
|
|
613
|
+
}
|
|
614
|
+
f = message.getProgramDirectory();
|
|
615
|
+
if (f.length > 0) {
|
|
616
|
+
writer.writeString(
|
|
617
|
+
2,
|
|
618
|
+
f
|
|
619
|
+
);
|
|
620
|
+
}
|
|
621
|
+
f = message.getEntryPoint();
|
|
622
|
+
if (f.length > 0) {
|
|
623
|
+
writer.writeString(
|
|
624
|
+
3,
|
|
625
|
+
f
|
|
626
|
+
);
|
|
627
|
+
}
|
|
628
|
+
f = message.getOptions();
|
|
629
|
+
if (f != null) {
|
|
630
|
+
writer.writeMessage(
|
|
631
|
+
4,
|
|
632
|
+
f,
|
|
633
|
+
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
634
|
+
);
|
|
635
|
+
}
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* optional string root_directory = 1;
|
|
641
|
+
* @return {string}
|
|
642
|
+
*/
|
|
643
|
+
proto.pulumirpc.ProgramInfo.prototype.getRootDirectory = function() {
|
|
644
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* @param {string} value
|
|
650
|
+
* @return {!proto.pulumirpc.ProgramInfo} returns this
|
|
651
|
+
*/
|
|
652
|
+
proto.pulumirpc.ProgramInfo.prototype.setRootDirectory = function(value) {
|
|
653
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
654
|
+
};
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* optional string program_directory = 2;
|
|
659
|
+
* @return {string}
|
|
660
|
+
*/
|
|
661
|
+
proto.pulumirpc.ProgramInfo.prototype.getProgramDirectory = function() {
|
|
662
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* @param {string} value
|
|
668
|
+
* @return {!proto.pulumirpc.ProgramInfo} returns this
|
|
669
|
+
*/
|
|
670
|
+
proto.pulumirpc.ProgramInfo.prototype.setProgramDirectory = function(value) {
|
|
671
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
672
|
+
};
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* optional string entry_point = 3;
|
|
677
|
+
* @return {string}
|
|
678
|
+
*/
|
|
679
|
+
proto.pulumirpc.ProgramInfo.prototype.getEntryPoint = function() {
|
|
680
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
681
|
+
};
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* @param {string} value
|
|
686
|
+
* @return {!proto.pulumirpc.ProgramInfo} returns this
|
|
687
|
+
*/
|
|
688
|
+
proto.pulumirpc.ProgramInfo.prototype.setEntryPoint = function(value) {
|
|
689
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* optional google.protobuf.Struct options = 4;
|
|
695
|
+
* @return {?proto.google.protobuf.Struct}
|
|
696
|
+
*/
|
|
697
|
+
proto.pulumirpc.ProgramInfo.prototype.getOptions = function() {
|
|
698
|
+
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
699
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 4));
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
705
|
+
* @return {!proto.pulumirpc.ProgramInfo} returns this
|
|
706
|
+
*/
|
|
707
|
+
proto.pulumirpc.ProgramInfo.prototype.setOptions = function(value) {
|
|
708
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Clears the message field making it undefined.
|
|
714
|
+
* @return {!proto.pulumirpc.ProgramInfo} returns this
|
|
715
|
+
*/
|
|
716
|
+
proto.pulumirpc.ProgramInfo.prototype.clearOptions = function() {
|
|
717
|
+
return this.setOptions(undefined);
|
|
718
|
+
};
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Returns whether this field is set.
|
|
723
|
+
* @return {boolean}
|
|
724
|
+
*/
|
|
725
|
+
proto.pulumirpc.ProgramInfo.prototype.hasOptions = function() {
|
|
726
|
+
return jspb.Message.getField(this, 4) != null;
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
470
733
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
471
734
|
/**
|
|
472
735
|
* Creates an object representation of this proto.
|
|
@@ -692,7 +955,8 @@ proto.pulumirpc.GetProgramDependenciesRequest.toObject = function(includeInstanc
|
|
|
692
955
|
project: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
693
956
|
pwd: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
694
957
|
program: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
695
|
-
transitivedependencies: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
958
|
+
transitivedependencies: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
959
|
+
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f)
|
|
696
960
|
};
|
|
697
961
|
|
|
698
962
|
if (includeInstance) {
|
|
@@ -745,6 +1009,11 @@ proto.pulumirpc.GetProgramDependenciesRequest.deserializeBinaryFromReader = func
|
|
|
745
1009
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
746
1010
|
msg.setTransitivedependencies(value);
|
|
747
1011
|
break;
|
|
1012
|
+
case 5:
|
|
1013
|
+
var value = new proto.pulumirpc.ProgramInfo;
|
|
1014
|
+
reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
|
|
1015
|
+
msg.setInfo(value);
|
|
1016
|
+
break;
|
|
748
1017
|
default:
|
|
749
1018
|
reader.skipField();
|
|
750
1019
|
break;
|
|
@@ -802,6 +1071,14 @@ proto.pulumirpc.GetProgramDependenciesRequest.serializeBinaryToWriter = function
|
|
|
802
1071
|
f
|
|
803
1072
|
);
|
|
804
1073
|
}
|
|
1074
|
+
f = message.getInfo();
|
|
1075
|
+
if (f != null) {
|
|
1076
|
+
writer.writeMessage(
|
|
1077
|
+
5,
|
|
1078
|
+
f,
|
|
1079
|
+
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
|
|
1080
|
+
);
|
|
1081
|
+
}
|
|
805
1082
|
};
|
|
806
1083
|
|
|
807
1084
|
|
|
@@ -877,6 +1154,43 @@ proto.pulumirpc.GetProgramDependenciesRequest.prototype.setTransitivedependencie
|
|
|
877
1154
|
};
|
|
878
1155
|
|
|
879
1156
|
|
|
1157
|
+
/**
|
|
1158
|
+
* optional ProgramInfo info = 5;
|
|
1159
|
+
* @return {?proto.pulumirpc.ProgramInfo}
|
|
1160
|
+
*/
|
|
1161
|
+
proto.pulumirpc.GetProgramDependenciesRequest.prototype.getInfo = function() {
|
|
1162
|
+
return /** @type{?proto.pulumirpc.ProgramInfo} */ (
|
|
1163
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ProgramInfo, 5));
|
|
1164
|
+
};
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
/**
|
|
1168
|
+
* @param {?proto.pulumirpc.ProgramInfo|undefined} value
|
|
1169
|
+
* @return {!proto.pulumirpc.GetProgramDependenciesRequest} returns this
|
|
1170
|
+
*/
|
|
1171
|
+
proto.pulumirpc.GetProgramDependenciesRequest.prototype.setInfo = function(value) {
|
|
1172
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* Clears the message field making it undefined.
|
|
1178
|
+
* @return {!proto.pulumirpc.GetProgramDependenciesRequest} returns this
|
|
1179
|
+
*/
|
|
1180
|
+
proto.pulumirpc.GetProgramDependenciesRequest.prototype.clearInfo = function() {
|
|
1181
|
+
return this.setInfo(undefined);
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* Returns whether this field is set.
|
|
1187
|
+
* @return {boolean}
|
|
1188
|
+
*/
|
|
1189
|
+
proto.pulumirpc.GetProgramDependenciesRequest.prototype.hasInfo = function() {
|
|
1190
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1191
|
+
};
|
|
1192
|
+
|
|
1193
|
+
|
|
880
1194
|
|
|
881
1195
|
|
|
882
1196
|
|
|
@@ -1231,7 +1545,8 @@ proto.pulumirpc.GetRequiredPluginsRequest.toObject = function(includeInstance, m
|
|
|
1231
1545
|
var f, obj = {
|
|
1232
1546
|
project: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1233
1547
|
pwd: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1234
|
-
program: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1548
|
+
program: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1549
|
+
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f)
|
|
1235
1550
|
};
|
|
1236
1551
|
|
|
1237
1552
|
if (includeInstance) {
|
|
@@ -1280,6 +1595,11 @@ proto.pulumirpc.GetRequiredPluginsRequest.deserializeBinaryFromReader = function
|
|
|
1280
1595
|
var value = /** @type {string} */ (reader.readString());
|
|
1281
1596
|
msg.setProgram(value);
|
|
1282
1597
|
break;
|
|
1598
|
+
case 4:
|
|
1599
|
+
var value = new proto.pulumirpc.ProgramInfo;
|
|
1600
|
+
reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
|
|
1601
|
+
msg.setInfo(value);
|
|
1602
|
+
break;
|
|
1283
1603
|
default:
|
|
1284
1604
|
reader.skipField();
|
|
1285
1605
|
break;
|
|
@@ -1330,6 +1650,14 @@ proto.pulumirpc.GetRequiredPluginsRequest.serializeBinaryToWriter = function(mes
|
|
|
1330
1650
|
f
|
|
1331
1651
|
);
|
|
1332
1652
|
}
|
|
1653
|
+
f = message.getInfo();
|
|
1654
|
+
if (f != null) {
|
|
1655
|
+
writer.writeMessage(
|
|
1656
|
+
4,
|
|
1657
|
+
f,
|
|
1658
|
+
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
|
|
1659
|
+
);
|
|
1660
|
+
}
|
|
1333
1661
|
};
|
|
1334
1662
|
|
|
1335
1663
|
|
|
@@ -1387,6 +1715,43 @@ proto.pulumirpc.GetRequiredPluginsRequest.prototype.setProgram = function(value)
|
|
|
1387
1715
|
};
|
|
1388
1716
|
|
|
1389
1717
|
|
|
1718
|
+
/**
|
|
1719
|
+
* optional ProgramInfo info = 4;
|
|
1720
|
+
* @return {?proto.pulumirpc.ProgramInfo}
|
|
1721
|
+
*/
|
|
1722
|
+
proto.pulumirpc.GetRequiredPluginsRequest.prototype.getInfo = function() {
|
|
1723
|
+
return /** @type{?proto.pulumirpc.ProgramInfo} */ (
|
|
1724
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ProgramInfo, 4));
|
|
1725
|
+
};
|
|
1726
|
+
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* @param {?proto.pulumirpc.ProgramInfo|undefined} value
|
|
1730
|
+
* @return {!proto.pulumirpc.GetRequiredPluginsRequest} returns this
|
|
1731
|
+
*/
|
|
1732
|
+
proto.pulumirpc.GetRequiredPluginsRequest.prototype.setInfo = function(value) {
|
|
1733
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1734
|
+
};
|
|
1735
|
+
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* Clears the message field making it undefined.
|
|
1739
|
+
* @return {!proto.pulumirpc.GetRequiredPluginsRequest} returns this
|
|
1740
|
+
*/
|
|
1741
|
+
proto.pulumirpc.GetRequiredPluginsRequest.prototype.clearInfo = function() {
|
|
1742
|
+
return this.setInfo(undefined);
|
|
1743
|
+
};
|
|
1744
|
+
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* Returns whether this field is set.
|
|
1748
|
+
* @return {boolean}
|
|
1749
|
+
*/
|
|
1750
|
+
proto.pulumirpc.GetRequiredPluginsRequest.prototype.hasInfo = function() {
|
|
1751
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1752
|
+
};
|
|
1753
|
+
|
|
1754
|
+
|
|
1390
1755
|
|
|
1391
1756
|
/**
|
|
1392
1757
|
* List of repeated fields within this message type.
|
|
@@ -1598,7 +1963,8 @@ proto.pulumirpc.RunRequest.toObject = function(includeInstance, msg) {
|
|
|
1598
1963
|
querymode: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
1599
1964
|
configsecretkeysList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
1600
1965
|
organization: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
1601
|
-
configpropertymap: (f = msg.getConfigpropertymap()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
1966
|
+
configpropertymap: (f = msg.getConfigpropertymap()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
1967
|
+
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f)
|
|
1602
1968
|
};
|
|
1603
1969
|
|
|
1604
1970
|
if (includeInstance) {
|
|
@@ -1690,6 +2056,11 @@ proto.pulumirpc.RunRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1690
2056
|
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
1691
2057
|
msg.setConfigpropertymap(value);
|
|
1692
2058
|
break;
|
|
2059
|
+
case 14:
|
|
2060
|
+
var value = new proto.pulumirpc.ProgramInfo;
|
|
2061
|
+
reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
|
|
2062
|
+
msg.setInfo(value);
|
|
2063
|
+
break;
|
|
1693
2064
|
default:
|
|
1694
2065
|
reader.skipField();
|
|
1695
2066
|
break;
|
|
@@ -1808,6 +2179,14 @@ proto.pulumirpc.RunRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
1808
2179
|
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
1809
2180
|
);
|
|
1810
2181
|
}
|
|
2182
|
+
f = message.getInfo();
|
|
2183
|
+
if (f != null) {
|
|
2184
|
+
writer.writeMessage(
|
|
2185
|
+
14,
|
|
2186
|
+
f,
|
|
2187
|
+
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
|
|
2188
|
+
);
|
|
2189
|
+
}
|
|
1811
2190
|
};
|
|
1812
2191
|
|
|
1813
2192
|
|
|
@@ -2106,6 +2485,43 @@ proto.pulumirpc.RunRequest.prototype.hasConfigpropertymap = function() {
|
|
|
2106
2485
|
};
|
|
2107
2486
|
|
|
2108
2487
|
|
|
2488
|
+
/**
|
|
2489
|
+
* optional ProgramInfo info = 14;
|
|
2490
|
+
* @return {?proto.pulumirpc.ProgramInfo}
|
|
2491
|
+
*/
|
|
2492
|
+
proto.pulumirpc.RunRequest.prototype.getInfo = function() {
|
|
2493
|
+
return /** @type{?proto.pulumirpc.ProgramInfo} */ (
|
|
2494
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ProgramInfo, 14));
|
|
2495
|
+
};
|
|
2496
|
+
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
2499
|
+
* @param {?proto.pulumirpc.ProgramInfo|undefined} value
|
|
2500
|
+
* @return {!proto.pulumirpc.RunRequest} returns this
|
|
2501
|
+
*/
|
|
2502
|
+
proto.pulumirpc.RunRequest.prototype.setInfo = function(value) {
|
|
2503
|
+
return jspb.Message.setWrapperField(this, 14, value);
|
|
2504
|
+
};
|
|
2505
|
+
|
|
2506
|
+
|
|
2507
|
+
/**
|
|
2508
|
+
* Clears the message field making it undefined.
|
|
2509
|
+
* @return {!proto.pulumirpc.RunRequest} returns this
|
|
2510
|
+
*/
|
|
2511
|
+
proto.pulumirpc.RunRequest.prototype.clearInfo = function() {
|
|
2512
|
+
return this.setInfo(undefined);
|
|
2513
|
+
};
|
|
2514
|
+
|
|
2515
|
+
|
|
2516
|
+
/**
|
|
2517
|
+
* Returns whether this field is set.
|
|
2518
|
+
* @return {boolean}
|
|
2519
|
+
*/
|
|
2520
|
+
proto.pulumirpc.RunRequest.prototype.hasInfo = function() {
|
|
2521
|
+
return jspb.Message.getField(this, 14) != null;
|
|
2522
|
+
};
|
|
2523
|
+
|
|
2524
|
+
|
|
2109
2525
|
|
|
2110
2526
|
|
|
2111
2527
|
|
|
@@ -2299,7 +2715,8 @@ proto.pulumirpc.InstallDependenciesRequest.prototype.toObject = function(opt_inc
|
|
|
2299
2715
|
proto.pulumirpc.InstallDependenciesRequest.toObject = function(includeInstance, msg) {
|
|
2300
2716
|
var f, obj = {
|
|
2301
2717
|
directory: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2302
|
-
isTerminal: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
2718
|
+
isTerminal: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
2719
|
+
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f)
|
|
2303
2720
|
};
|
|
2304
2721
|
|
|
2305
2722
|
if (includeInstance) {
|
|
@@ -2344,6 +2761,11 @@ proto.pulumirpc.InstallDependenciesRequest.deserializeBinaryFromReader = functio
|
|
|
2344
2761
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2345
2762
|
msg.setIsTerminal(value);
|
|
2346
2763
|
break;
|
|
2764
|
+
case 3:
|
|
2765
|
+
var value = new proto.pulumirpc.ProgramInfo;
|
|
2766
|
+
reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
|
|
2767
|
+
msg.setInfo(value);
|
|
2768
|
+
break;
|
|
2347
2769
|
default:
|
|
2348
2770
|
reader.skipField();
|
|
2349
2771
|
break;
|
|
@@ -2387,6 +2809,14 @@ proto.pulumirpc.InstallDependenciesRequest.serializeBinaryToWriter = function(me
|
|
|
2387
2809
|
f
|
|
2388
2810
|
);
|
|
2389
2811
|
}
|
|
2812
|
+
f = message.getInfo();
|
|
2813
|
+
if (f != null) {
|
|
2814
|
+
writer.writeMessage(
|
|
2815
|
+
3,
|
|
2816
|
+
f,
|
|
2817
|
+
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
|
|
2818
|
+
);
|
|
2819
|
+
}
|
|
2390
2820
|
};
|
|
2391
2821
|
|
|
2392
2822
|
|
|
@@ -2426,6 +2856,43 @@ proto.pulumirpc.InstallDependenciesRequest.prototype.setIsTerminal = function(va
|
|
|
2426
2856
|
};
|
|
2427
2857
|
|
|
2428
2858
|
|
|
2859
|
+
/**
|
|
2860
|
+
* optional ProgramInfo info = 3;
|
|
2861
|
+
* @return {?proto.pulumirpc.ProgramInfo}
|
|
2862
|
+
*/
|
|
2863
|
+
proto.pulumirpc.InstallDependenciesRequest.prototype.getInfo = function() {
|
|
2864
|
+
return /** @type{?proto.pulumirpc.ProgramInfo} */ (
|
|
2865
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ProgramInfo, 3));
|
|
2866
|
+
};
|
|
2867
|
+
|
|
2868
|
+
|
|
2869
|
+
/**
|
|
2870
|
+
* @param {?proto.pulumirpc.ProgramInfo|undefined} value
|
|
2871
|
+
* @return {!proto.pulumirpc.InstallDependenciesRequest} returns this
|
|
2872
|
+
*/
|
|
2873
|
+
proto.pulumirpc.InstallDependenciesRequest.prototype.setInfo = function(value) {
|
|
2874
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
2875
|
+
};
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
/**
|
|
2879
|
+
* Clears the message field making it undefined.
|
|
2880
|
+
* @return {!proto.pulumirpc.InstallDependenciesRequest} returns this
|
|
2881
|
+
*/
|
|
2882
|
+
proto.pulumirpc.InstallDependenciesRequest.prototype.clearInfo = function() {
|
|
2883
|
+
return this.setInfo(undefined);
|
|
2884
|
+
};
|
|
2885
|
+
|
|
2886
|
+
|
|
2887
|
+
/**
|
|
2888
|
+
* Returns whether this field is set.
|
|
2889
|
+
* @return {boolean}
|
|
2890
|
+
*/
|
|
2891
|
+
proto.pulumirpc.InstallDependenciesRequest.prototype.hasInfo = function() {
|
|
2892
|
+
return jspb.Message.getField(this, 3) != null;
|
|
2893
|
+
};
|
|
2894
|
+
|
|
2895
|
+
|
|
2429
2896
|
|
|
2430
2897
|
|
|
2431
2898
|
|
|
@@ -2676,7 +3143,8 @@ proto.pulumirpc.RunPluginRequest.toObject = function(includeInstance, msg) {
|
|
|
2676
3143
|
pwd: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2677
3144
|
program: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2678
3145
|
argsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
2679
|
-
envList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
3146
|
+
envList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
3147
|
+
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f)
|
|
2680
3148
|
};
|
|
2681
3149
|
|
|
2682
3150
|
if (includeInstance) {
|
|
@@ -2729,6 +3197,11 @@ proto.pulumirpc.RunPluginRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
2729
3197
|
var value = /** @type {string} */ (reader.readString());
|
|
2730
3198
|
msg.addEnv(value);
|
|
2731
3199
|
break;
|
|
3200
|
+
case 5:
|
|
3201
|
+
var value = new proto.pulumirpc.ProgramInfo;
|
|
3202
|
+
reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
|
|
3203
|
+
msg.setInfo(value);
|
|
3204
|
+
break;
|
|
2732
3205
|
default:
|
|
2733
3206
|
reader.skipField();
|
|
2734
3207
|
break;
|
|
@@ -2786,6 +3259,14 @@ proto.pulumirpc.RunPluginRequest.serializeBinaryToWriter = function(message, wri
|
|
|
2786
3259
|
f
|
|
2787
3260
|
);
|
|
2788
3261
|
}
|
|
3262
|
+
f = message.getInfo();
|
|
3263
|
+
if (f != null) {
|
|
3264
|
+
writer.writeMessage(
|
|
3265
|
+
5,
|
|
3266
|
+
f,
|
|
3267
|
+
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
|
|
3268
|
+
);
|
|
3269
|
+
}
|
|
2789
3270
|
};
|
|
2790
3271
|
|
|
2791
3272
|
|
|
@@ -2899,6 +3380,43 @@ proto.pulumirpc.RunPluginRequest.prototype.clearEnvList = function() {
|
|
|
2899
3380
|
};
|
|
2900
3381
|
|
|
2901
3382
|
|
|
3383
|
+
/**
|
|
3384
|
+
* optional ProgramInfo info = 5;
|
|
3385
|
+
* @return {?proto.pulumirpc.ProgramInfo}
|
|
3386
|
+
*/
|
|
3387
|
+
proto.pulumirpc.RunPluginRequest.prototype.getInfo = function() {
|
|
3388
|
+
return /** @type{?proto.pulumirpc.ProgramInfo} */ (
|
|
3389
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ProgramInfo, 5));
|
|
3390
|
+
};
|
|
3391
|
+
|
|
3392
|
+
|
|
3393
|
+
/**
|
|
3394
|
+
* @param {?proto.pulumirpc.ProgramInfo|undefined} value
|
|
3395
|
+
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
3396
|
+
*/
|
|
3397
|
+
proto.pulumirpc.RunPluginRequest.prototype.setInfo = function(value) {
|
|
3398
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
3399
|
+
};
|
|
3400
|
+
|
|
3401
|
+
|
|
3402
|
+
/**
|
|
3403
|
+
* Clears the message field making it undefined.
|
|
3404
|
+
* @return {!proto.pulumirpc.RunPluginRequest} returns this
|
|
3405
|
+
*/
|
|
3406
|
+
proto.pulumirpc.RunPluginRequest.prototype.clearInfo = function() {
|
|
3407
|
+
return this.setInfo(undefined);
|
|
3408
|
+
};
|
|
3409
|
+
|
|
3410
|
+
|
|
3411
|
+
/**
|
|
3412
|
+
* Returns whether this field is set.
|
|
3413
|
+
* @return {boolean}
|
|
3414
|
+
*/
|
|
3415
|
+
proto.pulumirpc.RunPluginRequest.prototype.hasInfo = function() {
|
|
3416
|
+
return jspb.Message.getField(this, 5) != null;
|
|
3417
|
+
};
|
|
3418
|
+
|
|
3419
|
+
|
|
2902
3420
|
|
|
2903
3421
|
/**
|
|
2904
3422
|
* Oneof group definitions for this message. Each group defines the field
|
package/provider/server.js
CHANGED
|
@@ -203,7 +203,7 @@ class Server {
|
|
|
203
203
|
const result = yield this.provider.read(id, req.getUrn(), props);
|
|
204
204
|
resp.setId(result.id);
|
|
205
205
|
resp.setProperties(structproto.Struct.fromJavaScript(result.props));
|
|
206
|
-
resp.setInputs(structproto.Struct.fromJavaScript(result.inputs));
|
|
206
|
+
resp.setInputs(result.inputs === undefined ? undefined : structproto.Struct.fromJavaScript(result.inputs));
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
209
209
|
// In the event of a missing read, simply return back the input state.
|