@pulumi/pulumi 3.106.1-alpha.xea74b8a → 3.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pulumi",
3
- "version": "3.106.1-alpha.xea74b8a",
3
+ "version": "3.107.0",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -0,0 +1,42 @@
1
+ // package: pulumirpc
2
+ // file: pulumi/callback.proto
3
+
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+
7
+ import * as grpc from "@grpc/grpc-js";
8
+ import * as pulumi_callback_pb from "./callback_pb";
9
+ import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
10
+
11
+ interface ICallbacksService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
12
+ invoke: ICallbacksService_IInvoke;
13
+ }
14
+
15
+ interface ICallbacksService_IInvoke extends grpc.MethodDefinition<pulumi_callback_pb.CallbackInvokeRequest, pulumi_callback_pb.CallbackInvokeResponse> {
16
+ path: "/pulumirpc.Callbacks/Invoke";
17
+ requestStream: false;
18
+ responseStream: false;
19
+ requestSerialize: grpc.serialize<pulumi_callback_pb.CallbackInvokeRequest>;
20
+ requestDeserialize: grpc.deserialize<pulumi_callback_pb.CallbackInvokeRequest>;
21
+ responseSerialize: grpc.serialize<pulumi_callback_pb.CallbackInvokeResponse>;
22
+ responseDeserialize: grpc.deserialize<pulumi_callback_pb.CallbackInvokeResponse>;
23
+ }
24
+
25
+ export const CallbacksService: ICallbacksService;
26
+
27
+ export interface ICallbacksServer extends grpc.UntypedServiceImplementation {
28
+ invoke: grpc.handleUnaryCall<pulumi_callback_pb.CallbackInvokeRequest, pulumi_callback_pb.CallbackInvokeResponse>;
29
+ }
30
+
31
+ export interface ICallbacksClient {
32
+ invoke(request: pulumi_callback_pb.CallbackInvokeRequest, callback: (error: grpc.ServiceError | null, response: pulumi_callback_pb.CallbackInvokeResponse) => void): grpc.ClientUnaryCall;
33
+ invoke(request: pulumi_callback_pb.CallbackInvokeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_callback_pb.CallbackInvokeResponse) => void): grpc.ClientUnaryCall;
34
+ invoke(request: pulumi_callback_pb.CallbackInvokeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_callback_pb.CallbackInvokeResponse) => void): grpc.ClientUnaryCall;
35
+ }
36
+
37
+ export class CallbacksClient extends grpc.Client implements ICallbacksClient {
38
+ constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
39
+ public invoke(request: pulumi_callback_pb.CallbackInvokeRequest, callback: (error: grpc.ServiceError | null, response: pulumi_callback_pb.CallbackInvokeResponse) => void): grpc.ClientUnaryCall;
40
+ public invoke(request: pulumi_callback_pb.CallbackInvokeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_callback_pb.CallbackInvokeResponse) => void): grpc.ClientUnaryCall;
41
+ public invoke(request: pulumi_callback_pb.CallbackInvokeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_callback_pb.CallbackInvokeResponse) => void): grpc.ClientUnaryCall;
42
+ }
@@ -0,0 +1,62 @@
1
+ // GENERATED CODE -- DO NOT EDIT!
2
+
3
+ // Original file comments:
4
+ // Copyright 2016-2023, Pulumi Corporation.
5
+ //
6
+ // Licensed under the Apache License, Version 2.0 (the "License");
7
+ // you may not use this file except in compliance with the License.
8
+ // You may obtain a copy of the License at
9
+ //
10
+ // http://www.apache.org/licenses/LICENSE-2.0
11
+ //
12
+ // Unless required by applicable law or agreed to in writing, software
13
+ // distributed under the License is distributed on an "AS IS" BASIS,
14
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ // See the License for the specific language governing permissions and
16
+ // limitations under the License.
17
+ //
18
+ 'use strict';
19
+ var grpc = require('@grpc/grpc-js');
20
+ var pulumi_callback_pb = require('./callback_pb.js');
21
+ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
22
+
23
+ function serialize_pulumirpc_CallbackInvokeRequest(arg) {
24
+ if (!(arg instanceof pulumi_callback_pb.CallbackInvokeRequest)) {
25
+ throw new Error('Expected argument of type pulumirpc.CallbackInvokeRequest');
26
+ }
27
+ return Buffer.from(arg.serializeBinary());
28
+ }
29
+
30
+ function deserialize_pulumirpc_CallbackInvokeRequest(buffer_arg) {
31
+ return pulumi_callback_pb.CallbackInvokeRequest.deserializeBinary(new Uint8Array(buffer_arg));
32
+ }
33
+
34
+ function serialize_pulumirpc_CallbackInvokeResponse(arg) {
35
+ if (!(arg instanceof pulumi_callback_pb.CallbackInvokeResponse)) {
36
+ throw new Error('Expected argument of type pulumirpc.CallbackInvokeResponse');
37
+ }
38
+ return Buffer.from(arg.serializeBinary());
39
+ }
40
+
41
+ function deserialize_pulumirpc_CallbackInvokeResponse(buffer_arg) {
42
+ return pulumi_callback_pb.CallbackInvokeResponse.deserializeBinary(new Uint8Array(buffer_arg));
43
+ }
44
+
45
+
46
+ // Callbacks is a service for invoking functions in one runtime from other processes.
47
+ var CallbacksService = exports.CallbacksService = {
48
+ // Invoke invokes a given callback, identified by its token.
49
+ invoke: {
50
+ path: '/pulumirpc.Callbacks/Invoke',
51
+ requestStream: false,
52
+ responseStream: false,
53
+ requestType: pulumi_callback_pb.CallbackInvokeRequest,
54
+ responseType: pulumi_callback_pb.CallbackInvokeResponse,
55
+ requestSerialize: serialize_pulumirpc_CallbackInvokeRequest,
56
+ requestDeserialize: deserialize_pulumirpc_CallbackInvokeRequest,
57
+ responseSerialize: serialize_pulumirpc_CallbackInvokeResponse,
58
+ responseDeserialize: deserialize_pulumirpc_CallbackInvokeResponse,
59
+ },
60
+ };
61
+
62
+ exports.CallbacksClient = grpc.makeGenericClientConstructor(CallbacksService);
@@ -0,0 +1,78 @@
1
+ // package: pulumirpc
2
+ // file: pulumi/callback.proto
3
+
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+
7
+ import * as jspb from "google-protobuf";
8
+ import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
9
+
10
+ export class Callback extends jspb.Message {
11
+ getTarget(): string;
12
+ setTarget(value: string): Callback;
13
+ getToken(): string;
14
+ setToken(value: string): Callback;
15
+
16
+ serializeBinary(): Uint8Array;
17
+ toObject(includeInstance?: boolean): Callback.AsObject;
18
+ static toObject(includeInstance: boolean, msg: Callback): Callback.AsObject;
19
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
20
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
21
+ static serializeBinaryToWriter(message: Callback, writer: jspb.BinaryWriter): void;
22
+ static deserializeBinary(bytes: Uint8Array): Callback;
23
+ static deserializeBinaryFromReader(message: Callback, reader: jspb.BinaryReader): Callback;
24
+ }
25
+
26
+ export namespace Callback {
27
+ export type AsObject = {
28
+ target: string,
29
+ token: string,
30
+ }
31
+ }
32
+
33
+ export class CallbackInvokeRequest extends jspb.Message {
34
+ getToken(): string;
35
+ setToken(value: string): CallbackInvokeRequest;
36
+ getRequest(): Uint8Array | string;
37
+ getRequest_asU8(): Uint8Array;
38
+ getRequest_asB64(): string;
39
+ setRequest(value: Uint8Array | string): CallbackInvokeRequest;
40
+
41
+ serializeBinary(): Uint8Array;
42
+ toObject(includeInstance?: boolean): CallbackInvokeRequest.AsObject;
43
+ static toObject(includeInstance: boolean, msg: CallbackInvokeRequest): CallbackInvokeRequest.AsObject;
44
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
45
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
46
+ static serializeBinaryToWriter(message: CallbackInvokeRequest, writer: jspb.BinaryWriter): void;
47
+ static deserializeBinary(bytes: Uint8Array): CallbackInvokeRequest;
48
+ static deserializeBinaryFromReader(message: CallbackInvokeRequest, reader: jspb.BinaryReader): CallbackInvokeRequest;
49
+ }
50
+
51
+ export namespace CallbackInvokeRequest {
52
+ export type AsObject = {
53
+ token: string,
54
+ request: Uint8Array | string,
55
+ }
56
+ }
57
+
58
+ export class CallbackInvokeResponse extends jspb.Message {
59
+ getResponse(): Uint8Array | string;
60
+ getResponse_asU8(): Uint8Array;
61
+ getResponse_asB64(): string;
62
+ setResponse(value: Uint8Array | string): CallbackInvokeResponse;
63
+
64
+ serializeBinary(): Uint8Array;
65
+ toObject(includeInstance?: boolean): CallbackInvokeResponse.AsObject;
66
+ static toObject(includeInstance: boolean, msg: CallbackInvokeResponse): CallbackInvokeResponse.AsObject;
67
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
68
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
69
+ static serializeBinaryToWriter(message: CallbackInvokeResponse, writer: jspb.BinaryWriter): void;
70
+ static deserializeBinary(bytes: Uint8Array): CallbackInvokeResponse;
71
+ static deserializeBinaryFromReader(message: CallbackInvokeResponse, reader: jspb.BinaryReader): CallbackInvokeResponse;
72
+ }
73
+
74
+ export namespace CallbackInvokeResponse {
75
+ export type AsObject = {
76
+ response: Uint8Array | string,
77
+ }
78
+ }