Versions in this module Expand all Collapse all v1 v1.50.0 Sep 24, 2021 v1.41.0 Sep 23, 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 RouteLookupRequest_Reason_name = map[int32]string + var RouteLookupRequest_Reason_value = map[string]int32 + var RouteLookupService_ServiceDesc = grpc.ServiceDesc + func RegisterRouteLookupServiceServer(s grpc.ServiceRegistrar, srv RouteLookupServiceServer) + type GrpcKeyBuilder struct + ConstantKeys map[string]string + ExtraKeys *GrpcKeyBuilder_ExtraKeys + Headers []*NameMatcher + Names []*GrpcKeyBuilder_Name + func (*GrpcKeyBuilder) Descriptor() ([]byte, []int) + func (*GrpcKeyBuilder) ProtoMessage() + func (x *GrpcKeyBuilder) GetConstantKeys() map[string]string + func (x *GrpcKeyBuilder) GetExtraKeys() *GrpcKeyBuilder_ExtraKeys + 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_ExtraKeys struct + Host string + Method string + Service string + func (*GrpcKeyBuilder_ExtraKeys) Descriptor() ([]byte, []int) + func (*GrpcKeyBuilder_ExtraKeys) ProtoMessage() + func (x *GrpcKeyBuilder_ExtraKeys) GetHost() string + func (x *GrpcKeyBuilder_ExtraKeys) GetMethod() string + func (x *GrpcKeyBuilder_ExtraKeys) GetService() string + func (x *GrpcKeyBuilder_ExtraKeys) ProtoReflect() protoreflect.Message + func (x *GrpcKeyBuilder_ExtraKeys) Reset() + func (x *GrpcKeyBuilder_ExtraKeys) 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 + ConstantKeys map[string]string + Headers []*NameMatcher + HostPatterns []string + PathPatterns []string + QueryParameters []*NameMatcher + func (*HttpKeyBuilder) Descriptor() ([]byte, []int) + func (*HttpKeyBuilder) ProtoMessage() + func (x *HttpKeyBuilder) GetConstantKeys() map[string]string + 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 + Reason RouteLookupRequest_Reason + 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) GetReason() RouteLookupRequest_Reason + 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 RouteLookupRequest_Reason int32 + const RouteLookupRequest_REASON_MISS + const RouteLookupRequest_REASON_STALE + const RouteLookupRequest_REASON_UNKNOWN + func (RouteLookupRequest_Reason) Descriptor() protoreflect.EnumDescriptor + func (RouteLookupRequest_Reason) EnumDescriptor() ([]byte, []int) + func (RouteLookupRequest_Reason) Type() protoreflect.EnumType + func (x RouteLookupRequest_Reason) Enum() *RouteLookupRequest_Reason + func (x RouteLookupRequest_Reason) Number() protoreflect.EnumNumber + func (x RouteLookupRequest_Reason) 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