isKnownGrpcServiceName
Este conteúdo não está disponível em sua língua ainda.
isKnownGrpcServiceName(
requested,packageName,serviceName):boolean
Defined in: src/io/broker/GrpcServerActor.ts:484
Does a HealthCheckRequest.service address this server?
The empty string is the protocol’s “whole server” probe. The
fully-qualified <package>.<service> name is what grpc_health_probe -service=… and the Kubernetes gRPC probe send. The bare service name is
accepted as a convenience — it is what people type, and being lenient can
only turn a spurious NOT_FOUND into a real answer, never a wrong one.
The health service’s own name is accepted because it is registered too.
Parameters
Section titled “Parameters”requested
Section titled “requested”string
packageName
Section titled “packageName”string
serviceName
Section titled “serviceName”string
Returns
Section titled “Returns”boolean
