package grpc.lookup.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service RouteLookupService

rls.proto:65

message GrpcKeyBuilder

rls_config.proto:47

A GrpcKeyBuilder applies to a given gRPC service, name, and headers.

Used in: RouteLookupConfig

message GrpcKeyBuilder.ExtraKeys

rls_config.proto:64

If you wish to include the host, service, or method names as keys in the generated RouteLookupRequest, specify key names to use in the extra_keys submessage. If a key name is empty, no key will be set for that value. If this submessage is specified, the normal host/path fields will be left unset in the RouteLookupRequest. We are deprecating host/path in the RouteLookupRequest, so services should migrate to the ExtraKeys approach.

Used in: GrpcKeyBuilder

message GrpcKeyBuilder.Name

rls_config.proto:52

To match, one of the given Name fields must match; the service and method fields are specified as fixed strings. The service name is required and includes the proto package name. The method name may be omitted, in which case any method on the given service is matched.

Used in: GrpcKeyBuilder

message HttpKeyBuilder

rls_config.proto:99

An HttpKeyBuilder applies to a given HTTP URL and headers. Path and host patterns use the matching syntax from gRPC transcoding to extract named key/value pairs from the path and host components of the URL: https://github.com/googleapis/googleapis/blob/master/google/api/http.proto It is invalid to specify the same key name in multiple places in a pattern. For a service where the project id can be expressed either as a subdomain or in the path, separate HttpKeyBuilders must be used: host_pattern: 'example.com' path_pattern: '/{id}/{object}/**' host_pattern: '{id}.example.com' path_pattern: '/{object}/**' If the host is exactly 'example.com', the first path segment will be used as the id and the second segment as the object. If the host has a subdomain, the subdomain will be used as the id and the first segment as the object. If neither pattern matches, no keys will be extracted.

Used in: RouteLookupConfig

message NameMatcher

rls_config.proto:30

Extract a key based on a given name (e.g. header name or query parameter name). The name must match one of the names listed in the "name" field. If the "required_match" field is true, one of the specified names must be present for the keybuilder to match.

Used in: GrpcKeyBuilder, HttpKeyBuilder

message RouteLookupClusterSpecifier

rls_config.proto:227

RouteLookupClusterSpecifier is used in xDS to represent a cluster specifier plugin for RLS.

message RouteLookupConfig

rls_config.proto:167

Used in: RouteLookupClusterSpecifier, service_config.RlsLoadBalancingPolicyConfig

enum RouteLookupRequest.Reason

rls.proto:31

Possible reasons for making a request.

Used in: RouteLookupRequest