@pulumi/pulumi 3.119.0 → 3.119.1-alpha.x13ffd51

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/run.js CHANGED
@@ -261,6 +261,7 @@ function run(argv, programStarted, reportLoggedError, isErrorReported) {
261
261
  compilerOptions: Object.assign({ target: "es6", module: "commonjs", moduleResolution: "node", sourceMap: "true" }, compilerOptions),
262
262
  });
263
263
  }
264
+ const hasEntrypoint = argv._[0] !== ".";
264
265
  let program = argv._[0];
265
266
  if (!path.isAbsolute(program)) {
266
267
  // If this isn't an absolute path, make it relative to the working directory.
@@ -357,9 +358,9 @@ ${defaultMessage}`);
357
358
  const packageRoot = yield npmPackageRootFromProgramPath(program);
358
359
  const packageObject = packageObjectFromProjectRoot(packageRoot);
359
360
  let programExport;
360
- // If the user provided an entrypoint, we use that file
361
- // relative to the package directory.
362
- if (packageObject["main"]) {
361
+ // If there is no entrypoint set in Pulumi.yaml via the main
362
+ // option, look for an entrypoint defined in package.json
363
+ if (!hasEntrypoint && packageObject["main"]) {
363
364
  const packageMainPath = path.join(packageRoot, packageObject["main"]);
364
365
  if (fs.existsSync(packageMainPath)) {
365
366
  program = packageMainPath;
@@ -1 +1 @@
1
- {"version":3,"file":"run.js","sourceRoot":"","sources":["../../../cmd/run/run.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;;;;;;;AAIjC,uCAAyB;AACzB,wDAA0C;AAC1C,yCAA2B;AAE3B,2CAA6B;AAC7B,+CAAiC;AACjC,yCAA2B;AAC3B,2CAA6B;AAC7B,yCAAuD;AACvD,+CAAiC;AAEjC,iEAAmD;AACnD,2DAA6C;AAC7C,uDAAyC;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B,IAAI,CAAC,GAAG,EAAE,CAAC;QACX,OAAO,YAAY,CAAC;;CACvB;AApRD,kBAoRC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pulumi",
3
- "version": "3.119.0",
3
+ "version": "3.119.1-alpha.x13ffd51",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -61,12 +61,12 @@ interface ILanguageRuntimeService_IInstallDependencies extends grpc.MethodDefini
61
61
  responseSerialize: grpc.serialize<pulumi_language_pb.InstallDependenciesResponse>;
62
62
  responseDeserialize: grpc.deserialize<pulumi_language_pb.InstallDependenciesResponse>;
63
63
  }
64
- interface ILanguageRuntimeService_IAbout extends grpc.MethodDefinition<google_protobuf_empty_pb.Empty, pulumi_language_pb.AboutResponse> {
64
+ interface ILanguageRuntimeService_IAbout extends grpc.MethodDefinition<pulumi_language_pb.AboutRequest, pulumi_language_pb.AboutResponse> {
65
65
  path: "/pulumirpc.LanguageRuntime/About";
66
66
  requestStream: false;
67
67
  responseStream: false;
68
- requestSerialize: grpc.serialize<google_protobuf_empty_pb.Empty>;
69
- requestDeserialize: grpc.deserialize<google_protobuf_empty_pb.Empty>;
68
+ requestSerialize: grpc.serialize<pulumi_language_pb.AboutRequest>;
69
+ requestDeserialize: grpc.deserialize<pulumi_language_pb.AboutRequest>;
70
70
  responseSerialize: grpc.serialize<pulumi_language_pb.AboutResponse>;
71
71
  responseDeserialize: grpc.deserialize<pulumi_language_pb.AboutResponse>;
72
72
  }
@@ -132,7 +132,7 @@ export interface ILanguageRuntimeServer extends grpc.UntypedServiceImplementatio
132
132
  run: grpc.handleUnaryCall<pulumi_language_pb.RunRequest, pulumi_language_pb.RunResponse>;
133
133
  getPluginInfo: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, pulumi_plugin_pb.PluginInfo>;
134
134
  installDependencies: grpc.handleServerStreamingCall<pulumi_language_pb.InstallDependenciesRequest, pulumi_language_pb.InstallDependenciesResponse>;
135
- about: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, pulumi_language_pb.AboutResponse>;
135
+ about: grpc.handleUnaryCall<pulumi_language_pb.AboutRequest, pulumi_language_pb.AboutResponse>;
136
136
  getProgramDependencies: grpc.handleUnaryCall<pulumi_language_pb.GetProgramDependenciesRequest, pulumi_language_pb.GetProgramDependenciesResponse>;
137
137
  runPlugin: grpc.handleServerStreamingCall<pulumi_language_pb.RunPluginRequest, pulumi_language_pb.RunPluginResponse>;
138
138
  generateProgram: grpc.handleUnaryCall<pulumi_language_pb.GenerateProgramRequest, pulumi_language_pb.GenerateProgramResponse>;
@@ -153,9 +153,9 @@ export interface ILanguageRuntimeClient {
153
153
  getPluginInfo(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_plugin_pb.PluginInfo) => void): grpc.ClientUnaryCall;
154
154
  installDependencies(request: pulumi_language_pb.InstallDependenciesRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<pulumi_language_pb.InstallDependenciesResponse>;
155
155
  installDependencies(request: pulumi_language_pb.InstallDependenciesRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<pulumi_language_pb.InstallDependenciesResponse>;
156
- about(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
157
- about(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
158
- about(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
156
+ about(request: pulumi_language_pb.AboutRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
157
+ about(request: pulumi_language_pb.AboutRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
158
+ about(request: pulumi_language_pb.AboutRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
159
159
  getProgramDependencies(request: pulumi_language_pb.GetProgramDependenciesRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.GetProgramDependenciesResponse) => void): grpc.ClientUnaryCall;
160
160
  getProgramDependencies(request: pulumi_language_pb.GetProgramDependenciesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.GetProgramDependenciesResponse) => void): grpc.ClientUnaryCall;
161
161
  getProgramDependencies(request: pulumi_language_pb.GetProgramDependenciesRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.GetProgramDependenciesResponse) => void): grpc.ClientUnaryCall;
@@ -188,9 +188,9 @@ export class LanguageRuntimeClient extends grpc.Client implements ILanguageRunti
188
188
  public getPluginInfo(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_plugin_pb.PluginInfo) => void): grpc.ClientUnaryCall;
189
189
  public installDependencies(request: pulumi_language_pb.InstallDependenciesRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<pulumi_language_pb.InstallDependenciesResponse>;
190
190
  public installDependencies(request: pulumi_language_pb.InstallDependenciesRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<pulumi_language_pb.InstallDependenciesResponse>;
191
- public about(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
192
- public about(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
193
- public about(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
191
+ public about(request: pulumi_language_pb.AboutRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
192
+ public about(request: pulumi_language_pb.AboutRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
193
+ public about(request: pulumi_language_pb.AboutRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
194
194
  public getProgramDependencies(request: pulumi_language_pb.GetProgramDependenciesRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.GetProgramDependenciesResponse) => void): grpc.ClientUnaryCall;
195
195
  public getProgramDependencies(request: pulumi_language_pb.GetProgramDependenciesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.GetProgramDependenciesResponse) => void): grpc.ClientUnaryCall;
196
196
  public getProgramDependencies(request: pulumi_language_pb.GetProgramDependenciesRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.GetProgramDependenciesResponse) => void): grpc.ClientUnaryCall;
@@ -34,6 +34,17 @@ function deserialize_google_protobuf_Empty(buffer_arg) {
34
34
  return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
35
35
  }
36
36
 
37
+ function serialize_pulumirpc_AboutRequest(arg) {
38
+ if (!(arg instanceof pulumi_language_pb.AboutRequest)) {
39
+ throw new Error('Expected argument of type pulumirpc.AboutRequest');
40
+ }
41
+ return Buffer.from(arg.serializeBinary());
42
+ }
43
+
44
+ function deserialize_pulumirpc_AboutRequest(buffer_arg) {
45
+ return pulumi_language_pb.AboutRequest.deserializeBinary(new Uint8Array(buffer_arg));
46
+ }
47
+
37
48
  function serialize_pulumirpc_AboutResponse(arg) {
38
49
  if (!(arg instanceof pulumi_language_pb.AboutResponse)) {
39
50
  throw new Error('Expected argument of type pulumirpc.AboutResponse');
@@ -311,10 +322,10 @@ about: {
311
322
  path: '/pulumirpc.LanguageRuntime/About',
312
323
  requestStream: false,
313
324
  responseStream: false,
314
- requestType: google_protobuf_empty_pb.Empty,
325
+ requestType: pulumi_language_pb.AboutRequest,
315
326
  responseType: pulumi_language_pb.AboutResponse,
316
- requestSerialize: serialize_google_protobuf_Empty,
317
- requestDeserialize: deserialize_google_protobuf_Empty,
327
+ requestSerialize: serialize_pulumirpc_AboutRequest,
328
+ requestDeserialize: deserialize_pulumirpc_AboutRequest,
318
329
  responseSerialize: serialize_pulumirpc_AboutResponse,
319
330
  responseDeserialize: deserialize_pulumirpc_AboutResponse,
320
331
  },
@@ -42,6 +42,29 @@ export namespace ProgramInfo {
42
42
  }
43
43
  }
44
44
 
45
+ export class AboutRequest extends jspb.Message {
46
+
47
+ hasInfo(): boolean;
48
+ clearInfo(): void;
49
+ getInfo(): ProgramInfo | undefined;
50
+ setInfo(value?: ProgramInfo): AboutRequest;
51
+
52
+ serializeBinary(): Uint8Array;
53
+ toObject(includeInstance?: boolean): AboutRequest.AsObject;
54
+ static toObject(includeInstance: boolean, msg: AboutRequest): AboutRequest.AsObject;
55
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
56
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
57
+ static serializeBinaryToWriter(message: AboutRequest, writer: jspb.BinaryWriter): void;
58
+ static deserializeBinary(bytes: Uint8Array): AboutRequest;
59
+ static deserializeBinaryFromReader(message: AboutRequest, reader: jspb.BinaryReader): AboutRequest;
60
+ }
61
+
62
+ export namespace AboutRequest {
63
+ export type AsObject = {
64
+ info?: ProgramInfo.AsObject,
65
+ }
66
+ }
67
+
45
68
  export class AboutResponse extends jspb.Message {
46
69
  getExecutable(): string;
47
70
  setExecutable(value: string): AboutResponse;
@@ -23,6 +23,7 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
23
23
  goog.object.extend(proto, google_protobuf_empty_pb);
24
24
  var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_struct_pb);
26
+ goog.exportSymbol('proto.pulumirpc.AboutRequest', null, global);
26
27
  goog.exportSymbol('proto.pulumirpc.AboutResponse', null, global);
27
28
  goog.exportSymbol('proto.pulumirpc.DependencyInfo', null, global);
28
29
  goog.exportSymbol('proto.pulumirpc.GeneratePackageRequest', null, global);
@@ -66,6 +67,27 @@ if (goog.DEBUG && !COMPILED) {
66
67
  */
67
68
  proto.pulumirpc.ProgramInfo.displayName = 'proto.pulumirpc.ProgramInfo';
68
69
  }
70
+ /**
71
+ * Generated by JsPbCodeGenerator.
72
+ * @param {Array=} opt_data Optional initial data array, typically from a
73
+ * server response, or constructed directly in Javascript. The array is used
74
+ * in place and becomes part of the constructed object. It is not cloned.
75
+ * If no data is provided, the constructed object will be empty, but still
76
+ * valid.
77
+ * @extends {jspb.Message}
78
+ * @constructor
79
+ */
80
+ proto.pulumirpc.AboutRequest = function(opt_data) {
81
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
82
+ };
83
+ goog.inherits(proto.pulumirpc.AboutRequest, jspb.Message);
84
+ if (goog.DEBUG && !COMPILED) {
85
+ /**
86
+ * @public
87
+ * @override
88
+ */
89
+ proto.pulumirpc.AboutRequest.displayName = 'proto.pulumirpc.AboutRequest';
90
+ }
69
91
  /**
70
92
  * Generated by JsPbCodeGenerator.
71
93
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -730,6 +752,157 @@ proto.pulumirpc.ProgramInfo.prototype.hasOptions = function() {
730
752
 
731
753
 
732
754
 
755
+ if (jspb.Message.GENERATE_TO_OBJECT) {
756
+ /**
757
+ * Creates an object representation of this proto.
758
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
759
+ * Optional fields that are not set will be set to undefined.
760
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
761
+ * For the list of reserved names please see:
762
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
763
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
764
+ * JSPB instance for transitional soy proto support:
765
+ * http://goto/soy-param-migration
766
+ * @return {!Object}
767
+ */
768
+ proto.pulumirpc.AboutRequest.prototype.toObject = function(opt_includeInstance) {
769
+ return proto.pulumirpc.AboutRequest.toObject(opt_includeInstance, this);
770
+ };
771
+
772
+
773
+ /**
774
+ * Static version of the {@see toObject} method.
775
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
776
+ * the JSPB instance for transitional soy proto support:
777
+ * http://goto/soy-param-migration
778
+ * @param {!proto.pulumirpc.AboutRequest} msg The msg instance to transform.
779
+ * @return {!Object}
780
+ * @suppress {unusedLocalVariables} f is only used for nested messages
781
+ */
782
+ proto.pulumirpc.AboutRequest.toObject = function(includeInstance, msg) {
783
+ var f, obj = {
784
+ info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f)
785
+ };
786
+
787
+ if (includeInstance) {
788
+ obj.$jspbMessageInstance = msg;
789
+ }
790
+ return obj;
791
+ };
792
+ }
793
+
794
+
795
+ /**
796
+ * Deserializes binary data (in protobuf wire format).
797
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
798
+ * @return {!proto.pulumirpc.AboutRequest}
799
+ */
800
+ proto.pulumirpc.AboutRequest.deserializeBinary = function(bytes) {
801
+ var reader = new jspb.BinaryReader(bytes);
802
+ var msg = new proto.pulumirpc.AboutRequest;
803
+ return proto.pulumirpc.AboutRequest.deserializeBinaryFromReader(msg, reader);
804
+ };
805
+
806
+
807
+ /**
808
+ * Deserializes binary data (in protobuf wire format) from the
809
+ * given reader into the given message object.
810
+ * @param {!proto.pulumirpc.AboutRequest} msg The message object to deserialize into.
811
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
812
+ * @return {!proto.pulumirpc.AboutRequest}
813
+ */
814
+ proto.pulumirpc.AboutRequest.deserializeBinaryFromReader = function(msg, reader) {
815
+ while (reader.nextField()) {
816
+ if (reader.isEndGroup()) {
817
+ break;
818
+ }
819
+ var field = reader.getFieldNumber();
820
+ switch (field) {
821
+ case 1:
822
+ var value = new proto.pulumirpc.ProgramInfo;
823
+ reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
824
+ msg.setInfo(value);
825
+ break;
826
+ default:
827
+ reader.skipField();
828
+ break;
829
+ }
830
+ }
831
+ return msg;
832
+ };
833
+
834
+
835
+ /**
836
+ * Serializes the message to binary data (in protobuf wire format).
837
+ * @return {!Uint8Array}
838
+ */
839
+ proto.pulumirpc.AboutRequest.prototype.serializeBinary = function() {
840
+ var writer = new jspb.BinaryWriter();
841
+ proto.pulumirpc.AboutRequest.serializeBinaryToWriter(this, writer);
842
+ return writer.getResultBuffer();
843
+ };
844
+
845
+
846
+ /**
847
+ * Serializes the given message to binary data (in protobuf wire
848
+ * format), writing to the given BinaryWriter.
849
+ * @param {!proto.pulumirpc.AboutRequest} message
850
+ * @param {!jspb.BinaryWriter} writer
851
+ * @suppress {unusedLocalVariables} f is only used for nested messages
852
+ */
853
+ proto.pulumirpc.AboutRequest.serializeBinaryToWriter = function(message, writer) {
854
+ var f = undefined;
855
+ f = message.getInfo();
856
+ if (f != null) {
857
+ writer.writeMessage(
858
+ 1,
859
+ f,
860
+ proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
861
+ );
862
+ }
863
+ };
864
+
865
+
866
+ /**
867
+ * optional ProgramInfo info = 1;
868
+ * @return {?proto.pulumirpc.ProgramInfo}
869
+ */
870
+ proto.pulumirpc.AboutRequest.prototype.getInfo = function() {
871
+ return /** @type{?proto.pulumirpc.ProgramInfo} */ (
872
+ jspb.Message.getWrapperField(this, proto.pulumirpc.ProgramInfo, 1));
873
+ };
874
+
875
+
876
+ /**
877
+ * @param {?proto.pulumirpc.ProgramInfo|undefined} value
878
+ * @return {!proto.pulumirpc.AboutRequest} returns this
879
+ */
880
+ proto.pulumirpc.AboutRequest.prototype.setInfo = function(value) {
881
+ return jspb.Message.setWrapperField(this, 1, value);
882
+ };
883
+
884
+
885
+ /**
886
+ * Clears the message field making it undefined.
887
+ * @return {!proto.pulumirpc.AboutRequest} returns this
888
+ */
889
+ proto.pulumirpc.AboutRequest.prototype.clearInfo = function() {
890
+ return this.setInfo(undefined);
891
+ };
892
+
893
+
894
+ /**
895
+ * Returns whether this field is set.
896
+ * @return {boolean}
897
+ */
898
+ proto.pulumirpc.AboutRequest.prototype.hasInfo = function() {
899
+ return jspb.Message.getField(this, 1) != null;
900
+ };
901
+
902
+
903
+
904
+
905
+
733
906
  if (jspb.Message.GENERATE_TO_OBJECT) {
734
907
  /**
735
908
  * Creates an object representation of this proto.
@@ -723,6 +723,11 @@ export class RegisterProviderRequest extends jspb.Message {
723
723
  getPluginChecksumsMap(): jspb.Map<string, Uint8Array | string>;
724
724
  clearPluginChecksumsMap(): void;
725
725
 
726
+ hasParameter(): boolean;
727
+ clearParameter(): void;
728
+ getParameter(): ProviderParameter | undefined;
729
+ setParameter(value?: ProviderParameter): RegisterProviderRequest;
730
+
726
731
  serializeBinary(): Uint8Array;
727
732
  toObject(includeInstance?: boolean): RegisterProviderRequest.AsObject;
728
733
  static toObject(includeInstance: boolean, msg: RegisterProviderRequest): RegisterProviderRequest.AsObject;
@@ -740,6 +745,7 @@ export namespace RegisterProviderRequest {
740
745
  pluginDownloadUrl: string,
741
746
 
742
747
  pluginChecksumsMap: Array<[string, Uint8Array | string]>,
748
+ parameter?: ProviderParameter.AsObject,
743
749
  }
744
750
  }
745
751
 
@@ -763,6 +769,35 @@ export namespace RegisterProviderResponse {
763
769
  }
764
770
  }
765
771
 
772
+ export class ProviderParameter extends jspb.Message {
773
+ getName(): string;
774
+ setName(value: string): ProviderParameter;
775
+ getVersion(): string;
776
+ setVersion(value: string): ProviderParameter;
777
+
778
+ hasValue(): boolean;
779
+ clearValue(): void;
780
+ getValue(): google_protobuf_struct_pb.Value | undefined;
781
+ setValue(value?: google_protobuf_struct_pb.Value): ProviderParameter;
782
+
783
+ serializeBinary(): Uint8Array;
784
+ toObject(includeInstance?: boolean): ProviderParameter.AsObject;
785
+ static toObject(includeInstance: boolean, msg: ProviderParameter): ProviderParameter.AsObject;
786
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
787
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
788
+ static serializeBinaryToWriter(message: ProviderParameter, writer: jspb.BinaryWriter): void;
789
+ static deserializeBinary(bytes: Uint8Array): ProviderParameter;
790
+ static deserializeBinaryFromReader(message: ProviderParameter, reader: jspb.BinaryReader): ProviderParameter;
791
+ }
792
+
793
+ export namespace ProviderParameter {
794
+ export type AsObject = {
795
+ name: string,
796
+ version: string,
797
+ value?: google_protobuf_struct_pb.Value.AsObject,
798
+ }
799
+ }
800
+
766
801
  export enum Result {
767
802
  SUCCESS = 0,
768
803
  FAIL = 1,
@@ -27,6 +27,7 @@ var pulumi_source_pb = require('./source_pb.js');
27
27
  goog.object.extend(proto, pulumi_source_pb);
28
28
  var pulumi_callback_pb = require('./callback_pb.js');
29
29
  goog.object.extend(proto, pulumi_callback_pb);
30
+ goog.exportSymbol('proto.pulumirpc.ProviderParameter', null, global);
30
31
  goog.exportSymbol('proto.pulumirpc.ReadResourceRequest', null, global);
31
32
  goog.exportSymbol('proto.pulumirpc.ReadResourceResponse', null, global);
32
33
  goog.exportSymbol('proto.pulumirpc.RegisterProviderRequest', null, global);
@@ -424,6 +425,27 @@ if (goog.DEBUG && !COMPILED) {
424
425
  */
425
426
  proto.pulumirpc.RegisterProviderResponse.displayName = 'proto.pulumirpc.RegisterProviderResponse';
426
427
  }
428
+ /**
429
+ * Generated by JsPbCodeGenerator.
430
+ * @param {Array=} opt_data Optional initial data array, typically from a
431
+ * server response, or constructed directly in Javascript. The array is used
432
+ * in place and becomes part of the constructed object. It is not cloned.
433
+ * If no data is provided, the constructed object will be empty, but still
434
+ * valid.
435
+ * @extends {jspb.Message}
436
+ * @constructor
437
+ */
438
+ proto.pulumirpc.ProviderParameter = function(opt_data) {
439
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
440
+ };
441
+ goog.inherits(proto.pulumirpc.ProviderParameter, jspb.Message);
442
+ if (goog.DEBUG && !COMPILED) {
443
+ /**
444
+ * @public
445
+ * @override
446
+ */
447
+ proto.pulumirpc.ProviderParameter.displayName = 'proto.pulumirpc.ProviderParameter';
448
+ }
427
449
 
428
450
 
429
451
 
@@ -5987,7 +6009,8 @@ proto.pulumirpc.RegisterProviderRequest.toObject = function(includeInstance, msg
5987
6009
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
5988
6010
  version: jspb.Message.getFieldWithDefault(msg, 2, ""),
5989
6011
  pluginDownloadUrl: jspb.Message.getFieldWithDefault(msg, 3, ""),
5990
- pluginChecksumsMap: (f = msg.getPluginChecksumsMap()) ? f.toObject(includeInstance, undefined) : []
6012
+ pluginChecksumsMap: (f = msg.getPluginChecksumsMap()) ? f.toObject(includeInstance, undefined) : [],
6013
+ parameter: (f = msg.getParameter()) && proto.pulumirpc.ProviderParameter.toObject(includeInstance, f)
5991
6014
  };
5992
6015
 
5993
6016
  if (includeInstance) {
@@ -6042,6 +6065,11 @@ proto.pulumirpc.RegisterProviderRequest.deserializeBinaryFromReader = function(m
6042
6065
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBytes, null, "", "");
6043
6066
  });
6044
6067
  break;
6068
+ case 5:
6069
+ var value = new proto.pulumirpc.ProviderParameter;
6070
+ reader.readMessage(value,proto.pulumirpc.ProviderParameter.deserializeBinaryFromReader);
6071
+ msg.setParameter(value);
6072
+ break;
6045
6073
  default:
6046
6074
  reader.skipField();
6047
6075
  break;
@@ -6096,6 +6124,14 @@ proto.pulumirpc.RegisterProviderRequest.serializeBinaryToWriter = function(messa
6096
6124
  if (f && f.getLength() > 0) {
6097
6125
  f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBytes);
6098
6126
  }
6127
+ f = message.getParameter();
6128
+ if (f != null) {
6129
+ writer.writeMessage(
6130
+ 5,
6131
+ f,
6132
+ proto.pulumirpc.ProviderParameter.serializeBinaryToWriter
6133
+ );
6134
+ }
6099
6135
  };
6100
6136
 
6101
6137
 
@@ -6175,6 +6211,43 @@ proto.pulumirpc.RegisterProviderRequest.prototype.clearPluginChecksumsMap = func
6175
6211
  return this;};
6176
6212
 
6177
6213
 
6214
+ /**
6215
+ * optional ProviderParameter parameter = 5;
6216
+ * @return {?proto.pulumirpc.ProviderParameter}
6217
+ */
6218
+ proto.pulumirpc.RegisterProviderRequest.prototype.getParameter = function() {
6219
+ return /** @type{?proto.pulumirpc.ProviderParameter} */ (
6220
+ jspb.Message.getWrapperField(this, proto.pulumirpc.ProviderParameter, 5));
6221
+ };
6222
+
6223
+
6224
+ /**
6225
+ * @param {?proto.pulumirpc.ProviderParameter|undefined} value
6226
+ * @return {!proto.pulumirpc.RegisterProviderRequest} returns this
6227
+ */
6228
+ proto.pulumirpc.RegisterProviderRequest.prototype.setParameter = function(value) {
6229
+ return jspb.Message.setWrapperField(this, 5, value);
6230
+ };
6231
+
6232
+
6233
+ /**
6234
+ * Clears the message field making it undefined.
6235
+ * @return {!proto.pulumirpc.RegisterProviderRequest} returns this
6236
+ */
6237
+ proto.pulumirpc.RegisterProviderRequest.prototype.clearParameter = function() {
6238
+ return this.setParameter(undefined);
6239
+ };
6240
+
6241
+
6242
+ /**
6243
+ * Returns whether this field is set.
6244
+ * @return {boolean}
6245
+ */
6246
+ proto.pulumirpc.RegisterProviderRequest.prototype.hasParameter = function() {
6247
+ return jspb.Message.getField(this, 5) != null;
6248
+ };
6249
+
6250
+
6178
6251
 
6179
6252
 
6180
6253
 
@@ -6305,6 +6378,217 @@ proto.pulumirpc.RegisterProviderResponse.prototype.setRef = function(value) {
6305
6378
  };
6306
6379
 
6307
6380
 
6381
+
6382
+
6383
+
6384
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6385
+ /**
6386
+ * Creates an object representation of this proto.
6387
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6388
+ * Optional fields that are not set will be set to undefined.
6389
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6390
+ * For the list of reserved names please see:
6391
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6392
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6393
+ * JSPB instance for transitional soy proto support:
6394
+ * http://goto/soy-param-migration
6395
+ * @return {!Object}
6396
+ */
6397
+ proto.pulumirpc.ProviderParameter.prototype.toObject = function(opt_includeInstance) {
6398
+ return proto.pulumirpc.ProviderParameter.toObject(opt_includeInstance, this);
6399
+ };
6400
+
6401
+
6402
+ /**
6403
+ * Static version of the {@see toObject} method.
6404
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6405
+ * the JSPB instance for transitional soy proto support:
6406
+ * http://goto/soy-param-migration
6407
+ * @param {!proto.pulumirpc.ProviderParameter} msg The msg instance to transform.
6408
+ * @return {!Object}
6409
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6410
+ */
6411
+ proto.pulumirpc.ProviderParameter.toObject = function(includeInstance, msg) {
6412
+ var f, obj = {
6413
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
6414
+ version: jspb.Message.getFieldWithDefault(msg, 2, ""),
6415
+ value: (f = msg.getValue()) && google_protobuf_struct_pb.Value.toObject(includeInstance, f)
6416
+ };
6417
+
6418
+ if (includeInstance) {
6419
+ obj.$jspbMessageInstance = msg;
6420
+ }
6421
+ return obj;
6422
+ };
6423
+ }
6424
+
6425
+
6426
+ /**
6427
+ * Deserializes binary data (in protobuf wire format).
6428
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6429
+ * @return {!proto.pulumirpc.ProviderParameter}
6430
+ */
6431
+ proto.pulumirpc.ProviderParameter.deserializeBinary = function(bytes) {
6432
+ var reader = new jspb.BinaryReader(bytes);
6433
+ var msg = new proto.pulumirpc.ProviderParameter;
6434
+ return proto.pulumirpc.ProviderParameter.deserializeBinaryFromReader(msg, reader);
6435
+ };
6436
+
6437
+
6438
+ /**
6439
+ * Deserializes binary data (in protobuf wire format) from the
6440
+ * given reader into the given message object.
6441
+ * @param {!proto.pulumirpc.ProviderParameter} msg The message object to deserialize into.
6442
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6443
+ * @return {!proto.pulumirpc.ProviderParameter}
6444
+ */
6445
+ proto.pulumirpc.ProviderParameter.deserializeBinaryFromReader = function(msg, reader) {
6446
+ while (reader.nextField()) {
6447
+ if (reader.isEndGroup()) {
6448
+ break;
6449
+ }
6450
+ var field = reader.getFieldNumber();
6451
+ switch (field) {
6452
+ case 1:
6453
+ var value = /** @type {string} */ (reader.readString());
6454
+ msg.setName(value);
6455
+ break;
6456
+ case 2:
6457
+ var value = /** @type {string} */ (reader.readString());
6458
+ msg.setVersion(value);
6459
+ break;
6460
+ case 3:
6461
+ var value = new google_protobuf_struct_pb.Value;
6462
+ reader.readMessage(value,google_protobuf_struct_pb.Value.deserializeBinaryFromReader);
6463
+ msg.setValue(value);
6464
+ break;
6465
+ default:
6466
+ reader.skipField();
6467
+ break;
6468
+ }
6469
+ }
6470
+ return msg;
6471
+ };
6472
+
6473
+
6474
+ /**
6475
+ * Serializes the message to binary data (in protobuf wire format).
6476
+ * @return {!Uint8Array}
6477
+ */
6478
+ proto.pulumirpc.ProviderParameter.prototype.serializeBinary = function() {
6479
+ var writer = new jspb.BinaryWriter();
6480
+ proto.pulumirpc.ProviderParameter.serializeBinaryToWriter(this, writer);
6481
+ return writer.getResultBuffer();
6482
+ };
6483
+
6484
+
6485
+ /**
6486
+ * Serializes the given message to binary data (in protobuf wire
6487
+ * format), writing to the given BinaryWriter.
6488
+ * @param {!proto.pulumirpc.ProviderParameter} message
6489
+ * @param {!jspb.BinaryWriter} writer
6490
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6491
+ */
6492
+ proto.pulumirpc.ProviderParameter.serializeBinaryToWriter = function(message, writer) {
6493
+ var f = undefined;
6494
+ f = message.getName();
6495
+ if (f.length > 0) {
6496
+ writer.writeString(
6497
+ 1,
6498
+ f
6499
+ );
6500
+ }
6501
+ f = message.getVersion();
6502
+ if (f.length > 0) {
6503
+ writer.writeString(
6504
+ 2,
6505
+ f
6506
+ );
6507
+ }
6508
+ f = message.getValue();
6509
+ if (f != null) {
6510
+ writer.writeMessage(
6511
+ 3,
6512
+ f,
6513
+ google_protobuf_struct_pb.Value.serializeBinaryToWriter
6514
+ );
6515
+ }
6516
+ };
6517
+
6518
+
6519
+ /**
6520
+ * optional string name = 1;
6521
+ * @return {string}
6522
+ */
6523
+ proto.pulumirpc.ProviderParameter.prototype.getName = function() {
6524
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6525
+ };
6526
+
6527
+
6528
+ /**
6529
+ * @param {string} value
6530
+ * @return {!proto.pulumirpc.ProviderParameter} returns this
6531
+ */
6532
+ proto.pulumirpc.ProviderParameter.prototype.setName = function(value) {
6533
+ return jspb.Message.setProto3StringField(this, 1, value);
6534
+ };
6535
+
6536
+
6537
+ /**
6538
+ * optional string version = 2;
6539
+ * @return {string}
6540
+ */
6541
+ proto.pulumirpc.ProviderParameter.prototype.getVersion = function() {
6542
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6543
+ };
6544
+
6545
+
6546
+ /**
6547
+ * @param {string} value
6548
+ * @return {!proto.pulumirpc.ProviderParameter} returns this
6549
+ */
6550
+ proto.pulumirpc.ProviderParameter.prototype.setVersion = function(value) {
6551
+ return jspb.Message.setProto3StringField(this, 2, value);
6552
+ };
6553
+
6554
+
6555
+ /**
6556
+ * optional google.protobuf.Value value = 3;
6557
+ * @return {?proto.google.protobuf.Value}
6558
+ */
6559
+ proto.pulumirpc.ProviderParameter.prototype.getValue = function() {
6560
+ return /** @type{?proto.google.protobuf.Value} */ (
6561
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Value, 3));
6562
+ };
6563
+
6564
+
6565
+ /**
6566
+ * @param {?proto.google.protobuf.Value|undefined} value
6567
+ * @return {!proto.pulumirpc.ProviderParameter} returns this
6568
+ */
6569
+ proto.pulumirpc.ProviderParameter.prototype.setValue = function(value) {
6570
+ return jspb.Message.setWrapperField(this, 3, value);
6571
+ };
6572
+
6573
+
6574
+ /**
6575
+ * Clears the message field making it undefined.
6576
+ * @return {!proto.pulumirpc.ProviderParameter} returns this
6577
+ */
6578
+ proto.pulumirpc.ProviderParameter.prototype.clearValue = function() {
6579
+ return this.setValue(undefined);
6580
+ };
6581
+
6582
+
6583
+ /**
6584
+ * Returns whether this field is set.
6585
+ * @return {boolean}
6586
+ */
6587
+ proto.pulumirpc.ProviderParameter.prototype.hasValue = function() {
6588
+ return jspb.Message.getField(this, 3) != null;
6589
+ };
6590
+
6591
+
6308
6592
  /**
6309
6593
  * @enum {number}
6310
6594
  */
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "3.119.0";
1
+ export declare const version = "3.119.1";
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.119.0";
16
+ exports.version = "3.119.1-alpha.x13ffd51";
17
17
  //# sourceMappingURL=version.js.map