@pulumi/pulumi 3.216.0-alpha.xc23a8a4 → 3.216.0-alpha.xee4f370
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/error.js +15 -4
- package/cmd/run/error.js.map +1 -1
- package/package.json +1 -1
- package/proto/engine_grpc_pb.d.ts +17 -0
- package/proto/engine_grpc_pb.js +35 -1
- package/proto/engine_pb.d.ts +37 -0
- package/proto/engine_pb.js +275 -0
- package/proto/provider_pb.d.ts +0 -6
- package/proto/provider_pb.js +1 -49
- package/version.js +1 -1
package/cmd/run/error.js
CHANGED
|
@@ -31,14 +31,25 @@ const util = __importStar(require("util"));
|
|
|
31
31
|
*/
|
|
32
32
|
function defaultErrorMessage(err) {
|
|
33
33
|
if (err?.stack) {
|
|
34
|
-
// colorize stack trace if exists, but fallback to
|
|
35
|
-
//
|
|
36
|
-
//
|
|
34
|
+
// colorize stack trace if exists, but fallback to uncolorized version if that fails,
|
|
35
|
+
// and finally to the message/stack directly. See
|
|
36
|
+
// https://github.com/pulumi/pulumi/issues/20567 and https://github.com/pulumi/pulumi/issues/21326
|
|
37
|
+
// where this can cause RangeErrors due to large error objects (e.g., SDK errors with
|
|
38
|
+
// large request/response metadata).
|
|
37
39
|
try {
|
|
38
40
|
return util.inspect(err, { colors: true });
|
|
39
41
|
}
|
|
40
42
|
catch {
|
|
41
|
-
|
|
43
|
+
try {
|
|
44
|
+
return util.inspect(err);
|
|
45
|
+
}
|
|
46
|
+
catch {
|
|
47
|
+
// If both inspect calls fail (object too large), fallback to message/stack directly.
|
|
48
|
+
if (typeof err?.message === "string") {
|
|
49
|
+
return err.stack; // stack includes the message
|
|
50
|
+
}
|
|
51
|
+
return String(err);
|
|
52
|
+
}
|
|
42
53
|
}
|
|
43
54
|
}
|
|
44
55
|
if (err?.message) {
|
package/cmd/run/error.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../cmd/run/error.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;;;;;;;;;AAEjC,2CAA6B;AAE7B;;;;;;;GAOG;AACH,SAAgB,mBAAmB,CAAC,GAAQ;IACxC,IAAI,GAAG,EAAE,KAAK,EAAE;QACZ,
|
|
1
|
+
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../cmd/run/error.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;;;;;;;;;AAEjC,2CAA6B;AAE7B;;;;;;;GAOG;AACH,SAAgB,mBAAmB,CAAC,GAAQ;IACxC,IAAI,GAAG,EAAE,KAAK,EAAE;QACZ,qFAAqF;QACrF,iDAAiD;QACjD,kGAAkG;QAClG,qFAAqF;QACrF,oCAAoC;QACpC,IAAI;YACA,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;SAC9C;QAAC,MAAM;YACJ,IAAI;gBACA,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;aAC5B;YAAC,MAAM;gBACJ,qFAAqF;gBACrF,IAAI,OAAO,GAAG,EAAE,OAAO,KAAK,QAAQ,EAAE;oBAClC,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC,6BAA6B;iBAClD;gBACD,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;aACtB;SACJ;KACJ;IACD,IAAI,GAAG,EAAE,OAAO,EAAE;QACd,OAAO,GAAG,CAAC,OAAO,CAAC;KACtB;IACD,IAAI;QACA,OAAO,EAAE,GAAG,GAAG,CAAC;KACnB;IAAC,MAAM;QACJ,oFAAoF;QACpF,IAAI;YACA,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;SAC5B;QAAC,OAAO,KAAK,EAAE;YACZ,OAAO,gDAAgD,KAAK,CAAC,OAAO,EAAE,CAAC;SAC1E;KACJ;AACL,CAAC;AAlCD,kDAkCC"}
|
package/package.json
CHANGED
|
@@ -14,6 +14,7 @@ interface IEngineService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
|
|
|
14
14
|
getRootResource: IEngineService_IGetRootResource;
|
|
15
15
|
setRootResource: IEngineService_ISetRootResource;
|
|
16
16
|
startDebugging: IEngineService_IStartDebugging;
|
|
17
|
+
checkPulumiVersion: IEngineService_ICheckPulumiVersion;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
interface IEngineService_ILog extends grpc.MethodDefinition<pulumi_engine_pb.LogRequest, google_protobuf_empty_pb.Empty> {
|
|
@@ -52,6 +53,15 @@ interface IEngineService_IStartDebugging extends grpc.MethodDefinition<pulumi_en
|
|
|
52
53
|
responseSerialize: grpc.serialize<google_protobuf_empty_pb.Empty>;
|
|
53
54
|
responseDeserialize: grpc.deserialize<google_protobuf_empty_pb.Empty>;
|
|
54
55
|
}
|
|
56
|
+
interface IEngineService_ICheckPulumiVersion extends grpc.MethodDefinition<pulumi_engine_pb.CheckPulumiVersionRequest, pulumi_engine_pb.CheckPulumiVersionResponse> {
|
|
57
|
+
path: "/pulumirpc.Engine/CheckPulumiVersion";
|
|
58
|
+
requestStream: false;
|
|
59
|
+
responseStream: false;
|
|
60
|
+
requestSerialize: grpc.serialize<pulumi_engine_pb.CheckPulumiVersionRequest>;
|
|
61
|
+
requestDeserialize: grpc.deserialize<pulumi_engine_pb.CheckPulumiVersionRequest>;
|
|
62
|
+
responseSerialize: grpc.serialize<pulumi_engine_pb.CheckPulumiVersionResponse>;
|
|
63
|
+
responseDeserialize: grpc.deserialize<pulumi_engine_pb.CheckPulumiVersionResponse>;
|
|
64
|
+
}
|
|
55
65
|
|
|
56
66
|
export const EngineService: IEngineService;
|
|
57
67
|
|
|
@@ -60,6 +70,7 @@ export interface IEngineServer extends grpc.UntypedServiceImplementation {
|
|
|
60
70
|
getRootResource: grpc.handleUnaryCall<pulumi_engine_pb.GetRootResourceRequest, pulumi_engine_pb.GetRootResourceResponse>;
|
|
61
71
|
setRootResource: grpc.handleUnaryCall<pulumi_engine_pb.SetRootResourceRequest, pulumi_engine_pb.SetRootResourceResponse>;
|
|
62
72
|
startDebugging: grpc.handleUnaryCall<pulumi_engine_pb.StartDebuggingRequest, google_protobuf_empty_pb.Empty>;
|
|
73
|
+
checkPulumiVersion: grpc.handleUnaryCall<pulumi_engine_pb.CheckPulumiVersionRequest, pulumi_engine_pb.CheckPulumiVersionResponse>;
|
|
63
74
|
}
|
|
64
75
|
|
|
65
76
|
export interface IEngineClient {
|
|
@@ -75,6 +86,9 @@ export interface IEngineClient {
|
|
|
75
86
|
startDebugging(request: pulumi_engine_pb.StartDebuggingRequest, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
76
87
|
startDebugging(request: pulumi_engine_pb.StartDebuggingRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
77
88
|
startDebugging(request: pulumi_engine_pb.StartDebuggingRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
89
|
+
checkPulumiVersion(request: pulumi_engine_pb.CheckPulumiVersionRequest, callback: (error: grpc.ServiceError | null, response: pulumi_engine_pb.CheckPulumiVersionResponse) => void): grpc.ClientUnaryCall;
|
|
90
|
+
checkPulumiVersion(request: pulumi_engine_pb.CheckPulumiVersionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_engine_pb.CheckPulumiVersionResponse) => void): grpc.ClientUnaryCall;
|
|
91
|
+
checkPulumiVersion(request: pulumi_engine_pb.CheckPulumiVersionRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_engine_pb.CheckPulumiVersionResponse) => void): grpc.ClientUnaryCall;
|
|
78
92
|
}
|
|
79
93
|
|
|
80
94
|
export class EngineClient extends grpc.Client implements IEngineClient {
|
|
@@ -91,4 +105,7 @@ export class EngineClient extends grpc.Client implements IEngineClient {
|
|
|
91
105
|
public startDebugging(request: pulumi_engine_pb.StartDebuggingRequest, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
92
106
|
public startDebugging(request: pulumi_engine_pb.StartDebuggingRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
93
107
|
public startDebugging(request: pulumi_engine_pb.StartDebuggingRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
108
|
+
public checkPulumiVersion(request: pulumi_engine_pb.CheckPulumiVersionRequest, callback: (error: grpc.ServiceError | null, response: pulumi_engine_pb.CheckPulumiVersionResponse) => void): grpc.ClientUnaryCall;
|
|
109
|
+
public checkPulumiVersion(request: pulumi_engine_pb.CheckPulumiVersionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_engine_pb.CheckPulumiVersionResponse) => void): grpc.ClientUnaryCall;
|
|
110
|
+
public checkPulumiVersion(request: pulumi_engine_pb.CheckPulumiVersionRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_engine_pb.CheckPulumiVersionResponse) => void): grpc.ClientUnaryCall;
|
|
94
111
|
}
|
package/proto/engine_grpc_pb.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED CODE -- DO NOT EDIT!
|
|
2
2
|
|
|
3
3
|
// Original file comments:
|
|
4
|
-
// Copyright 2016-
|
|
4
|
+
// Copyright 2016-2026, Pulumi Corporation.
|
|
5
5
|
//
|
|
6
6
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
7
|
// you may not use this file except in compliance with the License.
|
|
@@ -32,6 +32,28 @@ function deserialize_google_protobuf_Empty(buffer_arg) {
|
|
|
32
32
|
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
function serialize_pulumirpc_CheckPulumiVersionRequest(arg) {
|
|
36
|
+
if (!(arg instanceof pulumi_engine_pb.CheckPulumiVersionRequest)) {
|
|
37
|
+
throw new Error('Expected argument of type pulumirpc.CheckPulumiVersionRequest');
|
|
38
|
+
}
|
|
39
|
+
return Buffer.from(arg.serializeBinary());
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function deserialize_pulumirpc_CheckPulumiVersionRequest(buffer_arg) {
|
|
43
|
+
return pulumi_engine_pb.CheckPulumiVersionRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function serialize_pulumirpc_CheckPulumiVersionResponse(arg) {
|
|
47
|
+
if (!(arg instanceof pulumi_engine_pb.CheckPulumiVersionResponse)) {
|
|
48
|
+
throw new Error('Expected argument of type pulumirpc.CheckPulumiVersionResponse');
|
|
49
|
+
}
|
|
50
|
+
return Buffer.from(arg.serializeBinary());
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function deserialize_pulumirpc_CheckPulumiVersionResponse(buffer_arg) {
|
|
54
|
+
return pulumi_engine_pb.CheckPulumiVersionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
55
|
+
}
|
|
56
|
+
|
|
35
57
|
function serialize_pulumirpc_GetRootResourceRequest(arg) {
|
|
36
58
|
if (!(arg instanceof pulumi_engine_pb.GetRootResourceRequest)) {
|
|
37
59
|
throw new Error('Expected argument of type pulumirpc.GetRootResourceRequest');
|
|
@@ -153,6 +175,18 @@ startDebugging: {
|
|
|
153
175
|
responseSerialize: serialize_google_protobuf_Empty,
|
|
154
176
|
responseDeserialize: deserialize_google_protobuf_Empty,
|
|
155
177
|
},
|
|
178
|
+
// CheckPulumiVersion checks that the version of the engine satisfies the passed in range.
|
|
179
|
+
checkPulumiVersion: {
|
|
180
|
+
path: '/pulumirpc.Engine/CheckPulumiVersion',
|
|
181
|
+
requestStream: false,
|
|
182
|
+
responseStream: false,
|
|
183
|
+
requestType: pulumi_engine_pb.CheckPulumiVersionRequest,
|
|
184
|
+
responseType: pulumi_engine_pb.CheckPulumiVersionResponse,
|
|
185
|
+
requestSerialize: serialize_pulumirpc_CheckPulumiVersionRequest,
|
|
186
|
+
requestDeserialize: deserialize_pulumirpc_CheckPulumiVersionRequest,
|
|
187
|
+
responseSerialize: serialize_pulumirpc_CheckPulumiVersionResponse,
|
|
188
|
+
responseDeserialize: deserialize_pulumirpc_CheckPulumiVersionResponse,
|
|
189
|
+
},
|
|
156
190
|
};
|
|
157
191
|
|
|
158
192
|
exports.EngineClient = grpc.makeGenericClientConstructor(EngineService, 'Engine');
|
package/proto/engine_pb.d.ts
CHANGED
|
@@ -140,6 +140,43 @@ export namespace StartDebuggingRequest {
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
export class CheckPulumiVersionRequest extends jspb.Message {
|
|
144
|
+
getPulumiVersionRange(): string;
|
|
145
|
+
setPulumiVersionRange(value: string): CheckPulumiVersionRequest;
|
|
146
|
+
|
|
147
|
+
serializeBinary(): Uint8Array;
|
|
148
|
+
toObject(includeInstance?: boolean): CheckPulumiVersionRequest.AsObject;
|
|
149
|
+
static toObject(includeInstance: boolean, msg: CheckPulumiVersionRequest): CheckPulumiVersionRequest.AsObject;
|
|
150
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
151
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
152
|
+
static serializeBinaryToWriter(message: CheckPulumiVersionRequest, writer: jspb.BinaryWriter): void;
|
|
153
|
+
static deserializeBinary(bytes: Uint8Array): CheckPulumiVersionRequest;
|
|
154
|
+
static deserializeBinaryFromReader(message: CheckPulumiVersionRequest, reader: jspb.BinaryReader): CheckPulumiVersionRequest;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export namespace CheckPulumiVersionRequest {
|
|
158
|
+
export type AsObject = {
|
|
159
|
+
pulumiVersionRange: string,
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export class CheckPulumiVersionResponse extends jspb.Message {
|
|
164
|
+
|
|
165
|
+
serializeBinary(): Uint8Array;
|
|
166
|
+
toObject(includeInstance?: boolean): CheckPulumiVersionResponse.AsObject;
|
|
167
|
+
static toObject(includeInstance: boolean, msg: CheckPulumiVersionResponse): CheckPulumiVersionResponse.AsObject;
|
|
168
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
169
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
170
|
+
static serializeBinaryToWriter(message: CheckPulumiVersionResponse, writer: jspb.BinaryWriter): void;
|
|
171
|
+
static deserializeBinary(bytes: Uint8Array): CheckPulumiVersionResponse;
|
|
172
|
+
static deserializeBinaryFromReader(message: CheckPulumiVersionResponse, reader: jspb.BinaryReader): CheckPulumiVersionResponse;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export namespace CheckPulumiVersionResponse {
|
|
176
|
+
export type AsObject = {
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
143
180
|
export enum LogSeverity {
|
|
144
181
|
DEBUG = 0,
|
|
145
182
|
INFO = 1,
|
package/proto/engine_pb.js
CHANGED
|
@@ -19,6 +19,8 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
|
|
|
19
19
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
20
20
|
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
21
21
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
22
|
+
goog.exportSymbol('proto.pulumirpc.CheckPulumiVersionRequest', null, global);
|
|
23
|
+
goog.exportSymbol('proto.pulumirpc.CheckPulumiVersionResponse', null, global);
|
|
22
24
|
goog.exportSymbol('proto.pulumirpc.GetRootResourceRequest', null, global);
|
|
23
25
|
goog.exportSymbol('proto.pulumirpc.GetRootResourceResponse', null, global);
|
|
24
26
|
goog.exportSymbol('proto.pulumirpc.LogRequest', null, global);
|
|
@@ -152,6 +154,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
152
154
|
*/
|
|
153
155
|
proto.pulumirpc.StartDebuggingRequest.displayName = 'proto.pulumirpc.StartDebuggingRequest';
|
|
154
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* Generated by JsPbCodeGenerator.
|
|
159
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
160
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
161
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
162
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
163
|
+
* valid.
|
|
164
|
+
* @extends {jspb.Message}
|
|
165
|
+
* @constructor
|
|
166
|
+
*/
|
|
167
|
+
proto.pulumirpc.CheckPulumiVersionRequest = function(opt_data) {
|
|
168
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
169
|
+
};
|
|
170
|
+
goog.inherits(proto.pulumirpc.CheckPulumiVersionRequest, jspb.Message);
|
|
171
|
+
if (goog.DEBUG && !COMPILED) {
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
* @override
|
|
175
|
+
*/
|
|
176
|
+
proto.pulumirpc.CheckPulumiVersionRequest.displayName = 'proto.pulumirpc.CheckPulumiVersionRequest';
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Generated by JsPbCodeGenerator.
|
|
180
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
181
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
182
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
183
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
184
|
+
* valid.
|
|
185
|
+
* @extends {jspb.Message}
|
|
186
|
+
* @constructor
|
|
187
|
+
*/
|
|
188
|
+
proto.pulumirpc.CheckPulumiVersionResponse = function(opt_data) {
|
|
189
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
190
|
+
};
|
|
191
|
+
goog.inherits(proto.pulumirpc.CheckPulumiVersionResponse, jspb.Message);
|
|
192
|
+
if (goog.DEBUG && !COMPILED) {
|
|
193
|
+
/**
|
|
194
|
+
* @public
|
|
195
|
+
* @override
|
|
196
|
+
*/
|
|
197
|
+
proto.pulumirpc.CheckPulumiVersionResponse.displayName = 'proto.pulumirpc.CheckPulumiVersionResponse';
|
|
198
|
+
}
|
|
155
199
|
|
|
156
200
|
|
|
157
201
|
|
|
@@ -1045,6 +1089,237 @@ proto.pulumirpc.StartDebuggingRequest.prototype.setMessage = function(value) {
|
|
|
1045
1089
|
};
|
|
1046
1090
|
|
|
1047
1091
|
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1096
|
+
/**
|
|
1097
|
+
* Creates an object representation of this proto.
|
|
1098
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1099
|
+
* Optional fields that are not set will be set to undefined.
|
|
1100
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1101
|
+
* For the list of reserved names please see:
|
|
1102
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1103
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1104
|
+
* JSPB instance for transitional soy proto support:
|
|
1105
|
+
* http://goto/soy-param-migration
|
|
1106
|
+
* @return {!Object}
|
|
1107
|
+
*/
|
|
1108
|
+
proto.pulumirpc.CheckPulumiVersionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1109
|
+
return proto.pulumirpc.CheckPulumiVersionRequest.toObject(opt_includeInstance, this);
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* Static version of the {@see toObject} method.
|
|
1115
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1116
|
+
* the JSPB instance for transitional soy proto support:
|
|
1117
|
+
* http://goto/soy-param-migration
|
|
1118
|
+
* @param {!proto.pulumirpc.CheckPulumiVersionRequest} msg The msg instance to transform.
|
|
1119
|
+
* @return {!Object}
|
|
1120
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1121
|
+
*/
|
|
1122
|
+
proto.pulumirpc.CheckPulumiVersionRequest.toObject = function(includeInstance, msg) {
|
|
1123
|
+
var f, obj = {
|
|
1124
|
+
pulumiVersionRange: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1125
|
+
};
|
|
1126
|
+
|
|
1127
|
+
if (includeInstance) {
|
|
1128
|
+
obj.$jspbMessageInstance = msg;
|
|
1129
|
+
}
|
|
1130
|
+
return obj;
|
|
1131
|
+
};
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1137
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1138
|
+
* @return {!proto.pulumirpc.CheckPulumiVersionRequest}
|
|
1139
|
+
*/
|
|
1140
|
+
proto.pulumirpc.CheckPulumiVersionRequest.deserializeBinary = function(bytes) {
|
|
1141
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1142
|
+
var msg = new proto.pulumirpc.CheckPulumiVersionRequest;
|
|
1143
|
+
return proto.pulumirpc.CheckPulumiVersionRequest.deserializeBinaryFromReader(msg, reader);
|
|
1144
|
+
};
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1149
|
+
* given reader into the given message object.
|
|
1150
|
+
* @param {!proto.pulumirpc.CheckPulumiVersionRequest} msg The message object to deserialize into.
|
|
1151
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1152
|
+
* @return {!proto.pulumirpc.CheckPulumiVersionRequest}
|
|
1153
|
+
*/
|
|
1154
|
+
proto.pulumirpc.CheckPulumiVersionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1155
|
+
while (reader.nextField()) {
|
|
1156
|
+
if (reader.isEndGroup()) {
|
|
1157
|
+
break;
|
|
1158
|
+
}
|
|
1159
|
+
var field = reader.getFieldNumber();
|
|
1160
|
+
switch (field) {
|
|
1161
|
+
case 1:
|
|
1162
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1163
|
+
msg.setPulumiVersionRange(value);
|
|
1164
|
+
break;
|
|
1165
|
+
default:
|
|
1166
|
+
reader.skipField();
|
|
1167
|
+
break;
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
return msg;
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1176
|
+
* @return {!Uint8Array}
|
|
1177
|
+
*/
|
|
1178
|
+
proto.pulumirpc.CheckPulumiVersionRequest.prototype.serializeBinary = function() {
|
|
1179
|
+
var writer = new jspb.BinaryWriter();
|
|
1180
|
+
proto.pulumirpc.CheckPulumiVersionRequest.serializeBinaryToWriter(this, writer);
|
|
1181
|
+
return writer.getResultBuffer();
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1187
|
+
* format), writing to the given BinaryWriter.
|
|
1188
|
+
* @param {!proto.pulumirpc.CheckPulumiVersionRequest} message
|
|
1189
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1190
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1191
|
+
*/
|
|
1192
|
+
proto.pulumirpc.CheckPulumiVersionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1193
|
+
var f = undefined;
|
|
1194
|
+
f = message.getPulumiVersionRange();
|
|
1195
|
+
if (f.length > 0) {
|
|
1196
|
+
writer.writeString(
|
|
1197
|
+
1,
|
|
1198
|
+
f
|
|
1199
|
+
);
|
|
1200
|
+
}
|
|
1201
|
+
};
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* optional string pulumi_version_range = 1;
|
|
1206
|
+
* @return {string}
|
|
1207
|
+
*/
|
|
1208
|
+
proto.pulumirpc.CheckPulumiVersionRequest.prototype.getPulumiVersionRange = function() {
|
|
1209
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1210
|
+
};
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* @param {string} value
|
|
1215
|
+
* @return {!proto.pulumirpc.CheckPulumiVersionRequest} returns this
|
|
1216
|
+
*/
|
|
1217
|
+
proto.pulumirpc.CheckPulumiVersionRequest.prototype.setPulumiVersionRange = function(value) {
|
|
1218
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1219
|
+
};
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1226
|
+
/**
|
|
1227
|
+
* Creates an object representation of this proto.
|
|
1228
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1229
|
+
* Optional fields that are not set will be set to undefined.
|
|
1230
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1231
|
+
* For the list of reserved names please see:
|
|
1232
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1233
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1234
|
+
* JSPB instance for transitional soy proto support:
|
|
1235
|
+
* http://goto/soy-param-migration
|
|
1236
|
+
* @return {!Object}
|
|
1237
|
+
*/
|
|
1238
|
+
proto.pulumirpc.CheckPulumiVersionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1239
|
+
return proto.pulumirpc.CheckPulumiVersionResponse.toObject(opt_includeInstance, this);
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* Static version of the {@see toObject} method.
|
|
1245
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1246
|
+
* the JSPB instance for transitional soy proto support:
|
|
1247
|
+
* http://goto/soy-param-migration
|
|
1248
|
+
* @param {!proto.pulumirpc.CheckPulumiVersionResponse} msg The msg instance to transform.
|
|
1249
|
+
* @return {!Object}
|
|
1250
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1251
|
+
*/
|
|
1252
|
+
proto.pulumirpc.CheckPulumiVersionResponse.toObject = function(includeInstance, msg) {
|
|
1253
|
+
var f, obj = {
|
|
1254
|
+
|
|
1255
|
+
};
|
|
1256
|
+
|
|
1257
|
+
if (includeInstance) {
|
|
1258
|
+
obj.$jspbMessageInstance = msg;
|
|
1259
|
+
}
|
|
1260
|
+
return obj;
|
|
1261
|
+
};
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1267
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1268
|
+
* @return {!proto.pulumirpc.CheckPulumiVersionResponse}
|
|
1269
|
+
*/
|
|
1270
|
+
proto.pulumirpc.CheckPulumiVersionResponse.deserializeBinary = function(bytes) {
|
|
1271
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1272
|
+
var msg = new proto.pulumirpc.CheckPulumiVersionResponse;
|
|
1273
|
+
return proto.pulumirpc.CheckPulumiVersionResponse.deserializeBinaryFromReader(msg, reader);
|
|
1274
|
+
};
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1279
|
+
* given reader into the given message object.
|
|
1280
|
+
* @param {!proto.pulumirpc.CheckPulumiVersionResponse} msg The message object to deserialize into.
|
|
1281
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1282
|
+
* @return {!proto.pulumirpc.CheckPulumiVersionResponse}
|
|
1283
|
+
*/
|
|
1284
|
+
proto.pulumirpc.CheckPulumiVersionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1285
|
+
while (reader.nextField()) {
|
|
1286
|
+
if (reader.isEndGroup()) {
|
|
1287
|
+
break;
|
|
1288
|
+
}
|
|
1289
|
+
var field = reader.getFieldNumber();
|
|
1290
|
+
switch (field) {
|
|
1291
|
+
default:
|
|
1292
|
+
reader.skipField();
|
|
1293
|
+
break;
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
return msg;
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1302
|
+
* @return {!Uint8Array}
|
|
1303
|
+
*/
|
|
1304
|
+
proto.pulumirpc.CheckPulumiVersionResponse.prototype.serializeBinary = function() {
|
|
1305
|
+
var writer = new jspb.BinaryWriter();
|
|
1306
|
+
proto.pulumirpc.CheckPulumiVersionResponse.serializeBinaryToWriter(this, writer);
|
|
1307
|
+
return writer.getResultBuffer();
|
|
1308
|
+
};
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1313
|
+
* format), writing to the given BinaryWriter.
|
|
1314
|
+
* @param {!proto.pulumirpc.CheckPulumiVersionResponse} message
|
|
1315
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1316
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1317
|
+
*/
|
|
1318
|
+
proto.pulumirpc.CheckPulumiVersionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1319
|
+
var f = undefined;
|
|
1320
|
+
};
|
|
1321
|
+
|
|
1322
|
+
|
|
1048
1323
|
/**
|
|
1049
1324
|
* @enum {number}
|
|
1050
1325
|
*/
|
package/proto/provider_pb.d.ts
CHANGED
|
@@ -63,11 +63,6 @@ export class ProviderHandshakeResponse extends jspb.Message {
|
|
|
63
63
|
getSupportsAutonamingConfiguration(): boolean;
|
|
64
64
|
setSupportsAutonamingConfiguration(value: boolean): ProviderHandshakeResponse;
|
|
65
65
|
|
|
66
|
-
hasPulumiVersionRange(): boolean;
|
|
67
|
-
clearPulumiVersionRange(): void;
|
|
68
|
-
getPulumiVersionRange(): string | undefined;
|
|
69
|
-
setPulumiVersionRange(value: string): ProviderHandshakeResponse;
|
|
70
|
-
|
|
71
66
|
serializeBinary(): Uint8Array;
|
|
72
67
|
toObject(includeInstance?: boolean): ProviderHandshakeResponse.AsObject;
|
|
73
68
|
static toObject(includeInstance: boolean, msg: ProviderHandshakeResponse): ProviderHandshakeResponse.AsObject;
|
|
@@ -84,7 +79,6 @@ export namespace ProviderHandshakeResponse {
|
|
|
84
79
|
acceptResources: boolean,
|
|
85
80
|
acceptOutputs: boolean,
|
|
86
81
|
supportsAutonamingConfiguration: boolean,
|
|
87
|
-
pulumiVersionRange?: string,
|
|
88
82
|
}
|
|
89
83
|
}
|
|
90
84
|
|
package/proto/provider_pb.js
CHANGED
|
@@ -1374,8 +1374,7 @@ proto.pulumirpc.ProviderHandshakeResponse.toObject = function(includeInstance, m
|
|
|
1374
1374
|
acceptSecrets: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
1375
1375
|
acceptResources: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
1376
1376
|
acceptOutputs: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
1377
|
-
supportsAutonamingConfiguration: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
1378
|
-
pulumiVersionRange: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f
|
|
1377
|
+
supportsAutonamingConfiguration: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
1379
1378
|
};
|
|
1380
1379
|
|
|
1381
1380
|
if (includeInstance) {
|
|
@@ -1428,10 +1427,6 @@ proto.pulumirpc.ProviderHandshakeResponse.deserializeBinaryFromReader = function
|
|
|
1428
1427
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
1429
1428
|
msg.setSupportsAutonamingConfiguration(value);
|
|
1430
1429
|
break;
|
|
1431
|
-
case 5:
|
|
1432
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1433
|
-
msg.setPulumiVersionRange(value);
|
|
1434
|
-
break;
|
|
1435
1430
|
default:
|
|
1436
1431
|
reader.skipField();
|
|
1437
1432
|
break;
|
|
@@ -1489,13 +1484,6 @@ proto.pulumirpc.ProviderHandshakeResponse.serializeBinaryToWriter = function(mes
|
|
|
1489
1484
|
f
|
|
1490
1485
|
);
|
|
1491
1486
|
}
|
|
1492
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
1493
|
-
if (f != null) {
|
|
1494
|
-
writer.writeString(
|
|
1495
|
-
5,
|
|
1496
|
-
f
|
|
1497
|
-
);
|
|
1498
|
-
}
|
|
1499
1487
|
};
|
|
1500
1488
|
|
|
1501
1489
|
|
|
@@ -1571,42 +1559,6 @@ proto.pulumirpc.ProviderHandshakeResponse.prototype.setSupportsAutonamingConfigu
|
|
|
1571
1559
|
};
|
|
1572
1560
|
|
|
1573
1561
|
|
|
1574
|
-
/**
|
|
1575
|
-
* optional string pulumi_version_range = 5;
|
|
1576
|
-
* @return {string}
|
|
1577
|
-
*/
|
|
1578
|
-
proto.pulumirpc.ProviderHandshakeResponse.prototype.getPulumiVersionRange = function() {
|
|
1579
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1580
|
-
};
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
/**
|
|
1584
|
-
* @param {string} value
|
|
1585
|
-
* @return {!proto.pulumirpc.ProviderHandshakeResponse} returns this
|
|
1586
|
-
*/
|
|
1587
|
-
proto.pulumirpc.ProviderHandshakeResponse.prototype.setPulumiVersionRange = function(value) {
|
|
1588
|
-
return jspb.Message.setField(this, 5, value);
|
|
1589
|
-
};
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
/**
|
|
1593
|
-
* Clears the field making it undefined.
|
|
1594
|
-
* @return {!proto.pulumirpc.ProviderHandshakeResponse} returns this
|
|
1595
|
-
*/
|
|
1596
|
-
proto.pulumirpc.ProviderHandshakeResponse.prototype.clearPulumiVersionRange = function() {
|
|
1597
|
-
return jspb.Message.setField(this, 5, undefined);
|
|
1598
|
-
};
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
/**
|
|
1602
|
-
* Returns whether this field is set.
|
|
1603
|
-
* @return {boolean}
|
|
1604
|
-
*/
|
|
1605
|
-
proto.pulumirpc.ProviderHandshakeResponse.prototype.hasPulumiVersionRange = function() {
|
|
1606
|
-
return jspb.Message.getField(this, 5) != null;
|
|
1607
|
-
};
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
1562
|
|
|
1611
1563
|
/**
|
|
1612
1564
|
* Oneof group definitions for this message. Each group defines the field
|
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.216.0-alpha.
|
|
16
|
+
exports.version = "3.216.0-alpha.xee4f370";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|