@reptilestyle/grpc-js 1.9.14-compression.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/LICENSE +201 -0
- package/README.md +79 -0
- package/build/src/admin.d.ts +11 -0
- package/build/src/admin.js +30 -0
- package/build/src/admin.js.map +1 -0
- package/build/src/backoff-timeout.d.ts +90 -0
- package/build/src/backoff-timeout.js +174 -0
- package/build/src/backoff-timeout.js.map +1 -0
- package/build/src/call-credentials.d.ts +56 -0
- package/build/src/call-credentials.js +153 -0
- package/build/src/call-credentials.js.map +1 -0
- package/build/src/call-interface.d.ts +85 -0
- package/build/src/call-interface.js +84 -0
- package/build/src/call-interface.js.map +1 -0
- package/build/src/call-number.d.ts +1 -0
- package/build/src/call-number.js +24 -0
- package/build/src/call-number.js.map +1 -0
- package/build/src/call.d.ts +80 -0
- package/build/src/call.js +136 -0
- package/build/src/call.js.map +1 -0
- package/build/src/channel-credentials.d.ts +81 -0
- package/build/src/channel-credentials.js +177 -0
- package/build/src/channel-credentials.js.map +1 -0
- package/build/src/channel-options.d.ts +72 -0
- package/build/src/channel-options.js +69 -0
- package/build/src/channel-options.js.map +1 -0
- package/build/src/channel.d.ts +76 -0
- package/build/src/channel.js +68 -0
- package/build/src/channel.js.map +1 -0
- package/build/src/channelz.d.ts +108 -0
- package/build/src/channelz.js +637 -0
- package/build/src/channelz.js.map +1 -0
- package/build/src/client-interceptors.d.ts +120 -0
- package/build/src/client-interceptors.js +428 -0
- package/build/src/client-interceptors.js.map +1 -0
- package/build/src/client.d.ts +74 -0
- package/build/src/client.js +431 -0
- package/build/src/client.js.map +1 -0
- package/build/src/compression-algorithms.d.ts +5 -0
- package/build/src/compression-algorithms.js +26 -0
- package/build/src/compression-algorithms.js.map +1 -0
- package/build/src/compression-filter.d.ts +26 -0
- package/build/src/compression-filter.js +257 -0
- package/build/src/compression-filter.js.map +1 -0
- package/build/src/connectivity-state.d.ts +7 -0
- package/build/src/connectivity-state.js +28 -0
- package/build/src/connectivity-state.js.map +1 -0
- package/build/src/constants.d.ts +38 -0
- package/build/src/constants.js +64 -0
- package/build/src/constants.js.map +1 -0
- package/build/src/control-plane-status.d.ts +5 -0
- package/build/src/control-plane-status.js +42 -0
- package/build/src/control-plane-status.js.map +1 -0
- package/build/src/deadline.d.ts +14 -0
- package/build/src/deadline.js +97 -0
- package/build/src/deadline.js.map +1 -0
- package/build/src/duration.d.ts +7 -0
- package/build/src/duration.js +34 -0
- package/build/src/duration.js.map +1 -0
- package/build/src/error.d.ts +2 -0
- package/build/src/error.js +40 -0
- package/build/src/error.js.map +1 -0
- package/build/src/events.d.ts +9 -0
- package/build/src/events.js +19 -0
- package/build/src/events.js.map +1 -0
- package/build/src/experimental.d.ts +16 -0
- package/build/src/experimental.js +39 -0
- package/build/src/experimental.js.map +1 -0
- package/build/src/filter-stack.d.ts +21 -0
- package/build/src/filter-stack.js +82 -0
- package/build/src/filter-stack.js.map +1 -0
- package/build/src/filter.d.ts +25 -0
- package/build/src/filter.js +38 -0
- package/build/src/filter.js.map +1 -0
- package/build/src/generated/channelz.d.ts +72 -0
- package/build/src/generated/channelz.js +3 -0
- package/build/src/generated/channelz.js.map +1 -0
- package/build/src/generated/google/protobuf/Any.d.ts +9 -0
- package/build/src/generated/google/protobuf/Any.js +4 -0
- package/build/src/generated/google/protobuf/Any.js.map +1 -0
- package/build/src/generated/google/protobuf/BoolValue.d.ts +6 -0
- package/build/src/generated/google/protobuf/BoolValue.js +4 -0
- package/build/src/generated/google/protobuf/BoolValue.js.map +1 -0
- package/build/src/generated/google/protobuf/BytesValue.d.ts +6 -0
- package/build/src/generated/google/protobuf/BytesValue.js +4 -0
- package/build/src/generated/google/protobuf/BytesValue.js.map +1 -0
- package/build/src/generated/google/protobuf/DoubleValue.d.ts +6 -0
- package/build/src/generated/google/protobuf/DoubleValue.js +4 -0
- package/build/src/generated/google/protobuf/DoubleValue.js.map +1 -0
- package/build/src/generated/google/protobuf/Duration.d.ts +9 -0
- package/build/src/generated/google/protobuf/Duration.js +4 -0
- package/build/src/generated/google/protobuf/Duration.js.map +1 -0
- package/build/src/generated/google/protobuf/FloatValue.d.ts +6 -0
- package/build/src/generated/google/protobuf/FloatValue.js +4 -0
- package/build/src/generated/google/protobuf/FloatValue.js.map +1 -0
- package/build/src/generated/google/protobuf/Int32Value.d.ts +6 -0
- package/build/src/generated/google/protobuf/Int32Value.js +4 -0
- package/build/src/generated/google/protobuf/Int32Value.js.map +1 -0
- package/build/src/generated/google/protobuf/Int64Value.d.ts +7 -0
- package/build/src/generated/google/protobuf/Int64Value.js +4 -0
- package/build/src/generated/google/protobuf/Int64Value.js.map +1 -0
- package/build/src/generated/google/protobuf/StringValue.d.ts +6 -0
- package/build/src/generated/google/protobuf/StringValue.js +4 -0
- package/build/src/generated/google/protobuf/StringValue.js.map +1 -0
- package/build/src/generated/google/protobuf/Timestamp.d.ts +9 -0
- package/build/src/generated/google/protobuf/Timestamp.js +4 -0
- package/build/src/generated/google/protobuf/Timestamp.js.map +1 -0
- package/build/src/generated/google/protobuf/UInt32Value.d.ts +6 -0
- package/build/src/generated/google/protobuf/UInt32Value.js +4 -0
- package/build/src/generated/google/protobuf/UInt32Value.js.map +1 -0
- package/build/src/generated/google/protobuf/UInt64Value.d.ts +7 -0
- package/build/src/generated/google/protobuf/UInt64Value.js +4 -0
- package/build/src/generated/google/protobuf/UInt64Value.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/Address.d.ts +79 -0
- package/build/src/generated/grpc/channelz/v1/Address.js +4 -0
- package/build/src/generated/grpc/channelz/v1/Address.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/Channel.d.ts +64 -0
- package/build/src/generated/grpc/channelz/v1/Channel.js +4 -0
- package/build/src/generated/grpc/channelz/v1/Channel.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.d.ts +24 -0
- package/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js +14 -0
- package/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/ChannelData.d.ts +72 -0
- package/build/src/generated/grpc/channelz/v1/ChannelData.js +4 -0
- package/build/src/generated/grpc/channelz/v1/ChannelData.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/ChannelRef.d.ts +27 -0
- package/build/src/generated/grpc/channelz/v1/ChannelRef.js +4 -0
- package/build/src/generated/grpc/channelz/v1/ChannelRef.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/ChannelTrace.d.ts +41 -0
- package/build/src/generated/grpc/channelz/v1/ChannelTrace.js +4 -0
- package/build/src/generated/grpc/channelz/v1/ChannelTrace.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.d.ts +74 -0
- package/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js +15 -0
- package/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/Channelz.d.ts +159 -0
- package/build/src/generated/grpc/channelz/v1/Channelz.js +4 -0
- package/build/src/generated/grpc/channelz/v1/Channelz.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetChannelRequest.d.ts +13 -0
- package/build/src/generated/grpc/channelz/v1/GetChannelRequest.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetChannelRequest.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetChannelResponse.d.ts +15 -0
- package/build/src/generated/grpc/channelz/v1/GetChannelResponse.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetChannelResponse.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetServerRequest.d.ts +13 -0
- package/build/src/generated/grpc/channelz/v1/GetServerRequest.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetServerRequest.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetServerResponse.d.ts +15 -0
- package/build/src/generated/grpc/channelz/v1/GetServerResponse.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetServerResponse.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.d.ts +35 -0
- package/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.d.ts +29 -0
- package/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetServersRequest.d.ts +33 -0
- package/build/src/generated/grpc/channelz/v1/GetServersRequest.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetServersRequest.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetServersResponse.d.ts +29 -0
- package/build/src/generated/grpc/channelz/v1/GetServersResponse.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetServersResponse.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetSocketRequest.d.ts +25 -0
- package/build/src/generated/grpc/channelz/v1/GetSocketRequest.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetSocketRequest.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetSocketResponse.d.ts +15 -0
- package/build/src/generated/grpc/channelz/v1/GetSocketResponse.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetSocketResponse.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.d.ts +13 -0
- package/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.d.ts +15 -0
- package/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.d.ts +33 -0
- package/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.d.ts +29 -0
- package/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js +4 -0
- package/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/Security.d.ts +79 -0
- package/build/src/generated/grpc/channelz/v1/Security.js +4 -0
- package/build/src/generated/grpc/channelz/v1/Security.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/Server.d.ts +41 -0
- package/build/src/generated/grpc/channelz/v1/Server.js +4 -0
- package/build/src/generated/grpc/channelz/v1/Server.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/ServerData.d.ts +53 -0
- package/build/src/generated/grpc/channelz/v1/ServerData.js +4 -0
- package/build/src/generated/grpc/channelz/v1/ServerData.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/ServerRef.d.ts +27 -0
- package/build/src/generated/grpc/channelz/v1/ServerRef.js +4 -0
- package/build/src/generated/grpc/channelz/v1/ServerRef.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/Socket.d.ts +66 -0
- package/build/src/generated/grpc/channelz/v1/Socket.js +4 -0
- package/build/src/generated/grpc/channelz/v1/Socket.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/SocketData.d.ts +146 -0
- package/build/src/generated/grpc/channelz/v1/SocketData.js +4 -0
- package/build/src/generated/grpc/channelz/v1/SocketData.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/SocketOption.d.ts +43 -0
- package/build/src/generated/grpc/channelz/v1/SocketOption.js +4 -0
- package/build/src/generated/grpc/channelz/v1/SocketOption.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/SocketOptionLinger.d.ts +29 -0
- package/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js +4 -0
- package/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.d.ts +70 -0
- package/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js +4 -0
- package/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.d.ts +15 -0
- package/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js +4 -0
- package/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/SocketRef.d.ts +27 -0
- package/build/src/generated/grpc/channelz/v1/SocketRef.js +4 -0
- package/build/src/generated/grpc/channelz/v1/SocketRef.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/Subchannel.d.ts +66 -0
- package/build/src/generated/grpc/channelz/v1/Subchannel.js +4 -0
- package/build/src/generated/grpc/channelz/v1/Subchannel.js.map +1 -0
- package/build/src/generated/grpc/channelz/v1/SubchannelRef.d.ts +27 -0
- package/build/src/generated/grpc/channelz/v1/SubchannelRef.js +4 -0
- package/build/src/generated/grpc/channelz/v1/SubchannelRef.js.map +1 -0
- package/build/src/http_proxy.d.ts +15 -0
- package/build/src/http_proxy.js +259 -0
- package/build/src/http_proxy.js.map +1 -0
- package/build/src/index.d.ts +76 -0
- package/build/src/index.js +140 -0
- package/build/src/index.js.map +1 -0
- package/build/src/internal-channel.d.ts +118 -0
- package/build/src/internal-channel.js +535 -0
- package/build/src/internal-channel.js.map +1 -0
- package/build/src/load-balancer-child-handler.d.ts +24 -0
- package/build/src/load-balancer-child-handler.js +151 -0
- package/build/src/load-balancer-child-handler.js.map +1 -0
- package/build/src/load-balancer-outlier-detection.d.ts +61 -0
- package/build/src/load-balancer-outlier-detection.js +608 -0
- package/build/src/load-balancer-outlier-detection.js.map +1 -0
- package/build/src/load-balancer-pick-first.d.ts +97 -0
- package/build/src/load-balancer-pick-first.js +393 -0
- package/build/src/load-balancer-pick-first.js.map +1 -0
- package/build/src/load-balancer-round-robin.d.ts +21 -0
- package/build/src/load-balancer-round-robin.js +174 -0
- package/build/src/load-balancer-round-robin.js.map +1 -0
- package/build/src/load-balancer.d.ts +97 -0
- package/build/src/load-balancer.js +102 -0
- package/build/src/load-balancer.js.map +1 -0
- package/build/src/load-balancing-call.d.ts +44 -0
- package/build/src/load-balancing-call.js +269 -0
- package/build/src/load-balancing-call.js.map +1 -0
- package/build/src/logging.d.ts +7 -0
- package/build/src/logging.js +114 -0
- package/build/src/logging.js.map +1 -0
- package/build/src/make-client.d.ts +71 -0
- package/build/src/make-client.js +143 -0
- package/build/src/make-client.js.map +1 -0
- package/build/src/max-message-size-filter.d.ts +15 -0
- package/build/src/max-message-size-filter.js +86 -0
- package/build/src/max-message-size-filter.js.map +1 -0
- package/build/src/metadata.d.ts +84 -0
- package/build/src/metadata.js +249 -0
- package/build/src/metadata.js.map +1 -0
- package/build/src/object-stream.d.ts +27 -0
- package/build/src/object-stream.js +19 -0
- package/build/src/object-stream.js.map +1 -0
- package/build/src/picker.d.ts +91 -0
- package/build/src/picker.js +78 -0
- package/build/src/picker.js.map +1 -0
- package/build/src/resolver-dns.d.ts +13 -0
- package/build/src/resolver-dns.js +328 -0
- package/build/src/resolver-dns.js.map +1 -0
- package/build/src/resolver-ip.d.ts +1 -0
- package/build/src/resolver-ip.js +104 -0
- package/build/src/resolver-ip.js.map +1 -0
- package/build/src/resolver-uds.d.ts +1 -0
- package/build/src/resolver-uds.js +50 -0
- package/build/src/resolver-uds.js.map +1 -0
- package/build/src/resolver.d.ts +105 -0
- package/build/src/resolver.js +87 -0
- package/build/src/resolver.js.map +1 -0
- package/build/src/resolving-call.d.ts +44 -0
- package/build/src/resolving-call.js +273 -0
- package/build/src/resolving-call.js.map +1 -0
- package/build/src/resolving-load-balancer.d.ts +67 -0
- package/build/src/resolving-load-balancer.js +304 -0
- package/build/src/resolving-load-balancer.js.map +1 -0
- package/build/src/retrying-call.d.ts +94 -0
- package/build/src/retrying-call.js +639 -0
- package/build/src/retrying-call.js.map +1 -0
- package/build/src/server-call.d.ts +159 -0
- package/build/src/server-call.js +700 -0
- package/build/src/server-call.js.map +1 -0
- package/build/src/server-credentials.d.ts +11 -0
- package/build/src/server-credentials.js +81 -0
- package/build/src/server-credentials.js.map +1 -0
- package/build/src/server.d.ts +56 -0
- package/build/src/server.js +892 -0
- package/build/src/server.js.map +1 -0
- package/build/src/service-config.d.ts +56 -0
- package/build/src/service-config.js +416 -0
- package/build/src/service-config.js.map +1 -0
- package/build/src/status-builder.d.ts +28 -0
- package/build/src/status-builder.js +68 -0
- package/build/src/status-builder.js.map +1 -0
- package/build/src/stream-decoder.d.ts +10 -0
- package/build/src/stream-decoder.js +96 -0
- package/build/src/stream-decoder.js.map +1 -0
- package/build/src/subchannel-address.d.ts +18 -0
- package/build/src/subchannel-address.js +65 -0
- package/build/src/subchannel-address.js.map +1 -0
- package/build/src/subchannel-call.d.ts +61 -0
- package/build/src/subchannel-call.js +461 -0
- package/build/src/subchannel-call.js.map +1 -0
- package/build/src/subchannel-interface.d.ts +49 -0
- package/build/src/subchannel-interface.js +59 -0
- package/build/src/subchannel-interface.js.map +1 -0
- package/build/src/subchannel-pool.d.ts +40 -0
- package/build/src/subchannel-pool.js +137 -0
- package/build/src/subchannel-pool.js.map +1 -0
- package/build/src/subchannel.d.ts +119 -0
- package/build/src/subchannel.js +353 -0
- package/build/src/subchannel.js.map +1 -0
- package/build/src/tls-helpers.d.ts +2 -0
- package/build/src/tls-helpers.js +34 -0
- package/build/src/tls-helpers.js.map +1 -0
- package/build/src/transport.d.ts +130 -0
- package/build/src/transport.js +640 -0
- package/build/src/transport.js.map +1 -0
- package/build/src/uri-parser.d.ts +12 -0
- package/build/src/uri-parser.js +110 -0
- package/build/src/uri-parser.js.map +1 -0
- package/package.json +85 -0
- package/proto/channelz.proto +564 -0
- package/src/admin.ts +45 -0
- package/src/backoff-timeout.ts +196 -0
- package/src/call-credentials.ts +226 -0
- package/src/call-interface.ts +173 -0
- package/src/call-number.ts +22 -0
- package/src/call.ts +200 -0
- package/src/channel-credentials.ts +267 -0
- package/src/channel-options.ts +119 -0
- package/src/channel.ts +174 -0
- package/src/channelz.ts +886 -0
- package/src/client-interceptors.ts +577 -0
- package/src/client.ts +715 -0
- package/src/compression-algorithms.ts +22 -0
- package/src/compression-filter.ts +315 -0
- package/src/connectivity-state.ts +24 -0
- package/src/constants.ts +66 -0
- package/src/control-plane-status.ts +43 -0
- package/src/deadline.ts +95 -0
- package/src/duration.ts +36 -0
- package/src/error.ts +37 -0
- package/src/events.ts +26 -0
- package/src/experimental.ts +48 -0
- package/src/filter-stack.ts +100 -0
- package/src/filter.ts +63 -0
- package/src/generated/channelz.ts +73 -0
- package/src/generated/google/protobuf/Any.ts +13 -0
- package/src/generated/google/protobuf/BoolValue.ts +10 -0
- package/src/generated/google/protobuf/BytesValue.ts +10 -0
- package/src/generated/google/protobuf/DoubleValue.ts +10 -0
- package/src/generated/google/protobuf/Duration.ts +13 -0
- package/src/generated/google/protobuf/FloatValue.ts +10 -0
- package/src/generated/google/protobuf/Int32Value.ts +10 -0
- package/src/generated/google/protobuf/Int64Value.ts +11 -0
- package/src/generated/google/protobuf/StringValue.ts +10 -0
- package/src/generated/google/protobuf/Timestamp.ts +13 -0
- package/src/generated/google/protobuf/UInt32Value.ts +10 -0
- package/src/generated/google/protobuf/UInt64Value.ts +11 -0
- package/src/generated/grpc/channelz/v1/Address.ts +89 -0
- package/src/generated/grpc/channelz/v1/Channel.ts +68 -0
- package/src/generated/grpc/channelz/v1/ChannelConnectivityState.ts +45 -0
- package/src/generated/grpc/channelz/v1/ChannelData.ts +76 -0
- package/src/generated/grpc/channelz/v1/ChannelRef.ts +31 -0
- package/src/generated/grpc/channelz/v1/ChannelTrace.ts +45 -0
- package/src/generated/grpc/channelz/v1/ChannelTraceEvent.ts +91 -0
- package/src/generated/grpc/channelz/v1/Channelz.ts +178 -0
- package/src/generated/grpc/channelz/v1/GetChannelRequest.ts +17 -0
- package/src/generated/grpc/channelz/v1/GetChannelResponse.ts +19 -0
- package/src/generated/grpc/channelz/v1/GetServerRequest.ts +17 -0
- package/src/generated/grpc/channelz/v1/GetServerResponse.ts +19 -0
- package/src/generated/grpc/channelz/v1/GetServerSocketsRequest.ts +39 -0
- package/src/generated/grpc/channelz/v1/GetServerSocketsResponse.ts +33 -0
- package/src/generated/grpc/channelz/v1/GetServersRequest.ts +37 -0
- package/src/generated/grpc/channelz/v1/GetServersResponse.ts +33 -0
- package/src/generated/grpc/channelz/v1/GetSocketRequest.ts +29 -0
- package/src/generated/grpc/channelz/v1/GetSocketResponse.ts +19 -0
- package/src/generated/grpc/channelz/v1/GetSubchannelRequest.ts +17 -0
- package/src/generated/grpc/channelz/v1/GetSubchannelResponse.ts +19 -0
- package/src/generated/grpc/channelz/v1/GetTopChannelsRequest.ts +37 -0
- package/src/generated/grpc/channelz/v1/GetTopChannelsResponse.ts +33 -0
- package/src/generated/grpc/channelz/v1/Security.ts +87 -0
- package/src/generated/grpc/channelz/v1/Server.ts +45 -0
- package/src/generated/grpc/channelz/v1/ServerData.ts +57 -0
- package/src/generated/grpc/channelz/v1/ServerRef.ts +31 -0
- package/src/generated/grpc/channelz/v1/Socket.ts +70 -0
- package/src/generated/grpc/channelz/v1/SocketData.ts +150 -0
- package/src/generated/grpc/channelz/v1/SocketOption.ts +47 -0
- package/src/generated/grpc/channelz/v1/SocketOptionLinger.ts +33 -0
- package/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.ts +74 -0
- package/src/generated/grpc/channelz/v1/SocketOptionTimeout.ts +19 -0
- package/src/generated/grpc/channelz/v1/SocketRef.ts +31 -0
- package/src/generated/grpc/channelz/v1/Subchannel.ts +70 -0
- package/src/generated/grpc/channelz/v1/SubchannelRef.ts +31 -0
- package/src/http_proxy.ts +311 -0
- package/src/index.ts +284 -0
- package/src/internal-channel.ts +832 -0
- package/src/load-balancer-child-handler.ts +169 -0
- package/src/load-balancer-outlier-detection.ts +882 -0
- package/src/load-balancer-pick-first.ts +487 -0
- package/src/load-balancer-round-robin.ts +249 -0
- package/src/load-balancer.ts +230 -0
- package/src/load-balancing-call.ts +351 -0
- package/src/logging.ts +123 -0
- package/src/make-client.ts +238 -0
- package/src/max-message-size-filter.ts +88 -0
- package/src/metadata.ts +298 -0
- package/src/object-stream.ts +66 -0
- package/src/picker.ts +146 -0
- package/src/resolver-dns.ts +412 -0
- package/src/resolver-ip.ts +120 -0
- package/src/resolver-uds.ts +63 -0
- package/src/resolver.ts +180 -0
- package/src/resolving-call.ts +331 -0
- package/src/resolving-load-balancer.ts +403 -0
- package/src/retrying-call.ts +821 -0
- package/src/server-call.ts +1033 -0
- package/src/server-credentials.ts +108 -0
- package/src/server.ts +1300 -0
- package/src/service-config.ts +542 -0
- package/src/status-builder.ts +80 -0
- package/src/stream-decoder.ts +105 -0
- package/src/subchannel-address.ts +88 -0
- package/src/subchannel-call.ts +539 -0
- package/src/subchannel-interface.ts +97 -0
- package/src/subchannel-pool.ts +176 -0
- package/src/subchannel.ts +482 -0
- package/src/tls-helpers.ts +35 -0
- package/src/transport.ts +824 -0
- package/src/uri-parser.ts +114 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Long } from '@grpc/proto-loader';
|
|
4
|
+
|
|
5
|
+
export interface GetSocketRequest {
|
|
6
|
+
/**
|
|
7
|
+
* socket_id is the identifier of the specific socket to get.
|
|
8
|
+
*/
|
|
9
|
+
'socket_id'?: (number | string | Long);
|
|
10
|
+
/**
|
|
11
|
+
* If true, the response will contain only high level information
|
|
12
|
+
* that is inexpensive to obtain. Fields thay may be omitted are
|
|
13
|
+
* documented.
|
|
14
|
+
*/
|
|
15
|
+
'summary'?: (boolean);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface GetSocketRequest__Output {
|
|
19
|
+
/**
|
|
20
|
+
* socket_id is the identifier of the specific socket to get.
|
|
21
|
+
*/
|
|
22
|
+
'socket_id': (string);
|
|
23
|
+
/**
|
|
24
|
+
* If true, the response will contain only high level information
|
|
25
|
+
* that is inexpensive to obtain. Fields thay may be omitted are
|
|
26
|
+
* documented.
|
|
27
|
+
*/
|
|
28
|
+
'summary': (boolean);
|
|
29
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Socket as _grpc_channelz_v1_Socket, Socket__Output as _grpc_channelz_v1_Socket__Output } from '../../../grpc/channelz/v1/Socket';
|
|
4
|
+
|
|
5
|
+
export interface GetSocketResponse {
|
|
6
|
+
/**
|
|
7
|
+
* The Socket that corresponds to the requested socket_id. This field
|
|
8
|
+
* should be set.
|
|
9
|
+
*/
|
|
10
|
+
'socket'?: (_grpc_channelz_v1_Socket | null);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface GetSocketResponse__Output {
|
|
14
|
+
/**
|
|
15
|
+
* The Socket that corresponds to the requested socket_id. This field
|
|
16
|
+
* should be set.
|
|
17
|
+
*/
|
|
18
|
+
'socket': (_grpc_channelz_v1_Socket__Output | null);
|
|
19
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Long } from '@grpc/proto-loader';
|
|
4
|
+
|
|
5
|
+
export interface GetSubchannelRequest {
|
|
6
|
+
/**
|
|
7
|
+
* subchannel_id is the identifier of the specific subchannel to get.
|
|
8
|
+
*/
|
|
9
|
+
'subchannel_id'?: (number | string | Long);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface GetSubchannelRequest__Output {
|
|
13
|
+
/**
|
|
14
|
+
* subchannel_id is the identifier of the specific subchannel to get.
|
|
15
|
+
*/
|
|
16
|
+
'subchannel_id': (string);
|
|
17
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Subchannel as _grpc_channelz_v1_Subchannel, Subchannel__Output as _grpc_channelz_v1_Subchannel__Output } from '../../../grpc/channelz/v1/Subchannel';
|
|
4
|
+
|
|
5
|
+
export interface GetSubchannelResponse {
|
|
6
|
+
/**
|
|
7
|
+
* The Subchannel that corresponds to the requested subchannel_id. This
|
|
8
|
+
* field should be set.
|
|
9
|
+
*/
|
|
10
|
+
'subchannel'?: (_grpc_channelz_v1_Subchannel | null);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface GetSubchannelResponse__Output {
|
|
14
|
+
/**
|
|
15
|
+
* The Subchannel that corresponds to the requested subchannel_id. This
|
|
16
|
+
* field should be set.
|
|
17
|
+
*/
|
|
18
|
+
'subchannel': (_grpc_channelz_v1_Subchannel__Output | null);
|
|
19
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Long } from '@grpc/proto-loader';
|
|
4
|
+
|
|
5
|
+
export interface GetTopChannelsRequest {
|
|
6
|
+
/**
|
|
7
|
+
* start_channel_id indicates that only channels at or above this id should be
|
|
8
|
+
* included in the results.
|
|
9
|
+
* To request the first page, this should be set to 0. To request
|
|
10
|
+
* subsequent pages, the client generates this value by adding 1 to
|
|
11
|
+
* the highest seen result ID.
|
|
12
|
+
*/
|
|
13
|
+
'start_channel_id'?: (number | string | Long);
|
|
14
|
+
/**
|
|
15
|
+
* If non-zero, the server will return a page of results containing
|
|
16
|
+
* at most this many items. If zero, the server will choose a
|
|
17
|
+
* reasonable page size. Must never be negative.
|
|
18
|
+
*/
|
|
19
|
+
'max_results'?: (number | string | Long);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface GetTopChannelsRequest__Output {
|
|
23
|
+
/**
|
|
24
|
+
* start_channel_id indicates that only channels at or above this id should be
|
|
25
|
+
* included in the results.
|
|
26
|
+
* To request the first page, this should be set to 0. To request
|
|
27
|
+
* subsequent pages, the client generates this value by adding 1 to
|
|
28
|
+
* the highest seen result ID.
|
|
29
|
+
*/
|
|
30
|
+
'start_channel_id': (string);
|
|
31
|
+
/**
|
|
32
|
+
* If non-zero, the server will return a page of results containing
|
|
33
|
+
* at most this many items. If zero, the server will choose a
|
|
34
|
+
* reasonable page size. Must never be negative.
|
|
35
|
+
*/
|
|
36
|
+
'max_results': (string);
|
|
37
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Channel as _grpc_channelz_v1_Channel, Channel__Output as _grpc_channelz_v1_Channel__Output } from '../../../grpc/channelz/v1/Channel';
|
|
4
|
+
|
|
5
|
+
export interface GetTopChannelsResponse {
|
|
6
|
+
/**
|
|
7
|
+
* list of channels that the connection detail service knows about. Sorted in
|
|
8
|
+
* ascending channel_id order.
|
|
9
|
+
* Must contain at least 1 result, otherwise 'end' must be true.
|
|
10
|
+
*/
|
|
11
|
+
'channel'?: (_grpc_channelz_v1_Channel)[];
|
|
12
|
+
/**
|
|
13
|
+
* If set, indicates that the list of channels is the final list. Requesting
|
|
14
|
+
* more channels can only return more if they are created after this RPC
|
|
15
|
+
* completes.
|
|
16
|
+
*/
|
|
17
|
+
'end'?: (boolean);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface GetTopChannelsResponse__Output {
|
|
21
|
+
/**
|
|
22
|
+
* list of channels that the connection detail service knows about. Sorted in
|
|
23
|
+
* ascending channel_id order.
|
|
24
|
+
* Must contain at least 1 result, otherwise 'end' must be true.
|
|
25
|
+
*/
|
|
26
|
+
'channel': (_grpc_channelz_v1_Channel__Output)[];
|
|
27
|
+
/**
|
|
28
|
+
* If set, indicates that the list of channels is the final list. Requesting
|
|
29
|
+
* more channels can only return more if they are created after this RPC
|
|
30
|
+
* completes.
|
|
31
|
+
*/
|
|
32
|
+
'end': (boolean);
|
|
33
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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
|
+
export interface _grpc_channelz_v1_Security_OtherSecurity {
|
|
6
|
+
/**
|
|
7
|
+
* The human readable version of the value.
|
|
8
|
+
*/
|
|
9
|
+
'name'?: (string);
|
|
10
|
+
/**
|
|
11
|
+
* The actual security details message.
|
|
12
|
+
*/
|
|
13
|
+
'value'?: (_google_protobuf_Any | null);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface _grpc_channelz_v1_Security_OtherSecurity__Output {
|
|
17
|
+
/**
|
|
18
|
+
* The human readable version of the value.
|
|
19
|
+
*/
|
|
20
|
+
'name': (string);
|
|
21
|
+
/**
|
|
22
|
+
* The actual security details message.
|
|
23
|
+
*/
|
|
24
|
+
'value': (_google_protobuf_Any__Output | null);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface _grpc_channelz_v1_Security_Tls {
|
|
28
|
+
/**
|
|
29
|
+
* The cipher suite name in the RFC 4346 format:
|
|
30
|
+
* https://tools.ietf.org/html/rfc4346#appendix-C
|
|
31
|
+
*/
|
|
32
|
+
'standard_name'?: (string);
|
|
33
|
+
/**
|
|
34
|
+
* Some other way to describe the cipher suite if
|
|
35
|
+
* the RFC 4346 name is not available.
|
|
36
|
+
*/
|
|
37
|
+
'other_name'?: (string);
|
|
38
|
+
/**
|
|
39
|
+
* the certificate used by this endpoint.
|
|
40
|
+
*/
|
|
41
|
+
'local_certificate'?: (Buffer | Uint8Array | string);
|
|
42
|
+
/**
|
|
43
|
+
* the certificate used by the remote endpoint.
|
|
44
|
+
*/
|
|
45
|
+
'remote_certificate'?: (Buffer | Uint8Array | string);
|
|
46
|
+
'cipher_suite'?: "standard_name"|"other_name";
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface _grpc_channelz_v1_Security_Tls__Output {
|
|
50
|
+
/**
|
|
51
|
+
* The cipher suite name in the RFC 4346 format:
|
|
52
|
+
* https://tools.ietf.org/html/rfc4346#appendix-C
|
|
53
|
+
*/
|
|
54
|
+
'standard_name'?: (string);
|
|
55
|
+
/**
|
|
56
|
+
* Some other way to describe the cipher suite if
|
|
57
|
+
* the RFC 4346 name is not available.
|
|
58
|
+
*/
|
|
59
|
+
'other_name'?: (string);
|
|
60
|
+
/**
|
|
61
|
+
* the certificate used by this endpoint.
|
|
62
|
+
*/
|
|
63
|
+
'local_certificate': (Buffer);
|
|
64
|
+
/**
|
|
65
|
+
* the certificate used by the remote endpoint.
|
|
66
|
+
*/
|
|
67
|
+
'remote_certificate': (Buffer);
|
|
68
|
+
'cipher_suite'?: "standard_name"|"other_name";
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Security represents details about how secure the socket is.
|
|
73
|
+
*/
|
|
74
|
+
export interface Security {
|
|
75
|
+
'tls'?: (_grpc_channelz_v1_Security_Tls | null);
|
|
76
|
+
'other'?: (_grpc_channelz_v1_Security_OtherSecurity | null);
|
|
77
|
+
'model'?: "tls"|"other";
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Security represents details about how secure the socket is.
|
|
82
|
+
*/
|
|
83
|
+
export interface Security__Output {
|
|
84
|
+
'tls'?: (_grpc_channelz_v1_Security_Tls__Output | null);
|
|
85
|
+
'other'?: (_grpc_channelz_v1_Security_OtherSecurity__Output | null);
|
|
86
|
+
'model'?: "tls"|"other";
|
|
87
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { ServerRef as _grpc_channelz_v1_ServerRef, ServerRef__Output as _grpc_channelz_v1_ServerRef__Output } from '../../../grpc/channelz/v1/ServerRef';
|
|
4
|
+
import type { ServerData as _grpc_channelz_v1_ServerData, ServerData__Output as _grpc_channelz_v1_ServerData__Output } from '../../../grpc/channelz/v1/ServerData';
|
|
5
|
+
import type { SocketRef as _grpc_channelz_v1_SocketRef, SocketRef__Output as _grpc_channelz_v1_SocketRef__Output } from '../../../grpc/channelz/v1/SocketRef';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Server represents a single server. There may be multiple servers in a single
|
|
9
|
+
* program.
|
|
10
|
+
*/
|
|
11
|
+
export interface Server {
|
|
12
|
+
/**
|
|
13
|
+
* The identifier for a Server. This should be set.
|
|
14
|
+
*/
|
|
15
|
+
'ref'?: (_grpc_channelz_v1_ServerRef | null);
|
|
16
|
+
/**
|
|
17
|
+
* The associated data of the Server.
|
|
18
|
+
*/
|
|
19
|
+
'data'?: (_grpc_channelz_v1_ServerData | null);
|
|
20
|
+
/**
|
|
21
|
+
* The sockets that the server is listening on. There are no ordering
|
|
22
|
+
* guarantees. This may be absent.
|
|
23
|
+
*/
|
|
24
|
+
'listen_socket'?: (_grpc_channelz_v1_SocketRef)[];
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Server represents a single server. There may be multiple servers in a single
|
|
29
|
+
* program.
|
|
30
|
+
*/
|
|
31
|
+
export interface Server__Output {
|
|
32
|
+
/**
|
|
33
|
+
* The identifier for a Server. This should be set.
|
|
34
|
+
*/
|
|
35
|
+
'ref': (_grpc_channelz_v1_ServerRef__Output | null);
|
|
36
|
+
/**
|
|
37
|
+
* The associated data of the Server.
|
|
38
|
+
*/
|
|
39
|
+
'data': (_grpc_channelz_v1_ServerData__Output | null);
|
|
40
|
+
/**
|
|
41
|
+
* The sockets that the server is listening on. There are no ordering
|
|
42
|
+
* guarantees. This may be absent.
|
|
43
|
+
*/
|
|
44
|
+
'listen_socket': (_grpc_channelz_v1_SocketRef__Output)[];
|
|
45
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { ChannelTrace as _grpc_channelz_v1_ChannelTrace, ChannelTrace__Output as _grpc_channelz_v1_ChannelTrace__Output } from '../../../grpc/channelz/v1/ChannelTrace';
|
|
4
|
+
import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../google/protobuf/Timestamp';
|
|
5
|
+
import type { Long } from '@grpc/proto-loader';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* ServerData is data for a specific Server.
|
|
9
|
+
*/
|
|
10
|
+
export interface ServerData {
|
|
11
|
+
/**
|
|
12
|
+
* A trace of recent events on the server. May be absent.
|
|
13
|
+
*/
|
|
14
|
+
'trace'?: (_grpc_channelz_v1_ChannelTrace | null);
|
|
15
|
+
/**
|
|
16
|
+
* The number of incoming calls started on the server
|
|
17
|
+
*/
|
|
18
|
+
'calls_started'?: (number | string | Long);
|
|
19
|
+
/**
|
|
20
|
+
* The number of incoming calls that have completed with an OK status
|
|
21
|
+
*/
|
|
22
|
+
'calls_succeeded'?: (number | string | Long);
|
|
23
|
+
/**
|
|
24
|
+
* The number of incoming calls that have a completed with a non-OK status
|
|
25
|
+
*/
|
|
26
|
+
'calls_failed'?: (number | string | Long);
|
|
27
|
+
/**
|
|
28
|
+
* The last time a call was started on the server.
|
|
29
|
+
*/
|
|
30
|
+
'last_call_started_timestamp'?: (_google_protobuf_Timestamp | null);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* ServerData is data for a specific Server.
|
|
35
|
+
*/
|
|
36
|
+
export interface ServerData__Output {
|
|
37
|
+
/**
|
|
38
|
+
* A trace of recent events on the server. May be absent.
|
|
39
|
+
*/
|
|
40
|
+
'trace': (_grpc_channelz_v1_ChannelTrace__Output | null);
|
|
41
|
+
/**
|
|
42
|
+
* The number of incoming calls started on the server
|
|
43
|
+
*/
|
|
44
|
+
'calls_started': (string);
|
|
45
|
+
/**
|
|
46
|
+
* The number of incoming calls that have completed with an OK status
|
|
47
|
+
*/
|
|
48
|
+
'calls_succeeded': (string);
|
|
49
|
+
/**
|
|
50
|
+
* The number of incoming calls that have a completed with a non-OK status
|
|
51
|
+
*/
|
|
52
|
+
'calls_failed': (string);
|
|
53
|
+
/**
|
|
54
|
+
* The last time a call was started on the server.
|
|
55
|
+
*/
|
|
56
|
+
'last_call_started_timestamp': (_google_protobuf_Timestamp__Output | null);
|
|
57
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { Long } from '@grpc/proto-loader';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* ServerRef is a reference to a Server.
|
|
7
|
+
*/
|
|
8
|
+
export interface ServerRef {
|
|
9
|
+
/**
|
|
10
|
+
* A globally unique identifier for this server. Must be a positive number.
|
|
11
|
+
*/
|
|
12
|
+
'server_id'?: (number | string | Long);
|
|
13
|
+
/**
|
|
14
|
+
* An optional name associated with the server.
|
|
15
|
+
*/
|
|
16
|
+
'name'?: (string);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* ServerRef is a reference to a Server.
|
|
21
|
+
*/
|
|
22
|
+
export interface ServerRef__Output {
|
|
23
|
+
/**
|
|
24
|
+
* A globally unique identifier for this server. Must be a positive number.
|
|
25
|
+
*/
|
|
26
|
+
'server_id': (string);
|
|
27
|
+
/**
|
|
28
|
+
* An optional name associated with the server.
|
|
29
|
+
*/
|
|
30
|
+
'name': (string);
|
|
31
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// Original file: proto/channelz.proto
|
|
2
|
+
|
|
3
|
+
import type { SocketRef as _grpc_channelz_v1_SocketRef, SocketRef__Output as _grpc_channelz_v1_SocketRef__Output } from '../../../grpc/channelz/v1/SocketRef';
|
|
4
|
+
import type { SocketData as _grpc_channelz_v1_SocketData, SocketData__Output as _grpc_channelz_v1_SocketData__Output } from '../../../grpc/channelz/v1/SocketData';
|
|
5
|
+
import type { Address as _grpc_channelz_v1_Address, Address__Output as _grpc_channelz_v1_Address__Output } from '../../../grpc/channelz/v1/Address';
|
|
6
|
+
import type { Security as _grpc_channelz_v1_Security, Security__Output as _grpc_channelz_v1_Security__Output } from '../../../grpc/channelz/v1/Security';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Information about an actual connection. Pronounced "sock-ay".
|
|
10
|
+
*/
|
|
11
|
+
export interface Socket {
|
|
12
|
+
/**
|
|
13
|
+
* The identifier for the Socket.
|
|
14
|
+
*/
|
|
15
|
+
'ref'?: (_grpc_channelz_v1_SocketRef | null);
|
|
16
|
+
/**
|
|
17
|
+
* Data specific to this Socket.
|
|
18
|
+
*/
|
|
19
|
+
'data'?: (_grpc_channelz_v1_SocketData | null);
|
|
20
|
+
/**
|
|
21
|
+
* The locally bound address.
|
|
22
|
+
*/
|
|
23
|
+
'local'?: (_grpc_channelz_v1_Address | null);
|
|
24
|
+
/**
|
|
25
|
+
* The remote bound address. May be absent.
|
|
26
|
+
*/
|
|
27
|
+
'remote'?: (_grpc_channelz_v1_Address | null);
|
|
28
|
+
/**
|
|
29
|
+
* Security details for this socket. May be absent if not available, or
|
|
30
|
+
* there is no security on the socket.
|
|
31
|
+
*/
|
|
32
|
+
'security'?: (_grpc_channelz_v1_Security | null);
|
|
33
|
+
/**
|
|
34
|
+
* Optional, represents the name of the remote endpoint, if different than
|
|
35
|
+
* the original target name.
|
|
36
|
+
*/
|
|
37
|
+
'remote_name'?: (string);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Information about an actual connection. Pronounced "sock-ay".
|
|
42
|
+
*/
|
|
43
|
+
export interface Socket__Output {
|
|
44
|
+
/**
|
|
45
|
+
* The identifier for the Socket.
|
|
46
|
+
*/
|
|
47
|
+
'ref': (_grpc_channelz_v1_SocketRef__Output | null);
|
|
48
|
+
/**
|
|
49
|
+
* Data specific to this Socket.
|
|
50
|
+
*/
|
|
51
|
+
'data': (_grpc_channelz_v1_SocketData__Output | null);
|
|
52
|
+
/**
|
|
53
|
+
* The locally bound address.
|
|
54
|
+
*/
|
|
55
|
+
'local': (_grpc_channelz_v1_Address__Output | null);
|
|
56
|
+
/**
|
|
57
|
+
* The remote bound address. May be absent.
|
|
58
|
+
*/
|
|
59
|
+
'remote': (_grpc_channelz_v1_Address__Output | null);
|
|
60
|
+
/**
|
|
61
|
+
* Security details for this socket. May be absent if not available, or
|
|
62
|
+
* there is no security on the socket.
|
|
63
|
+
*/
|
|
64
|
+
'security': (_grpc_channelz_v1_Security__Output | null);
|
|
65
|
+
/**
|
|
66
|
+
* Optional, represents the name of the remote endpoint, if different than
|
|
67
|
+
* the original target name.
|
|
68
|
+
*/
|
|
69
|
+
'remote_name': (string);
|
|
70
|
+
}
|
|
@@ -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
|
+
}
|