Versions in this module Expand all Collapse all v1 v1.35.2 Jan 28, 2021 Changes in this version + var File_grpc_lookup_v1_rls_config_proto protoreflect.FileDescriptor + var File_grpc_lookup_v1_rls_proto protoreflect.FileDescriptor + var RouteLookupService_ServiceDesc = grpc.ServiceDesc + func RegisterRouteLookupServiceServer(s grpc.ServiceRegistrar, srv RouteLookupServiceServer) + type GrpcKeyBuilder struct + Headers []*NameMatcher + Names []*GrpcKeyBuilder_Name + func (*GrpcKeyBuilder) Descriptor() ([]byte, []int) + func (*GrpcKeyBuilder) ProtoMessage() + func (x *GrpcKeyBuilder) GetHeaders() []*NameMatcher + func (x *GrpcKeyBuilder) GetNames() []*GrpcKeyBuilder_Name + func (x *GrpcKeyBuilder) ProtoReflect() protoreflect.Message + func (x *GrpcKeyBuilder) Reset() + func (x *GrpcKeyBuilder) String() string + type GrpcKeyBuilder_Name struct + Method string + Service string + func (*GrpcKeyBuilder_Name) Descriptor() ([]byte, []int) + func (*GrpcKeyBuilder_Name) ProtoMessage() + func (x *GrpcKeyBuilder_Name) GetMethod() string + func (x *GrpcKeyBuilder_Name) GetService() string + func (x *GrpcKeyBuilder_Name) ProtoReflect() protoreflect.Message + func (x *GrpcKeyBuilder_Name) Reset() + func (x *GrpcKeyBuilder_Name) String() string + type HttpKeyBuilder struct + Headers []*NameMatcher + HostPatterns []string + PathPatterns []string + QueryParameters []*NameMatcher + func (*HttpKeyBuilder) Descriptor() ([]byte, []int) + func (*HttpKeyBuilder) ProtoMessage() + func (x *HttpKeyBuilder) GetHeaders() []*NameMatcher + func (x *HttpKeyBuilder) GetHostPatterns() []string + func (x *HttpKeyBuilder) GetPathPatterns() []string + func (x *HttpKeyBuilder) GetQueryParameters() []*NameMatcher + func (x *HttpKeyBuilder) ProtoReflect() protoreflect.Message + func (x *HttpKeyBuilder) Reset() + func (x *HttpKeyBuilder) String() string + type NameMatcher struct + Key string + Names []string + RequiredMatch bool + func (*NameMatcher) Descriptor() ([]byte, []int) + func (*NameMatcher) ProtoMessage() + func (x *NameMatcher) GetKey() string + func (x *NameMatcher) GetNames() []string + func (x *NameMatcher) GetRequiredMatch() bool + func (x *NameMatcher) ProtoReflect() protoreflect.Message + func (x *NameMatcher) Reset() + func (x *NameMatcher) String() string + type RouteLookupConfig struct + CacheSizeBytes int64 + DefaultTarget string + GrpcKeybuilders []*GrpcKeyBuilder + HttpKeybuilders []*HttpKeyBuilder + LookupService string + LookupServiceTimeout *durationpb.Duration + MaxAge *durationpb.Duration + StaleAge *durationpb.Duration + ValidTargets []string + func (*RouteLookupConfig) Descriptor() ([]byte, []int) + func (*RouteLookupConfig) ProtoMessage() + func (x *RouteLookupConfig) GetCacheSizeBytes() int64 + func (x *RouteLookupConfig) GetDefaultTarget() string + func (x *RouteLookupConfig) GetGrpcKeybuilders() []*GrpcKeyBuilder + func (x *RouteLookupConfig) GetHttpKeybuilders() []*HttpKeyBuilder + func (x *RouteLookupConfig) GetLookupService() string + func (x *RouteLookupConfig) GetLookupServiceTimeout() *durationpb.Duration + func (x *RouteLookupConfig) GetMaxAge() *durationpb.Duration + func (x *RouteLookupConfig) GetStaleAge() *durationpb.Duration + func (x *RouteLookupConfig) GetValidTargets() []string + func (x *RouteLookupConfig) ProtoReflect() protoreflect.Message + func (x *RouteLookupConfig) Reset() + func (x *RouteLookupConfig) String() string + type RouteLookupRequest struct + KeyMap map[string]string + Path string + Server string + TargetType string + func (*RouteLookupRequest) Descriptor() ([]byte, []int) + func (*RouteLookupRequest) ProtoMessage() + func (x *RouteLookupRequest) GetKeyMap() map[string]string + func (x *RouteLookupRequest) GetPath() string + func (x *RouteLookupRequest) GetServer() string + func (x *RouteLookupRequest) GetTargetType() string + func (x *RouteLookupRequest) ProtoReflect() protoreflect.Message + func (x *RouteLookupRequest) Reset() + func (x *RouteLookupRequest) String() string + type RouteLookupResponse struct + HeaderData string + Targets []string + func (*RouteLookupResponse) Descriptor() ([]byte, []int) + func (*RouteLookupResponse) ProtoMessage() + func (x *RouteLookupResponse) GetHeaderData() string + func (x *RouteLookupResponse) GetTargets() []string + func (x *RouteLookupResponse) ProtoReflect() protoreflect.Message + func (x *RouteLookupResponse) Reset() + func (x *RouteLookupResponse) String() string + type RouteLookupServiceClient interface + RouteLookup func(ctx context.Context, in *RouteLookupRequest, opts ...grpc.CallOption) (*RouteLookupResponse, error) + func NewRouteLookupServiceClient(cc grpc.ClientConnInterface) RouteLookupServiceClient + type RouteLookupServiceServer interface + RouteLookup func(context.Context, *RouteLookupRequest) (*RouteLookupResponse, error) + type UnimplementedRouteLookupServiceServer struct + func (UnimplementedRouteLookupServiceServer) RouteLookup(context.Context, *RouteLookupRequest) (*RouteLookupResponse, error) + type UnsafeRouteLookupServiceServer interface