@finsemble/finsemble-electron-adapter 6.2.1 → 6.3.1-beta-1
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/dist/app.js +1 -1
- package/dist/e2o.js +1 -1
- package/dist/e2o_view.js +1 -1
- package/dist/exports.js +1 -1
- package/dist/grpc/grpc.ts +9 -0
- package/exports.js +2 -1
- package/node_modules/@grpc/grpc-js/README.md +2 -0
- package/node_modules/@grpc/grpc-js/build/src/admin.d.ts +11 -0
- package/node_modules/@grpc/grpc-js/build/src/admin.js +31 -0
- package/node_modules/@grpc/grpc-js/build/src/admin.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/call-credentials-filter.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/call-stream.d.ts +14 -5
- package/node_modules/@grpc/grpc-js/build/src/call-stream.js +56 -20
- package/node_modules/@grpc/grpc-js/build/src/call-stream.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/call.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/channel-options.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/channel.d.ts +16 -7
- package/node_modules/@grpc/grpc-js/build/src/channel.js +138 -59
- package/node_modules/@grpc/grpc-js/build/src/channel.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/channelz.d.ts +122 -0
- package/node_modules/@grpc/grpc-js/build/src/channelz.js +568 -0
- package/node_modules/@grpc/grpc-js/build/src/channelz.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/client-interceptors.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/client.js +2 -1
- package/node_modules/@grpc/grpc-js/build/src/client.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/constants.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/deadline-filter.d.ts +3 -0
- package/node_modules/@grpc/grpc-js/build/src/deadline-filter.js +19 -5
- package/node_modules/@grpc/grpc-js/build/src/deadline-filter.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/experimental.d.ts +6 -5
- package/node_modules/@grpc/grpc-js/build/src/experimental.js +5 -2
- package/node_modules/@grpc/grpc-js/build/src/experimental.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/filter-stack.d.ts +4 -0
- package/node_modules/@grpc/grpc-js/build/src/filter-stack.js +14 -0
- package/node_modules/@grpc/grpc-js/build/src/filter-stack.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/filter.d.ts +2 -0
- package/node_modules/@grpc/grpc-js/build/src/filter.js +1 -0
- package/node_modules/@grpc/grpc-js/build/src/filter.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/generated/channelz.d.ts +72 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/channelz.js +3 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/channelz.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Any.d.ts +10 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Any.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Any.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BoolValue.d.ts +6 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BoolValue.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BoolValue.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BytesValue.d.ts +7 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BytesValue.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BytesValue.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DoubleValue.d.ts +6 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DoubleValue.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DoubleValue.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Duration.d.ts +10 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Duration.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Duration.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FloatValue.d.ts +6 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FloatValue.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FloatValue.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int32Value.d.ts +6 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int32Value.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int32Value.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int64Value.d.ts +8 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int64Value.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int64Value.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/StringValue.d.ts +6 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/StringValue.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/StringValue.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Timestamp.d.ts +10 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Timestamp.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Timestamp.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt32Value.d.ts +6 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt32Value.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt32Value.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt64Value.d.ts +8 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt64Value.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt64Value.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Address.d.ts +80 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Address.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Address.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channel.d.ts +64 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channel.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channel.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.d.ts +22 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js +15 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelData.d.ts +73 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelData.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelData.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelRef.d.ts +28 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelRef.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelRef.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTrace.d.ts +42 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTrace.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTrace.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.d.ts +66 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js +16 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channelz.d.ts +159 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channelz.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channelz.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelRequest.d.ts +14 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelRequest.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelRequest.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelResponse.d.ts +15 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelResponse.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelResponse.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerRequest.d.ts +14 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerRequest.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerRequest.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerResponse.d.ts +15 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerResponse.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerResponse.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.d.ts +36 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.d.ts +29 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersRequest.d.ts +34 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersRequest.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersRequest.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersResponse.d.ts +29 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersResponse.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersResponse.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketRequest.d.ts +26 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketRequest.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketRequest.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketResponse.d.ts +15 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketResponse.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketResponse.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.d.ts +14 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.d.ts +15 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.d.ts +34 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.d.ts +29 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Security.d.ts +80 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Security.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Security.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Server.d.ts +41 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Server.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Server.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerData.d.ts +54 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerData.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerData.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerRef.d.ts +28 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerRef.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerRef.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Socket.d.ts +66 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Socket.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Socket.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketData.d.ts +147 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketData.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketData.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOption.d.ts +43 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOption.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOption.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionLinger.d.ts +29 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.d.ts +70 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.d.ts +15 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketRef.d.ts +28 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketRef.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketRef.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Subchannel.d.ts +66 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Subchannel.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Subchannel.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SubchannelRef.d.ts +28 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SubchannelRef.js +4 -0
- package/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SubchannelRef.js.map +1 -0
- package/node_modules/@grpc/grpc-js/build/src/http_proxy.d.ts +1 -1
- package/node_modules/@grpc/grpc-js/build/src/http_proxy.js +11 -8
- package/node_modules/@grpc/grpc-js/build/src/http_proxy.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/index.d.ts +7 -4
- package/node_modules/@grpc/grpc-js/build/src/index.js +19 -5
- package/node_modules/@grpc/grpc-js/build/src/index.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.d.ts +1 -1
- package/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js +8 -2
- package/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.d.ts +1 -1
- package/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js +56 -49
- package/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.d.ts +1 -1
- package/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js +34 -31
- package/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/load-balancer.d.ts +17 -4
- package/node_modules/@grpc/grpc-js/build/src/load-balancer.js +36 -13
- package/node_modules/@grpc/grpc-js/build/src/load-balancer.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/logging.js +35 -4
- package/node_modules/@grpc/grpc-js/build/src/logging.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/max-message-size-filter.d.ts +3 -3
- package/node_modules/@grpc/grpc-js/build/src/max-message-size-filter.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/metadata.d.ts +7 -0
- package/node_modules/@grpc/grpc-js/build/src/metadata.js +11 -0
- package/node_modules/@grpc/grpc-js/build/src/metadata.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/picker.d.ts +5 -5
- package/node_modules/@grpc/grpc-js/build/src/picker.js +2 -2
- package/node_modules/@grpc/grpc-js/build/src/picker.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/resolver-dns.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/resolver-ip.js +6 -5
- package/node_modules/@grpc/grpc-js/build/src/resolver-ip.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/resolver.d.ts +3 -2
- package/node_modules/@grpc/grpc-js/build/src/resolver.js +1 -10
- package/node_modules/@grpc/grpc-js/build/src/resolver.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.d.ts +1 -1
- package/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js +23 -18
- package/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/server-call.js +7 -3
- package/node_modules/@grpc/grpc-js/build/src/server-call.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/server.d.ts +10 -0
- package/node_modules/@grpc/grpc-js/build/src/server.js +230 -42
- package/node_modules/@grpc/grpc-js/build/src/server.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/service-config.d.ts +5 -1
- package/node_modules/@grpc/grpc-js/build/src/service-config.js +23 -3
- package/node_modules/@grpc/grpc-js/build/src/service-config.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/subchannel-address.d.ts +1 -0
- package/node_modules/@grpc/grpc-js/build/src/subchannel-address.js +17 -1
- package/node_modules/@grpc/grpc-js/build/src/subchannel-address.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/subchannel-pool.d.ts +2 -1
- package/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js +2 -1
- package/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js.map +1 -1
- package/node_modules/@grpc/grpc-js/build/src/subchannel.d.ts +30 -19
- package/node_modules/@grpc/grpc-js/build/src/subchannel.js +180 -78
- package/node_modules/@grpc/grpc-js/build/src/subchannel.js.map +1 -1
- package/node_modules/@grpc/grpc-js/node_modules/.bin/proto-loader-gen-types +15 -0
- package/node_modules/@grpc/grpc-js/node_modules/.bin/proto-loader-gen-types.cmd +7 -0
- package/node_modules/@grpc/grpc-js/package.json +9 -6
- package/node_modules/@grpc/grpc-js/proto/channelz.proto +564 -0
- package/node_modules/@grpc/grpc-js/src/admin.ts +39 -0
- package/node_modules/@grpc/grpc-js/src/call-credentials-filter.ts +3 -1
- package/node_modules/@grpc/grpc-js/src/call-stream.ts +75 -23
- package/node_modules/@grpc/grpc-js/src/call.ts +8 -4
- package/node_modules/@grpc/grpc-js/src/channel-options.ts +1 -0
- package/node_modules/@grpc/grpc-js/src/channel.ts +183 -73
- package/node_modules/@grpc/grpc-js/src/channelz.ts +727 -0
- package/node_modules/@grpc/grpc-js/src/client-interceptors.ts +8 -3
- package/node_modules/@grpc/grpc-js/src/client.ts +18 -16
- package/node_modules/@grpc/grpc-js/src/connectivity-state.ts +24 -0
- package/node_modules/@grpc/grpc-js/src/constants.ts +5 -1
- package/node_modules/@grpc/grpc-js/src/deadline-filter.ts +21 -5
- package/node_modules/@grpc/grpc-js/src/experimental.ts +36 -12
- package/node_modules/@grpc/grpc-js/src/filter-stack.ts +18 -0
- package/node_modules/@grpc/grpc-js/src/filter.ts +4 -0
- package/node_modules/@grpc/grpc-js/src/generated/channelz.ts +73 -0
- package/node_modules/@grpc/grpc-js/src/generated/google/protobuf/Any.ts +13 -0
- package/node_modules/@grpc/grpc-js/src/generated/google/protobuf/BoolValue.ts +10 -0
- package/node_modules/@grpc/grpc-js/src/generated/google/protobuf/BytesValue.ts +10 -0
- package/node_modules/@grpc/grpc-js/src/generated/google/protobuf/DoubleValue.ts +10 -0
- package/node_modules/@grpc/grpc-js/src/generated/google/protobuf/Duration.ts +13 -0
- package/node_modules/@grpc/grpc-js/src/generated/google/protobuf/FloatValue.ts +10 -0
- package/node_modules/@grpc/grpc-js/src/generated/google/protobuf/Int32Value.ts +10 -0
- package/node_modules/@grpc/grpc-js/src/generated/google/protobuf/Int64Value.ts +11 -0
- package/node_modules/@grpc/grpc-js/src/generated/google/protobuf/StringValue.ts +10 -0
- package/node_modules/@grpc/grpc-js/src/generated/google/protobuf/Timestamp.ts +13 -0
- package/node_modules/@grpc/grpc-js/src/generated/google/protobuf/UInt32Value.ts +10 -0
- package/node_modules/@grpc/grpc-js/src/generated/google/protobuf/UInt64Value.ts +11 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/Address.ts +89 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/Channel.ts +68 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/ChannelConnectivityState.ts +29 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/ChannelData.ts +76 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/ChannelRef.ts +31 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/ChannelTrace.ts +45 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/ChannelTraceEvent.ts +73 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/Channelz.ts +178 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetChannelRequest.ts +17 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetChannelResponse.ts +19 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetServerRequest.ts +17 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetServerResponse.ts +19 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetServerSocketsRequest.ts +39 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetServerSocketsResponse.ts +33 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetServersRequest.ts +37 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetServersResponse.ts +33 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetSocketRequest.ts +29 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetSocketResponse.ts +19 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetSubchannelRequest.ts +17 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetSubchannelResponse.ts +19 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetTopChannelsRequest.ts +37 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/GetTopChannelsResponse.ts +33 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/Security.ts +87 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/Server.ts +45 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/ServerData.ts +57 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/ServerRef.ts +31 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/Socket.ts +70 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/SocketData.ts +150 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/SocketOption.ts +47 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/SocketOptionLinger.ts +33 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.ts +74 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/SocketOptionTimeout.ts +19 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/SocketRef.ts +31 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/Subchannel.ts +70 -0
- package/node_modules/@grpc/grpc-js/src/generated/grpc/channelz/v1/SubchannelRef.ts +31 -0
- package/node_modules/@grpc/grpc-js/src/http_proxy.ts +15 -11
- package/node_modules/@grpc/grpc-js/src/index.ts +29 -6
- package/node_modules/@grpc/grpc-js/src/load-balancer-child-handler.ts +12 -3
- package/node_modules/@grpc/grpc-js/src/load-balancer-pick-first.ts +19 -8
- package/node_modules/@grpc/grpc-js/src/load-balancer-round-robin.ts +15 -9
- package/node_modules/@grpc/grpc-js/src/load-balancer.ts +60 -21
- package/node_modules/@grpc/grpc-js/src/logging.ts +43 -7
- package/node_modules/@grpc/grpc-js/src/make-client.ts +1 -1
- package/node_modules/@grpc/grpc-js/src/max-message-size-filter.ts +18 -7
- package/node_modules/@grpc/grpc-js/src/metadata.ts +12 -0
- package/node_modules/@grpc/grpc-js/src/picker.ts +8 -8
- package/node_modules/@grpc/grpc-js/src/resolver-dns.ts +8 -2
- package/node_modules/@grpc/grpc-js/src/resolver-ip.ts +25 -16
- package/node_modules/@grpc/grpc-js/src/resolver-uds.ts +1 -1
- package/node_modules/@grpc/grpc-js/src/resolver.ts +5 -12
- package/node_modules/@grpc/grpc-js/src/resolving-load-balancer.ts +36 -14
- package/node_modules/@grpc/grpc-js/src/server-call.ts +11 -5
- package/node_modules/@grpc/grpc-js/src/server.ts +250 -44
- package/node_modules/@grpc/grpc-js/src/service-config.ts +35 -6
- package/node_modules/@grpc/grpc-js/src/subchannel-address.ts +79 -0
- package/node_modules/@grpc/grpc-js/src/subchannel-pool.ts +2 -2
- package/node_modules/@grpc/grpc-js/src/subchannel.ts +206 -97
- package/node_modules/@grpc/proto-loader/build/bin/proto-loader-gen-types.js +34 -0
- package/node_modules/@grpc/proto-loader/build/src/index.js +3 -0
- package/node_modules/@grpc/proto-loader/package.json +1 -1
- package/node_modules/{yargs/node_modules/y18n → y18n}/CHANGELOG.md +0 -0
- package/node_modules/{yargs/node_modules/y18n → y18n}/LICENSE +0 -0
- package/node_modules/{yargs/node_modules/y18n → y18n}/README.md +0 -0
- package/node_modules/{yargs/node_modules/y18n → y18n}/build/index.cjs +0 -0
- package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/cjs.js +0 -0
- package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/index.js +0 -0
- package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/platform-shims/node.js +0 -0
- package/node_modules/{yargs/node_modules/y18n → y18n}/index.mjs +0 -0
- package/node_modules/{yargs/node_modules/y18n → y18n}/package.json +0 -0
- package/package.json +41 -24
- package/dist/e2o.js.LICENSE.txt +0 -12
- package/dist/e2o_view.js.LICENSE.txt +0 -12
- package/dist/grpc/grpc.js +0 -8
- package/node_modules/@grpc/grpc-js/build/src/load-balancer-registry.d.ts +0 -7
- package/node_modules/@grpc/grpc-js/build/src/load-balancer-registry.js +0 -83
- package/node_modules/@grpc/grpc-js/build/src/load-balancer-registry.js.map +0 -1
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../google/protobuf/Timestamp';
|
|
4
|
+
import type { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from '../../../google/protobuf/Int64Value';
|
|
5
|
+
import type { SocketOption as _grpc_channelz_v1_SocketOption, SocketOption__Output as _grpc_channelz_v1_SocketOption__Output } from '../../../grpc/channelz/v1/SocketOption';
|
|
6
|
+
import type { Long } from '@grpc/proto-loader';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* SocketData is data associated for a specific Socket. The fields present
|
|
10
|
+
* are specific to the implementation, so there may be minor differences in
|
|
11
|
+
* the semantics. (e.g. flow control windows)
|
|
12
|
+
*/
|
|
13
|
+
export interface SocketData {
|
|
14
|
+
/**
|
|
15
|
+
* The number of streams that have been started.
|
|
16
|
+
*/
|
|
17
|
+
'streams_started'?: (number | string | Long);
|
|
18
|
+
/**
|
|
19
|
+
* The number of streams that have ended successfully:
|
|
20
|
+
* On client side, received frame with eos bit set;
|
|
21
|
+
* On server side, sent frame with eos bit set.
|
|
22
|
+
*/
|
|
23
|
+
'streams_succeeded'?: (number | string | Long);
|
|
24
|
+
/**
|
|
25
|
+
* The number of streams that have ended unsuccessfully:
|
|
26
|
+
* On client side, ended without receiving frame with eos bit set;
|
|
27
|
+
* On server side, ended without sending frame with eos bit set.
|
|
28
|
+
*/
|
|
29
|
+
'streams_failed'?: (number | string | Long);
|
|
30
|
+
/**
|
|
31
|
+
* The number of grpc messages successfully sent on this socket.
|
|
32
|
+
*/
|
|
33
|
+
'messages_sent'?: (number | string | Long);
|
|
34
|
+
/**
|
|
35
|
+
* The number of grpc messages received on this socket.
|
|
36
|
+
*/
|
|
37
|
+
'messages_received'?: (number | string | Long);
|
|
38
|
+
/**
|
|
39
|
+
* The number of keep alives sent. This is typically implemented with HTTP/2
|
|
40
|
+
* ping messages.
|
|
41
|
+
*/
|
|
42
|
+
'keep_alives_sent'?: (number | string | Long);
|
|
43
|
+
/**
|
|
44
|
+
* The last time a stream was created by this endpoint. Usually unset for
|
|
45
|
+
* servers.
|
|
46
|
+
*/
|
|
47
|
+
'last_local_stream_created_timestamp'?: (_google_protobuf_Timestamp | null);
|
|
48
|
+
/**
|
|
49
|
+
* The last time a stream was created by the remote endpoint. Usually unset
|
|
50
|
+
* for clients.
|
|
51
|
+
*/
|
|
52
|
+
'last_remote_stream_created_timestamp'?: (_google_protobuf_Timestamp | null);
|
|
53
|
+
/**
|
|
54
|
+
* The last time a message was sent by this endpoint.
|
|
55
|
+
*/
|
|
56
|
+
'last_message_sent_timestamp'?: (_google_protobuf_Timestamp | null);
|
|
57
|
+
/**
|
|
58
|
+
* The last time a message was received by this endpoint.
|
|
59
|
+
*/
|
|
60
|
+
'last_message_received_timestamp'?: (_google_protobuf_Timestamp | null);
|
|
61
|
+
/**
|
|
62
|
+
* The amount of window, granted to the local endpoint by the remote endpoint.
|
|
63
|
+
* This may be slightly out of date due to network latency. This does NOT
|
|
64
|
+
* include stream level or TCP level flow control info.
|
|
65
|
+
*/
|
|
66
|
+
'local_flow_control_window'?: (_google_protobuf_Int64Value | null);
|
|
67
|
+
/**
|
|
68
|
+
* The amount of window, granted to the remote endpoint by the local endpoint.
|
|
69
|
+
* This may be slightly out of date due to network latency. This does NOT
|
|
70
|
+
* include stream level or TCP level flow control info.
|
|
71
|
+
*/
|
|
72
|
+
'remote_flow_control_window'?: (_google_protobuf_Int64Value | null);
|
|
73
|
+
/**
|
|
74
|
+
* Socket options set on this socket. May be absent if 'summary' is set
|
|
75
|
+
* on GetSocketRequest.
|
|
76
|
+
*/
|
|
77
|
+
'option'?: (_grpc_channelz_v1_SocketOption)[];
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* SocketData is data associated for a specific Socket. The fields present
|
|
82
|
+
* are specific to the implementation, so there may be minor differences in
|
|
83
|
+
* the semantics. (e.g. flow control windows)
|
|
84
|
+
*/
|
|
85
|
+
export interface SocketData__Output {
|
|
86
|
+
/**
|
|
87
|
+
* The number of streams that have been started.
|
|
88
|
+
*/
|
|
89
|
+
'streams_started': (string);
|
|
90
|
+
/**
|
|
91
|
+
* The number of streams that have ended successfully:
|
|
92
|
+
* On client side, received frame with eos bit set;
|
|
93
|
+
* On server side, sent frame with eos bit set.
|
|
94
|
+
*/
|
|
95
|
+
'streams_succeeded': (string);
|
|
96
|
+
/**
|
|
97
|
+
* The number of streams that have ended unsuccessfully:
|
|
98
|
+
* On client side, ended without receiving frame with eos bit set;
|
|
99
|
+
* On server side, ended without sending frame with eos bit set.
|
|
100
|
+
*/
|
|
101
|
+
'streams_failed': (string);
|
|
102
|
+
/**
|
|
103
|
+
* The number of grpc messages successfully sent on this socket.
|
|
104
|
+
*/
|
|
105
|
+
'messages_sent': (string);
|
|
106
|
+
/**
|
|
107
|
+
* The number of grpc messages received on this socket.
|
|
108
|
+
*/
|
|
109
|
+
'messages_received': (string);
|
|
110
|
+
/**
|
|
111
|
+
* The number of keep alives sent. This is typically implemented with HTTP/2
|
|
112
|
+
* ping messages.
|
|
113
|
+
*/
|
|
114
|
+
'keep_alives_sent': (string);
|
|
115
|
+
/**
|
|
116
|
+
* The last time a stream was created by this endpoint. Usually unset for
|
|
117
|
+
* servers.
|
|
118
|
+
*/
|
|
119
|
+
'last_local_stream_created_timestamp': (_google_protobuf_Timestamp__Output | null);
|
|
120
|
+
/**
|
|
121
|
+
* The last time a stream was created by the remote endpoint. Usually unset
|
|
122
|
+
* for clients.
|
|
123
|
+
*/
|
|
124
|
+
'last_remote_stream_created_timestamp': (_google_protobuf_Timestamp__Output | null);
|
|
125
|
+
/**
|
|
126
|
+
* The last time a message was sent by this endpoint.
|
|
127
|
+
*/
|
|
128
|
+
'last_message_sent_timestamp': (_google_protobuf_Timestamp__Output | null);
|
|
129
|
+
/**
|
|
130
|
+
* The last time a message was received by this endpoint.
|
|
131
|
+
*/
|
|
132
|
+
'last_message_received_timestamp': (_google_protobuf_Timestamp__Output | null);
|
|
133
|
+
/**
|
|
134
|
+
* The amount of window, granted to the local endpoint by the remote endpoint.
|
|
135
|
+
* This may be slightly out of date due to network latency. This does NOT
|
|
136
|
+
* include stream level or TCP level flow control info.
|
|
137
|
+
*/
|
|
138
|
+
'local_flow_control_window': (_google_protobuf_Int64Value__Output | null);
|
|
139
|
+
/**
|
|
140
|
+
* The amount of window, granted to the remote endpoint by the local endpoint.
|
|
141
|
+
* This may be slightly out of date due to network latency. This does NOT
|
|
142
|
+
* include stream level or TCP level flow control info.
|
|
143
|
+
*/
|
|
144
|
+
'remote_flow_control_window': (_google_protobuf_Int64Value__Output | null);
|
|
145
|
+
/**
|
|
146
|
+
* Socket options set on this socket. May be absent if 'summary' is set
|
|
147
|
+
* on GetSocketRequest.
|
|
148
|
+
*/
|
|
149
|
+
'option': (_grpc_channelz_v1_SocketOption__Output)[];
|
|
150
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* SocketOption represents socket options for a socket. Specifically, these
|
|
7
|
+
* are the options returned by getsockopt().
|
|
8
|
+
*/
|
|
9
|
+
export interface SocketOption {
|
|
10
|
+
/**
|
|
11
|
+
* The full name of the socket option. Typically this will be the upper case
|
|
12
|
+
* name, such as "SO_REUSEPORT".
|
|
13
|
+
*/
|
|
14
|
+
'name'?: (string);
|
|
15
|
+
/**
|
|
16
|
+
* The human readable value of this socket option. At least one of value or
|
|
17
|
+
* additional will be set.
|
|
18
|
+
*/
|
|
19
|
+
'value'?: (string);
|
|
20
|
+
/**
|
|
21
|
+
* Additional data associated with the socket option. At least one of value
|
|
22
|
+
* or additional will be set.
|
|
23
|
+
*/
|
|
24
|
+
'additional'?: (_google_protobuf_Any | null);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* SocketOption represents socket options for a socket. Specifically, these
|
|
29
|
+
* are the options returned by getsockopt().
|
|
30
|
+
*/
|
|
31
|
+
export interface SocketOption__Output {
|
|
32
|
+
/**
|
|
33
|
+
* The full name of the socket option. Typically this will be the upper case
|
|
34
|
+
* name, such as "SO_REUSEPORT".
|
|
35
|
+
*/
|
|
36
|
+
'name': (string);
|
|
37
|
+
/**
|
|
38
|
+
* The human readable value of this socket option. At least one of value or
|
|
39
|
+
* additional will be set.
|
|
40
|
+
*/
|
|
41
|
+
'value': (string);
|
|
42
|
+
/**
|
|
43
|
+
* Additional data associated with the socket option. At least one of value
|
|
44
|
+
* or additional will be set.
|
|
45
|
+
*/
|
|
46
|
+
'additional': (_google_protobuf_Any__Output | null);
|
|
47
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* For use with SocketOption's additional field. This is primarily used for
|
|
7
|
+
* SO_LINGER.
|
|
8
|
+
*/
|
|
9
|
+
export interface SocketOptionLinger {
|
|
10
|
+
/**
|
|
11
|
+
* active maps to `struct linger.l_onoff`
|
|
12
|
+
*/
|
|
13
|
+
'active'?: (boolean);
|
|
14
|
+
/**
|
|
15
|
+
* duration maps to `struct linger.l_linger`
|
|
16
|
+
*/
|
|
17
|
+
'duration'?: (_google_protobuf_Duration | null);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* For use with SocketOption's additional field. This is primarily used for
|
|
22
|
+
* SO_LINGER.
|
|
23
|
+
*/
|
|
24
|
+
export interface SocketOptionLinger__Output {
|
|
25
|
+
/**
|
|
26
|
+
* active maps to `struct linger.l_onoff`
|
|
27
|
+
*/
|
|
28
|
+
'active': (boolean);
|
|
29
|
+
/**
|
|
30
|
+
* duration maps to `struct linger.l_linger`
|
|
31
|
+
*/
|
|
32
|
+
'duration': (_google_protobuf_Duration__Output | null);
|
|
33
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* For use with SocketOption's additional field. Tcp info for
|
|
6
|
+
* SOL_TCP and TCP_INFO.
|
|
7
|
+
*/
|
|
8
|
+
export interface SocketOptionTcpInfo {
|
|
9
|
+
'tcpi_state'?: (number);
|
|
10
|
+
'tcpi_ca_state'?: (number);
|
|
11
|
+
'tcpi_retransmits'?: (number);
|
|
12
|
+
'tcpi_probes'?: (number);
|
|
13
|
+
'tcpi_backoff'?: (number);
|
|
14
|
+
'tcpi_options'?: (number);
|
|
15
|
+
'tcpi_snd_wscale'?: (number);
|
|
16
|
+
'tcpi_rcv_wscale'?: (number);
|
|
17
|
+
'tcpi_rto'?: (number);
|
|
18
|
+
'tcpi_ato'?: (number);
|
|
19
|
+
'tcpi_snd_mss'?: (number);
|
|
20
|
+
'tcpi_rcv_mss'?: (number);
|
|
21
|
+
'tcpi_unacked'?: (number);
|
|
22
|
+
'tcpi_sacked'?: (number);
|
|
23
|
+
'tcpi_lost'?: (number);
|
|
24
|
+
'tcpi_retrans'?: (number);
|
|
25
|
+
'tcpi_fackets'?: (number);
|
|
26
|
+
'tcpi_last_data_sent'?: (number);
|
|
27
|
+
'tcpi_last_ack_sent'?: (number);
|
|
28
|
+
'tcpi_last_data_recv'?: (number);
|
|
29
|
+
'tcpi_last_ack_recv'?: (number);
|
|
30
|
+
'tcpi_pmtu'?: (number);
|
|
31
|
+
'tcpi_rcv_ssthresh'?: (number);
|
|
32
|
+
'tcpi_rtt'?: (number);
|
|
33
|
+
'tcpi_rttvar'?: (number);
|
|
34
|
+
'tcpi_snd_ssthresh'?: (number);
|
|
35
|
+
'tcpi_snd_cwnd'?: (number);
|
|
36
|
+
'tcpi_advmss'?: (number);
|
|
37
|
+
'tcpi_reordering'?: (number);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* For use with SocketOption's additional field. Tcp info for
|
|
42
|
+
* SOL_TCP and TCP_INFO.
|
|
43
|
+
*/
|
|
44
|
+
export interface SocketOptionTcpInfo__Output {
|
|
45
|
+
'tcpi_state': (number);
|
|
46
|
+
'tcpi_ca_state': (number);
|
|
47
|
+
'tcpi_retransmits': (number);
|
|
48
|
+
'tcpi_probes': (number);
|
|
49
|
+
'tcpi_backoff': (number);
|
|
50
|
+
'tcpi_options': (number);
|
|
51
|
+
'tcpi_snd_wscale': (number);
|
|
52
|
+
'tcpi_rcv_wscale': (number);
|
|
53
|
+
'tcpi_rto': (number);
|
|
54
|
+
'tcpi_ato': (number);
|
|
55
|
+
'tcpi_snd_mss': (number);
|
|
56
|
+
'tcpi_rcv_mss': (number);
|
|
57
|
+
'tcpi_unacked': (number);
|
|
58
|
+
'tcpi_sacked': (number);
|
|
59
|
+
'tcpi_lost': (number);
|
|
60
|
+
'tcpi_retrans': (number);
|
|
61
|
+
'tcpi_fackets': (number);
|
|
62
|
+
'tcpi_last_data_sent': (number);
|
|
63
|
+
'tcpi_last_ack_sent': (number);
|
|
64
|
+
'tcpi_last_data_recv': (number);
|
|
65
|
+
'tcpi_last_ack_recv': (number);
|
|
66
|
+
'tcpi_pmtu': (number);
|
|
67
|
+
'tcpi_rcv_ssthresh': (number);
|
|
68
|
+
'tcpi_rtt': (number);
|
|
69
|
+
'tcpi_rttvar': (number);
|
|
70
|
+
'tcpi_snd_ssthresh': (number);
|
|
71
|
+
'tcpi_snd_cwnd': (number);
|
|
72
|
+
'tcpi_advmss': (number);
|
|
73
|
+
'tcpi_reordering': (number);
|
|
74
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* For use with SocketOption's additional field. This is primarily used for
|
|
7
|
+
* SO_RCVTIMEO and SO_SNDTIMEO
|
|
8
|
+
*/
|
|
9
|
+
export interface SocketOptionTimeout {
|
|
10
|
+
'duration'?: (_google_protobuf_Duration | null);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* For use with SocketOption's additional field. This is primarily used for
|
|
15
|
+
* SO_RCVTIMEO and SO_SNDTIMEO
|
|
16
|
+
*/
|
|
17
|
+
export interface SocketOptionTimeout__Output {
|
|
18
|
+
'duration': (_google_protobuf_Duration__Output | null);
|
|
19
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Long } from '@grpc/proto-loader';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* SocketRef is a reference to a Socket.
|
|
7
|
+
*/
|
|
8
|
+
export interface SocketRef {
|
|
9
|
+
/**
|
|
10
|
+
* The globally unique id for this socket. Must be a positive number.
|
|
11
|
+
*/
|
|
12
|
+
'socket_id'?: (number | string | Long);
|
|
13
|
+
/**
|
|
14
|
+
* An optional name associated with the socket.
|
|
15
|
+
*/
|
|
16
|
+
'name'?: (string);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* SocketRef is a reference to a Socket.
|
|
21
|
+
*/
|
|
22
|
+
export interface SocketRef__Output {
|
|
23
|
+
/**
|
|
24
|
+
* The globally unique id for this socket. Must be a positive number.
|
|
25
|
+
*/
|
|
26
|
+
'socket_id': (string);
|
|
27
|
+
/**
|
|
28
|
+
* An optional name associated with the socket.
|
|
29
|
+
*/
|
|
30
|
+
'name': (string);
|
|
31
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { SubchannelRef as _grpc_channelz_v1_SubchannelRef, SubchannelRef__Output as _grpc_channelz_v1_SubchannelRef__Output } from '../../../grpc/channelz/v1/SubchannelRef';
|
|
4
|
+
import type { ChannelData as _grpc_channelz_v1_ChannelData, ChannelData__Output as _grpc_channelz_v1_ChannelData__Output } from '../../../grpc/channelz/v1/ChannelData';
|
|
5
|
+
import type { ChannelRef as _grpc_channelz_v1_ChannelRef, ChannelRef__Output as _grpc_channelz_v1_ChannelRef__Output } from '../../../grpc/channelz/v1/ChannelRef';
|
|
6
|
+
import type { SocketRef as _grpc_channelz_v1_SocketRef, SocketRef__Output as _grpc_channelz_v1_SocketRef__Output } from '../../../grpc/channelz/v1/SocketRef';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Subchannel is a logical grouping of channels, subchannels, and sockets.
|
|
10
|
+
* A subchannel is load balanced over by it's ancestor
|
|
11
|
+
*/
|
|
12
|
+
export interface Subchannel {
|
|
13
|
+
/**
|
|
14
|
+
* The identifier for this channel.
|
|
15
|
+
*/
|
|
16
|
+
'ref'?: (_grpc_channelz_v1_SubchannelRef | null);
|
|
17
|
+
/**
|
|
18
|
+
* Data specific to this channel.
|
|
19
|
+
*/
|
|
20
|
+
'data'?: (_grpc_channelz_v1_ChannelData | null);
|
|
21
|
+
/**
|
|
22
|
+
* There are no ordering guarantees on the order of channel refs.
|
|
23
|
+
* There may not be cycles in the ref graph.
|
|
24
|
+
* A channel ref may be present in more than one channel or subchannel.
|
|
25
|
+
*/
|
|
26
|
+
'channel_ref'?: (_grpc_channelz_v1_ChannelRef)[];
|
|
27
|
+
/**
|
|
28
|
+
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
|
|
29
|
+
* There are no ordering guarantees on the order of subchannel refs.
|
|
30
|
+
* There may not be cycles in the ref graph.
|
|
31
|
+
* A sub channel ref may be present in more than one channel or subchannel.
|
|
32
|
+
*/
|
|
33
|
+
'subchannel_ref'?: (_grpc_channelz_v1_SubchannelRef)[];
|
|
34
|
+
/**
|
|
35
|
+
* There are no ordering guarantees on the order of sockets.
|
|
36
|
+
*/
|
|
37
|
+
'socket_ref'?: (_grpc_channelz_v1_SocketRef)[];
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Subchannel is a logical grouping of channels, subchannels, and sockets.
|
|
42
|
+
* A subchannel is load balanced over by it's ancestor
|
|
43
|
+
*/
|
|
44
|
+
export interface Subchannel__Output {
|
|
45
|
+
/**
|
|
46
|
+
* The identifier for this channel.
|
|
47
|
+
*/
|
|
48
|
+
'ref': (_grpc_channelz_v1_SubchannelRef__Output | null);
|
|
49
|
+
/**
|
|
50
|
+
* Data specific to this channel.
|
|
51
|
+
*/
|
|
52
|
+
'data': (_grpc_channelz_v1_ChannelData__Output | null);
|
|
53
|
+
/**
|
|
54
|
+
* There are no ordering guarantees on the order of channel refs.
|
|
55
|
+
* There may not be cycles in the ref graph.
|
|
56
|
+
* A channel ref may be present in more than one channel or subchannel.
|
|
57
|
+
*/
|
|
58
|
+
'channel_ref': (_grpc_channelz_v1_ChannelRef__Output)[];
|
|
59
|
+
/**
|
|
60
|
+
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
|
|
61
|
+
* There are no ordering guarantees on the order of subchannel refs.
|
|
62
|
+
* There may not be cycles in the ref graph.
|
|
63
|
+
* A sub channel ref may be present in more than one channel or subchannel.
|
|
64
|
+
*/
|
|
65
|
+
'subchannel_ref': (_grpc_channelz_v1_SubchannelRef__Output)[];
|
|
66
|
+
/**
|
|
67
|
+
* There are no ordering guarantees on the order of sockets.
|
|
68
|
+
*/
|
|
69
|
+
'socket_ref': (_grpc_channelz_v1_SocketRef__Output)[];
|
|
70
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Long } from '@grpc/proto-loader';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* SubchannelRef is a reference to a Subchannel.
|
|
7
|
+
*/
|
|
8
|
+
export interface SubchannelRef {
|
|
9
|
+
/**
|
|
10
|
+
* The globally unique id for this subchannel. Must be a positive number.
|
|
11
|
+
*/
|
|
12
|
+
'subchannel_id'?: (number | string | Long);
|
|
13
|
+
/**
|
|
14
|
+
* An optional name associated with the subchannel.
|
|
15
|
+
*/
|
|
16
|
+
'name'?: (string);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* SubchannelRef is a reference to a Subchannel.
|
|
21
|
+
*/
|
|
22
|
+
export interface SubchannelRef__Output {
|
|
23
|
+
/**
|
|
24
|
+
* The globally unique id for this subchannel. Must be a positive number.
|
|
25
|
+
*/
|
|
26
|
+
'subchannel_id': (string);
|
|
27
|
+
/**
|
|
28
|
+
* An optional name associated with the subchannel.
|
|
29
|
+
*/
|
|
30
|
+
'name': (string);
|
|
31
|
+
}
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
SubchannelAddress,
|
|
27
27
|
isTcpSubchannelAddress,
|
|
28
28
|
subchannelAddressToString,
|
|
29
|
-
} from './subchannel';
|
|
29
|
+
} from './subchannel-address';
|
|
30
30
|
import { ChannelOptions } from './channel-options';
|
|
31
31
|
import { GrpcUri, parseUri, splitHostPort, uriToString } from './uri-parser';
|
|
32
32
|
import { URL } from 'url';
|
|
@@ -93,7 +93,7 @@ function getProxyInfo(): ProxyInfo {
|
|
|
93
93
|
port = '80';
|
|
94
94
|
}
|
|
95
95
|
const result: ProxyInfo = {
|
|
96
|
-
address: `${hostname}:${port}
|
|
96
|
+
address: `${hostname}:${port}`,
|
|
97
97
|
};
|
|
98
98
|
if (userCred) {
|
|
99
99
|
result.creds = userCred;
|
|
@@ -147,7 +147,9 @@ export function mapProxyName(
|
|
|
147
147
|
const serverHost = hostPort.host;
|
|
148
148
|
for (const host of getNoProxyHostList()) {
|
|
149
149
|
if (host === serverHost) {
|
|
150
|
-
trace(
|
|
150
|
+
trace(
|
|
151
|
+
'Not using proxy for target in no_proxy list: ' + uriToString(target)
|
|
152
|
+
);
|
|
151
153
|
return noProxyResult;
|
|
152
154
|
}
|
|
153
155
|
}
|
|
@@ -188,6 +190,9 @@ export function getProxiedConnection(
|
|
|
188
190
|
method: 'CONNECT',
|
|
189
191
|
path: parsedTarget.path,
|
|
190
192
|
};
|
|
193
|
+
const headers: http.OutgoingHttpHeaders = {
|
|
194
|
+
Host: parsedTarget.path,
|
|
195
|
+
};
|
|
191
196
|
// Connect to the subchannel address as a proxy
|
|
192
197
|
if (isTcpSubchannelAddress(address)) {
|
|
193
198
|
options.host = address.host;
|
|
@@ -196,14 +201,13 @@ export function getProxiedConnection(
|
|
|
196
201
|
options.socketPath = address.path;
|
|
197
202
|
}
|
|
198
203
|
if ('grpc.http_connect_creds' in channelOptions) {
|
|
199
|
-
|
|
200
|
-
'
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
).toString('base64'),
|
|
205
|
-
};
|
|
204
|
+
headers['Proxy-Authorization'] =
|
|
205
|
+
'Basic ' +
|
|
206
|
+
Buffer.from(
|
|
207
|
+
channelOptions['grpc.http_connect_creds'] as string
|
|
208
|
+
).toString('base64');
|
|
206
209
|
}
|
|
210
|
+
options.headers = headers
|
|
207
211
|
const proxyAddressString = subchannelAddressToString(address);
|
|
208
212
|
trace('Using proxy ' + proxyAddressString + ' to connect to ' + options.path);
|
|
209
213
|
return new Promise<ProxyConnectionResult>((resolve, reject) => {
|
|
@@ -226,7 +230,7 @@ export function getProxiedConnection(
|
|
|
226
230
|
const targetPath = getDefaultAuthority(parsedTarget);
|
|
227
231
|
const hostPort = splitHostPort(targetPath);
|
|
228
232
|
const remoteHost = hostPort?.host ?? targetPath;
|
|
229
|
-
|
|
233
|
+
|
|
230
234
|
const cts = tls.connect(
|
|
231
235
|
{
|
|
232
236
|
host: remoteHost,
|
|
@@ -24,7 +24,8 @@ import {
|
|
|
24
24
|
} from './call';
|
|
25
25
|
import { CallCredentials, OAuth2Client } from './call-credentials';
|
|
26
26
|
import { Deadline, StatusObject } from './call-stream';
|
|
27
|
-
import { Channel,
|
|
27
|
+
import { Channel, ChannelImplementation } from './channel';
|
|
28
|
+
import { ConnectivityState } from './connectivity-state';
|
|
28
29
|
import { ChannelCredentials } from './channel-credentials';
|
|
29
30
|
import {
|
|
30
31
|
CallOptions,
|
|
@@ -62,6 +63,7 @@ import {
|
|
|
62
63
|
ServerReadableStream,
|
|
63
64
|
ServerWritableStream,
|
|
64
65
|
ServerDuplexStream,
|
|
66
|
+
ServerErrorResponse,
|
|
65
67
|
} from './server-call';
|
|
66
68
|
|
|
67
69
|
export { OAuth2Client };
|
|
@@ -173,6 +175,7 @@ export {
|
|
|
173
175
|
ServerReadableStream,
|
|
174
176
|
ServerWritableStream,
|
|
175
177
|
ServerDuplexStream,
|
|
178
|
+
ServerErrorResponse,
|
|
176
179
|
ServiceDefinition,
|
|
177
180
|
UntypedHandleCall,
|
|
178
181
|
UntypedServiceImplementation,
|
|
@@ -180,7 +183,12 @@ export {
|
|
|
180
183
|
|
|
181
184
|
/**** Server ****/
|
|
182
185
|
|
|
183
|
-
export {
|
|
186
|
+
export {
|
|
187
|
+
handleBidiStreamingCall,
|
|
188
|
+
handleServerStreamingCall,
|
|
189
|
+
handleUnaryCall,
|
|
190
|
+
handleClientStreamingCall,
|
|
191
|
+
};
|
|
184
192
|
|
|
185
193
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
186
194
|
export type Call =
|
|
@@ -241,16 +249,31 @@ export { GrpcObject } from './make-client';
|
|
|
241
249
|
|
|
242
250
|
export { ChannelOptions } from './channel-options';
|
|
243
251
|
|
|
252
|
+
export {
|
|
253
|
+
getChannelzServiceDefinition,
|
|
254
|
+
getChannelzHandlers
|
|
255
|
+
} from './channelz';
|
|
256
|
+
|
|
257
|
+
export { addAdminServicesToServer } from './admin';
|
|
258
|
+
|
|
244
259
|
import * as experimental from './experimental';
|
|
245
260
|
export { experimental };
|
|
246
261
|
|
|
247
|
-
import * as
|
|
248
|
-
import * as
|
|
262
|
+
import * as resolver_dns from './resolver-dns';
|
|
263
|
+
import * as resolver_uds from './resolver-uds';
|
|
264
|
+
import * as resolver_ip from './resolver-ip';
|
|
265
|
+
import * as load_balancer_pick_first from './load-balancer-pick-first';
|
|
266
|
+
import * as load_balancer_round_robin from './load-balancer-round-robin';
|
|
267
|
+
import * as channelz from './channelz';
|
|
249
268
|
|
|
250
269
|
const clientVersion = require('../../package.json').version;
|
|
251
270
|
|
|
252
271
|
(() => {
|
|
253
272
|
logging.trace(LogVerbosity.DEBUG, 'index', 'Loading @grpc/grpc-js version ' + clientVersion);
|
|
254
|
-
|
|
255
|
-
|
|
273
|
+
resolver_dns.setup();
|
|
274
|
+
resolver_uds.setup();
|
|
275
|
+
resolver_ip.setup();
|
|
276
|
+
load_balancer_pick_first.setup();
|
|
277
|
+
load_balancer_round_robin.setup();
|
|
278
|
+
channelz.setup();
|
|
256
279
|
})();
|
|
@@ -18,13 +18,15 @@
|
|
|
18
18
|
import {
|
|
19
19
|
LoadBalancer,
|
|
20
20
|
ChannelControlHelper,
|
|
21
|
+
LoadBalancingConfig,
|
|
21
22
|
createLoadBalancer,
|
|
22
|
-
LoadBalancingConfig
|
|
23
23
|
} from './load-balancer';
|
|
24
|
-
import {
|
|
24
|
+
import { Subchannel } from './subchannel';
|
|
25
|
+
import { SubchannelAddress } from './subchannel-address';
|
|
25
26
|
import { ChannelOptions } from './channel-options';
|
|
26
|
-
import { ConnectivityState } from './
|
|
27
|
+
import { ConnectivityState } from './connectivity-state';
|
|
27
28
|
import { Picker } from './picker';
|
|
29
|
+
import { ChannelRef, SubchannelRef } from './channelz';
|
|
28
30
|
|
|
29
31
|
const TYPE_NAME = 'child_load_balancer_helper';
|
|
30
32
|
|
|
@@ -66,6 +68,13 @@ export class ChildLoadBalancerHandler implements LoadBalancer {
|
|
|
66
68
|
setChild(newChild: LoadBalancer) {
|
|
67
69
|
this.child = newChild;
|
|
68
70
|
}
|
|
71
|
+
addChannelzChild(child: ChannelRef | SubchannelRef) {
|
|
72
|
+
this.parent.channelControlHelper.addChannelzChild(child);
|
|
73
|
+
}
|
|
74
|
+
removeChannelzChild(child: ChannelRef | SubchannelRef) {
|
|
75
|
+
this.parent.channelControlHelper.removeChannelzChild(child);
|
|
76
|
+
}
|
|
77
|
+
|
|
69
78
|
private calledByPendingChild(): boolean {
|
|
70
79
|
return this.child === this.parent.pendingChild;
|
|
71
80
|
}
|