@pulumi/pulumi 3.169.0 → 3.170.0-alpha.x6eb80e0
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/package.json +1 -1
- package/proto/analyzer_grpc_pb.d.ts +17 -0
- package/proto/analyzer_grpc_pb.js +36 -0
- package/proto/analyzer_pb.d.ts +29 -18
- package/proto/analyzer_pb.js +161 -89
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -18,6 +18,7 @@ interface IAnalyzerService extends grpc.ServiceDefinition<grpc.UntypedServiceImp
|
|
|
18
18
|
getPluginInfo: IAnalyzerService_IGetPluginInfo;
|
|
19
19
|
configure: IAnalyzerService_IConfigure;
|
|
20
20
|
handshake: IAnalyzerService_IHandshake;
|
|
21
|
+
configureStack: IAnalyzerService_IConfigureStack;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
interface IAnalyzerService_IAnalyze extends grpc.MethodDefinition<pulumi_analyzer_pb.AnalyzeRequest, pulumi_analyzer_pb.AnalyzeResponse> {
|
|
@@ -83,6 +84,15 @@ interface IAnalyzerService_IHandshake extends grpc.MethodDefinition<pulumi_analy
|
|
|
83
84
|
responseSerialize: grpc.serialize<pulumi_analyzer_pb.AnalyzerHandshakeResponse>;
|
|
84
85
|
responseDeserialize: grpc.deserialize<pulumi_analyzer_pb.AnalyzerHandshakeResponse>;
|
|
85
86
|
}
|
|
87
|
+
interface IAnalyzerService_IConfigureStack extends grpc.MethodDefinition<pulumi_analyzer_pb.AnalyzerStackConfigureRequest, pulumi_analyzer_pb.AnalyzerStackConfigureResponse> {
|
|
88
|
+
path: "/pulumirpc.Analyzer/ConfigureStack";
|
|
89
|
+
requestStream: false;
|
|
90
|
+
responseStream: false;
|
|
91
|
+
requestSerialize: grpc.serialize<pulumi_analyzer_pb.AnalyzerStackConfigureRequest>;
|
|
92
|
+
requestDeserialize: grpc.deserialize<pulumi_analyzer_pb.AnalyzerStackConfigureRequest>;
|
|
93
|
+
responseSerialize: grpc.serialize<pulumi_analyzer_pb.AnalyzerStackConfigureResponse>;
|
|
94
|
+
responseDeserialize: grpc.deserialize<pulumi_analyzer_pb.AnalyzerStackConfigureResponse>;
|
|
95
|
+
}
|
|
86
96
|
|
|
87
97
|
export const AnalyzerService: IAnalyzerService;
|
|
88
98
|
|
|
@@ -94,6 +104,7 @@ export interface IAnalyzerServer extends grpc.UntypedServiceImplementation {
|
|
|
94
104
|
getPluginInfo: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, pulumi_plugin_pb.PluginInfo>;
|
|
95
105
|
configure: grpc.handleUnaryCall<pulumi_analyzer_pb.ConfigureAnalyzerRequest, google_protobuf_empty_pb.Empty>;
|
|
96
106
|
handshake: grpc.handleUnaryCall<pulumi_analyzer_pb.AnalyzerHandshakeRequest, pulumi_analyzer_pb.AnalyzerHandshakeResponse>;
|
|
107
|
+
configureStack: grpc.handleUnaryCall<pulumi_analyzer_pb.AnalyzerStackConfigureRequest, pulumi_analyzer_pb.AnalyzerStackConfigureResponse>;
|
|
97
108
|
}
|
|
98
109
|
|
|
99
110
|
export interface IAnalyzerClient {
|
|
@@ -118,6 +129,9 @@ export interface IAnalyzerClient {
|
|
|
118
129
|
handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
|
|
119
130
|
handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
|
|
120
131
|
handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
|
|
132
|
+
configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
|
|
133
|
+
configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
|
|
134
|
+
configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
|
|
121
135
|
}
|
|
122
136
|
|
|
123
137
|
export class AnalyzerClient extends grpc.Client implements IAnalyzerClient {
|
|
@@ -143,4 +157,7 @@ export class AnalyzerClient extends grpc.Client implements IAnalyzerClient {
|
|
|
143
157
|
public handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
|
|
144
158
|
public handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
|
|
145
159
|
public handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
|
|
160
|
+
public configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
|
|
161
|
+
public configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
|
|
162
|
+
public configureStack(request: pulumi_analyzer_pb.AnalyzerStackConfigureRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerStackConfigureResponse) => void): grpc.ClientUnaryCall;
|
|
146
163
|
}
|
|
@@ -99,6 +99,28 @@ function deserialize_pulumirpc_AnalyzerInfo(buffer_arg) {
|
|
|
99
99
|
return pulumi_analyzer_pb.AnalyzerInfo.deserializeBinary(new Uint8Array(buffer_arg));
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
function serialize_pulumirpc_AnalyzerStackConfigureRequest(arg) {
|
|
103
|
+
if (!(arg instanceof pulumi_analyzer_pb.AnalyzerStackConfigureRequest)) {
|
|
104
|
+
throw new Error('Expected argument of type pulumirpc.AnalyzerStackConfigureRequest');
|
|
105
|
+
}
|
|
106
|
+
return Buffer.from(arg.serializeBinary());
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function deserialize_pulumirpc_AnalyzerStackConfigureRequest(buffer_arg) {
|
|
110
|
+
return pulumi_analyzer_pb.AnalyzerStackConfigureRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
function serialize_pulumirpc_AnalyzerStackConfigureResponse(arg) {
|
|
114
|
+
if (!(arg instanceof pulumi_analyzer_pb.AnalyzerStackConfigureResponse)) {
|
|
115
|
+
throw new Error('Expected argument of type pulumirpc.AnalyzerStackConfigureResponse');
|
|
116
|
+
}
|
|
117
|
+
return Buffer.from(arg.serializeBinary());
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
function deserialize_pulumirpc_AnalyzerStackConfigureResponse(buffer_arg) {
|
|
121
|
+
return pulumi_analyzer_pb.AnalyzerStackConfigureResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
122
|
+
}
|
|
123
|
+
|
|
102
124
|
function serialize_pulumirpc_ConfigureAnalyzerRequest(arg) {
|
|
103
125
|
if (!(arg instanceof pulumi_analyzer_pb.ConfigureAnalyzerRequest)) {
|
|
104
126
|
throw new Error('Expected argument of type pulumirpc.ConfigureAnalyzerRequest');
|
|
@@ -228,6 +250,20 @@ handshake: {
|
|
|
228
250
|
responseSerialize: serialize_pulumirpc_AnalyzerHandshakeResponse,
|
|
229
251
|
responseDeserialize: deserialize_pulumirpc_AnalyzerHandshakeResponse,
|
|
230
252
|
},
|
|
253
|
+
// `ConfigureStack` is always called if the engine is using the analyzer to analyze resources in a specific stack.
|
|
254
|
+
// This method is not always called, for example if the engine is just booting the analyzer up to call
|
|
255
|
+
// GetAnalyzerInfo.
|
|
256
|
+
configureStack: {
|
|
257
|
+
path: '/pulumirpc.Analyzer/ConfigureStack',
|
|
258
|
+
requestStream: false,
|
|
259
|
+
responseStream: false,
|
|
260
|
+
requestType: pulumi_analyzer_pb.AnalyzerStackConfigureRequest,
|
|
261
|
+
responseType: pulumi_analyzer_pb.AnalyzerStackConfigureResponse,
|
|
262
|
+
requestSerialize: serialize_pulumirpc_AnalyzerStackConfigureRequest,
|
|
263
|
+
requestDeserialize: deserialize_pulumirpc_AnalyzerStackConfigureRequest,
|
|
264
|
+
responseSerialize: serialize_pulumirpc_AnalyzerStackConfigureResponse,
|
|
265
|
+
responseDeserialize: deserialize_pulumirpc_AnalyzerStackConfigureResponse,
|
|
266
|
+
},
|
|
231
267
|
};
|
|
232
268
|
|
|
233
269
|
exports.AnalyzerClient = grpc.makeGenericClientConstructor(AnalyzerService);
|
package/proto/analyzer_pb.d.ts
CHANGED
|
@@ -9,32 +9,32 @@ import * as pulumi_plugin_pb from "./plugin_pb";
|
|
|
9
9
|
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
10
10
|
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
11
11
|
|
|
12
|
-
export class
|
|
12
|
+
export class AnalyzerStackConfigureRequest extends jspb.Message {
|
|
13
13
|
getStack(): string;
|
|
14
|
-
setStack(value: string):
|
|
14
|
+
setStack(value: string): AnalyzerStackConfigureRequest;
|
|
15
15
|
getProject(): string;
|
|
16
|
-
setProject(value: string):
|
|
16
|
+
setProject(value: string): AnalyzerStackConfigureRequest;
|
|
17
17
|
getOrganization(): string;
|
|
18
|
-
setOrganization(value: string):
|
|
18
|
+
setOrganization(value: string): AnalyzerStackConfigureRequest;
|
|
19
19
|
getDryRun(): boolean;
|
|
20
|
-
setDryRun(value: boolean):
|
|
20
|
+
setDryRun(value: boolean): AnalyzerStackConfigureRequest;
|
|
21
21
|
|
|
22
22
|
hasConfig(): boolean;
|
|
23
23
|
clearConfig(): void;
|
|
24
24
|
getConfig(): google_protobuf_struct_pb.Struct | undefined;
|
|
25
|
-
setConfig(value?: google_protobuf_struct_pb.Struct):
|
|
25
|
+
setConfig(value?: google_protobuf_struct_pb.Struct): AnalyzerStackConfigureRequest;
|
|
26
26
|
|
|
27
27
|
serializeBinary(): Uint8Array;
|
|
28
|
-
toObject(includeInstance?: boolean):
|
|
29
|
-
static toObject(includeInstance: boolean, msg:
|
|
28
|
+
toObject(includeInstance?: boolean): AnalyzerStackConfigureRequest.AsObject;
|
|
29
|
+
static toObject(includeInstance: boolean, msg: AnalyzerStackConfigureRequest): AnalyzerStackConfigureRequest.AsObject;
|
|
30
30
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
31
31
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
32
|
-
static serializeBinaryToWriter(message:
|
|
33
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
34
|
-
static deserializeBinaryFromReader(message:
|
|
32
|
+
static serializeBinaryToWriter(message: AnalyzerStackConfigureRequest, writer: jspb.BinaryWriter): void;
|
|
33
|
+
static deserializeBinary(bytes: Uint8Array): AnalyzerStackConfigureRequest;
|
|
34
|
+
static deserializeBinaryFromReader(message: AnalyzerStackConfigureRequest, reader: jspb.BinaryReader): AnalyzerStackConfigureRequest;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
export namespace
|
|
37
|
+
export namespace AnalyzerStackConfigureRequest {
|
|
38
38
|
export type AsObject = {
|
|
39
39
|
stack: string,
|
|
40
40
|
project: string,
|
|
@@ -44,6 +44,23 @@ export namespace AnalyzerStackConfiguration {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
export class AnalyzerStackConfigureResponse extends jspb.Message {
|
|
48
|
+
|
|
49
|
+
serializeBinary(): Uint8Array;
|
|
50
|
+
toObject(includeInstance?: boolean): AnalyzerStackConfigureResponse.AsObject;
|
|
51
|
+
static toObject(includeInstance: boolean, msg: AnalyzerStackConfigureResponse): AnalyzerStackConfigureResponse.AsObject;
|
|
52
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
53
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
54
|
+
static serializeBinaryToWriter(message: AnalyzerStackConfigureResponse, writer: jspb.BinaryWriter): void;
|
|
55
|
+
static deserializeBinary(bytes: Uint8Array): AnalyzerStackConfigureResponse;
|
|
56
|
+
static deserializeBinaryFromReader(message: AnalyzerStackConfigureResponse, reader: jspb.BinaryReader): AnalyzerStackConfigureResponse;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export namespace AnalyzerStackConfigureResponse {
|
|
60
|
+
export type AsObject = {
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
47
64
|
export class AnalyzerHandshakeRequest extends jspb.Message {
|
|
48
65
|
getEngineAddress(): string;
|
|
49
66
|
setEngineAddress(value: string): AnalyzerHandshakeRequest;
|
|
@@ -58,11 +75,6 @@ export class AnalyzerHandshakeRequest extends jspb.Message {
|
|
|
58
75
|
getProgramDirectory(): string | undefined;
|
|
59
76
|
setProgramDirectory(value: string): AnalyzerHandshakeRequest;
|
|
60
77
|
|
|
61
|
-
hasStackConfiguration(): boolean;
|
|
62
|
-
clearStackConfiguration(): void;
|
|
63
|
-
getStackConfiguration(): AnalyzerStackConfiguration | undefined;
|
|
64
|
-
setStackConfiguration(value?: AnalyzerStackConfiguration): AnalyzerHandshakeRequest;
|
|
65
|
-
|
|
66
78
|
serializeBinary(): Uint8Array;
|
|
67
79
|
toObject(includeInstance?: boolean): AnalyzerHandshakeRequest.AsObject;
|
|
68
80
|
static toObject(includeInstance: boolean, msg: AnalyzerHandshakeRequest): AnalyzerHandshakeRequest.AsObject;
|
|
@@ -78,7 +90,6 @@ export namespace AnalyzerHandshakeRequest {
|
|
|
78
90
|
engineAddress: string,
|
|
79
91
|
rootDirectory?: string,
|
|
80
92
|
programDirectory?: string,
|
|
81
|
-
stackConfiguration?: AnalyzerStackConfiguration.AsObject,
|
|
82
93
|
}
|
|
83
94
|
}
|
|
84
95
|
|
package/proto/analyzer_pb.js
CHANGED
|
@@ -33,7 +33,8 @@ goog.exportSymbol('proto.pulumirpc.AnalyzerProviderResource', null, global);
|
|
|
33
33
|
goog.exportSymbol('proto.pulumirpc.AnalyzerResource', null, global);
|
|
34
34
|
goog.exportSymbol('proto.pulumirpc.AnalyzerResourceOptions', null, global);
|
|
35
35
|
goog.exportSymbol('proto.pulumirpc.AnalyzerResourceOptions.CustomTimeouts', null, global);
|
|
36
|
-
goog.exportSymbol('proto.pulumirpc.
|
|
36
|
+
goog.exportSymbol('proto.pulumirpc.AnalyzerStackConfigureRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.pulumirpc.AnalyzerStackConfigureResponse', null, global);
|
|
37
38
|
goog.exportSymbol('proto.pulumirpc.ConfigureAnalyzerRequest', null, global);
|
|
38
39
|
goog.exportSymbol('proto.pulumirpc.EnforcementLevel', null, global);
|
|
39
40
|
goog.exportSymbol('proto.pulumirpc.PolicyConfig', null, global);
|
|
@@ -51,16 +52,37 @@ goog.exportSymbol('proto.pulumirpc.Remediation', null, global);
|
|
|
51
52
|
* @extends {jspb.Message}
|
|
52
53
|
* @constructor
|
|
53
54
|
*/
|
|
54
|
-
proto.pulumirpc.
|
|
55
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest = function(opt_data) {
|
|
55
56
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
56
57
|
};
|
|
57
|
-
goog.inherits(proto.pulumirpc.
|
|
58
|
+
goog.inherits(proto.pulumirpc.AnalyzerStackConfigureRequest, jspb.Message);
|
|
58
59
|
if (goog.DEBUG && !COMPILED) {
|
|
59
60
|
/**
|
|
60
61
|
* @public
|
|
61
62
|
* @override
|
|
62
63
|
*/
|
|
63
|
-
proto.pulumirpc.
|
|
64
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.displayName = 'proto.pulumirpc.AnalyzerStackConfigureRequest';
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Generated by JsPbCodeGenerator.
|
|
68
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
69
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
70
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
71
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
72
|
+
* valid.
|
|
73
|
+
* @extends {jspb.Message}
|
|
74
|
+
* @constructor
|
|
75
|
+
*/
|
|
76
|
+
proto.pulumirpc.AnalyzerStackConfigureResponse = function(opt_data) {
|
|
77
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
78
|
+
};
|
|
79
|
+
goog.inherits(proto.pulumirpc.AnalyzerStackConfigureResponse, jspb.Message);
|
|
80
|
+
if (goog.DEBUG && !COMPILED) {
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* @override
|
|
84
|
+
*/
|
|
85
|
+
proto.pulumirpc.AnalyzerStackConfigureResponse.displayName = 'proto.pulumirpc.AnalyzerStackConfigureResponse';
|
|
64
86
|
}
|
|
65
87
|
/**
|
|
66
88
|
* Generated by JsPbCodeGenerator.
|
|
@@ -456,8 +478,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
456
478
|
* http://goto/soy-param-migration
|
|
457
479
|
* @return {!Object}
|
|
458
480
|
*/
|
|
459
|
-
proto.pulumirpc.
|
|
460
|
-
return proto.pulumirpc.
|
|
481
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.toObject = function(opt_includeInstance) {
|
|
482
|
+
return proto.pulumirpc.AnalyzerStackConfigureRequest.toObject(opt_includeInstance, this);
|
|
461
483
|
};
|
|
462
484
|
|
|
463
485
|
|
|
@@ -466,11 +488,11 @@ proto.pulumirpc.AnalyzerStackConfiguration.prototype.toObject = function(opt_inc
|
|
|
466
488
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
467
489
|
* the JSPB instance for transitional soy proto support:
|
|
468
490
|
* http://goto/soy-param-migration
|
|
469
|
-
* @param {!proto.pulumirpc.
|
|
491
|
+
* @param {!proto.pulumirpc.AnalyzerStackConfigureRequest} msg The msg instance to transform.
|
|
470
492
|
* @return {!Object}
|
|
471
493
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
472
494
|
*/
|
|
473
|
-
proto.pulumirpc.
|
|
495
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.toObject = function(includeInstance, msg) {
|
|
474
496
|
var f, obj = {
|
|
475
497
|
stack: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
476
498
|
project: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -490,23 +512,23 @@ proto.pulumirpc.AnalyzerStackConfiguration.toObject = function(includeInstance,
|
|
|
490
512
|
/**
|
|
491
513
|
* Deserializes binary data (in protobuf wire format).
|
|
492
514
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
493
|
-
* @return {!proto.pulumirpc.
|
|
515
|
+
* @return {!proto.pulumirpc.AnalyzerStackConfigureRequest}
|
|
494
516
|
*/
|
|
495
|
-
proto.pulumirpc.
|
|
517
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.deserializeBinary = function(bytes) {
|
|
496
518
|
var reader = new jspb.BinaryReader(bytes);
|
|
497
|
-
var msg = new proto.pulumirpc.
|
|
498
|
-
return proto.pulumirpc.
|
|
519
|
+
var msg = new proto.pulumirpc.AnalyzerStackConfigureRequest;
|
|
520
|
+
return proto.pulumirpc.AnalyzerStackConfigureRequest.deserializeBinaryFromReader(msg, reader);
|
|
499
521
|
};
|
|
500
522
|
|
|
501
523
|
|
|
502
524
|
/**
|
|
503
525
|
* Deserializes binary data (in protobuf wire format) from the
|
|
504
526
|
* given reader into the given message object.
|
|
505
|
-
* @param {!proto.pulumirpc.
|
|
527
|
+
* @param {!proto.pulumirpc.AnalyzerStackConfigureRequest} msg The message object to deserialize into.
|
|
506
528
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
507
|
-
* @return {!proto.pulumirpc.
|
|
529
|
+
* @return {!proto.pulumirpc.AnalyzerStackConfigureRequest}
|
|
508
530
|
*/
|
|
509
|
-
proto.pulumirpc.
|
|
531
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
510
532
|
while (reader.nextField()) {
|
|
511
533
|
if (reader.isEndGroup()) {
|
|
512
534
|
break;
|
|
@@ -547,9 +569,9 @@ proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinaryFromReader = functio
|
|
|
547
569
|
* Serializes the message to binary data (in protobuf wire format).
|
|
548
570
|
* @return {!Uint8Array}
|
|
549
571
|
*/
|
|
550
|
-
proto.pulumirpc.
|
|
572
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.serializeBinary = function() {
|
|
551
573
|
var writer = new jspb.BinaryWriter();
|
|
552
|
-
proto.pulumirpc.
|
|
574
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.serializeBinaryToWriter(this, writer);
|
|
553
575
|
return writer.getResultBuffer();
|
|
554
576
|
};
|
|
555
577
|
|
|
@@ -557,11 +579,11 @@ proto.pulumirpc.AnalyzerStackConfiguration.prototype.serializeBinary = function(
|
|
|
557
579
|
/**
|
|
558
580
|
* Serializes the given message to binary data (in protobuf wire
|
|
559
581
|
* format), writing to the given BinaryWriter.
|
|
560
|
-
* @param {!proto.pulumirpc.
|
|
582
|
+
* @param {!proto.pulumirpc.AnalyzerStackConfigureRequest} message
|
|
561
583
|
* @param {!jspb.BinaryWriter} writer
|
|
562
584
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
563
585
|
*/
|
|
564
|
-
proto.pulumirpc.
|
|
586
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.serializeBinaryToWriter = function(message, writer) {
|
|
565
587
|
var f = undefined;
|
|
566
588
|
f = message.getStack();
|
|
567
589
|
if (f.length > 0) {
|
|
@@ -606,16 +628,16 @@ proto.pulumirpc.AnalyzerStackConfiguration.serializeBinaryToWriter = function(me
|
|
|
606
628
|
* optional string stack = 1;
|
|
607
629
|
* @return {string}
|
|
608
630
|
*/
|
|
609
|
-
proto.pulumirpc.
|
|
631
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getStack = function() {
|
|
610
632
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
611
633
|
};
|
|
612
634
|
|
|
613
635
|
|
|
614
636
|
/**
|
|
615
637
|
* @param {string} value
|
|
616
|
-
* @return {!proto.pulumirpc.
|
|
638
|
+
* @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
|
|
617
639
|
*/
|
|
618
|
-
proto.pulumirpc.
|
|
640
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setStack = function(value) {
|
|
619
641
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
620
642
|
};
|
|
621
643
|
|
|
@@ -624,16 +646,16 @@ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setStack = function(value)
|
|
|
624
646
|
* optional string project = 2;
|
|
625
647
|
* @return {string}
|
|
626
648
|
*/
|
|
627
|
-
proto.pulumirpc.
|
|
649
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getProject = function() {
|
|
628
650
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
629
651
|
};
|
|
630
652
|
|
|
631
653
|
|
|
632
654
|
/**
|
|
633
655
|
* @param {string} value
|
|
634
|
-
* @return {!proto.pulumirpc.
|
|
656
|
+
* @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
|
|
635
657
|
*/
|
|
636
|
-
proto.pulumirpc.
|
|
658
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setProject = function(value) {
|
|
637
659
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
638
660
|
};
|
|
639
661
|
|
|
@@ -642,16 +664,16 @@ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setProject = function(value
|
|
|
642
664
|
* optional string organization = 3;
|
|
643
665
|
* @return {string}
|
|
644
666
|
*/
|
|
645
|
-
proto.pulumirpc.
|
|
667
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getOrganization = function() {
|
|
646
668
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
647
669
|
};
|
|
648
670
|
|
|
649
671
|
|
|
650
672
|
/**
|
|
651
673
|
* @param {string} value
|
|
652
|
-
* @return {!proto.pulumirpc.
|
|
674
|
+
* @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
|
|
653
675
|
*/
|
|
654
|
-
proto.pulumirpc.
|
|
676
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setOrganization = function(value) {
|
|
655
677
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
656
678
|
};
|
|
657
679
|
|
|
@@ -660,16 +682,16 @@ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setOrganization = function(
|
|
|
660
682
|
* optional bool dry_run = 4;
|
|
661
683
|
* @return {boolean}
|
|
662
684
|
*/
|
|
663
|
-
proto.pulumirpc.
|
|
685
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getDryRun = function() {
|
|
664
686
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
665
687
|
};
|
|
666
688
|
|
|
667
689
|
|
|
668
690
|
/**
|
|
669
691
|
* @param {boolean} value
|
|
670
|
-
* @return {!proto.pulumirpc.
|
|
692
|
+
* @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
|
|
671
693
|
*/
|
|
672
|
-
proto.pulumirpc.
|
|
694
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setDryRun = function(value) {
|
|
673
695
|
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
674
696
|
};
|
|
675
697
|
|
|
@@ -678,7 +700,7 @@ proto.pulumirpc.AnalyzerStackConfiguration.prototype.setDryRun = function(value)
|
|
|
678
700
|
* optional google.protobuf.Struct config = 5;
|
|
679
701
|
* @return {?proto.google.protobuf.Struct}
|
|
680
702
|
*/
|
|
681
|
-
proto.pulumirpc.
|
|
703
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getConfig = function() {
|
|
682
704
|
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
683
705
|
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
|
|
684
706
|
};
|
|
@@ -686,18 +708,18 @@ proto.pulumirpc.AnalyzerStackConfiguration.prototype.getConfig = function() {
|
|
|
686
708
|
|
|
687
709
|
/**
|
|
688
710
|
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
689
|
-
* @return {!proto.pulumirpc.
|
|
711
|
+
* @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
|
|
690
712
|
*/
|
|
691
|
-
proto.pulumirpc.
|
|
713
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setConfig = function(value) {
|
|
692
714
|
return jspb.Message.setWrapperField(this, 5, value);
|
|
693
715
|
};
|
|
694
716
|
|
|
695
717
|
|
|
696
718
|
/**
|
|
697
719
|
* Clears the message field making it undefined.
|
|
698
|
-
* @return {!proto.pulumirpc.
|
|
720
|
+
* @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
|
|
699
721
|
*/
|
|
700
|
-
proto.pulumirpc.
|
|
722
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.clearConfig = function() {
|
|
701
723
|
return this.setConfig(undefined);
|
|
702
724
|
};
|
|
703
725
|
|
|
@@ -706,7 +728,7 @@ proto.pulumirpc.AnalyzerStackConfiguration.prototype.clearConfig = function() {
|
|
|
706
728
|
* Returns whether this field is set.
|
|
707
729
|
* @return {boolean}
|
|
708
730
|
*/
|
|
709
|
-
proto.pulumirpc.
|
|
731
|
+
proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.hasConfig = function() {
|
|
710
732
|
return jspb.Message.getField(this, 5) != null;
|
|
711
733
|
};
|
|
712
734
|
|
|
@@ -714,6 +736,107 @@ proto.pulumirpc.AnalyzerStackConfiguration.prototype.hasConfig = function() {
|
|
|
714
736
|
|
|
715
737
|
|
|
716
738
|
|
|
739
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
740
|
+
/**
|
|
741
|
+
* Creates an object representation of this proto.
|
|
742
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
743
|
+
* Optional fields that are not set will be set to undefined.
|
|
744
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
745
|
+
* For the list of reserved names please see:
|
|
746
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
747
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
748
|
+
* JSPB instance for transitional soy proto support:
|
|
749
|
+
* http://goto/soy-param-migration
|
|
750
|
+
* @return {!Object}
|
|
751
|
+
*/
|
|
752
|
+
proto.pulumirpc.AnalyzerStackConfigureResponse.prototype.toObject = function(opt_includeInstance) {
|
|
753
|
+
return proto.pulumirpc.AnalyzerStackConfigureResponse.toObject(opt_includeInstance, this);
|
|
754
|
+
};
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Static version of the {@see toObject} method.
|
|
759
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
760
|
+
* the JSPB instance for transitional soy proto support:
|
|
761
|
+
* http://goto/soy-param-migration
|
|
762
|
+
* @param {!proto.pulumirpc.AnalyzerStackConfigureResponse} msg The msg instance to transform.
|
|
763
|
+
* @return {!Object}
|
|
764
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
765
|
+
*/
|
|
766
|
+
proto.pulumirpc.AnalyzerStackConfigureResponse.toObject = function(includeInstance, msg) {
|
|
767
|
+
var f, obj = {
|
|
768
|
+
|
|
769
|
+
};
|
|
770
|
+
|
|
771
|
+
if (includeInstance) {
|
|
772
|
+
obj.$jspbMessageInstance = msg;
|
|
773
|
+
}
|
|
774
|
+
return obj;
|
|
775
|
+
};
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Deserializes binary data (in protobuf wire format).
|
|
781
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
782
|
+
* @return {!proto.pulumirpc.AnalyzerStackConfigureResponse}
|
|
783
|
+
*/
|
|
784
|
+
proto.pulumirpc.AnalyzerStackConfigureResponse.deserializeBinary = function(bytes) {
|
|
785
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
786
|
+
var msg = new proto.pulumirpc.AnalyzerStackConfigureResponse;
|
|
787
|
+
return proto.pulumirpc.AnalyzerStackConfigureResponse.deserializeBinaryFromReader(msg, reader);
|
|
788
|
+
};
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
793
|
+
* given reader into the given message object.
|
|
794
|
+
* @param {!proto.pulumirpc.AnalyzerStackConfigureResponse} msg The message object to deserialize into.
|
|
795
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
796
|
+
* @return {!proto.pulumirpc.AnalyzerStackConfigureResponse}
|
|
797
|
+
*/
|
|
798
|
+
proto.pulumirpc.AnalyzerStackConfigureResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
799
|
+
while (reader.nextField()) {
|
|
800
|
+
if (reader.isEndGroup()) {
|
|
801
|
+
break;
|
|
802
|
+
}
|
|
803
|
+
var field = reader.getFieldNumber();
|
|
804
|
+
switch (field) {
|
|
805
|
+
default:
|
|
806
|
+
reader.skipField();
|
|
807
|
+
break;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
return msg;
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
816
|
+
* @return {!Uint8Array}
|
|
817
|
+
*/
|
|
818
|
+
proto.pulumirpc.AnalyzerStackConfigureResponse.prototype.serializeBinary = function() {
|
|
819
|
+
var writer = new jspb.BinaryWriter();
|
|
820
|
+
proto.pulumirpc.AnalyzerStackConfigureResponse.serializeBinaryToWriter(this, writer);
|
|
821
|
+
return writer.getResultBuffer();
|
|
822
|
+
};
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
827
|
+
* format), writing to the given BinaryWriter.
|
|
828
|
+
* @param {!proto.pulumirpc.AnalyzerStackConfigureResponse} message
|
|
829
|
+
* @param {!jspb.BinaryWriter} writer
|
|
830
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
831
|
+
*/
|
|
832
|
+
proto.pulumirpc.AnalyzerStackConfigureResponse.serializeBinaryToWriter = function(message, writer) {
|
|
833
|
+
var f = undefined;
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
|
|
717
840
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
718
841
|
/**
|
|
719
842
|
* Creates an object representation of this proto.
|
|
@@ -745,8 +868,7 @@ proto.pulumirpc.AnalyzerHandshakeRequest.toObject = function(includeInstance, ms
|
|
|
745
868
|
var f, obj = {
|
|
746
869
|
engineAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
747
870
|
rootDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
748
|
-
programDirectory: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
749
|
-
stackConfiguration: (f = msg.getStackConfiguration()) && proto.pulumirpc.AnalyzerStackConfiguration.toObject(includeInstance, f)
|
|
871
|
+
programDirectory: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
750
872
|
};
|
|
751
873
|
|
|
752
874
|
if (includeInstance) {
|
|
@@ -795,11 +917,6 @@ proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinaryFromReader = function(
|
|
|
795
917
|
var value = /** @type {string} */ (reader.readString());
|
|
796
918
|
msg.setProgramDirectory(value);
|
|
797
919
|
break;
|
|
798
|
-
case 4:
|
|
799
|
-
var value = new proto.pulumirpc.AnalyzerStackConfiguration;
|
|
800
|
-
reader.readMessage(value,proto.pulumirpc.AnalyzerStackConfiguration.deserializeBinaryFromReader);
|
|
801
|
-
msg.setStackConfiguration(value);
|
|
802
|
-
break;
|
|
803
920
|
default:
|
|
804
921
|
reader.skipField();
|
|
805
922
|
break;
|
|
@@ -850,14 +967,6 @@ proto.pulumirpc.AnalyzerHandshakeRequest.serializeBinaryToWriter = function(mess
|
|
|
850
967
|
f
|
|
851
968
|
);
|
|
852
969
|
}
|
|
853
|
-
f = message.getStackConfiguration();
|
|
854
|
-
if (f != null) {
|
|
855
|
-
writer.writeMessage(
|
|
856
|
-
4,
|
|
857
|
-
f,
|
|
858
|
-
proto.pulumirpc.AnalyzerStackConfiguration.serializeBinaryToWriter
|
|
859
|
-
);
|
|
860
|
-
}
|
|
861
970
|
};
|
|
862
971
|
|
|
863
972
|
|
|
@@ -951,43 +1060,6 @@ proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasProgramDirectory = functio
|
|
|
951
1060
|
};
|
|
952
1061
|
|
|
953
1062
|
|
|
954
|
-
/**
|
|
955
|
-
* optional AnalyzerStackConfiguration stack_configuration = 4;
|
|
956
|
-
* @return {?proto.pulumirpc.AnalyzerStackConfiguration}
|
|
957
|
-
*/
|
|
958
|
-
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getStackConfiguration = function() {
|
|
959
|
-
return /** @type{?proto.pulumirpc.AnalyzerStackConfiguration} */ (
|
|
960
|
-
jspb.Message.getWrapperField(this, proto.pulumirpc.AnalyzerStackConfiguration, 4));
|
|
961
|
-
};
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
/**
|
|
965
|
-
* @param {?proto.pulumirpc.AnalyzerStackConfiguration|undefined} value
|
|
966
|
-
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
967
|
-
*/
|
|
968
|
-
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setStackConfiguration = function(value) {
|
|
969
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
970
|
-
};
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
* Clears the message field making it undefined.
|
|
975
|
-
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
976
|
-
*/
|
|
977
|
-
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearStackConfiguration = function() {
|
|
978
|
-
return this.setStackConfiguration(undefined);
|
|
979
|
-
};
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
/**
|
|
983
|
-
* Returns whether this field is set.
|
|
984
|
-
* @return {boolean}
|
|
985
|
-
*/
|
|
986
|
-
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasStackConfiguration = function() {
|
|
987
|
-
return jspb.Message.getField(this, 4) != null;
|
|
988
|
-
};
|
|
989
|
-
|
|
990
|
-
|
|
991
1063
|
|
|
992
1064
|
|
|
993
1065
|
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "3.
|
|
1
|
+
export declare const version = "3.170.0";
|
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.
|
|
16
|
+
exports.version = "3.170.0-alpha.x6eb80e0";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|