@pulumi/pulumi 3.142.1-alpha.xffff19d → 3.143.0-alpha.xfd2b278
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/cmd/run/tracing.js +2 -2
- package/cmd/run/tracing.js.map +1 -1
- package/package.json +8 -8
- package/proto/language_grpc_pb.d.ts +34 -0
- package/proto/language_grpc_pb.js +70 -0
- package/proto/language_pb.d.ts +94 -0
- package/proto/language_pb.js +1747 -1021
- package/proto/plugin_pb.d.ts +68 -0
- package/proto/plugin_pb.js +562 -0
- package/proto/provider_grpc_pb.js +20 -2
- package/proto/provider_pb.d.ts +10 -4
- package/proto/provider_pb.js +42 -6
- package/provider/provider.d.ts +7 -0
- package/provider/server.js +18 -2
- package/provider/server.js.map +1 -1
- package/runtime/resource.js +58 -37
- package/runtime/resource.js.map +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/proto/plugin_pb.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/proto/plugin_pb.js
CHANGED
|
@@ -15,6 +15,8 @@ var jspb = require('google-protobuf');
|
|
|
15
15
|
var goog = jspb;
|
|
16
16
|
var proto = { pulumirpc: { codegen: { }, testing: { } } }, global = proto;
|
|
17
17
|
|
|
18
|
+
goog.exportSymbol('proto.pulumirpc.PackageDependency', null, global);
|
|
19
|
+
goog.exportSymbol('proto.pulumirpc.PackageParameterization', null, global);
|
|
18
20
|
goog.exportSymbol('proto.pulumirpc.PluginAttach', null, global);
|
|
19
21
|
goog.exportSymbol('proto.pulumirpc.PluginDependency', null, global);
|
|
20
22
|
goog.exportSymbol('proto.pulumirpc.PluginInfo', null, global);
|
|
@@ -81,6 +83,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
81
83
|
*/
|
|
82
84
|
proto.pulumirpc.PluginAttach.displayName = 'proto.pulumirpc.PluginAttach';
|
|
83
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* Generated by JsPbCodeGenerator.
|
|
88
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
89
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
90
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
91
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
92
|
+
* valid.
|
|
93
|
+
* @extends {jspb.Message}
|
|
94
|
+
* @constructor
|
|
95
|
+
*/
|
|
96
|
+
proto.pulumirpc.PackageParameterization = function(opt_data) {
|
|
97
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
98
|
+
};
|
|
99
|
+
goog.inherits(proto.pulumirpc.PackageParameterization, jspb.Message);
|
|
100
|
+
if (goog.DEBUG && !COMPILED) {
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
* @override
|
|
104
|
+
*/
|
|
105
|
+
proto.pulumirpc.PackageParameterization.displayName = 'proto.pulumirpc.PackageParameterization';
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Generated by JsPbCodeGenerator.
|
|
109
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
110
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
111
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
112
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
113
|
+
* valid.
|
|
114
|
+
* @extends {jspb.Message}
|
|
115
|
+
* @constructor
|
|
116
|
+
*/
|
|
117
|
+
proto.pulumirpc.PackageDependency = function(opt_data) {
|
|
118
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
119
|
+
};
|
|
120
|
+
goog.inherits(proto.pulumirpc.PackageDependency, jspb.Message);
|
|
121
|
+
if (goog.DEBUG && !COMPILED) {
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
* @override
|
|
125
|
+
*/
|
|
126
|
+
proto.pulumirpc.PackageDependency.displayName = 'proto.pulumirpc.PackageDependency';
|
|
127
|
+
}
|
|
84
128
|
|
|
85
129
|
|
|
86
130
|
|
|
@@ -594,4 +638,522 @@ proto.pulumirpc.PluginAttach.prototype.setAddress = function(value) {
|
|
|
594
638
|
};
|
|
595
639
|
|
|
596
640
|
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
645
|
+
/**
|
|
646
|
+
* Creates an object representation of this proto.
|
|
647
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
648
|
+
* Optional fields that are not set will be set to undefined.
|
|
649
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
650
|
+
* For the list of reserved names please see:
|
|
651
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
652
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
653
|
+
* JSPB instance for transitional soy proto support:
|
|
654
|
+
* http://goto/soy-param-migration
|
|
655
|
+
* @return {!Object}
|
|
656
|
+
*/
|
|
657
|
+
proto.pulumirpc.PackageParameterization.prototype.toObject = function(opt_includeInstance) {
|
|
658
|
+
return proto.pulumirpc.PackageParameterization.toObject(opt_includeInstance, this);
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Static version of the {@see toObject} method.
|
|
664
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
665
|
+
* the JSPB instance for transitional soy proto support:
|
|
666
|
+
* http://goto/soy-param-migration
|
|
667
|
+
* @param {!proto.pulumirpc.PackageParameterization} msg The msg instance to transform.
|
|
668
|
+
* @return {!Object}
|
|
669
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
670
|
+
*/
|
|
671
|
+
proto.pulumirpc.PackageParameterization.toObject = function(includeInstance, msg) {
|
|
672
|
+
var f, obj = {
|
|
673
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
674
|
+
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
675
|
+
value: msg.getValue_asB64()
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
if (includeInstance) {
|
|
679
|
+
obj.$jspbMessageInstance = msg;
|
|
680
|
+
}
|
|
681
|
+
return obj;
|
|
682
|
+
};
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Deserializes binary data (in protobuf wire format).
|
|
688
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
689
|
+
* @return {!proto.pulumirpc.PackageParameterization}
|
|
690
|
+
*/
|
|
691
|
+
proto.pulumirpc.PackageParameterization.deserializeBinary = function(bytes) {
|
|
692
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
693
|
+
var msg = new proto.pulumirpc.PackageParameterization;
|
|
694
|
+
return proto.pulumirpc.PackageParameterization.deserializeBinaryFromReader(msg, reader);
|
|
695
|
+
};
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
700
|
+
* given reader into the given message object.
|
|
701
|
+
* @param {!proto.pulumirpc.PackageParameterization} msg The message object to deserialize into.
|
|
702
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
703
|
+
* @return {!proto.pulumirpc.PackageParameterization}
|
|
704
|
+
*/
|
|
705
|
+
proto.pulumirpc.PackageParameterization.deserializeBinaryFromReader = function(msg, reader) {
|
|
706
|
+
while (reader.nextField()) {
|
|
707
|
+
if (reader.isEndGroup()) {
|
|
708
|
+
break;
|
|
709
|
+
}
|
|
710
|
+
var field = reader.getFieldNumber();
|
|
711
|
+
switch (field) {
|
|
712
|
+
case 1:
|
|
713
|
+
var value = /** @type {string} */ (reader.readString());
|
|
714
|
+
msg.setName(value);
|
|
715
|
+
break;
|
|
716
|
+
case 2:
|
|
717
|
+
var value = /** @type {string} */ (reader.readString());
|
|
718
|
+
msg.setVersion(value);
|
|
719
|
+
break;
|
|
720
|
+
case 3:
|
|
721
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
722
|
+
msg.setValue(value);
|
|
723
|
+
break;
|
|
724
|
+
default:
|
|
725
|
+
reader.skipField();
|
|
726
|
+
break;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
return msg;
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
735
|
+
* @return {!Uint8Array}
|
|
736
|
+
*/
|
|
737
|
+
proto.pulumirpc.PackageParameterization.prototype.serializeBinary = function() {
|
|
738
|
+
var writer = new jspb.BinaryWriter();
|
|
739
|
+
proto.pulumirpc.PackageParameterization.serializeBinaryToWriter(this, writer);
|
|
740
|
+
return writer.getResultBuffer();
|
|
741
|
+
};
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
746
|
+
* format), writing to the given BinaryWriter.
|
|
747
|
+
* @param {!proto.pulumirpc.PackageParameterization} message
|
|
748
|
+
* @param {!jspb.BinaryWriter} writer
|
|
749
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
750
|
+
*/
|
|
751
|
+
proto.pulumirpc.PackageParameterization.serializeBinaryToWriter = function(message, writer) {
|
|
752
|
+
var f = undefined;
|
|
753
|
+
f = message.getName();
|
|
754
|
+
if (f.length > 0) {
|
|
755
|
+
writer.writeString(
|
|
756
|
+
1,
|
|
757
|
+
f
|
|
758
|
+
);
|
|
759
|
+
}
|
|
760
|
+
f = message.getVersion();
|
|
761
|
+
if (f.length > 0) {
|
|
762
|
+
writer.writeString(
|
|
763
|
+
2,
|
|
764
|
+
f
|
|
765
|
+
);
|
|
766
|
+
}
|
|
767
|
+
f = message.getValue_asU8();
|
|
768
|
+
if (f.length > 0) {
|
|
769
|
+
writer.writeBytes(
|
|
770
|
+
3,
|
|
771
|
+
f
|
|
772
|
+
);
|
|
773
|
+
}
|
|
774
|
+
};
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* optional string name = 1;
|
|
779
|
+
* @return {string}
|
|
780
|
+
*/
|
|
781
|
+
proto.pulumirpc.PackageParameterization.prototype.getName = function() {
|
|
782
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
783
|
+
};
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* @param {string} value
|
|
788
|
+
* @return {!proto.pulumirpc.PackageParameterization} returns this
|
|
789
|
+
*/
|
|
790
|
+
proto.pulumirpc.PackageParameterization.prototype.setName = function(value) {
|
|
791
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
792
|
+
};
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* optional string version = 2;
|
|
797
|
+
* @return {string}
|
|
798
|
+
*/
|
|
799
|
+
proto.pulumirpc.PackageParameterization.prototype.getVersion = function() {
|
|
800
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* @param {string} value
|
|
806
|
+
* @return {!proto.pulumirpc.PackageParameterization} returns this
|
|
807
|
+
*/
|
|
808
|
+
proto.pulumirpc.PackageParameterization.prototype.setVersion = function(value) {
|
|
809
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* optional bytes value = 3;
|
|
815
|
+
* @return {!(string|Uint8Array)}
|
|
816
|
+
*/
|
|
817
|
+
proto.pulumirpc.PackageParameterization.prototype.getValue = function() {
|
|
818
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* optional bytes value = 3;
|
|
824
|
+
* This is a type-conversion wrapper around `getValue()`
|
|
825
|
+
* @return {string}
|
|
826
|
+
*/
|
|
827
|
+
proto.pulumirpc.PackageParameterization.prototype.getValue_asB64 = function() {
|
|
828
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
829
|
+
this.getValue()));
|
|
830
|
+
};
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* optional bytes value = 3;
|
|
835
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
836
|
+
* @see http://caniuse.com/Uint8Array
|
|
837
|
+
* This is a type-conversion wrapper around `getValue()`
|
|
838
|
+
* @return {!Uint8Array}
|
|
839
|
+
*/
|
|
840
|
+
proto.pulumirpc.PackageParameterization.prototype.getValue_asU8 = function() {
|
|
841
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
842
|
+
this.getValue()));
|
|
843
|
+
};
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* @param {!(string|Uint8Array)} value
|
|
848
|
+
* @return {!proto.pulumirpc.PackageParameterization} returns this
|
|
849
|
+
*/
|
|
850
|
+
proto.pulumirpc.PackageParameterization.prototype.setValue = function(value) {
|
|
851
|
+
return jspb.Message.setProto3BytesField(this, 3, value);
|
|
852
|
+
};
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
859
|
+
/**
|
|
860
|
+
* Creates an object representation of this proto.
|
|
861
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
862
|
+
* Optional fields that are not set will be set to undefined.
|
|
863
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
864
|
+
* For the list of reserved names please see:
|
|
865
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
866
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
867
|
+
* JSPB instance for transitional soy proto support:
|
|
868
|
+
* http://goto/soy-param-migration
|
|
869
|
+
* @return {!Object}
|
|
870
|
+
*/
|
|
871
|
+
proto.pulumirpc.PackageDependency.prototype.toObject = function(opt_includeInstance) {
|
|
872
|
+
return proto.pulumirpc.PackageDependency.toObject(opt_includeInstance, this);
|
|
873
|
+
};
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Static version of the {@see toObject} method.
|
|
878
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
879
|
+
* the JSPB instance for transitional soy proto support:
|
|
880
|
+
* http://goto/soy-param-migration
|
|
881
|
+
* @param {!proto.pulumirpc.PackageDependency} msg The msg instance to transform.
|
|
882
|
+
* @return {!Object}
|
|
883
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
884
|
+
*/
|
|
885
|
+
proto.pulumirpc.PackageDependency.toObject = function(includeInstance, msg) {
|
|
886
|
+
var f, obj = {
|
|
887
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
888
|
+
kind: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
889
|
+
version: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
890
|
+
server: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
891
|
+
checksumsMap: (f = msg.getChecksumsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
892
|
+
parameterization: (f = msg.getParameterization()) && proto.pulumirpc.PackageParameterization.toObject(includeInstance, f)
|
|
893
|
+
};
|
|
894
|
+
|
|
895
|
+
if (includeInstance) {
|
|
896
|
+
obj.$jspbMessageInstance = msg;
|
|
897
|
+
}
|
|
898
|
+
return obj;
|
|
899
|
+
};
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Deserializes binary data (in protobuf wire format).
|
|
905
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
906
|
+
* @return {!proto.pulumirpc.PackageDependency}
|
|
907
|
+
*/
|
|
908
|
+
proto.pulumirpc.PackageDependency.deserializeBinary = function(bytes) {
|
|
909
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
910
|
+
var msg = new proto.pulumirpc.PackageDependency;
|
|
911
|
+
return proto.pulumirpc.PackageDependency.deserializeBinaryFromReader(msg, reader);
|
|
912
|
+
};
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
917
|
+
* given reader into the given message object.
|
|
918
|
+
* @param {!proto.pulumirpc.PackageDependency} msg The message object to deserialize into.
|
|
919
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
920
|
+
* @return {!proto.pulumirpc.PackageDependency}
|
|
921
|
+
*/
|
|
922
|
+
proto.pulumirpc.PackageDependency.deserializeBinaryFromReader = function(msg, reader) {
|
|
923
|
+
while (reader.nextField()) {
|
|
924
|
+
if (reader.isEndGroup()) {
|
|
925
|
+
break;
|
|
926
|
+
}
|
|
927
|
+
var field = reader.getFieldNumber();
|
|
928
|
+
switch (field) {
|
|
929
|
+
case 1:
|
|
930
|
+
var value = /** @type {string} */ (reader.readString());
|
|
931
|
+
msg.setName(value);
|
|
932
|
+
break;
|
|
933
|
+
case 2:
|
|
934
|
+
var value = /** @type {string} */ (reader.readString());
|
|
935
|
+
msg.setKind(value);
|
|
936
|
+
break;
|
|
937
|
+
case 3:
|
|
938
|
+
var value = /** @type {string} */ (reader.readString());
|
|
939
|
+
msg.setVersion(value);
|
|
940
|
+
break;
|
|
941
|
+
case 4:
|
|
942
|
+
var value = /** @type {string} */ (reader.readString());
|
|
943
|
+
msg.setServer(value);
|
|
944
|
+
break;
|
|
945
|
+
case 5:
|
|
946
|
+
var value = msg.getChecksumsMap();
|
|
947
|
+
reader.readMessage(value, function(message, reader) {
|
|
948
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBytes, null, "", "");
|
|
949
|
+
});
|
|
950
|
+
break;
|
|
951
|
+
case 6:
|
|
952
|
+
var value = new proto.pulumirpc.PackageParameterization;
|
|
953
|
+
reader.readMessage(value,proto.pulumirpc.PackageParameterization.deserializeBinaryFromReader);
|
|
954
|
+
msg.setParameterization(value);
|
|
955
|
+
break;
|
|
956
|
+
default:
|
|
957
|
+
reader.skipField();
|
|
958
|
+
break;
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
return msg;
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
967
|
+
* @return {!Uint8Array}
|
|
968
|
+
*/
|
|
969
|
+
proto.pulumirpc.PackageDependency.prototype.serializeBinary = function() {
|
|
970
|
+
var writer = new jspb.BinaryWriter();
|
|
971
|
+
proto.pulumirpc.PackageDependency.serializeBinaryToWriter(this, writer);
|
|
972
|
+
return writer.getResultBuffer();
|
|
973
|
+
};
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
978
|
+
* format), writing to the given BinaryWriter.
|
|
979
|
+
* @param {!proto.pulumirpc.PackageDependency} message
|
|
980
|
+
* @param {!jspb.BinaryWriter} writer
|
|
981
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
982
|
+
*/
|
|
983
|
+
proto.pulumirpc.PackageDependency.serializeBinaryToWriter = function(message, writer) {
|
|
984
|
+
var f = undefined;
|
|
985
|
+
f = message.getName();
|
|
986
|
+
if (f.length > 0) {
|
|
987
|
+
writer.writeString(
|
|
988
|
+
1,
|
|
989
|
+
f
|
|
990
|
+
);
|
|
991
|
+
}
|
|
992
|
+
f = message.getKind();
|
|
993
|
+
if (f.length > 0) {
|
|
994
|
+
writer.writeString(
|
|
995
|
+
2,
|
|
996
|
+
f
|
|
997
|
+
);
|
|
998
|
+
}
|
|
999
|
+
f = message.getVersion();
|
|
1000
|
+
if (f.length > 0) {
|
|
1001
|
+
writer.writeString(
|
|
1002
|
+
3,
|
|
1003
|
+
f
|
|
1004
|
+
);
|
|
1005
|
+
}
|
|
1006
|
+
f = message.getServer();
|
|
1007
|
+
if (f.length > 0) {
|
|
1008
|
+
writer.writeString(
|
|
1009
|
+
4,
|
|
1010
|
+
f
|
|
1011
|
+
);
|
|
1012
|
+
}
|
|
1013
|
+
f = message.getChecksumsMap(true);
|
|
1014
|
+
if (f && f.getLength() > 0) {
|
|
1015
|
+
f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBytes);
|
|
1016
|
+
}
|
|
1017
|
+
f = message.getParameterization();
|
|
1018
|
+
if (f != null) {
|
|
1019
|
+
writer.writeMessage(
|
|
1020
|
+
6,
|
|
1021
|
+
f,
|
|
1022
|
+
proto.pulumirpc.PackageParameterization.serializeBinaryToWriter
|
|
1023
|
+
);
|
|
1024
|
+
}
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* optional string name = 1;
|
|
1030
|
+
* @return {string}
|
|
1031
|
+
*/
|
|
1032
|
+
proto.pulumirpc.PackageDependency.prototype.getName = function() {
|
|
1033
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* @param {string} value
|
|
1039
|
+
* @return {!proto.pulumirpc.PackageDependency} returns this
|
|
1040
|
+
*/
|
|
1041
|
+
proto.pulumirpc.PackageDependency.prototype.setName = function(value) {
|
|
1042
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1043
|
+
};
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* optional string kind = 2;
|
|
1048
|
+
* @return {string}
|
|
1049
|
+
*/
|
|
1050
|
+
proto.pulumirpc.PackageDependency.prototype.getKind = function() {
|
|
1051
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1052
|
+
};
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* @param {string} value
|
|
1057
|
+
* @return {!proto.pulumirpc.PackageDependency} returns this
|
|
1058
|
+
*/
|
|
1059
|
+
proto.pulumirpc.PackageDependency.prototype.setKind = function(value) {
|
|
1060
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1061
|
+
};
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* optional string version = 3;
|
|
1066
|
+
* @return {string}
|
|
1067
|
+
*/
|
|
1068
|
+
proto.pulumirpc.PackageDependency.prototype.getVersion = function() {
|
|
1069
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* @param {string} value
|
|
1075
|
+
* @return {!proto.pulumirpc.PackageDependency} returns this
|
|
1076
|
+
*/
|
|
1077
|
+
proto.pulumirpc.PackageDependency.prototype.setVersion = function(value) {
|
|
1078
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* optional string server = 4;
|
|
1084
|
+
* @return {string}
|
|
1085
|
+
*/
|
|
1086
|
+
proto.pulumirpc.PackageDependency.prototype.getServer = function() {
|
|
1087
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* @param {string} value
|
|
1093
|
+
* @return {!proto.pulumirpc.PackageDependency} returns this
|
|
1094
|
+
*/
|
|
1095
|
+
proto.pulumirpc.PackageDependency.prototype.setServer = function(value) {
|
|
1096
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1097
|
+
};
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* map<string, bytes> checksums = 5;
|
|
1102
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
1103
|
+
* empty, instead returning `undefined`
|
|
1104
|
+
* @return {!jspb.Map<string,!(string|Uint8Array)>}
|
|
1105
|
+
*/
|
|
1106
|
+
proto.pulumirpc.PackageDependency.prototype.getChecksumsMap = function(opt_noLazyCreate) {
|
|
1107
|
+
return /** @type {!jspb.Map<string,!(string|Uint8Array)>} */ (
|
|
1108
|
+
jspb.Message.getMapField(this, 5, opt_noLazyCreate,
|
|
1109
|
+
null));
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* Clears values from the map. The map will be non-null.
|
|
1115
|
+
* @return {!proto.pulumirpc.PackageDependency} returns this
|
|
1116
|
+
*/
|
|
1117
|
+
proto.pulumirpc.PackageDependency.prototype.clearChecksumsMap = function() {
|
|
1118
|
+
this.getChecksumsMap().clear();
|
|
1119
|
+
return this;};
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* optional PackageParameterization parameterization = 6;
|
|
1124
|
+
* @return {?proto.pulumirpc.PackageParameterization}
|
|
1125
|
+
*/
|
|
1126
|
+
proto.pulumirpc.PackageDependency.prototype.getParameterization = function() {
|
|
1127
|
+
return /** @type{?proto.pulumirpc.PackageParameterization} */ (
|
|
1128
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.PackageParameterization, 6));
|
|
1129
|
+
};
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* @param {?proto.pulumirpc.PackageParameterization|undefined} value
|
|
1134
|
+
* @return {!proto.pulumirpc.PackageDependency} returns this
|
|
1135
|
+
*/
|
|
1136
|
+
proto.pulumirpc.PackageDependency.prototype.setParameterization = function(value) {
|
|
1137
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
1138
|
+
};
|
|
1139
|
+
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* Clears the message field making it undefined.
|
|
1143
|
+
* @return {!proto.pulumirpc.PackageDependency} returns this
|
|
1144
|
+
*/
|
|
1145
|
+
proto.pulumirpc.PackageDependency.prototype.clearParameterization = function() {
|
|
1146
|
+
return this.setParameterization(undefined);
|
|
1147
|
+
};
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* Returns whether this field is set.
|
|
1152
|
+
* @return {boolean}
|
|
1153
|
+
*/
|
|
1154
|
+
proto.pulumirpc.PackageDependency.prototype.hasParameterization = function() {
|
|
1155
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1156
|
+
};
|
|
1157
|
+
|
|
1158
|
+
|
|
597
1159
|
goog.object.extend(exports, proto.pulumirpc);
|
|
@@ -380,7 +380,12 @@ function deserialize_pulumirpc_UpdateResponse(buffer_arg) {
|
|
|
380
380
|
// operations on resources and invocations of functions. Resource providers are primarily managed by the Pulumi engine
|
|
381
381
|
// as part of a deployment in order to interact with the cloud providers underpinning a Pulumi application.
|
|
382
382
|
var ResourceProviderService = exports.ResourceProviderService = {
|
|
383
|
-
|
|
383
|
+
// `Handshake` is the first call made by the engine to a provider. It is used to pass the engine's address to the
|
|
384
|
+
// provider so that it may establish its own connections back, and to establish protocol configuration that will be
|
|
385
|
+
// used to communicate between the two parties. Providers that support `Handshake` implicitly support the set of
|
|
386
|
+
// feature flags previously handled by `Configure` prior to `Handshake`'s introduction, such as secrets and resource
|
|
387
|
+
// references.
|
|
388
|
+
handshake: {
|
|
384
389
|
path: '/pulumirpc.ResourceProvider/Handshake',
|
|
385
390
|
requestStream: false,
|
|
386
391
|
responseStream: false,
|
|
@@ -491,7 +496,7 @@ diffConfig: {
|
|
|
491
496
|
responseSerialize: serialize_pulumirpc_DiffResponse,
|
|
492
497
|
responseDeserialize: deserialize_pulumirpc_DiffResponse,
|
|
493
498
|
},
|
|
494
|
-
// `Configure` is the final stage in configuring a provider instance. Callers supply two sets of data:
|
|
499
|
+
// `Configure` is the final stage in configuring a provider instance. Callers may supply two sets of data:
|
|
495
500
|
//
|
|
496
501
|
// * Provider-specific configuration, which is the set of inputs that have been validated by a previous
|
|
497
502
|
// [](pulumirpc.ResourceProvider.CheckConfig) call.
|
|
@@ -503,6 +508,19 @@ diffConfig: {
|
|
|
503
508
|
// Providers may expect a *single* call to `Configure`. If a call to `Configure` is missing required configuration,
|
|
504
509
|
// the provider may return a set of error details containing [](pulumirpc.ConfigureErrorMissingKeys) values to
|
|
505
510
|
// indicate which keys are missing.
|
|
511
|
+
//
|
|
512
|
+
// :::{important}
|
|
513
|
+
// The use of `Configure` to configure protocol features is deprecated in favour of the
|
|
514
|
+
// [](pulumirpc.ResourceProvider.Handshake) method, which should be implemented by newer providers. To enable
|
|
515
|
+
// compatibility between older engines and providers:
|
|
516
|
+
//
|
|
517
|
+
// * Callers which call `Handshake` *must* call `Configure` with flags such as `acceptSecrets` and `acceptResources`
|
|
518
|
+
// set to `true`, since these features predate the introduction of `Handshake` and thus `Handshake`-aware callers
|
|
519
|
+
// must support them. See [](pulumirpc.ConfigureRequest) for more information.
|
|
520
|
+
// * Providers which implement `Handshake` *must* support flags such as `acceptSecrets` and `acceptResources`, and
|
|
521
|
+
// indicate as such by always returning `true` for these fields in [](pulumirpc.ConfigureResponse). See
|
|
522
|
+
// [](pulumirpc.ConfigureResponse) for more information.
|
|
523
|
+
// :::
|
|
506
524
|
configure: {
|
|
507
525
|
path: '/pulumirpc.ResourceProvider/Configure',
|
|
508
526
|
requestStream: false,
|