SYMBOL INDEX (13673 symbols across 988 files) FILE: admin/admin.go function init (line 38) | func init() { function Register (line 56) | func Register(s grpc.ServiceRegistrar) (cleanup func(), _ error) { FILE: admin/admin_test.go function TestRegisterNoCSDS (line 28) | func TestRegisterNoCSDS(t *testing.T) { FILE: admin/test/admin_test.go function TestRegisterWithCSDS (line 33) | func TestRegisterWithCSDS(t *testing.T) { FILE: admin/test/utils.go constant defaultTestTimeout (line 42) | defaultTestTimeout = 10 * time.Second type ExpectedStatusCodes (line 47) | type ExpectedStatusCodes struct function RunRegisterTests (line 54) | func RunRegisterTests(t *testing.T, ec ExpectedStatusCodes) { function RunChannelz (line 89) | func RunChannelz(conn *grpc.ClientConn) error { function RunCSDS (line 98) | func RunCSDS(conn *grpc.ClientConn) error { FILE: attributes/attributes.go type Attributes (line 41) | type Attributes struct method WithValue (line 65) | func (a *Attributes) WithValue(key, value any) *Attributes { method Value (line 75) | func (a *Attributes) Value(key any) any { method Equal (line 90) | func (a *Attributes) Equal(o *Attributes) bool { method String (line 124) | func (a *Attributes) String() string { method MarshalJSON (line 154) | func (a *Attributes) MarshalJSON() ([]byte, error) { method all (line 161) | func (a *Attributes) all() iter.Seq2[any, any] { function New (line 47) | func New(key, value any) *Attributes { function str (line 139) | func str(x any) (s string) { FILE: attributes/attributes_test.go type stringVal (line 28) | type stringVal struct method Equal (line 32) | func (s stringVal) Equal(o any) bool { type stringerVal (line 37) | type stringerVal struct method String (line 41) | func (s stringerVal) String() string { function ExampleAttributes (line 45) | func ExampleAttributes() { function ExampleAttributes_WithValue (line 56) | func ExampleAttributes_WithValue() { function ExampleAttributes_String (line 68) | func ExampleAttributes_String() { function TestEqual (line 99) | func TestEqual(t *testing.T) { function BenchmarkWithValue (line 172) | func BenchmarkWithValue(b *testing.B) { FILE: authz/audit/audit_logger.go type loggerBuilderRegistry (line 29) | type loggerBuilderRegistry struct function RegisterLoggerBuilder (line 46) | func RegisterLoggerBuilder(b LoggerBuilder) { function GetLoggerBuilder (line 54) | func GetLoggerBuilder(name string) LoggerBuilder { type Event (line 62) | type Event struct type LoggerConfig (line 81) | type LoggerConfig interface type Logger (line 95) | type Logger interface type LoggerBuilder (line 113) | type LoggerBuilder interface FILE: authz/audit/audit_logging_test.go type s (line 47) | type s struct method TestAuditLogger (line 90) | func (s) TestAuditLogger(t *testing.T) { function Test (line 51) | func Test(t *testing.T) { type statAuditLogger (line 55) | type statAuditLogger struct method Log (line 60) | func (s *statAuditLogger) Log(event *audit.Event) { type loggerBuilder (line 65) | type loggerBuilder struct method Name (line 70) | func (loggerBuilder) Name() string { method Build (line 74) | func (lb *loggerBuilder) Build(audit.LoggerConfig) audit.Logger { method ParseLoggerConfig (line 81) | func (*loggerBuilder) ParseLoggerConfig(json.RawMessage) (audit.Logger... function loadServerCreds (line 322) | func loadServerCreds(t *testing.T) credentials.TransportCredentials { function loadClientCreds (line 334) | func loadClientCreds(t *testing.T) credentials.TransportCredentials { function loadKeys (line 348) | func loadKeys(t *testing.T, certPath, key string) tls.Certificate { function loadCACerts (line 359) | func loadCACerts(t *testing.T, certPath string) *x509.CertPool { FILE: authz/audit/stdout/stdout_logger.go constant Name (line 35) | Name = "stdout_logger" function init (line 37) | func init() { type event (line 43) | type event struct type logger (line 53) | type logger struct method Log (line 58) | func (l *logger) Log(event *audit.Event) { type loggerConfig (line 72) | type loggerConfig struct type loggerBuilder (line 76) | type loggerBuilder struct method Name (line 80) | func (loggerBuilder) Name() string { method Build (line 87) | func (lb *loggerBuilder) Build(audit.LoggerConfig) audit.Logger { method ParseLoggerConfig (line 94) | func (*loggerBuilder) ParseLoggerConfig(config json.RawMessage) (audit... function convertEvent (line 101) | func convertEvent(auditEvent *audit.Event) *event { FILE: authz/audit/stdout/stdout_logger_test.go type s (line 34) | type s struct method TestStdoutLogger_Log (line 42) | func (s) TestStdoutLogger_Log(t *testing.T) { method TestStdoutLoggerBuilder_NilConfig (line 98) | func (s) TestStdoutLoggerBuilder_NilConfig(t *testing.T) { method TestStdoutLoggerBuilder_Registration (line 111) | func (s) TestStdoutLoggerBuilder_Registration(t *testing.T) { function Test (line 38) | func Test(t *testing.T) { function extractEvent (line 119) | func extractEvent(container map[string]any) event { function trimEvent (line 132) | func trimEvent(testEvent event) *audit.Event { FILE: authz/grpc_authz_end2end_test.go type s (line 45) | type s struct method TestStaticPolicyEnd2End (line 291) | func (s) TestStaticPolicyEnd2End(t *testing.T) { method TestAllowsRPCRequestWithPrincipalsFieldOnTLSAuthenticatedConnection (line 356) | func (s) TestAllowsRPCRequestWithPrincipalsFieldOnTLSAuthenticatedConn... method TestAllowsRPCRequestWithPrincipalsFieldOnMTLSAuthenticatedConnection (line 406) | func (s) TestAllowsRPCRequestWithPrincipalsFieldOnMTLSAuthenticatedCon... method TestFileWatcherEnd2End (line 481) | func (s) TestFileWatcherEnd2End(t *testing.T) { method TestFileWatcher_ValidPolicyRefresh (line 559) | func (s) TestFileWatcher_ValidPolicyRefresh(t *testing.T) { method TestFileWatcher_InvalidPolicySkipReload (line 604) | func (s) TestFileWatcher_InvalidPolicySkipReload(t *testing.T) { method TestFileWatcher_RecoversFromReloadFailure (line 652) | func (s) TestFileWatcher_RecoversFromReloadFailure(t *testing.T) { function Test (line 49) | func Test(t *testing.T) { function retryUntil (line 548) | func retryUntil(ctx context.Context, tsc testgrpc.TestServiceClient, wan... FILE: authz/grpc_authz_server_interceptors.go type StaticInterceptor (line 40) | type StaticInterceptor struct method UnaryInterceptor (line 61) | func (i *StaticInterceptor) UnaryInterceptor(ctx context.Context, req ... method StreamInterceptor (line 78) | func (i *StaticInterceptor) StreamInterceptor(srv any, ss grpc.ServerS... function NewStatic (line 46) | func NewStatic(authzPolicy string) (*StaticInterceptor, error) { type FileWatcherInterceptor (line 94) | type FileWatcherInterceptor struct method run (line 123) | func (i *FileWatcherInterceptor) run(ctx context.Context) { method updateInternalInterceptor (line 142) | func (i *FileWatcherInterceptor) updateInternalInterceptor() error { method Close (line 162) | func (i *FileWatcherInterceptor) Close() { method UnaryInterceptor (line 169) | func (i *FileWatcherInterceptor) UnaryInterceptor(ctx context.Context,... method StreamInterceptor (line 176) | func (i *FileWatcherInterceptor) StreamInterceptor(srv any, ss grpc.Se... function NewFileWatcher (line 105) | func NewFileWatcher(file string, duration time.Duration) (*FileWatcherIn... FILE: authz/grpc_authz_server_interceptors_test.go function createTmpPolicyFile (line 31) | func createTmpPolicyFile(t *testing.T, dirSuffix string, policy []byte) ... method TestNewStatic (line 50) | func (s) TestNewStatic(t *testing.T) { method TestNewFileWatcher (line 80) | func (s) TestNewFileWatcher(t *testing.T) { FILE: authz/rbac_translator.go constant typeURLPrefix (line 42) | typeURLPrefix = "grpc.authz.audit_logging/" type header (line 44) | type header struct type peer (line 49) | type peer struct type request (line 53) | type request struct type rule (line 58) | type rule struct type auditLogger (line 64) | type auditLogger struct type auditLoggingOptions (line 70) | type auditLoggingOptions struct method toProtos (line 292) | func (options *auditLoggingOptions) toProtos() (allow *v3rbacpb.RBAC_A... type authorizationPolicy (line 76) | type authorizationPolicy struct function principalOr (line 83) | func principalOr(principals []*v3rbacpb.Principal) *v3rbacpb.Principal { function permissionOr (line 93) | func permissionOr(permission []*v3rbacpb.Permission) *v3rbacpb.Permission { function permissionAnd (line 103) | func permissionAnd(permission []*v3rbacpb.Permission) *v3rbacpb.Permissi... function getStringMatcher (line 113) | func getStringMatcher(value string) *v3matcherpb.StringMatcher { function getHeaderMatcher (line 137) | func getHeaderMatcher(key, value string) *v3routepb.HeaderMatcher { function parsePrincipalNames (line 165) | func parsePrincipalNames(principalNames []string) []*v3rbacpb.Principal { function parsePeer (line 179) | func parsePeer(source peer) *v3rbacpb.Principal { function parsePaths (line 190) | func parsePaths(paths []string) []*v3rbacpb.Permission { function parseHeaderValues (line 202) | func parseHeaderValues(key string, values []string) []*v3rbacpb.Permissi... function unsupportedHeader (line 225) | func unsupportedHeader(key string) bool { function parseHeaders (line 229) | func parseHeaders(headers []header) ([]*v3rbacpb.Permission, error) { function parseRequest (line 248) | func parseRequest(request request) (*v3rbacpb.Permission, error) { function parseRules (line 270) | func parseRules(rules []rule, prefixName string) (map[string]*v3rbacpb.P... function toDenyCondition (line 335) | func toDenyCondition(condition v3rbacpb.RBAC_AuditLoggingOptions_AuditCo... function translatePolicy (line 362) | func translatePolicy(policyStr string) ([]*v3rbacpb.RBAC, string, error) { FILE: authz/rbac_translator_test.go function TestTranslatePolicy (line 37) | func TestTranslatePolicy(t *testing.T) { function anyPbHelper (line 1037) | func anyPbHelper(t *testing.T, in map[string]any, name string) *anypb.Any { FILE: backoff.go type BackoffConfig (line 41) | type BackoffConfig struct type ConnectParams (line 55) | type ConnectParams struct FILE: backoff/backoff.go type Config (line 30) | type Config struct FILE: balancer/balancer.go function Register (line 58) | func Register(b Builder) { function unregisterForTesting (line 73) | func unregisterForTesting(name string) { function init (line 77) | func init() { function Get (line 84) | func Get(name string) Builder { type NewSubConnOptions (line 99) | type NewSubConnOptions struct type State (line 118) | type State struct type ClientConn (line 139) | type ClientConn interface type BuildOptions (line 191) | type BuildOptions struct type Builder (line 222) | type Builder interface type ConfigParser (line 231) | type ConfigParser interface type PickInfo (line 239) | type PickInfo struct type DoneInfo (line 249) | type DoneInfo struct type PickResult (line 279) | type PickResult struct function TransientFailureError (line 306) | func TransientFailureError(e error) error { return e } type Picker (line 313) | type Picker interface type Balancer (line 344) | type Balancer interface type ExitIdler (line 376) | type ExitIdler interface type ClientConnState (line 385) | type ClientConnState struct FILE: balancer/base/balancer.go type baseBuilder (line 33) | type baseBuilder struct method Build (line 39) | func (bb *baseBuilder) Build(cc balancer.ClientConn, _ balancer.BuildO... method Name (line 57) | func (bb *baseBuilder) Name() string { type baseBalancer (line 61) | type baseBalancer struct method ResolverError (line 77) | func (b *baseBalancer) ResolverError(err error) { method UpdateClientConnState (line 95) | func (b *baseBalancer) UpdateClientConnState(s balancer.ClientConnStat... method mergeErrors (line 149) | func (b *baseBalancer) mergeErrors() error { method regeneratePicker (line 165) | func (b *baseBalancer) regeneratePicker() { method UpdateSubConnState (line 182) | func (b *baseBalancer) UpdateSubConnState(sc balancer.SubConn, state b... method updateSubConnState (line 186) | func (b *baseBalancer) updateSubConnState(sc balancer.SubConn, state b... method Close (line 236) | func (b *baseBalancer) Close() { method ExitIdle (line 241) | func (b *baseBalancer) ExitIdle() { function NewErrPicker (line 245) | func NewErrPicker(err error) balancer.Picker { type errPicker (line 254) | type errPicker struct method Pick (line 258) | func (p *errPicker) Pick(balancer.PickInfo) (balancer.PickResult, erro... FILE: balancer/base/balancer_test.go type testClientConn (line 32) | type testClientConn struct method NewSubConn (line 37) | func (c *testClientConn) NewSubConn(addrs []resolver.Address, opts bal... method UpdateState (line 41) | func (c *testClientConn) UpdateState(balancer.State) {} type testSubConn (line 43) | type testSubConn struct method UpdateAddresses (line 48) | func (sc *testSubConn) UpdateAddresses([]resolver.Address) {} method Connect (line 50) | func (sc *testSubConn) Connect() {} method Shutdown (line 52) | func (sc *testSubConn) Shutdown() {} method GetOrBuildProducer (line 54) | func (sc *testSubConn) GetOrBuildProducer(balancer.ProducerBuilder) (b... method RegisterHealthListener (line 59) | func (*testSubConn) RegisterHealthListener(func(balancer.SubConnState)... type testPickBuilder (line 62) | type testPickBuilder struct method Build (line 66) | func (p *testPickBuilder) Build(info PickerBuildInfo) balancer.Picker { function TestBaseBalancerReserveAttributes (line 71) | func TestBaseBalancerReserveAttributes(t *testing.T) { FILE: balancer/base/base.go type PickerBuilder (line 39) | type PickerBuilder interface type PickerBuildInfo (line 46) | type PickerBuildInfo struct type SubConnInfo (line 54) | type SubConnInfo struct type Config (line 59) | type Config struct function NewBalancerBuilder (line 65) | func NewBalancerBuilder(name string, pb PickerBuilder, config Config) ba... FILE: balancer/conn_state_evaluator.go type ConnectivityStateEvaluator (line 27) | type ConnectivityStateEvaluator struct method RecordTransition (line 43) | func (cse *ConnectivityStateEvaluator) RecordTransition(oldState, newS... method CurrentState (line 62) | func (cse *ConnectivityStateEvaluator) CurrentState() connectivity.Sta... FILE: balancer/conn_state_evaluator_test.go type s (line 28) | type s struct method TestRecordTransition_FirstStateChange (line 39) | func (s) TestRecordTransition_FirstStateChange(t *testing.T) { method TestRecordTransition_SameState (line 75) | func (s) TestRecordTransition_SameState(t *testing.T) { method TestRecordTransition_SingleSubConn_DifferentStates (line 118) | func (s) TestRecordTransition_SingleSubConn_DifferentStates(t *testing... method TestRecordTransition_MultipleSubConns_DifferentStates (line 184) | func (s) TestRecordTransition_MultipleSubConns_DifferentStates(t *test... function Test (line 32) | func Test(t *testing.T) { FILE: balancer/endpointsharding/endpointsharding.go type ChildState (line 44) | type ChildState struct type ExitIdler (line 54) | type ExitIdler interface type Options (line 63) | type Options struct type ChildBuilderFunc (line 74) | type ChildBuilderFunc function NewBalancer (line 79) | func NewBalancer(cc balancer.ClientConn, opts balancer.BuildOptions, chi... type endpointSharding (line 93) | type endpointSharding struct method UpdateClientConnState (line 138) | func (es *endpointSharding) UpdateClientConnState(state balancer.Clien... method ResolverError (line 205) | func (es *endpointSharding) ResolverError(err error) { method UpdateSubConnState (line 219) | func (es *endpointSharding) UpdateSubConnState(balancer.SubConn, balan... method Close (line 223) | func (es *endpointSharding) Close() { method ExitIdle (line 232) | func (es *endpointSharding) ExitIdle() { method updateState (line 245) | func (es *endpointSharding) updateState() { function rotateEndpoints (line 119) | func rotateEndpoints(es []resolver.Endpoint) []resolver.Endpoint { type pickerWithChildStates (line 309) | type pickerWithChildStates struct method Pick (line 315) | func (p *pickerWithChildStates) Pick(info balancer.PickInfo) (balancer... function ChildStatesFromPicker (line 323) | func ChildStatesFromPicker(picker balancer.Picker) []ChildState { type balancerWrapper (line 333) | type balancerWrapper struct method UpdateState (line 350) | func (bw *balancerWrapper) UpdateState(state balancer.State) { method ExitIdle (line 362) | func (bw *balancerWrapper) ExitIdle() { method updateClientConnStateLocked (line 375) | func (bw *balancerWrapper) updateClientConnStateLocked(ccs balancer.Cl... method closeLocked (line 381) | func (bw *balancerWrapper) closeLocked() { method resolverErrorLocked (line 386) | func (bw *balancerWrapper) resolverErrorLocked(err error) { FILE: balancer/endpointsharding/endpointsharding_ext_test.go type s (line 60) | type s struct method TestEndpointShardingBasic (line 134) | func (s) TestEndpointShardingBasic(t *testing.T) { method TestEndpointShardingReconnectDisabled (line 210) | func (s) TestEndpointShardingReconnectDisabled(t *testing.T) { method TestEndpointShardingExitIdle (line 295) | func (s) TestEndpointShardingExitIdle(t *testing.T) { function Test (line 64) | func Test(t *testing.T) { function init (line 70) | func init() { constant fakePetioleName (line 74) | fakePetioleName = "fake_petiole" type fakePetioleBuilder (line 76) | type fakePetioleBuilder struct method Name (line 78) | func (fakePetioleBuilder) Name() string { method Build (line 82) | func (fakePetioleBuilder) Build(cc balancer.ClientConn, opts balancer.... method ParseConfig (line 91) | func (fakePetioleBuilder) ParseConfig(json.RawMessage) (serviceconfig.... type fakePetiole (line 99) | type fakePetiole struct method UpdateClientConnState (line 105) | func (fp *fakePetiole) UpdateClientConnState(state balancer.ClientConn... method UpdateState (line 113) | func (fp *fakePetiole) UpdateState(state balancer.State) { FILE: balancer/endpointsharding/endpointsharding_test.go type s (line 29) | type s struct method TestRotateEndpoints (line 37) | func (s) TestRotateEndpoints(t *testing.T) { function Test (line 33) | func Test(t *testing.T) { FILE: balancer/grpclb/grpc_lb_v1/load_balancer.pb.go constant _ (line 40) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 42) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type LoadBalanceRequest (line 45) | type LoadBalanceRequest struct method Reset (line 56) | func (x *LoadBalanceRequest) Reset() { method String (line 63) | func (x *LoadBalanceRequest) String() string { method ProtoMessage (line 67) | func (*LoadBalanceRequest) ProtoMessage() {} method ProtoReflect (line 69) | func (x *LoadBalanceRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 82) | func (*LoadBalanceRequest) Descriptor() ([]byte, []int) { method GetLoadBalanceRequestType (line 86) | func (x *LoadBalanceRequest) GetLoadBalanceRequestType() isLoadBalance... method GetInitialRequest (line 93) | func (x *LoadBalanceRequest) GetInitialRequest() *InitialLoadBalanceRe... method GetClientStats (line 102) | func (x *LoadBalanceRequest) GetClientStats() *ClientStats { type isLoadBalanceRequest_LoadBalanceRequestType (line 111) | type isLoadBalanceRequest_LoadBalanceRequestType interface type LoadBalanceRequest_InitialRequest (line 115) | type LoadBalanceRequest_InitialRequest struct method isLoadBalanceRequest_LoadBalanceRequestType (line 126) | func (*LoadBalanceRequest_InitialRequest) isLoadBalanceRequest_LoadBal... type LoadBalanceRequest_ClientStats (line 120) | type LoadBalanceRequest_ClientStats struct method isLoadBalanceRequest_LoadBalanceRequestType (line 128) | func (*LoadBalanceRequest_ClientStats) isLoadBalanceRequest_LoadBalanc... type InitialLoadBalanceRequest (line 130) | type InitialLoadBalanceRequest struct method Reset (line 141) | func (x *InitialLoadBalanceRequest) Reset() { method String (line 148) | func (x *InitialLoadBalanceRequest) String() string { method ProtoMessage (line 152) | func (*InitialLoadBalanceRequest) ProtoMessage() {} method ProtoReflect (line 154) | func (x *InitialLoadBalanceRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 167) | func (*InitialLoadBalanceRequest) Descriptor() ([]byte, []int) { method GetName (line 171) | func (x *InitialLoadBalanceRequest) GetName() string { type ClientStatsPerToken (line 179) | type ClientStatsPerToken struct method Reset (line 189) | func (x *ClientStatsPerToken) Reset() { method String (line 196) | func (x *ClientStatsPerToken) String() string { method ProtoMessage (line 200) | func (*ClientStatsPerToken) ProtoMessage() {} method ProtoReflect (line 202) | func (x *ClientStatsPerToken) ProtoReflect() protoreflect.Message { method Descriptor (line 215) | func (*ClientStatsPerToken) Descriptor() ([]byte, []int) { method GetLoadBalanceToken (line 219) | func (x *ClientStatsPerToken) GetLoadBalanceToken() string { method GetNumCalls (line 226) | func (x *ClientStatsPerToken) GetNumCalls() int64 { type ClientStats (line 235) | type ClientStats struct method Reset (line 254) | func (x *ClientStats) Reset() { method String (line 261) | func (x *ClientStats) String() string { method ProtoMessage (line 265) | func (*ClientStats) ProtoMessage() {} method ProtoReflect (line 267) | func (x *ClientStats) ProtoReflect() protoreflect.Message { method Descriptor (line 280) | func (*ClientStats) Descriptor() ([]byte, []int) { method GetTimestamp (line 284) | func (x *ClientStats) GetTimestamp() *timestamppb.Timestamp { method GetNumCallsStarted (line 291) | func (x *ClientStats) GetNumCallsStarted() int64 { method GetNumCallsFinished (line 298) | func (x *ClientStats) GetNumCallsFinished() int64 { method GetNumCallsFinishedWithClientFailedToSend (line 305) | func (x *ClientStats) GetNumCallsFinishedWithClientFailedToSend() int64 { method GetNumCallsFinishedKnownReceived (line 312) | func (x *ClientStats) GetNumCallsFinishedKnownReceived() int64 { method GetCallsFinishedWithDrop (line 319) | func (x *ClientStats) GetCallsFinishedWithDrop() []*ClientStatsPerToken { type LoadBalanceResponse (line 326) | type LoadBalanceResponse struct method Reset (line 338) | func (x *LoadBalanceResponse) Reset() { method String (line 345) | func (x *LoadBalanceResponse) String() string { method ProtoMessage (line 349) | func (*LoadBalanceResponse) ProtoMessage() {} method ProtoReflect (line 351) | func (x *LoadBalanceResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 364) | func (*LoadBalanceResponse) Descriptor() ([]byte, []int) { method GetLoadBalanceResponseType (line 368) | func (x *LoadBalanceResponse) GetLoadBalanceResponseType() isLoadBalan... method GetInitialResponse (line 375) | func (x *LoadBalanceResponse) GetInitialResponse() *InitialLoadBalance... method GetServerList (line 384) | func (x *LoadBalanceResponse) GetServerList() *ServerList { method GetFallbackResponse (line 393) | func (x *LoadBalanceResponse) GetFallbackResponse() *FallbackResponse { type isLoadBalanceResponse_LoadBalanceResponseType (line 402) | type isLoadBalanceResponse_LoadBalanceResponseType interface type LoadBalanceResponse_InitialResponse (line 406) | type LoadBalanceResponse_InitialResponse struct method isLoadBalanceResponse_LoadBalanceResponseType (line 423) | func (*LoadBalanceResponse_InitialResponse) isLoadBalanceResponse_Load... type LoadBalanceResponse_ServerList (line 411) | type LoadBalanceResponse_ServerList struct method isLoadBalanceResponse_LoadBalanceResponseType (line 425) | func (*LoadBalanceResponse_ServerList) isLoadBalanceResponse_LoadBalan... type LoadBalanceResponse_FallbackResponse (line 417) | type LoadBalanceResponse_FallbackResponse struct method isLoadBalanceResponse_LoadBalanceResponseType (line 427) | func (*LoadBalanceResponse_FallbackResponse) isLoadBalanceResponse_Loa... type FallbackResponse (line 429) | type FallbackResponse struct method Reset (line 435) | func (x *FallbackResponse) Reset() { method String (line 442) | func (x *FallbackResponse) String() string { method ProtoMessage (line 446) | func (*FallbackResponse) ProtoMessage() {} method ProtoReflect (line 448) | func (x *FallbackResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 461) | func (*FallbackResponse) Descriptor() ([]byte, []int) { type InitialLoadBalanceResponse (line 465) | type InitialLoadBalanceResponse struct method Reset (line 475) | func (x *InitialLoadBalanceResponse) Reset() { method String (line 482) | func (x *InitialLoadBalanceResponse) String() string { method ProtoMessage (line 486) | func (*InitialLoadBalanceResponse) ProtoMessage() {} method ProtoReflect (line 488) | func (x *InitialLoadBalanceResponse) ProtoReflect() protoreflect.Messa... method Descriptor (line 501) | func (*InitialLoadBalanceResponse) Descriptor() ([]byte, []int) { method GetClientStatsReportInterval (line 505) | func (x *InitialLoadBalanceResponse) GetClientStatsReportInterval() *d... type ServerList (line 512) | type ServerList struct method Reset (line 523) | func (x *ServerList) Reset() { method String (line 530) | func (x *ServerList) String() string { method ProtoMessage (line 534) | func (*ServerList) ProtoMessage() {} method ProtoReflect (line 536) | func (x *ServerList) ProtoReflect() protoreflect.Message { method Descriptor (line 549) | func (*ServerList) Descriptor() ([]byte, []int) { method GetServers (line 553) | func (x *ServerList) GetServers() []*Server { type Server (line 562) | type Server struct method Reset (line 585) | func (x *Server) Reset() { method String (line 592) | func (x *Server) String() string { method ProtoMessage (line 596) | func (*Server) ProtoMessage() {} method ProtoReflect (line 598) | func (x *Server) ProtoReflect() protoreflect.Message { method Descriptor (line 611) | func (*Server) Descriptor() ([]byte, []int) { method GetIpAddress (line 615) | func (x *Server) GetIpAddress() []byte { method GetPort (line 622) | func (x *Server) GetPort() int32 { method GetLoadBalanceToken (line 629) | func (x *Server) GetLoadBalanceToken() string { method GetDrop (line 636) | func (x *Server) GetDrop() bool { constant file_grpc_lb_v1_load_balancer_proto_rawDesc (line 645) | file_grpc_lb_v1_load_balancer_proto_rawDesc = "" + function file_grpc_lb_v1_load_balancer_proto_rawDescGZIP (line 692) | func file_grpc_lb_v1_load_balancer_proto_rawDescGZIP() []byte { function init (line 732) | func init() { file_grpc_lb_v1_load_balancer_proto_init() } function file_grpc_lb_v1_load_balancer_proto_init (line 733) | func file_grpc_lb_v1_load_balancer_proto_init() { FILE: balancer/grpclb/grpc_lb_v1/load_balancer_grpc.pb.go constant _ (line 38) | _ = grpc.SupportPackageIsVersion9 constant LoadBalancer_BalanceLoad_FullMethodName (line 41) | LoadBalancer_BalanceLoad_FullMethodName = "/grpc.lb.v1.LoadBalancer/Bala... type LoadBalancerClient (line 47) | type LoadBalancerClient interface type loadBalancerClient (line 52) | type loadBalancerClient struct method BalanceLoad (line 60) | func (c *loadBalancerClient) BalanceLoad(ctx context.Context, opts ...... function NewLoadBalancerClient (line 56) | func NewLoadBalancerClient(cc grpc.ClientConnInterface) LoadBalancerClie... type LoadBalancerServer (line 76) | type LoadBalancerServer interface type UnimplementedLoadBalancerServer (line 86) | type UnimplementedLoadBalancerServer struct method BalanceLoad (line 88) | func (UnimplementedLoadBalancerServer) BalanceLoad(grpc.BidiStreamingS... method testEmbeddedByValue (line 91) | func (UnimplementedLoadBalancerServer) testEmbeddedByValue() {} type UnsafeLoadBalancerServer (line 96) | type UnsafeLoadBalancerServer interface function RegisterLoadBalancerServer (line 100) | func RegisterLoadBalancerServer(s grpc.ServiceRegistrar, srv LoadBalance... function _LoadBalancer_BalanceLoad_Handler (line 111) | func _LoadBalancer_BalanceLoad_Handler(srv interface{}, stream grpc.Serv... FILE: balancer/grpclb/grpclb.go constant lbTokenKey (line 53) | lbTokenKey = "lb-token" constant defaultFallbackTimeout (line 54) | defaultFallbackTimeout = 10 * time.Second constant grpclbName (line 55) | grpclbName = "grpclb" function convertDuration (line 61) | func convertDuration(d *durationpb.Duration) time.Duration { type loadBalancerClient (line 71) | type loadBalancerClient struct method BalanceLoad (line 75) | func (c *loadBalancerClient) BalanceLoad(ctx context.Context, opts ...... type balanceLoadClientStream (line 89) | type balanceLoadClientStream struct method Send (line 93) | func (x *balanceLoadClientStream) Send(m *lbpb.LoadBalanceRequest) err... method Recv (line 97) | func (x *balanceLoadClientStream) Recv() (*lbpb.LoadBalanceResponse, e... function init (line 105) | func init() { function newLBBuilder (line 111) | func newLBBuilder() balancer.Builder { function newLBBuilderWithFallbackTimeout (line 121) | func newLBBuilderWithFallbackTimeout(fallbackTimeout time.Duration) bala... type lbBuilder (line 127) | type lbBuilder struct method Name (line 131) | func (b *lbBuilder) Name() string { method Build (line 135) | func (b *lbBuilder) Build(cc balancer.ClientConn, opt balancer.BuildOp... type lbBalancer (line 177) | type lbBalancer struct method regeneratePicker (line 247) | func (lb *lbBalancer) regeneratePicker(resetDrop bool) { method aggregateSubConnStates (line 313) | func (lb *lbBalancer) aggregateSubConnStates() connectivity.State { method UpdateSubConnState (line 334) | func (lb *lbBalancer) UpdateSubConnState(sc balancer.SubConn, scs bala... method updateSubConnState (line 338) | func (lb *lbBalancer) updateSubConnState(sc balancer.SubConn, scs bala... method updateStateAndPicker (line 383) | func (lb *lbBalancer) updateStateAndPicker(forceRegeneratePicker bool,... method fallbackToBackendsAfter (line 404) | func (lb *lbBalancer) fallbackToBackendsAfter(fallbackTimeout time.Dur... method handleServiceConfig (line 422) | func (lb *lbBalancer) handleServiceConfig(gc *grpclbServiceConfig) { method ResolverError (line 460) | func (lb *lbBalancer) ResolverError(error) { method UpdateClientConnState (line 465) | func (lb *lbBalancer) UpdateClientConnState(ccs balancer.ClientConnSta... method Close (line 522) | func (lb *lbBalancer) Close() { method ExitIdle (line 535) | func (lb *lbBalancer) ExitIdle() {} FILE: balancer/grpclb/grpclb_config.go constant roundRobinName (line 30) | roundRobinName = roundrobin.Name constant pickFirstName (line 31) | pickFirstName = pickfirst.Name type grpclbServiceConfig (line 34) | type grpclbServiceConfig struct method ParseConfig (line 40) | func (b *lbBuilder) ParseConfig(lbConfig json.RawMessage) (serviceconfig... function childIsPickFirst (line 48) | func childIsPickFirst(sc *grpclbServiceConfig) bool { FILE: balancer/grpclb/grpclb_config_test.go method TestParse (line 29) | func (s) TestParse(t *testing.T) { method TestChildIsPickFirst (line 90) | func (s) TestChildIsPickFirst(t *testing.T) { FILE: balancer/grpclb/grpclb_picker.go type rpcStats (line 34) | type rpcStats struct method toClientStats (line 61) | func (s *rpcStats) toClientStats() *lbpb.ClientStats { method drop (line 81) | func (s *rpcStats) drop(token string) { method failedToSend (line 89) | func (s *rpcStats) failedToSend() { method knownReceived (line 95) | func (s *rpcStats) knownReceived() { function newRPCStats (line 46) | func newRPCStats() *rpcStats { function isZeroStats (line 52) | func isZeroStats(stats *lbpb.ClientStats) bool { type rrPicker (line 106) | type rrPicker struct method Pick (line 119) | func (p *rrPicker) Pick(balancer.PickInfo) (balancer.PickResult, error) { function newRRPicker (line 112) | func newRRPicker(readySCs []balancer.SubConn) *rrPicker { type lbPicker (line 136) | type lbPicker struct method Pick (line 155) | func (p *lbPicker) Pick(balancer.PickInfo) (balancer.PickResult, error) { method updateReadySCs (line 187) | func (p *lbPicker) updateReadySCs(readySCs []balancer.SubConn) { function newLBPicker (line 146) | func newLBPicker(serverList []*lbpb.Server, readySCs []balancer.SubConn,... FILE: balancer/grpclb/grpclb_remote_balancer.go function serverListEqual (line 45) | func serverListEqual(a, b []*lbpb.Server) bool { method processServerList (line 59) | func (lb *lbBalancer) processServerList(l *lbpb.ServerList) { method refreshSubConns (line 108) | func (lb *lbBalancer) refreshSubConns(backendAddrs []resolver.Address, f... type remoteBalancerCCWrapper (line 218) | type remoteBalancerCCWrapper struct method close (line 282) | func (ccw *remoteBalancerCCWrapper) close() { method readServerList (line 288) | func (ccw *remoteBalancerCCWrapper) readServerList(s *balanceLoadClien... method sendLoadReport (line 309) | func (ccw *remoteBalancerCCWrapper) sendLoadReport(s *balanceLoadClien... method callRemoteBalancer (line 341) | func (ccw *remoteBalancerCCWrapper) callRemoteBalancer(ctx context.Con... method cancelRemoteBalancerCall (line 385) | func (ccw *remoteBalancerCCWrapper) cancelRemoteBalancerCall() { method watchRemoteBalancer (line 394) | func (ccw *remoteBalancerCCWrapper) watchRemoteBalancer() { method newRemoteBalancerCCWrapper (line 231) | func (lb *lbBalancer) newRemoteBalancerCCWrapper() error { FILE: balancer/grpclb/grpclb_test.go constant defaultTestTimeout (line 73) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 74) | defaultTestShortTimeout = 10 * time.Millisecond constant testUserAgent (line 75) | testUserAgent = "test-user-agent" constant grpclbConfig (line 76) | grpclbConfig = `{"loadBalancingConfig": [{"grpclb": {}}]}` type s (line 79) | type s struct method TestGRPCLB_Basic (line 421) | func (s) TestGRPCLB_Basic(t *testing.T) { method TestGRPCLB_Weighted (line 480) | func (s) TestGRPCLB_Weighted(t *testing.T) { method TestGRPCLB_DropRequest (line 555) | func (s) TestGRPCLB_DropRequest(t *testing.T) { method TestGRPCLB_BalancerDisconnects (line 720) | func (s) TestGRPCLB_BalancerDisconnects(t *testing.T) { method TestGRPCLB_Fallback (line 799) | func (s) TestGRPCLB_Fallback(t *testing.T) { method TestGRPCLB_ExplicitFallback (line 897) | func (s) TestGRPCLB_ExplicitFallback(t *testing.T) { method TestGRPCLB_FallBackWithNoServerAddress (line 969) | func (s) TestGRPCLB_FallBackWithNoServerAddress(t *testing.T) { method TestGRPCLB_PickFirst (line 1074) | func (s) TestGRPCLB_PickFirst(t *testing.T) { method TestGRPCLB_BackendConnectionErrorPropagation (line 1171) | func (s) TestGRPCLB_BackendConnectionErrorPropagation(t *testing.T) { method TestGRPCLBEmptyServerListRoundRobin (line 1289) | func (s) TestGRPCLBEmptyServerListRoundRobin(t *testing.T) { method TestGRPCLBEmptyServerListPickFirst (line 1293) | func (s) TestGRPCLBEmptyServerListPickFirst(t *testing.T) { method TestGRPCLBWithTargetNameFieldInConfig (line 1297) | func (s) TestGRPCLBWithTargetNameFieldInConfig(t *testing.T) { method TestGRPCLBStatsUnarySuccess (line 1457) | func (s) TestGRPCLBStatsUnarySuccess(t *testing.T) { method TestGRPCLBStatsUnaryDrop (line 1478) | func (s) TestGRPCLBStatsUnaryDrop(t *testing.T) { method TestGRPCLBStatsUnaryFailedToSend (line 1500) | func (s) TestGRPCLBStatsUnaryFailedToSend(t *testing.T) { method TestGRPCLBStatsStreamingSuccess (line 1522) | func (s) TestGRPCLBStatsStreamingSuccess(t *testing.T) { method TestGRPCLBStatsStreamingDrop (line 1557) | func (s) TestGRPCLBStatsStreamingDrop(t *testing.T) { method TestGRPCLBStatsStreamingFailedToSend (line 1593) | func (s) TestGRPCLBStatsStreamingFailedToSend(t *testing.T) { method TestGRPCLBStatsQuashEmpty (line 1621) | func (s) TestGRPCLBStatsQuashEmpty(t *testing.T) { function Test (line 83) | func Test(t *testing.T) { type serverNameCheckCreds (line 87) | type serverNameCheckCreds struct method ServerHandshake (line 92) | func (c *serverNameCheckCreds) ServerHandshake(rawConn net.Conn) (net.... method ClientHandshake (line 99) | func (c *serverNameCheckCreds) ClientHandshake(ctx context.Context, au... method Info (line 123) | func (c *serverNameCheckCreds) Info() credentials.ProtocolInfo { method Clone (line 126) | func (c *serverNameCheckCreds) Clone() credentials.TransportCredentials { method OverrideServerName (line 129) | func (c *serverNameCheckCreds) OverrideServerName(string) error { function fakeNameDialer (line 135) | func fakeNameDialer(ctx context.Context, addr string) (net.Conn, error) { method merge (line 143) | func (s *rpcStats) merge(cs *lbpb.ClientStats) { function atomicEqual (line 155) | func atomicEqual(a, b *int64) bool { method equal (line 162) | func (s *rpcStats) equal(o *rpcStats) bool { method String (line 182) | func (s *rpcStats) String() string { type remoteBalancer (line 193) | type remoteBalancer struct method stop (line 220) | func (b *remoteBalancer) stop() { method fallbackNow (line 225) | func (b *remoteBalancer) fallbackNow() { method updateServerName (line 229) | func (b *remoteBalancer) updateServerName(name string) { method BalanceLoad (line 233) | func (b *remoteBalancer) BalanceLoad(stream lbgrpc.LoadBalancer_Balanc... function newRemoteBalancer (line 207) | func newRemoteBalancer(wantUserAgent, wantServerName string, statsChan c... type testServer (line 301) | type testServer struct method EmptyCall (line 310) | func (s *testServer) EmptyCall(ctx context.Context, _ *testpb.Empty) (... method FullDuplexCall (line 322) | func (s *testServer) FullDuplexCall(testgrpc.TestService_FullDuplexCal... constant testmdkey (line 308) | testmdkey = "testmd" function startBackends (line 326) | func startBackends(t *testing.T, sn string, fallback bool, lis ...net.Li... function stopBackends (line 342) | func stopBackends(servers []*grpc.Server) { type testServers (line 348) | type testServers struct function startBackendsAndRemoteLoadBalancer (line 360) | func startBackendsAndRemoteLoadBalancer(t *testing.T, numberOfBackends i... function testGRPCLBEmptyServerList (line 1225) | func testGRPCLBEmptyServerList(t *testing.T, svcfg string) { type failPreRPCCred (line 1382) | type failPreRPCCred struct method GetRequestMetadata (line 1384) | func (failPreRPCCred) GetRequestMetadata(_ context.Context, uri ...str... method RequireTransportSecurity (line 1391) | func (failPreRPCCred) RequireTransportSecurity() bool { function checkStats (line 1395) | func checkStats(stats, expected *rpcStats) error { function runAndCheckStats (line 1402) | func runAndCheckStats(t *testing.T, drop bool, statsChan chan *lbpb.Clie... constant countRPC (line 1453) | countRPC = 40 constant failtosendURI (line 1454) | failtosendURI = "failtosend" FILE: balancer/grpclb/grpclb_util.go constant subConnCacheTime (line 30) | subConnCacheTime = time.Second * 10 type lbCacheClientConn (line 36) | type lbCacheClientConn struct method NewSubConn (line 63) | func (ccc *lbCacheClientConn) NewSubConn(addrs []resolver.Address, opt... method RemoveSubConn (line 90) | func (ccc *lbCacheClientConn) RemoveSubConn(sc balancer.SubConn) { method UpdateState (line 148) | func (ccc *lbCacheClientConn) UpdateState(s balancer.State) { method close (line 153) | func (ccc *lbCacheClientConn) close() { type subConnCacheEntry (line 47) | type subConnCacheEntry struct function newLBCacheClientConn (line 54) | func newLBCacheClientConn(cc balancer.ClientConn) *lbCacheClientConn { type lbCacheSubConn (line 94) | type lbCacheSubConn struct method Shutdown (line 99) | func (sc *lbCacheSubConn) Shutdown() { type lbCachePicker (line 162) | type lbCachePicker struct method Pick (line 166) | func (cp *lbCachePicker) Pick(i balancer.PickInfo) (balancer.PickResul... FILE: balancer/grpclb/grpclb_util_test.go type mockSubConn (line 31) | type mockSubConn struct method Shutdown (line 36) | func (msc *mockSubConn) Shutdown() { type mockClientConn (line 42) | type mockClientConn struct method NewSubConn (line 55) | func (mcc *mockClientConn) NewSubConn(addrs []resolver.Address, _ bala... method RemoveSubConn (line 63) | func (mcc *mockClientConn) RemoveSubConn(sc balancer.SubConn) { function newMockClientConn (line 49) | func newMockClientConn() *mockClientConn { constant testCacheTimeout (line 67) | testCacheTimeout = 100 * time.Millisecond function checkMockCC (line 69) | func checkMockCC(mcc *mockClientConn, scLen int) error { function checkCacheCC (line 78) | func checkCacheCC(ccc *lbCacheClientConn, sccLen, sctaLen int) error { method TestLBCacheClientConnExpire (line 91) | func (s) TestLBCacheClientConnExpire(t *testing.T) { method TestLBCacheClientConnReuse (line 143) | func (s) TestLBCacheClientConnReuse(t *testing.T) { method TestLBCache_ShutdownTimer_New_Race (line 228) | func (s) TestLBCache_ShutdownTimer_New_Race(t *testing.T) { FILE: balancer/grpclb/state/state.go type keyType (line 28) | type keyType constant key (line 30) | key = keyType("grpc.grpclb.state") type State (line 33) | type State struct function Set (line 41) | func Set(state resolver.State, s *State) resolver.State { function Get (line 48) | func Get(state resolver.State) *State { FILE: balancer/lazy/lazy.go constant logPrefix (line 45) | logPrefix = "[lazy-lb %p] " type ChildBuilderFunc (line 50) | type ChildBuilderFunc function NewBalancer (line 53) | func NewBalancer(cc balancer.ClientConn, bOpts balancer.BuildOptions, ch... type lazyBalancer (line 71) | type lazyBalancer struct method Close (line 88) | func (lb *lazyBalancer) Close() { method ResolverError (line 97) | func (lb *lazyBalancer) ResolverError(err error) { method UpdateClientConnState (line 107) | func (lb *lazyBalancer) UpdateClientConnState(ccs balancer.ClientConnS... method UpdateSubConnState (line 120) | func (lb *lazyBalancer) UpdateSubConnState(balancer.SubConn, balancer.... method ExitIdle (line 124) | func (lb *lazyBalancer) ExitIdle() { type idlePicker (line 150) | type idlePicker struct method Pick (line 154) | func (i *idlePicker) Pick(balancer.PickInfo) (balancer.PickResult, err... FILE: balancer/lazy/lazy_ext_test.go constant defaultTestTimeout (line 50) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 53) | defaultTestShortTimeout = 100 * time.Millisecond type s (line 56) | type s struct method TestExitIdle (line 67) | func (s) TestExitIdle(t *testing.T) { method TestPicker (line 139) | func (s) TestPicker(t *testing.T) { method TestGoodUpdateThenResolverError (line 193) | func (s) TestGoodUpdateThenResolverError(t *testing.T) { method TestResolverErrorThenGoodUpdate (line 300) | func (s) TestResolverErrorThenGoodUpdate(t *testing.T) { method TestExitIdlePassthrough (line 395) | func (s) TestExitIdlePassthrough(t *testing.T) { function Test (line 60) | func Test(t *testing.T) { FILE: balancer/leastrequest/leastrequest.go constant Name (line 40) | Name = "least_request_experimental" function init (line 48) | func init() { type LBConfig (line 53) | type LBConfig struct type bb (line 62) | type bb struct method ParseConfig (line 64) | func (bb) ParseConfig(s json.RawMessage) (serviceconfig.LoadBalancingC... method Name (line 84) | func (bb) Name() string { method Build (line 88) | func (bb) Build(cc balancer.ClientConn, bOpts balancer.BuildOptions) b... type leastRequestBalancer (line 99) | type leastRequestBalancer struct method Close (line 113) | func (lrb *leastRequestBalancer) Close() { method UpdateSubConnState (line 118) | func (lrb *leastRequestBalancer) UpdateSubConnState(sc balancer.SubCon... method ResolverError (line 122) | func (lrb *leastRequestBalancer) ResolverError(err error) { method ExitIdle (line 127) | func (lrb *leastRequestBalancer) ExitIdle() { method UpdateClientConnState (line 131) | func (lrb *leastRequestBalancer) UpdateClientConnState(ccs balancer.Cl... method UpdateState (line 153) | func (lrb *leastRequestBalancer) UpdateState(state balancer.State) { type endpointState (line 148) | type endpointState struct type picker (line 213) | type picker struct method Pick (line 220) | func (p *picker) Pick(pInfo balancer.PickInfo) (balancer.PickResult, e... FILE: balancer/leastrequest/leastrequest_test.go constant defaultTestTimeout (line 46) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 47) | defaultTestShortTimeout = 10 * time.Millisecond type s (line 50) | type s struct method TestParseConfig (line 58) | func (s) TestParseConfig(t *testing.T) { method TestLeastRequestE2E (line 206) | func (s) TestLeastRequestE2E(t *testing.T) { method TestLeastRequestPersistsCounts (line 322) | func (s) TestLeastRequestPersistsCounts(t *testing.T) { method TestConcurrentRPCs (line 475) | func (s) TestConcurrentRPCs(t *testing.T) { method TestLeastRequestEndpoints_MultipleAddresses (line 535) | func (s) TestLeastRequestEndpoints_MultipleAddresses(t *testing.T) { method TestLeastRequestEndpoints_ResolverError (line 714) | func (s) TestLeastRequestEndpoints_ResolverError(t *testing.T) { function Test (line 54) | func Test(t *testing.T) { function startBackends (line 122) | func startBackends(t *testing.T, numBackends int) []*stubserver.StubServ... function setupBackends (line 148) | func setupBackends(t *testing.T, numBackends int) []string { function checkRoundRobinRPCs (line 165) | func checkRoundRobinRPCs(ctx context.Context, client testgrpc.TestServic... FILE: balancer/pickfirst/metrics_test.go function init (line 49) | func init() { method TestPickFirstMetrics (line 63) | func (s) TestPickFirstMetrics(t *testing.T) { method TestPickFirstMetricsFailure (line 135) | func (s) TestPickFirstMetricsFailure(t *testing.T) { method TestPickFirstMetricsE2E (line 173) | func (s) TestPickFirstMetricsE2E(t *testing.T) { function metricsDataFromReader (line 283) | func metricsDataFromReader(ctx context.Context, reader *metric.ManualRea... FILE: balancer/pickfirst/pickfirst.go function init (line 48) | func init() { constant Name (line 53) | Name = "pick_first" type enableHealthListenerKeyType (line 57) | type enableHealthListenerKeyType struct constant logPrefix (line 86) | logPrefix = "[pick-first-leaf-lb %p] " constant connectionDelayInterval (line 89) | connectionDelayInterval = 250 * time.Millisecond type ipAddrFamily (line 92) | type ipAddrFamily constant ipAddrFamilyUnknown (line 97) | ipAddrFamilyUnknown ipAddrFamily = iota constant ipAddrFamilyV4 (line 98) | ipAddrFamilyV4 constant ipAddrFamilyV6 (line 99) | ipAddrFamilyV6 type pickfirstBuilder (line 102) | type pickfirstBuilder struct method Build (line 104) | func (pickfirstBuilder) Build(cc balancer.ClientConn, bo balancer.Buil... method Name (line 118) | func (b pickfirstBuilder) Name() string { method ParseConfig (line 122) | func (pickfirstBuilder) ParseConfig(js json.RawMessage) (serviceconfig... function EnableHealthListener (line 137) | func EnableHealthListener(state resolver.State) resolver.State { type pfConfig (line 142) | type pfConfig struct type scData (line 153) | type scData struct type pickfirstBalancer (line 185) | type pickfirstBalancer struct method newSCData (line 167) | func (b *pickfirstBalancer) newSCData(addr resolver.Address) (*scData,... method ResolverError (line 211) | func (b *pickfirstBalancer) ResolverError(err error) { method resolverErrorLocked (line 217) | func (b *pickfirstBalancer) resolverErrorLocked(err error) { method UpdateClientConnState (line 238) | func (b *pickfirstBalancer) UpdateClientConnState(state balancer.Clien... method UpdateSubConnState (line 368) | func (b *pickfirstBalancer) UpdateSubConnState(subConn balancer.SubCon... method Close (line 372) | func (b *pickfirstBalancer) Close() { method ExitIdle (line 383) | func (b *pickfirstBalancer) ExitIdle() { method startFirstPassLocked (line 398) | func (b *pickfirstBalancer) startFirstPassLocked() { method closeSubConnsLocked (line 408) | func (b *pickfirstBalancer) closeSubConnsLocked() { method reconcileSubConnsLocked (line 503) | func (b *pickfirstBalancer) reconcileSubConnsLocked(newAddrs []resolve... method shutdownRemainingLocked (line 521) | func (b *pickfirstBalancer) shutdownRemainingLocked(selected *scData) { method requestConnectionLocked (line 536) | func (b *pickfirstBalancer) requestConnectionLocked() { method scheduleNextConnectionLocked (line 590) | func (b *pickfirstBalancer) scheduleNextConnectionLocked() { method updateSubConnState (line 619) | func (b *pickfirstBalancer) updateSubConnState(sd *scData, newState ba... method endFirstPassIfPossibleLocked (line 767) | func (b *pickfirstBalancer) endFirstPassIfPossibleLocked(lastErr error) { method isActiveSCData (line 792) | func (b *pickfirstBalancer) isActiveSCData(sd *scData) bool { method updateSubConnHealthState (line 797) | func (b *pickfirstBalancer) updateSubConnHealthState(sd *scData, state... method updateBalancerState (line 832) | func (b *pickfirstBalancer) updateBalancerState(newState balancer.Stat... method forceUpdateConcludedStateLocked (line 847) | func (b *pickfirstBalancer) forceUpdateConcludedStateLocked(newState b... function deDupAddresses (line 416) | func deDupAddresses(addrs []resolver.Address) []resolver.Address { function interleaveAddresses (line 441) | func interleaveAddresses(addrs []resolver.Address) []resolver.Address { function addressFamily (line 474) | func addressFamily(address string) ipAddrFamily { type picker (line 852) | type picker struct method Pick (line 857) | func (p *picker) Pick(balancer.PickInfo) (balancer.PickResult, error) { type idlePicker (line 863) | type idlePicker struct method Pick (line 867) | func (i *idlePicker) Pick(balancer.PickInfo) (balancer.PickResult, err... type addressList (line 876) | type addressList struct method isValid (line 881) | func (al *addressList) isValid() bool { method size (line 885) | func (al *addressList) size() int { method increment (line 891) | func (al *addressList) increment() bool { method currentAddress (line 901) | func (al *addressList) currentAddress() resolver.Address { method reset (line 908) | func (al *addressList) reset() { method updateAddrs (line 912) | func (al *addressList) updateAddrs(addrs []resolver.Address) { method seekTo (line 919) | func (al *addressList) seekTo(needle resolver.Address) bool { method hasNext (line 933) | func (al *addressList) hasNext() bool { function equalAddressIgnoringBalAttributes (line 944) | func equalAddressIgnoringBalAttributes(a, b *resolver.Address) bool { function weightAttribute (line 955) | func weightAttribute(e resolver.Endpoint) uint32 { FILE: balancer/pickfirst/pickfirst_ext_test.go constant pickFirstServiceConfig (line 62) | pickFirstServiceConfig = `{"loadBalancingConfig": [{"pick_first":{}}]}` constant defaultTestTimeout (line 64) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 67) | defaultTestShortTimeout = 100 * time.Millisecond constant stateStoringBalancerName (line 68) | stateStoringBalancerName = "state_storing" type s (line 79) | type s struct method TestPickFirst_OneBackend (line 164) | func (s) TestPickFirst_OneBackend(t *testing.T) { method TestPickFirst_MultipleBackends (line 179) | func (s) TestPickFirst_MultipleBackends(t *testing.T) { method TestPickFirst_OneServerDown (line 195) | func (s) TestPickFirst_OneServerDown(t *testing.T) { method TestPickFirst_AllServersDown (line 218) | func (s) TestPickFirst_AllServersDown(t *testing.T) { method TestPickFirst_AddressesRemoved (line 249) | func (s) TestPickFirst_AddressesRemoved(t *testing.T) { method TestPickFirst_NewAddressWhileBlocking (line 295) | func (s) TestPickFirst_NewAddressWhileBlocking(t *testing.T) { method TestPickFirst_StickyTransientFailure (line 358) | func (s) TestPickFirst_StickyTransientFailure(t *testing.T) { method TestPickFirst_ShuffleAddressList (line 429) | func (s) TestPickFirst_ShuffleAddressList(t *testing.T) { method TestPickFirst_ShuffleAddressListNoEndpoints (line 491) | func (s) TestPickFirst_ShuffleAddressListNoEndpoints(t *testing.T) { method TestPickFirst_ShuffleAddressList_WeightedShuffling (line 570) | func (s) TestPickFirst_ShuffleAddressList_WeightedShuffling(t *testing... method TestPickFirst_ParseConfig_Success (line 633) | func (s) TestPickFirst_ParseConfig_Success(t *testing.T) { method TestPickFirst_ParseConfig_Failure (line 694) | func (s) TestPickFirst_ParseConfig_Failure(t *testing.T) { method TestPickFirst_AddressUpdateWithAttributes (line 761) | func (s) TestPickFirst_AddressUpdateWithAttributes(t *testing.T) { method TestPickFirst_AddressUpdateWithBalancerAttributes (line 839) | func (s) TestPickFirst_AddressUpdateWithBalancerAttributes(t *testing.... method TestPickFirst_ResolverError_NoPreviousUpdate (line 923) | func (s) TestPickFirst_ResolverError_NoPreviousUpdate(t *testing.T) { method TestPickFirst_ResolverError_WithPreviousUpdate_Ready (line 947) | func (s) TestPickFirst_ResolverError_WithPreviousUpdate_Ready(t *testi... method TestPickFirst_ResolverError_WithPreviousUpdate_Connecting (line 976) | func (s) TestPickFirst_ResolverError_WithPreviousUpdate_Connecting(t *... method TestPickFirst_ResolverError_WithPreviousUpdate_TransientFailure (line 1041) | func (s) TestPickFirst_ResolverError_WithPreviousUpdate_TransientFailu... method TestPickFirst_ResolverError_ZeroAddresses_WithPreviousUpdate (line 1110) | func (s) TestPickFirst_ResolverError_ZeroAddresses_WithPreviousUpdate(... method TestPickFirstLeaf_SimpleResolverUpdate_FirstServerReady (line 1217) | func (s) TestPickFirstLeaf_SimpleResolverUpdate_FirstServerReady(t *te... method TestPickFirstLeaf_SimpleResolverUpdate_FirstServerUnReady (line 1257) | func (s) TestPickFirstLeaf_SimpleResolverUpdate_FirstServerUnReady(t *... method TestPickFirstLeaf_SimpleResolverUpdate_DuplicateAddrs (line 1299) | func (s) TestPickFirstLeaf_SimpleResolverUpdate_DuplicateAddrs(t *test... method TestPickFirstLeaf_ResolverUpdates_DisjointLists (line 1355) | func (s) TestPickFirstLeaf_ResolverUpdates_DisjointLists(t *testing.T) { method TestPickFirstLeaf_ResolverUpdates_ActiveBackendInUpdatedList (line 1416) | func (s) TestPickFirstLeaf_ResolverUpdates_ActiveBackendInUpdatedList(... method TestPickFirstLeaf_ResolverUpdates_InActiveBackendInUpdatedList (line 1478) | func (s) TestPickFirstLeaf_ResolverUpdates_InActiveBackendInUpdatedLis... method TestPickFirstLeaf_ResolverUpdates_IdenticalLists (line 1540) | func (s) TestPickFirstLeaf_ResolverUpdates_IdenticalLists(t *testing.T) { method TestPickFirstLeaf_StopConnectedServer_FirstServerRestart (line 1612) | func (s) TestPickFirstLeaf_StopConnectedServer_FirstServerRestart(t *t... method TestPickFirstLeaf_StopConnectedServer_SecondServerRestart (line 1674) | func (s) TestPickFirstLeaf_StopConnectedServer_SecondServerRestart(t *... method TestPickFirstLeaf_StopConnectedServer_SecondServerToFirst (line 1743) | func (s) TestPickFirstLeaf_StopConnectedServer_SecondServerToFirst(t *... method TestPickFirstLeaf_StopConnectedServer_FirstServerToSecond (line 1812) | func (s) TestPickFirstLeaf_StopConnectedServer_FirstServerToSecond(t *... method TestPickFirstLeaf_EmptyAddressList (line 1884) | func (s) TestPickFirstLeaf_EmptyAddressList(t *testing.T) { method TestPickFirstLeaf_HappyEyeballs_TF_AfterEndOfList (line 1935) | func (s) TestPickFirstLeaf_HappyEyeballs_TF_AfterEndOfList(t *testing.... method TestPickFirstLeaf_HappyEyeballs_TriggerConnectionDelay (line 2031) | func (s) TestPickFirstLeaf_HappyEyeballs_TriggerConnectionDelay(t *tes... method TestPickFirstLeaf_HappyEyeballs_TF_ThenTimerFires (line 2112) | func (s) TestPickFirstLeaf_HappyEyeballs_TF_ThenTimerFires(t *testing.... method TestPickFirstLeaf_HappyEyeballs_Ignore_Inflight_Cancellations (line 2193) | func (s) TestPickFirstLeaf_HappyEyeballs_Ignore_Inflight_Cancellations... method TestPickFirstLeaf_InterleavingIPV4Preferred (line 2268) | func (s) TestPickFirstLeaf_InterleavingIPV4Preferred(t *testing.T) { method TestPickFirstLeaf_InterleavingIPv6Preferred (line 2314) | func (s) TestPickFirstLeaf_InterleavingIPv6Preferred(t *testing.T) { method TestPickFirstLeaf_InterleavingUnknownPreferred (line 2359) | func (s) TestPickFirstLeaf_InterleavingUnknownPreferred(t *testing.T) { method TestPickFirstLeaf_HealthListenerEnabled (line 2409) | func (s) TestPickFirstLeaf_HealthListenerEnabled(t *testing.T) { method TestPickFirstLeaf_HealthListenerNotEnabled (line 2447) | func (s) TestPickFirstLeaf_HealthListenerNotEnabled(t *testing.T) { method TestPickFirstLeaf_HealthUpdates (line 2502) | func (s) TestPickFirstLeaf_HealthUpdates(t *testing.T) { method TestPickFirstLeaf_AddressUpdateWithMetadata (line 2602) | func (s) TestPickFirstLeaf_AddressUpdateWithMetadata(t *testing.T) { method TestPickFirstLeaf_Reconnection (line 2682) | func (s) TestPickFirstLeaf_Reconnection(t *testing.T) { function Test (line 83) | func Test(t *testing.T) { function init (line 87) | func init() { function parseServiceConfig (line 93) | func parseServiceConfig(t *testing.T, r *manual.Resolver, sc string) *se... function setupPickFirst (line 106) | func setupPickFirst(t *testing.T, backendCount int, opts ...grpc.DialOpt... function stubBackendsToResolverAddrs (line 154) | func stubBackendsToResolverAddrs(backends []*stubserver.StubServer) []re... function setupPickFirstWithListenerWrapper (line 707) | func setupPickFirstWithListenerWrapper(t *testing.T, backendCount int, o... function checkForConnectionError (line 1092) | func checkForConnectionError(ctx context.Context, t *testing.T, cc *grpc... type testServer (line 1139) | type testServer struct method stop (line 1144) | func (s *testServer) stop() { method resume (line 1148) | func (s *testServer) resume() { function newTestServer (line 1152) | func newTestServer(t *testing.T) *testServer { function setupPickFirstLeaf (line 1170) | func setupPickFirstLeaf(t *testing.T, backendCount int, opts ...grpc.Dia... function waitForMetric (line 2096) | func waitForMetric(ctx context.Context, t *testing.T, tmr *stats.TestMet... type healthListenerCapturingCCWrapper (line 2775) | type healthListenerCapturingCCWrapper struct method NewSubConn (line 2781) | func (ccw *healthListenerCapturingCCWrapper) NewSubConn(addrs []resolv... method UpdateState (line 2799) | func (ccw *healthListenerCapturingCCWrapper) UpdateState(state balance... type healthListenerCapturingSCWrapper (line 2804) | type healthListenerCapturingSCWrapper struct method RegisterHealthListener (line 2809) | func (scw *healthListenerCapturingSCWrapper) RegisterHealthListener(li... type unwrappingPicker (line 2815) | type unwrappingPicker struct method Pick (line 2819) | func (pw *unwrappingPicker) Pick(info balancer.PickInfo) (balancer.Pic... function subConnAddresses (line 2830) | func subConnAddresses(ctx context.Context, cc *testutils.BalancerClientC... type stateStoringBalancer (line 2851) | type stateStoringBalancer struct method Close (line 2857) | func (b *stateStoringBalancer) Close() { method subConnStates (line 2876) | func (b *stateStoringBalancer) subConnStates() []scState { method addSCState (line 2886) | func (b *stateStoringBalancer) addSCState(state *scState) { type stateStoringBalancerBuilder (line 2861) | type stateStoringBalancerBuilder struct method Name (line 2865) | func (b *stateStoringBalancerBuilder) Name() string { method Build (line 2869) | func (b *stateStoringBalancerBuilder) Build(cc balancer.ClientConn, op... type stateStoringCCWrapper (line 2892) | type stateStoringCCWrapper struct method NewSubConn (line 2897) | func (ccw *stateStoringCCWrapper) NewSubConn(addrs []resolver.Address,... type scState (line 2913) | type scState struct type backendManager (line 2918) | type backendManager struct method stopAllExcept (line 2922) | func (b *backendManager) stopAllExcept(index int) { method resolverAddrs (line 2932) | func (b *backendManager) resolverAddrs() []resolver.Address { method holds (line 2940) | func (b *backendManager) holds(dialer *testutils.BlockingDialer) []*te... type ccStateSubscriber (line 2948) | type ccStateSubscriber struct method transitions (line 2956) | func (c *ccStateSubscriber) transitions() []connectivity.State { method OnMessage (line 2962) | func (c *ccStateSubscriber) OnMessage(msg any) { function mockTimer (line 2971) | func mockTimer() (triggerFunc func(), timerFunc func(_ time.Duration, f ... FILE: balancer/pickfirst/pickfirst_test.go constant defaultTestTimeout (line 38) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 41) | defaultTestShortTimeout = 100 * time.Millisecond type s (line 44) | type s struct method TestPickFirst_InitialResolverError (line 55) | func (s) TestPickFirst_InitialResolverError(t *testing.T) { method TestPickFirst_ResolverErrorinTF (line 88) | func (s) TestPickFirst_ResolverErrorinTF(t *testing.T) { method TestAddressList_Iteration (line 137) | func (s) TestAddressList_Iteration(t *testing.T) { method TestAddressList_SeekTo (line 202) | func (s) TestAddressList_SeekTo(t *testing.T) { method TestPickFirstLeaf_TFPickerUpdate (line 278) | func (s) TestPickFirstLeaf_TFPickerUpdate(t *testing.T) { function Test (line 48) | func Test(t *testing.T) { FILE: balancer/pickfirst/pickfirstleaf/pickfirstleaf.go constant Name (line 33) | Name = "pick_first" function EnableHealthListener (line 39) | func EnableHealthListener(state resolver.State) resolver.State { FILE: balancer/randomsubsetting/randomsubsetting.go constant Name (line 50) | Name = "random_subsetting_experimental" function prefixLogger (line 57) | func prefixLogger(p *subsettingBalancer) *internalgrpclog.PrefixLogger { function init (line 61) | func init() { type bb (line 65) | type bb struct method Build (line 67) | func (bb) Build(cc balancer.ClientConn, bOpts balancer.BuildOptions) b... method ParseConfig (line 85) | func (bb) ParseConfig(s json.RawMessage) (serviceconfig.LoadBalancingC... method Name (line 103) | func (bb) Name() string { type lbConfig (line 78) | type lbConfig struct type subsettingBalancer (line 107) | type subsettingBalancer struct method UpdateClientConnState (line 116) | func (b *subsettingBalancer) UpdateClientConnState(s balancer.ClientCo... method calculateSubset (line 147) | func (b *subsettingBalancer) calculateSubset(endpoints []resolver.Endp... FILE: balancer/randomsubsetting/randomsubsetting_test.go type s (line 44) | type s struct method TestParseConfig (line 52) | func (s) TestParseConfig(t *testing.T) { method TestCalculateSubset_Simple (line 128) | func (s) TestCalculateSubset_Simple(t *testing.T) { method TestCalculateSubset_EndpointsRetainHashValues (line 170) | func (s) TestCalculateSubset_EndpointsRetainHashValues(t *testing.T) { method TestSubsettingBalancer_DeterministicSubset (line 196) | func (s) TestSubsettingBalancer_DeterministicSubset(t *testing.T) { function Test (line 48) | func Test(t *testing.T) { function makeEndpoints (line 118) | func makeEndpoints(n int) []resolver.Endpoint { FILE: balancer/ringhash/config.go constant defaultMinSize (line 32) | defaultMinSize = 1024 constant defaultMaxSize (line 33) | defaultMaxSize = 4096 constant ringHashSizeUpperBound (line 34) | ringHashSizeUpperBound = 8 * 1024 * 1024 function parseConfig (line 37) | func parseConfig(c json.RawMessage) (*iringhash.LBConfig, error) { FILE: balancer/ringhash/config_test.go method TestParseConfig (line 32) | func (s) TestParseConfig(t *testing.T) { FILE: balancer/ringhash/logging.go constant prefix (line 28) | prefix = "[ring-hash-lb %p] " function prefixLogger (line 32) | func prefixLogger(p *ringhashBalancer) *internalgrpclog.PrefixLogger { FILE: balancer/ringhash/picker.go type picker (line 33) | type picker struct method Pick (line 55) | func (p *picker) Pick(info balancer.PickInfo) (balancer.PickResult, er... method endpointState (line 122) | func (p *picker) endpointState(e *ringEntry) endpointState { FILE: balancer/ringhash/picker_test.go function init (line 41) | func init() { type fakeChildPicker (line 48) | type fakeChildPicker struct method Pick (line 54) | func (p *fakeChildPicker) Pick(balancer.PickInfo) (balancer.PickResult... type fakeExitIdler (line 68) | type fakeExitIdler struct method ExitIdle (line 72) | func (ei *fakeExitIdler) ExitIdle() { function testRingAndEndpointStates (line 76) | func testRingAndEndpointStates(states []connectivity.State) (*ring, map[... method TestPickerPickFirstTwo (line 104) | func (s) TestPickerPickFirstTwo(t *testing.T) { method TestPickerNoRequestHash (line 180) | func (s) TestPickerNoRequestHash(t *testing.T) { method TestPickerRequestHashKey (line 194) | func (s) TestPickerRequestHashKey(t *testing.T) { method TestPickerRandomHash (line 250) | func (s) TestPickerRandomHash(t *testing.T) { FILE: balancer/ringhash/ring.go type ring (line 31) | type ring struct method pick (line 176) | func (r *ring) pick(h uint64) *ringEntry { method next (line 187) | func (r *ring) next(e *ringEntry) *ringEntry { type endpointInfo (line 35) | type endpointInfo struct type ringEntry (line 41) | type ringEntry struct function newRing (line 71) | func newRing(endpoints *resolver.EndpointMap[*endpointState], minRingSiz... function normalizeWeights (line 139) | func normalizeWeights(endpoints *resolver.EndpointMap[*endpointState]) (... FILE: balancer/ringhash/ring_test.go function init (line 34) | func init() { function testEndpoint (line 46) | func testEndpoint(addr string, endpointWeight uint32) resolver.Endpoint { method TestRingNew (line 51) | func (s) TestRingNew(t *testing.T) { function equalApproximately (line 79) | func equalApproximately(x, y float64) bool { method TestRingPick (line 85) | func (s) TestRingPick(t *testing.T) { method TestRingNext (line 103) | func (s) TestRingNext(t *testing.T) { FILE: balancer/ringhash/ringhash.go constant Name (line 55) | Name = "ring_hash_experimental" function lazyPickFirstBuilder (line 57) | func lazyPickFirstBuilder(cc balancer.ClientConn, opts balancer.BuildOpt... function init (line 61) | func init() { type bb (line 65) | type bb struct method Build (line 67) | func (bb) Build(cc balancer.ClientConn, opts balancer.BuildOptions) ba... method Name (line 79) | func (bb) Name() string { method ParseConfig (line 83) | func (bb) ParseConfig(c json.RawMessage) (serviceconfig.LoadBalancingC... type ringhashBalancer (line 87) | type ringhashBalancer struct method UpdateState (line 130) | func (b *ringhashBalancer) UpdateState(state balancer.State) { method UpdateClientConnState (line 181) | func (b *ringhashBalancer) UpdateClientConnState(ccs balancer.ClientCo... method ResolverError (line 231) | func (b *ringhashBalancer) ResolverError(err error) { method UpdateSubConnState (line 235) | func (b *ringhashBalancer) UpdateSubConnState(sc balancer.SubConn, sta... method updatePickerLocked (line 239) | func (b *ringhashBalancer) updatePickerLocked() { method Close (line 309) | func (b *ringhashBalancer) Close() { method ExitIdle (line 314) | func (b *ringhashBalancer) ExitIdle() { method newPickerLocked (line 322) | func (b *ringhashBalancer) newPickerLocked() *picker { method aggregatedStateLocked (line 357) | func (b *ringhashBalancer) aggregatedStateLocked() connectivity.State { function hashKey (line 112) | func hashKey(endpoint resolver.Endpoint) string { function getWeightAttribute (line 387) | func getWeightAttribute(e resolver.Endpoint) uint32 { type endpointState (line 395) | type endpointState struct FILE: balancer/ringhash/ringhash_e2e_test.go type s (line 69) | type s struct method TestRingHash_ReconnectToMoveOutOfTransientFailure (line 103) | func (s) TestRingHash_ReconnectToMoveOutOfTransientFailure(t *testing.... method TestRingHash_AggregateClusterFallBackFromRingHashAtStartup (line 324) | func (s) TestRingHash_AggregateClusterFallBackFromRingHashAtStartup(t ... method TestRingHash_AggregateClusterFallBackFromRingHashToLogicalDnsAtStartup (line 425) | func (s) TestRingHash_AggregateClusterFallBackFromRingHashToLogicalDns... method TestRingHash_AggregateClusterFallBackFromRingHashToLogicalDnsAtStartupNoFailedRPCs (line 505) | func (s) TestRingHash_AggregateClusterFallBackFromRingHashToLogicalDns... method TestRingHash_ChannelIdHashing (line 672) | func (s) TestRingHash_ChannelIdHashing(t *testing.T) { method TestRingHash_HeaderHashing (line 732) | func (s) TestRingHash_HeaderHashing(t *testing.T) { method TestRingHash_HeaderHashingWithRegexRewrite (line 776) | func (s) TestRingHash_HeaderHashingWithRegexRewrite(t *testing.T) { method TestRingHash_NoHashPolicy (line 872) | func (s) TestRingHash_NoHashPolicy(t *testing.T) { method TestRingHash_EndpointWeights (line 913) | func (s) TestRingHash_EndpointWeights(t *testing.T) { method TestRingHash_ContinuesPastTerminalPolicyThatDoesNotProduceResult (line 979) | func (s) TestRingHash_ContinuesPastTerminalPolicyThatDoesNotProduceRes... method TestRingHash_HashOnHeaderThatIsNotPresent (line 1048) | func (s) TestRingHash_HashOnHeaderThatIsNotPresent(t *testing.T) { method TestRingHash_UnsupportedHashPolicyDefaultToRandomHashing (line 1099) | func (s) TestRingHash_UnsupportedHashPolicyDefaultToRandomHashing(t *t... method TestRingHash_UnsupportedHashPolicyUntilChannelIdHashing (line 1166) | func (s) TestRingHash_UnsupportedHashPolicyUntilChannelIdHashing(t *te... method TestRingHash_RandomHashingDistributionAccordingToLocalityAndEndpointWeight (line 1242) | func (s) TestRingHash_RandomHashingDistributionAccordingToLocalityAndE... method TestRingHash_FixedHashingTerminalPolicy (line 1319) | func (s) TestRingHash_FixedHashingTerminalPolicy(t *testing.T) { method TestRingHash_IdleToReady (line 1396) | func (s) TestRingHash_IdleToReady(t *testing.T) { method TestRingHash_ContinuesConnectingWithoutPicks (line 1431) | func (s) TestRingHash_ContinuesConnectingWithoutPicks(t *testing.T) { method TestRingHash_TransientFailureCheckNextOne (line 1504) | func (s) TestRingHash_TransientFailureCheckNextOne(t *testing.T) { method TestRingHash_ReattemptWhenGoingFromTransientFailureToIdle (line 1550) | func (s) TestRingHash_ReattemptWhenGoingFromTransientFailureToIdle(t *... method TestRingHash_TransientFailureSkipToAvailableReady (line 1609) | func (s) TestRingHash_TransientFailureSkipToAvailableReady(t *testing.... method TestRingHash_ReattemptWhenAllEndpointsUnreachable (line 1724) | func (s) TestRingHash_ReattemptWhenAllEndpointsUnreachable(t *testing.... method TestRingHash_SwitchToLowerPriorityAndThenBack (line 1790) | func (s) TestRingHash_SwitchToLowerPriorityAndThenBack(t *testing.T) { method TestRingHash_ContinuesConnectingWithoutPicksToMultipleSubConnsConcurrently (line 1899) | func (s) TestRingHash_ContinuesConnectingWithoutPicksToMultipleSubConn... method TestRingHash_ReorderAddressessWithinEndpoint (line 2027) | func (s) TestRingHash_ReorderAddressessWithinEndpoint(t *testing.T) { method TestRingHash_FallBackWithinEndpoint (line 2147) | func (s) TestRingHash_FallBackWithinEndpoint(t *testing.T) { method TestRingHash_RecoverWhenEndpointEntersIdle (line 2235) | func (s) TestRingHash_RecoverWhenEndpointEntersIdle(t *testing.T) { method TestRingHash_RecoverWhenResolverRemovesEndpoint (line 2397) | func (s) TestRingHash_RecoverWhenResolverRemovesEndpoint(t *testing.T) { method TestRingHash_EndpointHashKey (line 2560) | func (s) TestRingHash_EndpointHashKey(t *testing.T) { method TestRingHash_RequestHashKey (line 2667) | func (s) TestRingHash_RequestHashKey(t *testing.T) { method TestRingHash_RequestHashKeyRandom (line 2748) | func (s) TestRingHash_RequestHashKeyRandom(t *testing.T) { method TestRingHash_RequestHashKeyConnecting (line 2813) | func (s) TestRingHash_RequestHashKeyConnecting(t *testing.T) { function Test (line 73) | func Test(t *testing.T) { constant defaultTestTimeout (line 78) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 79) | defaultTestShortTimeout = 10 * time.Millisecond constant errorTolerance (line 81) | errorTolerance = .05 constant virtualHostName (line 83) | virtualHostName = "test.server" constant minRingSize (line 88) | minRingSize = 10000 function startTestServiceBackends (line 176) | func startTestServiceBackends(t *testing.T, num int) []*stubserver.StubS... function backendAddrs (line 189) | func backendAddrs(servers []*stubserver.StubServer) []string { function backendOptions (line 199) | func backendOptions(t *testing.T, serverAddrs []string) []e2e.BackendOpt... function backendOptionsForEndpointsWithMultipleAddrs (line 210) | func backendOptionsForEndpointsWithMultipleAddrs(t *testing.T, backendAd... function channelIDHashRoute (line 226) | func channelIDHashRoute(routeName, virtualHostDomain, clusterName string... function checkRPCSendOK (line 243) | func checkRPCSendOK(ctx context.Context, t *testing.T, client testgrpc.T... function makeUnreachableBackends (line 260) | func makeUnreachableBackends(t *testing.T, num int) []string { function setupManagementServerAndResolver (line 291) | func setupManagementServerAndResolver(t *testing.T) (*e2e.ManagementServ... function xdsUpdateOpts (line 311) | func xdsUpdateOpts(nodeID string, endpoints *v3endpointpb.ClusterLoadAss... function replaceDNSResolver (line 411) | func replaceDNSResolver(t *testing.T) *manual.Resolver { function endpointResource (line 639) | func endpointResource(t *testing.T, clusterName string, addrs []string) ... function endpointResourceForBackendsWithMultipleAddrs (line 650) | func endpointResourceForBackendsWithMultipleAddrs(t *testing.T, clusterN... function headerHashRoute (line 716) | func headerHashRoute(routeName, virtualHostName, clusterName, header str... function computeIdealNumberOfRPCs (line 842) | func computeIdealNumberOfRPCs(t *testing.T, p, errorTolerance float64) i... function setRingHashLBPolicyWithHighMinRingSize (line 853) | func setRingHashLBPolicyWithHighMinRingSize(t *testing.T, cluster *v3clu... function highRingSizeServiceConfig (line 2732) | func highRingSizeServiceConfig(t *testing.T) string { FILE: balancer/ringhash/ringhash_test.go constant defaultTestTimeout (line 37) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 38) | defaultTestShortTimeout = 10 * time.Millisecond constant testBackendAddrsCount (line 40) | testBackendAddrsCount = 12 function init (line 48) | func init() { function setupTest (line 55) | func setupTest(t *testing.T, endpoints []resolver.Endpoint) (*testutils.... type s (line 93) | type s struct method TestUpdateClientConnState_NewRingSize (line 105) | func (s) TestUpdateClientConnState_NewRingSize(t *testing.T) { method TestOneEndpoint (line 138) | func (s) TestOneEndpoint(t *testing.T) { method TestThreeSubConnsAffinity (line 188) | func (s) TestThreeSubConnsAffinity(t *testing.T) { method TestThreeBackendsAffinityMultiple (line 334) | func (s) TestThreeBackendsAffinityMultiple(t *testing.T) { method TestAddrWeightChange (line 435) | func (s) TestAddrWeightChange(t *testing.T) { method TestAutoConnectEndpointOnTransientFailure (line 526) | func (s) TestAutoConnectEndpointOnTransientFailure(t *testing.T) { method TestAggregatedConnectivityState (line 629) | func (s) TestAggregatedConnectivityState(t *testing.T) { method TestAddrBalancerAttributesChange (line 701) | func (s) TestAddrBalancerAttributesChange(t *testing.T) { function Test (line 97) | func Test(t *testing.T) { type testKeyType (line 678) | type testKeyType constant testKey (line 680) | testKey testKeyType = "grpc.lb.ringhash.testKey" type testAttribute (line 682) | type testAttribute struct function setTestAttrAddr (line 686) | func setTestAttrAddr(addr resolver.Address, content string) resolver.Add... function setTestAttrEndpoint (line 691) | func setTestAttrEndpoint(endpoint resolver.Endpoint, content string) res... FILE: balancer/rls/balancer.go constant Name (line 50) | Name = internal.RLSLoadBalancingPolicyName constant periodicCachePurgeFreq (line 52) | periodicCachePurgeFreq = time.Minute function init (line 119) | func init() { type rlsBB (line 123) | type rlsBB struct method Name (line 125) | func (rlsBB) Name() string { method Build (line 129) | func (rlsBB) Build(cc balancer.ClientConn, opts balancer.BuildOptions)... type rlsBalancer (line 158) | type rlsBalancer struct method run (line 223) | func (b *rlsBalancer) run() { method purgeDataCache (line 274) | func (b *rlsBalancer) purgeDataCache(doneCh chan struct{}) { method UpdateClientConnState (line 293) | func (b *rlsBalancer) UpdateClientConnState(ccs balancer.ClientConnSta... method handleControlChannelUpdate (line 357) | func (b *rlsBalancer) handleControlChannelUpdate(newCfg *lbConfig) { method handleChildPolicyConfigUpdate (line 385) | func (b *rlsBalancer) handleChildPolicyConfigUpdate(newCfg *lbConfig, ... method buildAndPushChildPolicyConfigs (line 453) | func (b *rlsBalancer) buildAndPushChildPolicyConfigs(target string, ne... method ResolverError (line 481) | func (b *rlsBalancer) ResolverError(err error) { method UpdateSubConnState (line 485) | func (b *rlsBalancer) UpdateSubConnState(sc balancer.SubConn, state ba... method Close (line 489) | func (b *rlsBalancer) Close() { method ExitIdle (line 509) | func (b *rlsBalancer) ExitIdle() { method sendNewPickerLocked (line 524) | func (b *rlsBalancer) sendNewPickerLocked() { method sendNewPicker (line 570) | func (b *rlsBalancer) sendNewPicker() { method aggregatedConnectivityState (line 593) | func (b *rlsBalancer) aggregatedConnectivityState() connectivity.State { method UpdateState (line 627) | func (b *rlsBalancer) UpdateState(id string, state balancer.State) { method handleChildPolicyStateUpdate (line 640) | func (b *rlsBalancer) handleChildPolicyStateUpdate(id string, newState... method acquireChildPolicyReferences (line 669) | func (b *rlsBalancer) acquireChildPolicyReferences(targets []string) [... method releaseChildPolicyReferences (line 701) | func (b *rlsBalancer) releaseChildPolicyReferences(targets []string) { method Report (line 713) | func (b *rlsBalancer) Report(r estats.AsyncMetricsRecorder) error { type resumePickerUpdates (line 207) | type resumePickerUpdates struct type childPolicyIDAndState (line 212) | type childPolicyIDAndState struct type controlChannelReady (line 217) | type controlChannelReady struct FILE: balancer/rls/balancer_test.go method TestConfigUpdate_ControlChannel (line 58) | func (s) TestConfigUpdate_ControlChannel(t *testing.T) { method TestConfigUpdate_ControlChannelWithCreds (line 137) | func (s) TestConfigUpdate_ControlChannelWithCreds(t *testing.T) { method TestConfigUpdate_ControlChannelServiceConfig (line 194) | func (s) TestConfigUpdate_ControlChannelServiceConfig(t *testing.T) { method TestConfigUpdate_DefaultTarget (line 254) | func (s) TestConfigUpdate_DefaultTarget(t *testing.T) { method TestConfigUpdate_ChildPolicyConfigs (line 294) | func (s) TestConfigUpdate_ChildPolicyConfigs(t *testing.T) { method TestConfigUpdate_ChildPolicyChange (line 422) | func (s) TestConfigUpdate_ChildPolicyChange(t *testing.T) { method TestConfigUpdate_BadChildPolicyConfigs (line 519) | func (s) TestConfigUpdate_BadChildPolicyConfigs(t *testing.T) { method TestConfigUpdate_DataCacheSizeDecrease (line 561) | func (s) TestConfigUpdate_DataCacheSizeDecrease(t *testing.T) { type stateCapturingCC (line 661) | type stateCapturingCC struct method UpdateState (line 666) | func (cc *stateCapturingCC) UpdateState(bs balancer.State) { function newStateCapturingCC (line 671) | func newStateCapturingCC(cc balancer.ClientConn) *stateCapturingCC { method TestPickerUpdateOnDataCacheSizeDecrease (line 680) | func (s) TestPickerUpdateOnDataCacheSizeDecrease(t *testing.T) { method TestDataCachePurging (line 897) | func (s) TestDataCachePurging(t *testing.T) { method TestControlChannelConnectivityStateMonitoring (line 981) | func (s) TestControlChannelConnectivityStateMonitoring(t *testing.T) { type testCCWrapper (line 1086) | type testCCWrapper struct method UpdateState (line 1093) | func (t *testCCWrapper) UpdateState(bs balancer.State) { method getStates (line 1100) | func (t *testCCWrapper) getStates() []balancer.State { method TestUpdateStatePauses (line 1123) | func (s) TestUpdateStatePauses(t *testing.T) { function waitForStateTransitions (line 1329) | func waitForStateTransitions(ctx context.Context, t *testing.T, stateCh ... FILE: balancer/rls/cache.go type cacheKey (line 33) | type cacheKey struct type cacheEntry (line 44) | type cacheEntry struct type backoffState (line 98) | type backoffState struct type lru (line 116) | type lru struct method addEntry (line 134) | func (l *lru) addEntry(key cacheKey) { method makeRecent (line 139) | func (l *lru) makeRecent(key cacheKey) { method removeEntry (line 144) | func (l *lru) removeEntry(key cacheKey) { method getLeastRecentlyUsed (line 150) | func (l *lru) getLeastRecentlyUsed() cacheKey { function newLRU (line 127) | func newLRU() *lru { type dataCache (line 166) | type dataCache struct method updateRLSServerTarget (line 194) | func (dc *dataCache) updateRLSServerTarget(rlsServerTarget string) { method resize (line 204) | func (dc *dataCache) resize(size int64) (backoffCancelled bool) { method evictExpiredEntries (line 253) | func (dc *dataCache) evictExpiredEntries() bool { method resetBackoffState (line 279) | func (dc *dataCache) resetBackoffState(newBackoffState *backoffState) ... method addEntry (line 309) | func (dc *dataCache) addEntry(key cacheKey, entry *cacheEntry) (backof... method updateEntrySize (line 333) | func (dc *dataCache) updateEntrySize(entry *cacheEntry, newSize int64) { method getEntry (line 340) | func (dc *dataCache) getEntry(key cacheKey) *cacheEntry { method removeEntryForTesting (line 353) | func (dc *dataCache) removeEntryForTesting(key cacheKey) { method deleteAndCleanup (line 366) | func (dc *dataCache) deleteAndCleanup(key cacheKey, entry *cacheEntry) { method stop (line 373) | func (dc *dataCache) stop() { function newDataCache (line 180) | func newDataCache(size int64, logger *internalgrpclog.PrefixLogger, grpc... FILE: balancer/rls/cache_test.go function initCacheEntries (line 44) | func initCacheEntries() { method TestLRU_BasicOperations (line 79) | func (s) TestLRU_BasicOperations(t *testing.T) { method TestDataCache_BasicOperations (line 120) | func (s) TestDataCache_BasicOperations(t *testing.T) { method TestDataCache_AddForcesResize (line 134) | func (s) TestDataCache_AddForcesResize(t *testing.T) { method TestDataCache_Resize (line 163) | func (s) TestDataCache_Resize(t *testing.T) { method TestDataCache_EvictExpiredEntries (line 194) | func (s) TestDataCache_EvictExpiredEntries(t *testing.T) { method TestDataCache_ResetBackoffState (line 217) | func (s) TestDataCache_ResetBackoffState(t *testing.T) { FILE: balancer/rls/child_policy.go type childPolicyWrapper (line 55) | type childPolicyWrapper struct method acquireRef (line 89) | func (c *childPolicyWrapper) acquireRef() { method releaseRef (line 95) | func (c *childPolicyWrapper) releaseRef() bool { method lamify (line 103) | func (c *childPolicyWrapper) lamify(err error) { function newChildPolicyWrapper (line 74) | func newChildPolicyWrapper(target string) *childPolicyWrapper { FILE: balancer/rls/config.go constant maxMaxAge (line 42) | maxMaxAge = 5 * time.Minute constant maxCacheSize (line 44) | maxCacheSize = 5 * 1024 * 1024 * 8 constant defaultLookupServiceTimeout (line 46) | defaultLookupServiceTimeout = 10 * time.Second constant dummyChildPolicyTarget (line 49) | dummyChildPolicyTarget = "target_name_to_be_filled_in_later" type lbConfig (line 53) | type lbConfig struct method Equal (line 70) | func (lbCfg *lbConfig) Equal(other *lbConfig) bool { function childPolicyConfigEqual (line 84) | func childPolicyConfigEqual(a, b map[string]json.RawMessage) bool { type lbConfigJSON (line 105) | type lbConfigJSON struct method ParseConfig (line 145) | func (rlsBB) ParseConfig(c json.RawMessage) (serviceconfig.LoadBalancing... function parseRLSProto (line 186) | func parseRLSProto(rlsProto *rlspb.RouteLookupConfig) (*lbConfig, error) { function parseChildPolicyConfigs (line 284) | func parseChildPolicyConfigs(childPolicies []map[string]json.RawMessage,... function convertDuration (line 325) | func convertDuration(d *durationpb.Duration) (time.Duration, error) { FILE: balancer/rls/config_test.go function testEqual (line 37) | func testEqual(a, b *lbConfig) bool { method TestParseConfig (line 51) | func (s) TestParseConfig(t *testing.T) { method TestParseConfigErrors (line 215) | func (s) TestParseConfigErrors(t *testing.T) { FILE: balancer/rls/control_channel.go type adaptiveThrottler (line 42) | type adaptiveThrottler interface type controlChannel (line 49) | type controlChannel struct method OnMessage (line 99) | func (cc *controlChannel) OnMessage(msg any) { method dialOpts (line 108) | func (cc *controlChannel) dialOpts(bOpts balancer.BuildOptions, servic... method monitorConnectivityState (line 151) | func (cc *controlChannel) monitorConnectivityState() { method close (line 209) | func (cc *controlChannel) close() { method lookup (line 225) | func (cc *controlChannel) lookup(reqKeys map[string]string, reason rls... function newControlChannel (line 71) | func newControlChannel(rlsServerName, serviceConfig string, rpcTimeout t... type lookupCallback (line 217) | type lookupCallback FILE: balancer/rls/control_channel_test.go method TestControlChannelThrottled (line 48) | func (s) TestControlChannelThrottled(t *testing.T) { method TestLookupFailure (line 71) | func (s) TestLookupFailure(t *testing.T) { method TestLookupDeadlineExceeded (line 110) | func (s) TestLookupDeadlineExceeded(t *testing.T) { type testCredsBundle (line 148) | type testCredsBundle struct method TransportCredentials (line 153) | func (f *testCredsBundle) TransportCredentials() credentials.Transport... method PerRPCCredentials (line 157) | func (f *testCredsBundle) PerRPCCredentials() credentials.PerRPCCreden... method NewWithMode (line 161) | func (f *testCredsBundle) NewWithMode(mode string) (credentials.Bundle... type testPerRPCCredentials (line 180) | type testPerRPCCredentials struct method GetRequestMetadata (line 184) | func (f *testPerRPCCredentials) GetRequestMetadata(context.Context, ..... method RequireTransportSecurity (line 188) | func (f *testPerRPCCredentials) RequireTransportSecurity() bool { function callCredsValidatingServerInterceptor (line 194) | func callCredsValidatingServerInterceptor(ctx context.Context, req any, ... function makeTLSCreds (line 213) | func makeTLSCreds(t *testing.T, certPath, keyPath, rootsPath string) cre... constant wantHeaderData (line 233) | wantHeaderData = "headerData" constant staleHeaderData (line 234) | staleHeaderData = "staleHeaderData" function testControlChannelCredsSuccess (line 257) | func testControlChannelCredsSuccess(t *testing.T, sopts []grpc.ServerOpt... method TestControlChannelCredsSuccess (line 309) | func (s) TestControlChannelCredsSuccess(t *testing.T) { function testControlChannelCredsFailure (line 353) | func testControlChannelCredsFailure(t *testing.T, sopts []grpc.ServerOpt... method TestControlChannelCredsFailure (line 391) | func (s) TestControlChannelCredsFailure(t *testing.T) { type unsupportedCredsBundle (line 446) | type unsupportedCredsBundle struct method NewWithMode (line 450) | func (*unsupportedCredsBundle) NewWithMode(mode string) (credentials.B... method TestNewControlChannelUnsupportedCredsBundle (line 456) | func (s) TestNewControlChannelUnsupportedCredsBundle(t *testing.T) { FILE: balancer/rls/helpers_test.go constant defaultTestTimeout (line 46) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 47) | defaultTestShortTimeout = 100 * time.Millisecond type s (line 50) | type s struct function Test (line 54) | func Test(t *testing.T) { type fakeBackoffStrategy (line 60) | type fakeBackoffStrategy struct method Backoff (line 64) | func (f *fakeBackoffStrategy) Backoff(int) time.Duration { type fakeThrottler (line 69) | type fakeThrottler struct method ShouldThrottle (line 74) | func (f *fakeThrottler) ShouldThrottle() bool { method RegisterBackendResponse (line 84) | func (f *fakeThrottler) RegisterBackendResponse(bool) {} function alwaysThrottlingThrottler (line 87) | func alwaysThrottlingThrottler() *fakeThrottler { function neverThrottlingThrottler (line 95) | func neverThrottlingThrottler() *fakeThrottler { function oneTimeAllowingThrottler (line 106) | func oneTimeAllowingThrottler(firstRPCDone *grpcsync.Event) *fakeThrottl... function overrideAdaptiveThrottler (line 113) | func overrideAdaptiveThrottler(t *testing.T, f *fakeThrottler) { function buildBasicRLSConfig (line 122) | func buildBasicRLSConfig(childPolicyName, rlsServerAddress string) *e2e.... function buildBasicRLSConfigWithChildPolicy (line 147) | func buildBasicRLSConfigWithChildPolicy(t *testing.T, childPolicyName, r... function startBackend (line 169) | func startBackend(t *testing.T, sopts ...grpc.ServerOption) (rpcCh chan ... function startManualResolverWithConfig (line 192) | func startManualResolverWithConfig(t *testing.T, rlsConfig *e2e.RLSConfi... function makeTestRPCAndExpectItToReachBackend (line 223) | func makeTestRPCAndExpectItToReachBackend(ctx context.Context, t *testin... function makeTestRPCAndVerifyError (line 256) | func makeTestRPCAndVerifyError(ctx context.Context, t *testing.T, cc *gr... function verifyRLSRequest (line 283) | func verifyRLSRequest(t *testing.T, ch chan struct{}, wantRequest bool) { FILE: balancer/rls/internal/adaptive/adaptive.go constant defaultDuration (line 35) | defaultDuration = 30 * time.Second constant defaultBins (line 36) | defaultBins = 100 constant defaultRatioForAccepts (line 37) | defaultRatioForAccepts = 2.0 constant defaultRequestsPadding (line 38) | defaultRequestsPadding = 8.0 type Throttler (line 69) | type Throttler struct method ShouldThrottle (line 99) | func (t *Throttler) ShouldThrottle() bool { method RegisterBackendResponse (line 121) | func (t *Throttler) RegisterBackendResponse(throttled bool) { function New (line 80) | func New() *Throttler { function newWithArgs (line 86) | func newWithArgs(duration time.Duration, bins int64, ratioForAccepts, re... FILE: balancer/rls/internal/adaptive/adaptive_test.go method stats (line 28) | func (t *Throttler) stats() (int64, int64) { constant E (line 39) | E = iota constant A (line 40) | A constant T (line 41) | T function TestRegisterBackendResponse (line 44) | func TestRegisterBackendResponse(t *testing.T) { function TestShouldThrottleOptions (line 110) | func TestShouldThrottleOptions(t *testing.T) { function TestParallel (line 172) | func TestParallel(t *testing.T) { type mockClock (line 221) | type mockClock struct method Now (line 225) | func (m *mockClock) Now() time.Time { method SetNanos (line 229) | func (m *mockClock) SetNanos(n int64) { FILE: balancer/rls/internal/adaptive/lookback.go type lookback (line 24) | type lookback struct method add (line 44) | func (l *lookback) add(t time.Time, v int64) { method sum (line 57) | func (l *lookback) sum(t time.Time) int64 { method advance (line 66) | func (l *lookback) advance(t time.Time) int64 { function newLookback (line 35) | func newLookback(bins int64, duration time.Duration) *lookback { FILE: balancer/rls/internal/adaptive/lookback_test.go function TestLookback (line 26) | func TestLookback(t *testing.T) { FILE: balancer/rls/internal/keys/builder.go type BuilderMap (line 33) | type BuilderMap method RLSKey (line 122) | func (bm BuilderMap) RLSKey(md metadata.MD, host, path string) KeyMap { method Equal (line 154) | func (bm BuilderMap) Equal(am BuilderMap) bool { function MakeBuilderMap (line 37) | func MakeBuilderMap(cfg *rlspb.RouteLookupConfig) (BuilderMap, error) { type KeyMap (line 107) | type KeyMap struct type builder (line 175) | type builder struct method Equal (line 185) | func (b builder) Equal(a builder) bool { method buildHeaderKeys (line 237) | func (b builder) buildHeaderKeys(md metadata.MD) map[string]string { type matcher (line 214) | type matcher struct method Equal (line 222) | func (m matcher) Equal(a matcher) bool { function mapToString (line 253) | func mapToString(kv map[string]string) string { FILE: balancer/rls/internal/keys/builder_test.go function TestMakeBuilderMap (line 61) | func TestMakeBuilderMap(t *testing.T) { function TestMakeBuilderMapErrors (line 110) | func TestMakeBuilderMapErrors(t *testing.T) { function TestRLSKey (line 260) | func TestRLSKey(t *testing.T) { function TestMapToString (line 371) | func TestMapToString(t *testing.T) { function TestBuilderMapEqual (line 418) | func TestBuilderMapEqual(t *testing.T) { function TestBuilderEqual (line 505) | func TestBuilderEqual(t *testing.T) { function TestMatcherEqual (line 604) | func TestMatcherEqual(t *testing.T) { FILE: balancer/rls/internal/test/e2e/rls_child_policy.go constant RLSChildPolicyTargetNameField (line 36) | RLSChildPolicyTargetNameField = "Backend" constant RLSChildPolicyBadTarget (line 39) | RLSChildPolicyBadTarget = "bad-target" type BalancerFuncs (line 48) | type BalancerFuncs struct function RegisterRLSChildPolicy (line 59) | func RegisterRLSChildPolicy(name string, bf *BalancerFuncs) { type bb (line 63) | type bb struct method Name (line 68) | func (bb bb) Name() string { return bb.name } method Build (line 70) | func (bb bb) Build(cc balancer.ClientConn, opts balancer.BuildOptions)... method ParseConfig (line 81) | func (bb bb) ParseConfig(c json.RawMessage) (serviceconfig.LoadBalanci... type bal (line 92) | type bal struct method UpdateClientConnState (line 105) | func (b *bal) UpdateClientConnState(c balancer.ClientConnState) error { method Close (line 118) | func (b *bal) Close() { method run (line 129) | func (b *bal) run() { type RLSChildPolicyConfig (line 99) | type RLSChildPolicyConfig struct FILE: balancer/rls/internal/test/e2e/rls_lb_config.go type RLSConfig (line 34) | type RLSConfig struct method ServiceConfigJSON (line 43) | func (c *RLSConfig) ServiceConfigJSON() (string, error) { method LoadBalancingConfig (line 75) | func (c *RLSConfig) LoadBalancingConfig() (serviceconfig.LoadBalancing... FILE: balancer/rls/metrics_test.go function metricsDataFromReader (line 39) | func metricsDataFromReader(ctx context.Context, reader *metric.ManualRea... method TestRLSTargetPickMetric (line 55) | func (s) TestRLSTargetPickMetric(t *testing.T) { method TestRLSDefaultTargetPickMetric (line 166) | func (s) TestRLSDefaultTargetPickMetric(t *testing.T) { method TestRLSFailedRPCMetric (line 275) | func (s) TestRLSFailedRPCMetric(t *testing.T) { FILE: balancer/rls/picker.go type exitIdler (line 47) | type exitIdler interface type rlsPicker (line 53) | type rlsPicker struct method Pick (line 82) | func (p *rlsPicker) Pick(info balancer.PickInfo) (balancer.PickResult,... method delegateToChildPoliciesLocked (line 187) | func (p *rlsPicker) delegateToChildPoliciesLocked(dcEntry *cacheEntry,... method useDefaultPickIfPossible (line 229) | func (p *rlsPicker) useDefaultPickIfPossible(info balancer.PickInfo, e... method sendRouteLookupRequestLocked (line 252) | func (p *rlsPicker) sendRouteLookupRequestLocked(cacheKey cacheKey, bs... method handleRouteLookupResponse (line 272) | func (p *rlsPicker) handleRouteLookupResponse(cacheKey cacheKey, targe... method setChildPolicyWrappersInCacheEntry (line 362) | func (p *rlsPicker) setChildPolicyWrappersInCacheEntry(dcEntry *cacheE... function isFullMethodNameValid (line 77) | func isFullMethodNameValid(name string) bool { function errToPickResult (line 169) | func errToPickResult(err error) string { function dcEntrySize (line 395) | func dcEntrySize(key cacheKey, entry *cacheEntry) int64 { FILE: balancer/rls/picker_test.go method TestNoNonEmptyTargetsReturnsError (line 50) | func (s) TestNoNonEmptyTargetsReturnsError(t *testing.T) { method TestPick_DataCacheMiss_NoPendingEntry_ThrottledWithDefaultTarget (line 81) | func (s) TestPick_DataCacheMiss_NoPendingEntry_ThrottledWithDefaultTarge... method TestPick_DataCacheMiss_NoPendingEntry_ThrottledWithoutDefaultTarget (line 113) | func (s) TestPick_DataCacheMiss_NoPendingEntry_ThrottledWithoutDefaultTa... method TestPick_DataCacheMiss_NoPendingEntry_NotThrottled (line 144) | func (s) TestPick_DataCacheMiss_NoPendingEntry_NotThrottled(t *testing.T) { method TestPick_DataCacheMiss_PendingEntryExists (line 175) | func (s) TestPick_DataCacheMiss_PendingEntryExists(t *testing.T) { method Test_RLSDefaultTargetPicksMetric (line 256) | func (s) Test_RLSDefaultTargetPicksMetric(t *testing.T) { method Test_RLSTargetPicksMetric (line 297) | func (s) Test_RLSTargetPicksMetric(t *testing.T) { method Test_RLSFailedPicksMetric (line 342) | func (s) Test_RLSFailedPicksMetric(t *testing.T) { method TestPick_DataCacheHit_NoPendingEntry_ValidEntry (line 381) | func (s) TestPick_DataCacheHit_NoPendingEntry_ValidEntry(t *testing.T) { method TestPick_DataCacheHit_NoPendingEntry_ValidEntry_WithHeaderData (line 423) | func (s) TestPick_DataCacheHit_NoPendingEntry_ValidEntry_WithHeaderData(... method TestPick_DataCacheHit_NoPendingEntry_StaleEntry (line 480) | func (s) TestPick_DataCacheHit_NoPendingEntry_StaleEntry(t *testing.T) { method TestPick_DataCacheHit_NoPendingEntry_ExpiredEntry (line 577) | func (s) TestPick_DataCacheHit_NoPendingEntry_ExpiredEntry(t *testing.T) { method TestPick_DataCacheHit_NoPendingEntry_ExpiredEntryInBackoff (line 684) | func (s) TestPick_DataCacheHit_NoPendingEntry_ExpiredEntryInBackoff(t *t... method TestPick_DataCacheHit_PendingEntryExists_StaleEntry (line 772) | func (s) TestPick_DataCacheHit_PendingEntryExists_StaleEntry(t *testing.... method TestPick_DataCacheHit_PendingEntryExists_ExpiredEntry (line 872) | func (s) TestPick_DataCacheHit_PendingEntryExists_ExpiredEntry(t *testin... function TestIsFullMethodNameValid (line 976) | func TestIsFullMethodNameValid(t *testing.T) { method TestChildPickResultError (line 1014) | func (s) TestChildPickResultError(t *testing.T) { FILE: balancer/roundrobin/roundrobin.go constant Name (line 35) | Name = "round_robin" function init (line 39) | func init() { type builder (line 43) | type builder struct method Name (line 45) | func (bb builder) Name() string { method Build (line 49) | func (bb builder) Build(cc balancer.ClientConn, opts balancer.BuildOpt... type rrBalancer (line 60) | type rrBalancer struct method UpdateClientConnState (line 66) | func (b *rrBalancer) UpdateClientConnState(ccs balancer.ClientConnStat... FILE: balancer/subconn.go type SubConn (line 51) | type SubConn interface type ProducerBuilder (line 96) | type ProducerBuilder interface type SubConnState (line 108) | type SubConnState struct type Producer (line 120) | type Producer FILE: balancer/weightedroundrobin/balancer.go constant Name (line 57) | Name = "weighted_round_robin" function init (line 96) | func init() { type bb (line 100) | type bb struct method Build (line 102) | func (bb) Build(cc balancer.ClientConn, bOpts balancer.BuildOptions) b... method ParseConfig (line 120) | func (bb) ParseConfig(js json.RawMessage) (serviceconfig.LoadBalancing... method Name (line 151) | func (bb) Name() string { type wrrBalancer (line 205) | type wrrBalancer struct method updateEndpointsLocked (line 159) | func (b *wrrBalancer) updateEndpointsLocked(endpoints []resolver.Endpo... method UpdateClientConnState (line 224) | func (b *wrrBalancer) UpdateClientConnState(ccs balancer.ClientConnSta... method UpdateState (line 251) | func (b *wrrBalancer) UpdateState(state balancer.State) { method NewSubConn (line 317) | func (b *wrrBalancer) NewSubConn(addrs []resolver.Address, opts balanc... method ResolverError (line 343) | func (b *wrrBalancer) ResolverError(err error) { method UpdateSubConnState (line 351) | func (b *wrrBalancer) UpdateSubConnState(sc balancer.SubConn, state ba... method updateSubConnState (line 355) | func (b *wrrBalancer) updateSubConnState(sc balancer.SubConn, state ba... method Close (line 406) | func (b *wrrBalancer) Close() { method ExitIdle (line 426) | func (b *wrrBalancer) ExitIdle() { type pickerWeightedEndpoint (line 312) | type pickerWeightedEndpoint struct type picker (line 433) | type picker struct method endpointWeights (line 447) | func (p *picker) endpointWeights(recordMetrics bool) []float64 { method Pick (line 456) | func (p *picker) Pick(info balancer.PickInfo) (balancer.PickResult, er... method inc (line 481) | func (p *picker) inc() uint32 { method regenerateScheduler (line 485) | func (p *picker) regenerateScheduler() { method start (line 490) | func (p *picker) start(stopPicker *grpcsync.Event) { type endpointWeight (line 516) | type endpointWeight struct method OnLoadReport (line 546) | func (w *endpointWeight) OnLoadReport(load *v3orcapb.OrcaLoadReport) { method updateConfig (line 579) | func (w *endpointWeight) updateConfig(cfg *lbConfig) { method updateORCAListener (line 597) | func (w *endpointWeight) updateORCAListener(cfg *lbConfig) { method weight (line 620) | func (w *endpointWeight) weight(now time.Time, weightExpirationPeriod,... type backendServiceKey (line 659) | type backendServiceKey struct function SetBackendService (line 663) | func SetBackendService(state resolver.State, backendService string) reso... function backendServiceFromState (line 670) | func backendServiceFromState(state resolver.State) string { FILE: balancer/weightedroundrobin/balancer_test.go type s (line 47) | type s struct method TestBalancer_OneAddress (line 173) | func (s) TestBalancer_OneAddress(t *testing.T) { method TestWRRMetricsBasic (line 220) | func (s) TestWRRMetricsBasic(t *testing.T) { method TestBalancer_TwoAddresses_ReportingDisabled (line 255) | func (s) TestBalancer_TwoAddresses_ReportingDisabled(t *testing.T) { method TestBalancer_TwoAddresses_ReportingEnabledPerCall (line 277) | func (s) TestBalancer_TwoAddresses_ReportingEnabledPerCall(t *testing.... method TestBalancer_TwoAddresses_ReportingEnabledOOB (line 309) | func (s) TestBalancer_TwoAddresses_ReportingEnabledOOB(t *testing.T) { method TestBalancer_TwoAddresses_UpdateLoads (line 367) | func (s) TestBalancer_TwoAddresses_UpdateLoads(t *testing.T) { method TestBalancer_TwoAddresses_OOBThenPerCall (line 412) | func (s) TestBalancer_TwoAddresses_OOBThenPerCall(t *testing.T) { method TestEndpoints_SharedAddress (line 466) | func (s) TestEndpoints_SharedAddress(t *testing.T) { method TestEndpoints_MultipleAddresses (line 495) | func (s) TestEndpoints_MultipleAddresses(t *testing.T) { method TestBalancer_TwoAddresses_ErrorPenalty (line 524) | func (s) TestBalancer_TwoAddresses_ErrorPenalty(t *testing.T) { method TestBalancer_TwoAddresses_BlackoutPeriod (line 579) | func (s) TestBalancer_TwoAddresses_BlackoutPeriod(t *testing.T) { method TestBalancer_TwoAddresses_WeightExpiration (line 658) | func (s) TestBalancer_TwoAddresses_WeightExpiration(t *testing.T) { method TestBalancer_AddressesChanging (line 724) | func (s) TestBalancer_AddressesChanging(t *testing.T) { function Test (line 51) | func Test(t *testing.T) { constant defaultTestTimeout (line 55) | defaultTestTimeout = 10 * time.Second constant weightUpdatePeriod (line 56) | weightUpdatePeriod = 50 * time.Millisecond constant weightExpirationPeriod (line 57) | weightExpirationPeriod = time.Minute constant oobReportingInterval (line 58) | oobReportingInterval = 10 * time.Millisecond function init (line 60) | func init() { function boolp (line 64) | func boolp(b bool) *bool { return &b } function float64p (line 65) | func float64p(f float64) *float64 { return &f } function stringp (line 66) | func stringp(s string) *string { return &s } type testServer (line 95) | type testServer struct type reportType (line 102) | type reportType constant reportNone (line 105) | reportNone reportType = iota constant reportOOB (line 106) | reportOOB constant reportCall (line 107) | reportCall constant reportBoth (line 108) | reportBoth function startServer (line 111) | func startServer(t *testing.T, r reportType) *testServer { function svcConfig (line 160) | func svcConfig(t *testing.T, wrrCfg iwrr.LBConfig) string { function ensureReached (line 789) | func ensureReached(ctx context.Context, t *testing.T, c testgrpc.TestSer... type srvWeight (line 801) | type srvWeight struct constant rrIterations (line 806) | rrIterations = 100 function checkWeights (line 811) | func checkWeights(ctx context.Context, t *testing.T, sws ...srvWeight) { function init (line 856) | func init() { function timeNow (line 863) | func timeNow() time.Time { function setTimeNow (line 867) | func setTimeNow(f func() time.Time) { FILE: balancer/weightedroundrobin/config.go type lbConfig (line 26) | type lbConfig struct FILE: balancer/weightedroundrobin/internal/internal.go type LBConfig (line 33) | type LBConfig struct FILE: balancer/weightedroundrobin/logging.go constant prefix (line 28) | prefix = "[%p] " function prefixLogger (line 32) | func prefixLogger(p *wrrBalancer) *internalgrpclog.PrefixLogger { FILE: balancer/weightedroundrobin/metrics_test.go type s (line 30) | type s struct method TestWRR_Metrics_SubConnWeight (line 41) | func (s) TestWRR_Metrics_SubConnWeight(t *testing.T) { method TestWRR_Metrics_Scheduler_RR_Fallback (line 138) | func (s) TestWRR_Metrics_Scheduler_RR_Fallback(t *testing.T) { function Test (line 34) | func Test(t *testing.T) { FILE: balancer/weightedroundrobin/scheduler.go type scheduler (line 25) | type scheduler interface method newScheduler (line 34) | func (p *picker) newScheduler(recordMetrics bool) scheduler { constant maxWeight (line 92) | maxWeight = math.MaxUint16 type edfScheduler (line 97) | type edfScheduler struct method nextIndex (line 103) | func (s *edfScheduler) nextIndex() int { type rrScheduler (line 138) | type rrScheduler struct method nextIndex (line 143) | func (s *rrScheduler) nextIndex() int { FILE: balancer/weightedtarget/logging.go constant prefix (line 28) | prefix = "[weighted-target-lb %p] " function prefixLogger (line 32) | func prefixLogger(p *weightedTargetBalancer) *internalgrpclog.PrefixLogg... FILE: balancer/weightedtarget/weightedaggregator/aggregator.go type weightedPickerState (line 40) | type weightedPickerState struct method String (line 51) | func (s *weightedPickerState) String() string { type Aggregator (line 56) | type Aggregator struct method Start (line 94) | func (wbsa *Aggregator) Start() { method Stop (line 102) | func (wbsa *Aggregator) Stop() { method Add (line 111) | func (wbsa *Aggregator) Add(id string, weight uint32) { method Remove (line 132) | func (wbsa *Aggregator) Remove(id string) { method UpdateWeight (line 151) | func (wbsa *Aggregator) UpdateWeight(id string, newWeight uint32) { method PauseStateUpdates (line 164) | func (wbsa *Aggregator) PauseStateUpdates() { method ResumeStateUpdates (line 173) | func (wbsa *Aggregator) ResumeStateUpdates() { method NeedUpdateStateOnResume (line 184) | func (wbsa *Aggregator) NeedUpdateStateOnResume() { method UpdateState (line 194) | func (wbsa *Aggregator) UpdateState(id string, newState balancer.State) { method clearStates (line 221) | func (wbsa *Aggregator) clearStates() { method buildAndUpdateLocked (line 235) | func (wbsa *Aggregator) buildAndUpdateLocked() { method build (line 252) | func (wbsa *Aggregator) build() balancer.State { function New (line 82) | func New(cc balancer.ClientConn, logger *grpclog.PrefixLogger, newWRR fu... type weightedPickerGroup (line 292) | type weightedPickerGroup struct method Pick (line 312) | func (pg *weightedPickerGroup) Pick(info balancer.PickInfo) (balancer.... function newWeightedPickerGroup (line 301) | func newWeightedPickerGroup(readyWeightedPickers []weightedPickerState, ... FILE: balancer/weightedtarget/weightedtarget.go constant Name (line 41) | Name = "weighted_target_experimental" function init (line 47) | func init() { type bb (line 51) | type bb struct method Build (line 53) | func (bb) Build(cc balancer.ClientConn, bOpts balancer.BuildOptions) b... method Name (line 69) | func (bb) Name() string { method ParseConfig (line 73) | func (bb) ParseConfig(c json.RawMessage) (serviceconfig.LoadBalancingC... type weightedTargetBalancer (line 77) | type weightedTargetBalancer struct method UpdateClientConnState (line 100) | func (b *weightedTargetBalancer) UpdateClientConnState(s balancer.Clie... method ResolverError (line 181) | func (b *weightedTargetBalancer) ResolverError(err error) { method UpdateSubConnState (line 185) | func (b *weightedTargetBalancer) UpdateSubConnState(sc balancer.SubCon... method Close (line 189) | func (b *weightedTargetBalancer) Close() { method ExitIdle (line 194) | func (b *weightedTargetBalancer) ExitIdle() { type localityKeyType (line 86) | type localityKeyType constant localityKey (line 88) | localityKey = localityKeyType("locality") function LocalityFromResolverState (line 92) | func LocalityFromResolverState(state resolver.State) string { FILE: balancer/weightedtarget/weightedtarget_config.go type Target (line 29) | type Target struct type LBConfig (line 37) | type LBConfig struct function parseConfig (line 43) | func parseConfig(c json.RawMessage) (*LBConfig, error) { FILE: balancer/weightedtarget/weightedtarget_config_test.go constant testJSONConfig (line 32) | testJSONConfig = `{ method TestParseConfig (line 57) | func (s) TestParseConfig(t *testing.T) { FILE: balancer/weightedtarget/weightedtarget_test.go constant defaultTestTimeout (line 52) | defaultTestTimeout = 5 * time.Second type s (line 55) | type s struct method TestWeightedTarget_NoTargets (line 177) | func (s) TestWeightedTarget_NoTargets(t *testing.T) { method TestWeightedTarget (line 212) | func (s) TestWeightedTarget(t *testing.T) { method TestWeightedTarget_OneSubBalancer_AddRemoveBackend (line 399) | func (s) TestWeightedTarget_OneSubBalancer_AddRemoveBackend(t *testing... method TestWeightedTarget_TwoSubBalancers_OneBackend (line 501) | func (s) TestWeightedTarget_TwoSubBalancers_OneBackend(t *testing.T) { method TestWeightedTarget_TwoSubBalancers_MoreBackends (line 570) | func (s) TestWeightedTarget_TwoSubBalancers_MoreBackends(t *testing.T) { method TestWeightedTarget_TwoSubBalancers_DifferentWeight_MoreBackends (line 732) | func (s) TestWeightedTarget_TwoSubBalancers_DifferentWeight_MoreBacken... method TestWeightedTarget_ThreeSubBalancers_RemoveBalancer (line 815) | func (s) TestWeightedTarget_ThreeSubBalancers_RemoveBalancer(t *testin... method TestWeightedTarget_TwoSubBalancers_ChangeWeight_MoreBackends (line 991) | func (s) TestWeightedTarget_TwoSubBalancers_ChangeWeight_MoreBackends(... method TestWeightedTarget_InitOneSubBalancerTransientFailure (line 1111) | func (s) TestWeightedTarget_InitOneSubBalancerTransientFailure(t *test... method TestBalancerGroup_SubBalancerTurnsConnectingFromTransientFailure (line 1175) | func (s) TestBalancerGroup_SubBalancerTurnsConnectingFromTransientFail... method TestInitialIdle (line 1381) | func (s) TestInitialIdle(t *testing.T) { method TestIgnoreSubBalancerStateTransitions (line 1424) | func (s) TestIgnoreSubBalancerStateTransitions(t *testing.T) { method TestUpdateStatePauses (line 1476) | func (s) TestUpdateStatePauses(t *testing.T) { function Test (line 59) | func Test(t *testing.T) { type testConfigBalancerBuilder (line 63) | type testConfigBalancerBuilder struct method Build (line 87) | func (t *testConfigBalancerBuilder) Build(cc balancer.ClientConn, opts... method Name (line 96) | func (t *testConfigBalancerBuilder) Name() string { method ParseConfig (line 105) | func (t *testConfigBalancerBuilder) ParseConfig(c json.RawMessage) (se... function newTestConfigBalancerBuilder (line 67) | func newTestConfigBalancerBuilder() *testConfigBalancerBuilder { function pickAndCheckError (line 75) | func pickAndCheckError(want error) func(balancer.Picker) error { constant testConfigBalancerName (line 94) | testConfigBalancerName = "test_config_balancer" type stringBalancerConfig (line 100) | type stringBalancerConfig struct type testConfigBalancer (line 115) | type testConfigBalancer struct method UpdateClientConnState (line 134) | func (b *testConfigBalancer) UpdateClientConnState(s balancer.ClientCo... method Close (line 151) | func (b *testConfigBalancer) Close() { type configKey (line 121) | type configKey struct function setConfigKey (line 123) | func setConfigKey(addr resolver.Address, config string) resolver.Address { function getConfigKey (line 128) | func getConfigKey(attr *attributes.Attributes) (string, bool) { constant testBackendAddrsCount (line 161) | testBackendAddrsCount = 12 function init (line 163) | func init() { function verifyAddressInNewSubConn (line 1261) | func verifyAddressInNewSubConn(t *testing.T, cc *testutils.BalancerClien... type subConnWithAddr (line 1273) | type subConnWithAddr struct function waitForNewSubConns (line 1284) | func waitForNewSubConns(ctx context.Context, t *testing.T, cc *testutils... function verifySubConnAddrs (line 1314) | func verifySubConnAddrs(t *testing.T, scs map[string][]subConnWithAddr, ... function scwasToAddrs (line 1335) | func scwasToAddrs(ss []subConnWithAddr) []string { function addressesToAddrs (line 1343) | func addressesToAddrs(as []resolver.Address) []string { constant initIdleBalancerName (line 1351) | initIdleBalancerName = "test-init-Idle-balancer" function init (line 1355) | func init() { type tcc (line 1466) | type tcc struct method UpdateState (line 1471) | func (t *tcc) UpdateState(bs balancer.State) { FILE: balancer_wrapper.go type ccBalancerWrapper (line 61) | type ccBalancerWrapper struct method MetricsRecorder (line 104) | func (ccb *ccBalancerWrapper) MetricsRecorder() stats.MetricsRecorder { method updateClientConnState (line 111) | func (ccb *ccBalancerWrapper) updateClientConnState(ccs *balancer.Clie... method resolverError (line 143) | func (ccb *ccBalancerWrapper) resolverError(err error) { method close (line 155) | func (ccb *ccBalancerWrapper) close() { method exitIdle (line 171) | func (ccb *ccBalancerWrapper) exitIdle() { method NewSubConn (line 180) | func (ccb *ccBalancerWrapper) NewSubConn(addrs []resolver.Address, opt... method RemoveSubConn (line 210) | func (ccb *ccBalancerWrapper) RemoveSubConn(balancer.SubConn) { method UpdateAddresses (line 215) | func (ccb *ccBalancerWrapper) UpdateAddresses(sc balancer.SubConn, add... method UpdateState (line 223) | func (ccb *ccBalancerWrapper) UpdateState(s balancer.State) { method ResolveNow (line 250) | func (ccb *ccBalancerWrapper) ResolveNow(o resolver.ResolveNowOptions) { method Target (line 263) | func (ccb *ccBalancerWrapper) Target() string { function newCCBalancerWrapper (line 84) | func newCCBalancerWrapper(cc *ClientConn) *ccBalancerWrapper { type acBalancerWrapper (line 269) | type acBalancerWrapper struct method updateState (line 307) | func (acbw *acBalancerWrapper) updateState(s connectivity.State, err e... method String (line 341) | func (acbw *acBalancerWrapper) String() string { method UpdateAddresses (line 345) | func (acbw *acBalancerWrapper) UpdateAddresses(addrs []resolver.Addres... method Connect (line 349) | func (acbw *acBalancerWrapper) Connect() { method Shutdown (line 353) | func (acbw *acBalancerWrapper) Shutdown() { method NewStream (line 361) | func (acbw *acBalancerWrapper) NewStream(ctx context.Context, desc *St... method Invoke (line 372) | func (acbw *acBalancerWrapper) Invoke(ctx context.Context, method stri... method GetOrBuildProducer (line 389) | func (acbw *acBalancerWrapper) GetOrBuildProducer(pb balancer.Producer... method closeProducers (line 422) | func (acbw *acBalancerWrapper) closeProducers() { method healthListenerRegFn (line 445) | func (acbw *acBalancerWrapper) healthListenerRegFn() func(context.Cont... method RegisterHealthListener (line 469) | func (acbw *acBalancerWrapper) RegisterHealthListener(listener func(ba... type healthData (line 287) | type healthData struct function newHealthData (line 298) | func newHealthData(s connectivity.State) *healthData { type refCountedProducer (line 383) | type refCountedProducer struct FILE: balancer_wrapper_test.go method TestBalancer_StateListenerBeforeConnect (line 36) | func (s) TestBalancer_StateListenerBeforeConnect(t *testing.T) { FILE: benchmark/benchmain/main.go constant workloadsUnary (line 127) | workloadsUnary = "unary" constant workloadsStreaming (line 128) | workloadsStreaming = "streaming" constant workloadsUnconstrained (line 129) | workloadsUnconstrained = "unconstrained" constant workloadsAll (line 130) | workloadsAll = "all" constant compModeOff (line 132) | compModeOff = "off" constant compModeGzip (line 133) | compModeGzip = "gzip" constant compModeNop (line 134) | compModeNop = "nop" constant compModeAll (line 135) | compModeAll = "all" constant toggleModeOff (line 137) | toggleModeOff = "off" constant toggleModeOn (line 138) | toggleModeOn = "on" constant toggleModeBoth (line 139) | toggleModeBoth = "both" constant networkModeNone (line 141) | networkModeNone = "none" constant networkModeLocal (line 142) | networkModeLocal = "Local" constant networkModeLAN (line 143) | networkModeLAN = "LAN" constant networkModeWAN (line 144) | networkModeWAN = "WAN" constant networkLongHaul (line 145) | networkLongHaul = "Longhaul" constant recvBufferPoolNil (line 147) | recvBufferPoolNil = "nil" constant recvBufferPoolSimple (line 148) | recvBufferPoolSimple = "simple" constant recvBufferPoolAll (line 149) | recvBufferPoolAll = "all" constant numStatsBuckets (line 151) | numStatsBuckets = 10 constant warmupCallCount (line 152) | warmupCallCount = 10 constant warmuptime (line 153) | warmuptime = time.Second type swappableBufferPool (line 158) | type swappableBufferPool struct method Get (line 162) | func (p swappableBufferPool) Get(length int) *[]byte { method Put (line 172) | func (p swappableBufferPool) Put(i *[]byte) { function init (line 179) | func init() { type runModes (line 210) | type runModes struct function runModesFromWorkloads (line 216) | func runModesFromWorkloads(workload string) runModes { type startFunc (line 236) | type startFunc type stopFunc (line 237) | type stopFunc type ucStopFunc (line 238) | type ucStopFunc type rpcCallFunc (line 239) | type rpcCallFunc type rpcSendFunc (line 240) | type rpcSendFunc type rpcRecvFunc (line 241) | type rpcRecvFunc type rpcCleanupFunc (line 242) | type rpcCleanupFunc function unaryBenchmark (line 244) | func unaryBenchmark(start startFunc, stop stopFunc, bf stats.Features, s... function streamBenchmark (line 250) | func streamBenchmark(start startFunc, stop stopFunc, bf stats.Features, ... function unconstrainedStreamBenchmark (line 256) | func unconstrainedStreamBenchmark(start startFunc, stop ucStopFunc, bf s... function makeClients (line 317) | func makeClients(bf stats.Features) ([]testgrpc.BenchmarkServiceClient, ... function makeFuncUnary (line 419) | func makeFuncUnary(bf stats.Features) (rpcCallFunc, rpcCleanupFunc) { function makeFuncStream (line 434) | func makeFuncStream(bf stats.Features) (rpcCallFunc, rpcCleanupFunc) { function makeFuncUnconstrainedStreamPreloaded (line 466) | func makeFuncUnconstrainedStreamPreloaded(bf stats.Features) (rpcSendFun... function makeFuncUnconstrainedStream (line 478) | func makeFuncUnconstrainedStream(bf stats.Features) (rpcSendFunc, rpcRec... function setupStream (line 488) | func setupStream(bf stats.Features, unconstrained bool) ([][]testgrpc.Be... function prepareMessages (line 523) | func prepareMessages(streams [][]testgrpc.BenchmarkService_StreamingCall... function unaryCaller (line 539) | func unaryCaller(client testgrpc.BenchmarkServiceClient, reqSize, respSi... function streamCaller (line 545) | func streamCaller(stream testgrpc.BenchmarkService_StreamingCallClient, ... function runBenchmark (line 551) | func runBenchmark(caller rpcCallFunc, start startFunc, stop stopFunc, bf... type benchOpts (line 598) | type benchOpts struct method generateFeatures (line 720) | func (b *benchOpts) generateFeatures(featuresNum []int) []stats.Featur... type featureOpts (line 616) | type featureOpts struct function makeFeaturesNum (line 644) | func makeFeaturesNum(b *benchOpts) []int { function sharedFeatures (line 697) | func sharedFeatures(featuresNum []int) []bool { function addOne (line 777) | func addOne(features []int, featuresMaxPosition []int) { function processFlags (line 795) | func processFlags() *benchOpts { function setToggleMode (line 883) | func setToggleMode(val string) []bool { function setCompressorMode (line 898) | func setCompressorMode(val string) []string { function setRecvBufferPool (line 911) | func setRecvBufferPool(val string) []string { function main (line 924) | func main() { function before (line 956) | func before(opts *benchOpts) { function after (line 974) | func after(opts *benchOpts, data []stats.BenchResults) { type nopCompressor (line 1003) | type nopCompressor struct method Do (line 1005) | func (nopCompressor) Do(w io.Writer, p []byte) error { method Type (line 1016) | func (nopCompressor) Type() string { return compModeNop } type nopDecompressor (line 1019) | type nopDecompressor struct method Do (line 1021) | func (nopDecompressor) Do(r io.Reader) ([]byte, error) { return io.Rea... method Type (line 1022) | func (nopDecompressor) Type() string { return compMo... FILE: benchmark/benchmark.go function setPayload (line 47) | func setPayload(p *testpb.Payload, t testpb.PayloadType, size int) { function NewPayload (line 62) | func NewPayload(t testpb.PayloadType, size int) *testpb.Payload { type testServer (line 68) | type testServer struct method UnaryCall (line 72) | func (s *testServer) UnaryCall(_ context.Context, in *testpb.SimpleReq... method StreamingCall (line 92) | func (s *testServer) StreamingCall(stream testgrpc.BenchmarkService_St... method UnconstrainedStreamingCall (line 139) | func (s *testServer) UnconstrainedStreamingCall(stream testgrpc.Benchm... constant UnconstrainedStreamingHeader (line 81) | UnconstrainedStreamingHeader = "unconstrained-streaming" constant UnconstrainedStreamingDelayHeader (line 85) | UnconstrainedStreamingDelayHeader = "unconstrained-streaming-delay" constant PreloadMsgSizeHeader (line 90) | PreloadMsgSizeHeader = "preload-msg-size" type byteBufServer (line 214) | type byteBufServer struct method UnaryCall (line 221) | func (s *byteBufServer) UnaryCall(context.Context, *testpb.SimpleReque... method StreamingCall (line 225) | func (s *byteBufServer) StreamingCall(stream testgrpc.BenchmarkService... type ServerInfo (line 243) | type ServerInfo struct function StartServer (line 259) | func StartServer(info ServerInfo, opts ...grpc.ServerOption) func() { function DoUnaryCall (line 280) | func DoUnaryCall(tc testgrpc.BenchmarkServiceClient, reqSize, respSize i... function DoStreamingRoundTrip (line 294) | func DoStreamingRoundTrip(stream testgrpc.BenchmarkService_StreamingCall... function DoStreamingRoundTripPreloaded (line 305) | func DoStreamingRoundTripPreloaded(stream testgrpc.BenchmarkService_Stre... function DoByteBufStreamingRoundTrip (line 321) | func DoByteBufStreamingRoundTrip(stream testgrpc.BenchmarkService_Stream... function NewClientConn (line 338) | func NewClientConn(addr string, opts ...grpc.DialOption) *grpc.ClientConn { function NewClientConnWithContext (line 343) | func NewClientConnWithContext(_ context.Context, addr string, opts ...gr... FILE: benchmark/benchresult/main.go function createMap (line 43) | func createMap(fileName string) map[string]stats.BenchResults { function intChange (line 61) | func intChange(title string, val1, val2 uint64) string { function floatChange (line 65) | func floatChange(title string, val1, val2 float64) string { function timeChange (line 68) | func timeChange(title string, val1, val2 time.Duration) string { function strDiff (line 73) | func strDiff(title, val1, val2 string) string { function compareTwoMap (line 77) | func compareTwoMap(m1, m2 map[string]stats.BenchResults) { function compareBenchmark (line 100) | func compareBenchmark(file1, file2 string) { function printHeader (line 104) | func printHeader() { function printline (line 110) | func printline(benchName string, d stats.RunData) { function formatBenchmark (line 116) | func formatBenchmark(fileName string) { function main (line 146) | func main() { FILE: benchmark/client/main.go function main (line 86) | func main() { function buildConnections (line 136) | func buildConnections(ctx context.Context) []*grpc.ClientConn { function runWithConn (line 149) | func runWithConn(cc *grpc.ClientConn, req *testpb.SimpleRequest, warmDea... function makeCaller (line 174) | func makeCaller(cc *grpc.ClientConn, req *testpb.SimpleRequest) func() { function parseHist (line 197) | func parseHist(hist *stats.Histogram) { function median (line 205) | func median(percentile float64, h *stats.Histogram) int64 { FILE: benchmark/flags/flags.go type stringFlagWithAllowedValues (line 37) | type stringFlagWithAllowedValues struct method String (line 52) | func (as *stringFlagWithAllowedValues) String() string { method Set (line 57) | func (as *stringFlagWithAllowedValues) Set(val string) error { function StringWithAllowedValues (line 45) | func StringWithAllowedValues(name, defaultVal, usage string, allowed []s... type durationSliceValue (line 67) | type durationSliceValue method Set (line 79) | func (dsv *durationSliceValue) Set(s string) error { method String (line 94) | func (dsv *durationSliceValue) String() string { function DurationSlice (line 70) | func DurationSlice(name string, defaultVal []time.Duration, usage string... type intSliceValue (line 105) | type intSliceValue method Set (line 117) | func (isv *intSliceValue) Set(s string) error { method String (line 132) | func (isv *intSliceValue) String() string { function IntSlice (line 108) | func IntSlice(name string, defaultVal []int, usage string) *[]int { type stringSliceValue (line 143) | type stringSliceValue method Set (line 166) | func (ss *stringSliceValue) Set(str string) error { method String (line 176) | func (ss *stringSliceValue) String() string { function StringSlice (line 146) | func StringSlice(name string, defaultVal []string, usage string) *[]stri... function escapedCommaSplit (line 156) | func escapedCommaSplit(str string) ([]string, error) { FILE: benchmark/flags/flags_test.go type s (line 30) | type s struct method TestStringWithAllowedValues (line 38) | func (s) TestStringWithAllowedValues(t *testing.T) { method TestDurationSlice (line 67) | func (s) TestDurationSlice(t *testing.T) { method TestIntSlice (line 96) | func (s) TestIntSlice(t *testing.T) { method TestStringSlice (line 125) | func (s) TestStringSlice(t *testing.T) { function Test (line 34) | func Test(t *testing.T) { FILE: benchmark/latency/latency.go type Dialer (line 35) | type Dialer type TimeoutDialer (line 38) | type TimeoutDialer type ContextDialer (line 42) | type ContextDialer type Network (line 59) | type Network struct method isLocal (line 76) | func (n *Network) isLocal() bool { method Conn (line 84) | func (n *Network) Conn(c net.Conn) (net.Conn, error) { method Listener (line 255) | func (n *Network) Listener(l net.Listener) net.Listener { method Dialer (line 277) | func (n *Network) Dialer(d Dialer) Dialer { method TimeoutDialer (line 293) | func (n *Network) TimeoutDialer(d TimeoutDialer) TimeoutDialer { method ContextDialer (line 309) | func (n *Network) ContextDialer(d ContextDialer) ContextDialer { method pktTime (line 324) | func (n *Network) pktTime(b int) time.Duration { type conn (line 97) | type conn struct method Write (line 112) | func (c *conn) Write(p []byte) (n int, err error) { method Read (line 146) | func (c *conn) Read(p []byte) (n int, err error) { method sync (line 164) | func (c *conn) sync() error { type header (line 107) | type header struct type listener (line 262) | type listener struct method Accept (line 267) | func (l *listener) Accept() (net.Conn, error) { FILE: benchmark/latency/latency_test.go type s (line 33) | type s struct method TestConn (line 62) | func (s) TestConn(t *testing.T) { method TestSync (line 135) | func (s) TestSync(t *testing.T) { method TestSyncTooSlow (line 158) | func (s) TestSyncTooSlow(t *testing.T) { method TestListenerAndDialer (line 179) | func (s) TestListenerAndDialer(t *testing.T) { method TestBufferBloat (line 305) | func (s) TestBufferBloat(t *testing.T) { function Test (line 37) | func Test(t *testing.T) { type bufConn (line 42) | type bufConn struct method Close (line 46) | func (bufConn) Close() error { panic("unimplemente... method LocalAddr (line 47) | func (bufConn) LocalAddr() net.Addr { panic("unimplemente... method RemoteAddr (line 48) | func (bufConn) RemoteAddr() net.Addr { panic("unimplemente... method SetDeadline (line 49) | func (bufConn) SetDeadline(time.Time) error { panic("unimplemente... method SetReadDeadline (line 50) | func (bufConn) SetReadDeadline(time.Time) error { panic("unimplemente... method SetWriteDeadline (line 51) | func (bufConn) SetWriteDeadline(time.Time) error { panic("unimplemente... function restoreHooks (line 53) | func restoreHooks() func() { FILE: benchmark/primitives/code_string_test.go type codeBench (line 28) | type codeBench method String (line 55) | func (i codeBench) String() string { method StringUsingMap (line 82) | func (i codeBench) StringUsingMap() string { constant OK (line 31) | OK codeBench = iota constant Canceled (line 32) | Canceled constant Unknown (line 33) | Unknown constant InvalidArgument (line 34) | InvalidArgument constant DeadlineExceeded (line 35) | DeadlineExceeded constant NotFound (line 36) | NotFound constant AlreadyExists (line 37) | AlreadyExists constant PermissionDenied (line 38) | PermissionDenied constant ResourceExhausted (line 39) | ResourceExhausted constant FailedPrecondition (line 40) | FailedPrecondition constant Aborted (line 41) | Aborted constant OutOfRange (line 42) | OutOfRange constant Unimplemented (line 43) | Unimplemented constant Internal (line 44) | Internal constant Unavailable (line 45) | Unavailable constant DataLoss (line 46) | DataLoss constant Unauthenticated (line 47) | Unauthenticated constant codeName (line 51) | codeName = "OKCanceledUnknownInvalidArgumentDeadlineExceededNotFoundAlre... function BenchmarkCodeStringStringer (line 89) | func BenchmarkCodeStringStringer(b *testing.B) { function BenchmarkCodeStringMap (line 96) | func BenchmarkCodeStringMap(b *testing.B) { function BenchmarkCodeStringSwitch (line 104) | func BenchmarkCodeStringSwitch(b *testing.B) { function BenchmarkCodeStringStringerWithOverflow (line 112) | func BenchmarkCodeStringStringerWithOverflow(b *testing.B) { function BenchmarkCodeStringSwitchWithOverflow (line 120) | func BenchmarkCodeStringSwitchWithOverflow(b *testing.B) { FILE: benchmark/primitives/context_test.go constant defaultTestTimeout (line 27) | defaultTestTimeout = 10 * time.Second function BenchmarkCancelContextErrNoErr (line 29) | func BenchmarkCancelContextErrNoErr(b *testing.B) { function BenchmarkCancelContextErrGotErr (line 39) | func BenchmarkCancelContextErrGotErr(b *testing.B) { function BenchmarkCancelContextChannelNoErr (line 49) | func BenchmarkCancelContextChannelNoErr(b *testing.B) { function BenchmarkCancelContextChannelGotErr (line 61) | func BenchmarkCancelContextChannelGotErr(b *testing.B) { function BenchmarkTimerContextErrNoErr (line 76) | func BenchmarkTimerContextErrNoErr(b *testing.B) { function BenchmarkTimerContextErrGotErr (line 86) | func BenchmarkTimerContextErrGotErr(b *testing.B) { function BenchmarkTimerContextChannelNoErr (line 96) | func BenchmarkTimerContextChannelNoErr(b *testing.B) { function BenchmarkTimerContextChannelGotErr (line 108) | func BenchmarkTimerContextChannelGotErr(b *testing.B) { type ctxKey (line 123) | type ctxKey struct function newContextWithLocalKey (line 125) | func newContextWithLocalKey(parent context.Context) context.Context { function newContextWithGlobalKey (line 131) | func newContextWithGlobalKey(parent context.Context) context.Context { function BenchmarkContextWithValue (line 135) | func BenchmarkContextWithValue(b *testing.B) { FILE: benchmark/primitives/primitives_test.go function BenchmarkSelectClosed (line 32) | func BenchmarkSelectClosed(b *testing.B) { function BenchmarkSelectOpen (line 50) | func BenchmarkSelectOpen(b *testing.B) { function BenchmarkAtomicBool (line 67) | func BenchmarkAtomicBool(b *testing.B) { function BenchmarkAtomicValueLoad (line 82) | func BenchmarkAtomicValueLoad(b *testing.B) { function BenchmarkAtomicValueStore (line 98) | func BenchmarkAtomicValueStore(b *testing.B) { function BenchmarkMutex (line 108) | func BenchmarkMutex(b *testing.B) { function BenchmarkRWMutex (line 123) | func BenchmarkRWMutex(b *testing.B) { function BenchmarkRWMutexW (line 138) | func BenchmarkRWMutexW(b *testing.B) { function BenchmarkMutexWithDefer (line 153) | func BenchmarkMutexWithDefer(b *testing.B) { function BenchmarkMutexWithClosureDefer (line 170) | func BenchmarkMutexWithClosureDefer(b *testing.B) { function BenchmarkMutexWithoutDefer (line 187) | func BenchmarkMutexWithoutDefer(b *testing.B) { function BenchmarkAtomicAddInt64 (line 204) | func BenchmarkAtomicAddInt64(b *testing.B) { function BenchmarkAtomicTimeValueStore (line 216) | func BenchmarkAtomicTimeValueStore(b *testing.B) { function BenchmarkAtomic16BValueStore (line 226) | func BenchmarkAtomic16BValueStore(b *testing.B) { function BenchmarkAtomic32BValueStore (line 241) | func BenchmarkAtomic32BValueStore(b *testing.B) { function BenchmarkAtomicPointerStore (line 258) | func BenchmarkAtomicPointerStore(b *testing.B) { function BenchmarkAtomicTimePointerStore (line 268) | func BenchmarkAtomicTimePointerStore(b *testing.B) { function BenchmarkStoreContentionWithAtomic (line 278) | func BenchmarkStoreContentionWithAtomic(b *testing.B) { function BenchmarkStoreContentionWithMutex (line 288) | func BenchmarkStoreContentionWithMutex(b *testing.B) { type dummyStruct (line 303) | type dummyStruct struct function BenchmarkStructStoreContention (line 308) | func BenchmarkStructStoreContention(b *testing.B) { type myFooer (line 357) | type myFooer struct method Foo (line 359) | func (myFooer) Foo() {} type fooer (line 361) | type fooer interface function BenchmarkInterfaceTypeAssertion (line 365) | func BenchmarkInterfaceTypeAssertion(b *testing.B) { function runInterfaceTypeAssertion (line 370) | func runInterfaceTypeAssertion(b *testing.B, fer any) { function BenchmarkStructTypeAssertion (line 384) | func BenchmarkStructTypeAssertion(b *testing.B) { function runStructTypeAssertion (line 389) | func runStructTypeAssertion(b *testing.B, fer any) { function BenchmarkWaitGroupAddDone (line 403) | func BenchmarkWaitGroupAddDone(b *testing.B) { function BenchmarkRLockUnlock (line 416) | func BenchmarkRLockUnlock(b *testing.B) { type ifNop (line 429) | type ifNop interface type alwaysNop (line 433) | type alwaysNop struct method nop (line 435) | func (alwaysNop) nop() {} type concreteNop (line 437) | type concreteNop struct method nop (line 442) | func (c *concreteNop) nop() { function BenchmarkInterfaceNop (line 449) | func BenchmarkInterfaceNop(b *testing.B) { function BenchmarkConcreteNop (line 458) | func BenchmarkConcreteNop(b *testing.B) { FILE: benchmark/primitives/safe_config_selector_test.go type safeUpdaterAtomicAndCounter (line 31) | type safeUpdaterAtomicAndCounter struct method call (line 40) | func (s *safeUpdaterAtomicAndCounter) call() { method update (line 60) | func (s *safeUpdaterAtomicAndCounter) update(f func()) { type countingFunc (line 35) | type countingFunc struct type safeUpdaterRWMutex (line 70) | type safeUpdaterRWMutex struct method call (line 75) | func (s *safeUpdaterRWMutex) call() { method update (line 81) | func (s *safeUpdaterRWMutex) update(f func()) { type updater (line 87) | type updater interface function benchmarkSafeUpdater (line 92) | func benchmarkSafeUpdater(b *testing.B, u updater) { function BenchmarkSafeUpdaterAtomicAndCounter (line 108) | func BenchmarkSafeUpdaterAtomicAndCounter(b *testing.B) { function BenchmarkSafeUpdaterRWMutex (line 112) | func BenchmarkSafeUpdaterRWMutex(b *testing.B) { FILE: benchmark/primitives/syncmap_test.go type incrementUint64Map (line 26) | type incrementUint64Map interface type mapWithLock (line 31) | type mapWithLock struct method increment (line 42) | func (mwl *mapWithLock) increment(c string) { method result (line 48) | func (mwl *mapWithLock) result(c string) uint64 { function newMapWithLock (line 36) | func newMapWithLock() incrementUint64Map { type mapWithAtomicFastpath (line 52) | type mapWithAtomicFastpath struct method increment (line 63) | func (mwaf *mapWithAtomicFastpath) increment(c string) { method result (line 83) | func (mwaf *mapWithAtomicFastpath) result(c string) uint64 { function newMapWithAtomicFastpath (line 57) | func newMapWithAtomicFastpath() incrementUint64Map { type mapWithSyncMap (line 87) | type mapWithSyncMap struct method increment (line 95) | func (mwsm *mapWithSyncMap) increment(c string) { method result (line 104) | func (mwsm *mapWithSyncMap) result(c string) uint64 { function newMapWithSyncMap (line 91) | func newMapWithSyncMap() incrementUint64Map { function benchmarkIncrementUint64Map (line 109) | func benchmarkIncrementUint64Map(b *testing.B, f func() incrementUint64M... function BenchmarkMapWithSyncMutexContention (line 155) | func BenchmarkMapWithSyncMutexContention(b *testing.B) { function BenchmarkMapWithAtomicFastpath (line 159) | func BenchmarkMapWithAtomicFastpath(b *testing.B) { function BenchmarkMapWithSyncMap (line 163) | func BenchmarkMapWithSyncMap(b *testing.B) { FILE: benchmark/server/main.go function main (line 55) | func main() { FILE: benchmark/stats/curve.go type payloadCurveRange (line 34) | type payloadCurveRange struct method chooseRandom (line 72) | func (pcr *payloadCurveRange) chooseRandom() int { function newPayloadCurveRange (line 41) | func newPayloadCurveRange(line []string) (*payloadCurveRange, error) { function sha256file (line 82) | func sha256file(file string) (string, error) { type PayloadCurve (line 94) | type PayloadCurve struct method ChooseRandom (line 156) | func (pc *PayloadCurve) ChooseRandom() int { method Hash (line 172) | func (pc *PayloadCurve) Hash() string { method ShortHash (line 177) | func (pc *PayloadCurve) ShortHash() string { function NewPayloadCurve (line 103) | func NewPayloadCurve(file string) (*PayloadCurve, error) { FILE: benchmark/stats/histogram.go type Histogram (line 33) | type Histogram struct method Print (line 106) | func (h *Histogram) Print(w io.Writer) { method PrintWithUnit (line 112) | func (h *Histogram) PrintWithUnit(w io.Writer, unit float64) { method String (line 143) | func (h *Histogram) String() string { method Clear (line 150) | func (h *Histogram) Clear() { method Opts (line 162) | func (h *Histogram) Opts() HistogramOptions { method Add (line 167) | func (h *Histogram) Add(value int64) error { method findBucket (line 185) | func (h *Histogram) findBucket(value int64) (int, error) { method Merge (line 205) | func (h *Histogram) Merge(h2 *Histogram) { type HistogramOptions (line 57) | type HistogramOptions struct type HistogramBucket (line 70) | type HistogramBucket struct function NewHistogram (line 79) | func NewHistogram(opts HistogramOptions) *Histogram { FILE: benchmark/stats/stats.go type FeatureIndex (line 39) | type FeatureIndex constant EnableTraceIndex (line 43) | EnableTraceIndex FeatureIndex = iota constant ReadLatenciesIndex (line 44) | ReadLatenciesIndex constant ReadKbpsIndex (line 45) | ReadKbpsIndex constant ReadMTUIndex (line 46) | ReadMTUIndex constant MaxConcurrentCallsIndex (line 47) | MaxConcurrentCallsIndex constant ReqSizeBytesIndex (line 48) | ReqSizeBytesIndex constant RespSizeBytesIndex (line 49) | RespSizeBytesIndex constant ReqPayloadCurveIndex (line 50) | ReqPayloadCurveIndex constant RespPayloadCurveIndex (line 51) | RespPayloadCurveIndex constant CompModesIndex (line 52) | CompModesIndex constant EnableChannelzIndex (line 53) | EnableChannelzIndex constant EnablePreloaderIndex (line 54) | EnablePreloaderIndex constant ClientReadBufferSize (line 55) | ClientReadBufferSize constant ClientWriteBufferSize (line 56) | ClientWriteBufferSize constant ServerReadBufferSize (line 57) | ServerReadBufferSize constant ServerWriteBufferSize (line 58) | ServerWriteBufferSize constant SleepBetweenRPCs (line 59) | SleepBetweenRPCs constant RecvBufferPool (line 60) | RecvBufferPool constant SharedWriteBuffer (line 61) | SharedWriteBuffer constant MaxFeatureIndex (line 65) | MaxFeatureIndex type Features (line 72) | type Features struct method String (line 138) | func (f Features) String() string { method SharedFeatures (line 165) | func (f Features) SharedFeatures(wantFeatures []bool) string { method PrintableName (line 184) | func (f Features) PrintableName(wantFeatures []bool) string { method partialString (line 192) | func (f Features) partialString(b *bytes.Buffer, wantFeatures []bool, ... type BenchResults (line 249) | type BenchResults struct type RunData (line 269) | type RunData struct type durationSlice (line 302) | type durationSlice method Len (line 304) | func (a durationSlice) Len() int { return len(a) } method Swap (line 305) | func (a durationSlice) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 306) | func (a durationSlice) Less(i, j int) bool { return a[i] < a[j] } type Stats (line 309) | type Stats struct method StartRun (line 337) | func (s *Stats) StartRun(mode string, f Features, sf []bool) { method EndRun (line 353) | func (s *Stats) EndRun(count uint64) { method EndUnconstrainedRun (line 373) | func (s *Stats) EndUnconstrainedRun(req uint64, resp uint64) { method AddDuration (line 394) | func (s *Stats) AddDuration(d time.Duration) { method GetResults (line 402) | func (s *Stats) GetResults() []BenchResults { method computeLatencies (line 411) | func (s *Stats) computeLatencies(result *BenchResults) { method dump (line 449) | func (s *Stats) dump(result *BenchResults) { type histWrapper (line 318) | type histWrapper struct function NewStats (line 326) | func NewStats(numBuckets int) *Stats { FILE: benchmark/worker/benchmark_client.go type lockingHistogram (line 48) | type lockingHistogram struct method add (line 53) | func (h *lockingHistogram) add(value int64) { method swap (line 60) | func (h *lockingHistogram) swap(o *stats.Histogram) *stats.Histogram { method mergeInto (line 68) | func (h *lockingHistogram) mergeInto(merged *stats.Histogram) { type benchmarkClient (line 74) | type benchmarkClient struct method unaryLoop (line 259) | func (bc *benchmarkClient) unaryLoop(ctx context.Context, conns []*grp... method streamingLoop (line 296) | func (bc *benchmarkClient) streamingLoop(ctx context.Context, conns []... method poissonUnary (line 342) | func (bc *benchmarkClient) poissonUnary(client testgrpc.BenchmarkServi... method poissonStreaming (line 357) | func (bc *benchmarkClient) poissonStreaming(stream testgrpc.BenchmarkS... method getStats (line 375) | func (bc *benchmarkClient) getStats(reset bool) *testpb.ClientStats { method shutdown (line 426) | func (bc *benchmarkClient) shutdown() { function printClientConfig (line 82) | func printClientConfig(config *testpb.ClientConfig) { function setupClientEnv (line 104) | func setupClientEnv(config *testpb.ClientConfig) { function createConns (line 117) | func createConns(config *testpb.ClientConfig) ([]*grpc.ClientConn, func(... function performRPCs (line 170) | func performRPCs(ctx context.Context, config *testpb.ClientConfig, conns... function startBenchmarkClient (line 224) | func startBenchmarkClient(ctx context.Context, config *testpb.ClientConf... FILE: benchmark/worker/benchmark_server.go type benchmarkServer (line 46) | type benchmarkServer struct method getStats (line 171) | func (bs *benchmarkServer) getStats(reset bool) *testpb.ServerStats { function printServerConfig (line 56) | func printServerConfig(config *testpb.ServerConfig) { function startBenchmarkServer (line 73) | func startBenchmarkServer(config *testpb.ServerConfig, serverPort int) (... FILE: benchmark/worker/main.go type byteBufCodec (line 53) | type byteBufCodec struct method Marshal (line 56) | func (byteBufCodec) Marshal(v any) ([]byte, error) { method Unmarshal (line 64) | func (byteBufCodec) Unmarshal(data []byte, v any) error { method String (line 73) | func (byteBufCodec) String() string { type workerServer (line 79) | type workerServer struct method RunServer (line 85) | func (s *workerServer) RunServer(stream testgrpc.WorkerService_RunServ... method RunClient (line 140) | func (s *workerServer) RunClient(stream testgrpc.WorkerService_RunClie... method CoreCount (line 193) | func (s *workerServer) CoreCount(context.Context, *testpb.CoreRequest)... method QuitWorker (line 198) | func (s *workerServer) QuitWorker(context.Context, *testpb.Void) (*tes... function main (line 204) | func main() { FILE: binarylog/binarylog_end2end_test.go type s (line 50) | type s struct method TestClientBinaryLogUnaryRPC (line 909) | func (s) TestClientBinaryLogUnaryRPC(t *testing.T) { method TestClientBinaryLogUnaryRPCError (line 915) | func (s) TestClientBinaryLogUnaryRPCError(t *testing.T) { method TestClientBinaryLogClientStreamRPC (line 921) | func (s) TestClientBinaryLogClientStreamRPC(t *testing.T) { method TestClientBinaryLogClientStreamRPCError (line 928) | func (s) TestClientBinaryLogClientStreamRPCError(t *testing.T) { method TestClientBinaryLogServerStreamRPC (line 935) | func (s) TestClientBinaryLogServerStreamRPC(t *testing.T) { method TestClientBinaryLogServerStreamRPCError (line 942) | func (s) TestClientBinaryLogServerStreamRPCError(t *testing.T) { method TestClientBinaryLogFullDuplexRPC (line 949) | func (s) TestClientBinaryLogFullDuplexRPC(t *testing.T) { method TestClientBinaryLogFullDuplexRPCError (line 956) | func (s) TestClientBinaryLogFullDuplexRPCError(t *testing.T) { method TestClientBinaryLogCancel (line 963) | func (s) TestClientBinaryLogCancel(t *testing.T) { method TestServerBinaryLogUnaryRPC (line 1011) | func (s) TestServerBinaryLogUnaryRPC(t *testing.T) { method TestServerBinaryLogUnaryRPCError (line 1017) | func (s) TestServerBinaryLogUnaryRPCError(t *testing.T) { method TestServerBinaryLogClientStreamRPC (line 1023) | func (s) TestServerBinaryLogClientStreamRPC(t *testing.T) { method TestServerBinaryLogClientStreamRPCError (line 1030) | func (s) TestServerBinaryLogClientStreamRPCError(t *testing.T) { method TestServerBinaryLogServerStreamRPC (line 1037) | func (s) TestServerBinaryLogServerStreamRPC(t *testing.T) { method TestServerBinaryLogServerStreamRPCError (line 1044) | func (s) TestServerBinaryLogServerStreamRPCError(t *testing.T) { method TestServerBinaryLogFullDuplex (line 1051) | func (s) TestServerBinaryLogFullDuplex(t *testing.T) { method TestServerBinaryLogFullDuplexError (line 1058) | func (s) TestServerBinaryLogFullDuplexError(t *testing.T) { method TestCanceledStatus (line 1067) | func (s) TestCanceledStatus(t *testing.T) { function Test (line 54) | func Test(t *testing.T) { function init (line 58) | func init() { type testBinLogSink (line 67) | type testBinLogSink struct method Write (line 72) | func (s *testBinLogSink) Write(e *binlogpb.GrpcLogEntry) error { method Close (line 79) | func (s *testBinLogSink) Close() error { return nil } method logEntries (line 83) | func (s *testBinLogSink) logEntries(client bool) []*binlogpb.GrpcLogEn... method clear (line 99) | func (s *testBinLogSink) clear() { function idToPayload (line 122) | func idToPayload(id int32) *testpb.Payload { function payloadToID (line 126) | func payloadToID(p *testpb.Payload) int32 { type testServer (line 133) | type testServer struct method UnaryCall (line 138) | func (s *testServer) UnaryCall(ctx context.Context, in *testpb.SimpleR... method FullDuplexCall (line 156) | func (s *testServer) FullDuplexCall(stream testgrpc.TestService_FullDu... method StreamingInputCall (line 184) | func (s *testServer) StreamingInputCall(stream testgrpc.TestService_St... method StreamingOutputCall (line 208) | func (s *testServer) StreamingOutputCall(in *testpb.StreamingOutputCal... type test (line 232) | type test struct method tearDown (line 250) | func (te *test) tearDown() { method startServer (line 287) | func (te *test) startServer(ts testgrpc.TestServiceServer) { method clientConn (line 312) | func (te *test) clientConn() *grpc.ClientConn { method doUnaryCall (line 342) | func (te *test) doUnaryCall(c *rpcConfig) (*testpb.SimpleRequest, *tes... method doFullDuplexCallRoundtrip (line 362) | func (te *test) doFullDuplexCallRoundtrip(c *rpcConfig) ([]proto.Messa... method doClientStreamCall (line 411) | func (te *test) doClientStreamCall(c *rpcConfig) ([]proto.Message, pro... method doServerStreamCall (line 443) | func (te *test) doServerStreamCall(c *rpcConfig) (proto.Message, []pro... function newTest (line 261) | func newTest(t *testing.T) *test { type listenerWrapper (line 268) | type listenerWrapper struct method Accept (line 273) | func (lw *listenerWrapper) Accept() (net.Conn, error) { type rpcType (line 326) | type rpcType constant unaryRPC (line 329) | unaryRPC rpcType = iota constant clientStreamRPC (line 330) | clientStreamRPC constant serverStreamRPC (line 331) | serverStreamRPC constant fullDuplexStreamRPC (line 332) | fullDuplexStreamRPC constant cancelRPC (line 333) | cancelRPC type rpcConfig (line 336) | type rpcConfig struct type expectedData (line 476) | type expectedData struct method newClientHeaderEntry (line 486) | func (ed *expectedData) newClientHeaderEntry(client bool, rpcID, inRPC... method newServerHeaderEntry (line 520) | func (ed *expectedData) newServerHeaderEntry(client bool, rpcID, inRPC... method newClientMessageEntry (line 550) | func (ed *expectedData) newClientMessageEntry(client bool, rpcID, inRP... method newServerMessageEntry (line 574) | func (ed *expectedData) newServerMessageEntry(client bool, rpcID, inRP... method newHalfCloseEntry (line 598) | func (ed *expectedData) newHalfCloseEntry(client bool, rpcID, inRPCID ... method newServerTrailerEntry (line 613) | func (ed *expectedData) newServerTrailerEntry(client bool, rpcID, inRP... method newCancelEntry (line 662) | func (ed *expectedData) newCancelEntry(rpcID, inRPCID uint64) *binlogp... method toClientLogEntries (line 673) | func (ed *expectedData) toClientLogEntries() []*binlogpb.GrpcLogEntry { method toServerLogEntries (line 731) | func (ed *expectedData) toServerLogEntries() []*binlogpb.GrpcLogEntry { function runRPCs (line 797) | func runRPCs(t *testing.T, cc *rpcConfig) *expectedData { function equalLogEntry (line 843) | func equalLogEntry(entries ...*binlogpb.GrpcLogEntry) (equal bool) { function testClientBinaryLog (line 870) | func testClientBinaryLog(t *testing.T, c *rpcConfig) error { function testServerBinaryLog (line 970) | func testServerBinaryLog(t *testing.T, c *rpcConfig) error { FILE: binarylog/grpc_binarylog_v1/binarylog.pb.go constant _ (line 39) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 41) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type GrpcLogEntry_EventType (line 47) | type GrpcLogEntry_EventType method Enum (line 102) | func (x GrpcLogEntry_EventType) Enum() *GrpcLogEntry_EventType { method String (line 108) | func (x GrpcLogEntry_EventType) String() string { method Descriptor (line 112) | func (GrpcLogEntry_EventType) Descriptor() protoreflect.EnumDescriptor { method Type (line 116) | func (GrpcLogEntry_EventType) Type() protoreflect.EnumType { method Number (line 120) | func (x GrpcLogEntry_EventType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 125) | func (GrpcLogEntry_EventType) EnumDescriptor() ([]byte, []int) { constant GrpcLogEntry_EVENT_TYPE_UNKNOWN (line 50) | GrpcLogEntry_EVENT_TYPE_UNKNOWN GrpcLogEntry_EventType = 0 constant GrpcLogEntry_EVENT_TYPE_CLIENT_HEADER (line 52) | GrpcLogEntry_EVENT_TYPE_CLIENT_HEADER GrpcLogEntry_EventType = 1 constant GrpcLogEntry_EVENT_TYPE_SERVER_HEADER (line 54) | GrpcLogEntry_EVENT_TYPE_SERVER_HEADER GrpcLogEntry_EventType = 2 constant GrpcLogEntry_EVENT_TYPE_CLIENT_MESSAGE (line 56) | GrpcLogEntry_EVENT_TYPE_CLIENT_MESSAGE GrpcLogEntry_EventType = 3 constant GrpcLogEntry_EVENT_TYPE_SERVER_MESSAGE (line 58) | GrpcLogEntry_EVENT_TYPE_SERVER_MESSAGE GrpcLogEntry_EventType = 4 constant GrpcLogEntry_EVENT_TYPE_CLIENT_HALF_CLOSE (line 60) | GrpcLogEntry_EVENT_TYPE_CLIENT_HALF_CLOSE GrpcLogEntry_EventType = 5 constant GrpcLogEntry_EVENT_TYPE_SERVER_TRAILER (line 68) | GrpcLogEntry_EVENT_TYPE_SERVER_TRAILER GrpcLogEntry_EventType = 6 constant GrpcLogEntry_EVENT_TYPE_CANCEL (line 75) | GrpcLogEntry_EVENT_TYPE_CANCEL GrpcLogEntry_EventType = 7 type GrpcLogEntry_Logger (line 130) | type GrpcLogEntry_Logger method Enum (line 152) | func (x GrpcLogEntry_Logger) Enum() *GrpcLogEntry_Logger { method String (line 158) | func (x GrpcLogEntry_Logger) String() string { method Descriptor (line 162) | func (GrpcLogEntry_Logger) Descriptor() protoreflect.EnumDescriptor { method Type (line 166) | func (GrpcLogEntry_Logger) Type() protoreflect.EnumType { method Number (line 170) | func (x GrpcLogEntry_Logger) Number() protoreflect.EnumNumber { method EnumDescriptor (line 175) | func (GrpcLogEntry_Logger) EnumDescriptor() ([]byte, []int) { constant GrpcLogEntry_LOGGER_UNKNOWN (line 133) | GrpcLogEntry_LOGGER_UNKNOWN GrpcLogEntry_Logger = 0 constant GrpcLogEntry_LOGGER_CLIENT (line 134) | GrpcLogEntry_LOGGER_CLIENT GrpcLogEntry_Logger = 1 constant GrpcLogEntry_LOGGER_SERVER (line 135) | GrpcLogEntry_LOGGER_SERVER GrpcLogEntry_Logger = 2 type Address_Type (line 179) | type Address_Type method Enum (line 208) | func (x Address_Type) Enum() *Address_Type { method String (line 214) | func (x Address_Type) String() string { method Descriptor (line 218) | func (Address_Type) Descriptor() protoreflect.EnumDescriptor { method Type (line 222) | func (Address_Type) Type() protoreflect.EnumType { method Number (line 226) | func (x Address_Type) Number() protoreflect.EnumNumber { method EnumDescriptor (line 231) | func (Address_Type) EnumDescriptor() ([]byte, []int) { constant Address_TYPE_UNKNOWN (line 182) | Address_TYPE_UNKNOWN Address_Type = 0 constant Address_TYPE_IPV4 (line 184) | Address_TYPE_IPV4 Address_Type = 1 constant Address_TYPE_IPV6 (line 187) | Address_TYPE_IPV6 Address_Type = 2 constant Address_TYPE_UNIX (line 189) | Address_TYPE_UNIX Address_Type = 3 type GrpcLogEntry (line 236) | type GrpcLogEntry struct method Reset (line 275) | func (x *GrpcLogEntry) Reset() { method String (line 282) | func (x *GrpcLogEntry) String() string { method ProtoMessage (line 286) | func (*GrpcLogEntry) ProtoMessage() {} method ProtoReflect (line 288) | func (x *GrpcLogEntry) ProtoReflect() protoreflect.Message { method Descriptor (line 301) | func (*GrpcLogEntry) Descriptor() ([]byte, []int) { method GetTimestamp (line 305) | func (x *GrpcLogEntry) GetTimestamp() *timestamppb.Timestamp { method GetCallId (line 312) | func (x *GrpcLogEntry) GetCallId() uint64 { method GetSequenceIdWithinCall (line 319) | func (x *GrpcLogEntry) GetSequenceIdWithinCall() uint64 { method GetType (line 326) | func (x *GrpcLogEntry) GetType() GrpcLogEntry_EventType { method GetLogger (line 333) | func (x *GrpcLogEntry) GetLogger() GrpcLogEntry_Logger { method GetPayload (line 340) | func (x *GrpcLogEntry) GetPayload() isGrpcLogEntry_Payload { method GetClientHeader (line 347) | func (x *GrpcLogEntry) GetClientHeader() *ClientHeader { method GetServerHeader (line 356) | func (x *GrpcLogEntry) GetServerHeader() *ServerHeader { method GetMessage (line 365) | func (x *GrpcLogEntry) GetMessage() *Message { method GetTrailer (line 374) | func (x *GrpcLogEntry) GetTrailer() *Trailer { method GetPayloadTruncated (line 383) | func (x *GrpcLogEntry) GetPayloadTruncated() bool { method GetPeer (line 390) | func (x *GrpcLogEntry) GetPeer() *Address { type isGrpcLogEntry_Payload (line 397) | type isGrpcLogEntry_Payload interface type GrpcLogEntry_ClientHeader (line 401) | type GrpcLogEntry_ClientHeader struct method isGrpcLogEntry_Payload (line 418) | func (*GrpcLogEntry_ClientHeader) isGrpcLogEntry_Payload() {} type GrpcLogEntry_ServerHeader (line 405) | type GrpcLogEntry_ServerHeader struct method isGrpcLogEntry_Payload (line 420) | func (*GrpcLogEntry_ServerHeader) isGrpcLogEntry_Payload() {} type GrpcLogEntry_Message (line 409) | type GrpcLogEntry_Message struct method isGrpcLogEntry_Payload (line 422) | func (*GrpcLogEntry_Message) isGrpcLogEntry_Payload() {} type GrpcLogEntry_Trailer (line 414) | type GrpcLogEntry_Trailer struct method isGrpcLogEntry_Payload (line 424) | func (*GrpcLogEntry_Trailer) isGrpcLogEntry_Payload() {} type ClientHeader (line 426) | type ClientHeader struct method Reset (line 446) | func (x *ClientHeader) Reset() { method String (line 453) | func (x *ClientHeader) String() string { method ProtoMessage (line 457) | func (*ClientHeader) ProtoMessage() {} method ProtoReflect (line 459) | func (x *ClientHeader) ProtoReflect() protoreflect.Message { method Descriptor (line 472) | func (*ClientHeader) Descriptor() ([]byte, []int) { method GetMetadata (line 476) | func (x *ClientHeader) GetMetadata() *Metadata { method GetMethodName (line 483) | func (x *ClientHeader) GetMethodName() string { method GetAuthority (line 490) | func (x *ClientHeader) GetAuthority() string { method GetTimeout (line 497) | func (x *ClientHeader) GetTimeout() *durationpb.Duration { type ServerHeader (line 504) | type ServerHeader struct method Reset (line 512) | func (x *ServerHeader) Reset() { method String (line 519) | func (x *ServerHeader) String() string { method ProtoMessage (line 523) | func (*ServerHeader) ProtoMessage() {} method ProtoReflect (line 525) | func (x *ServerHeader) ProtoReflect() protoreflect.Message { method Descriptor (line 538) | func (*ServerHeader) Descriptor() ([]byte, []int) { method GetMetadata (line 542) | func (x *ServerHeader) GetMetadata() *Metadata { type Trailer (line 549) | type Trailer struct method Reset (line 565) | func (x *Trailer) Reset() { method String (line 572) | func (x *Trailer) String() string { method ProtoMessage (line 576) | func (*Trailer) ProtoMessage() {} method ProtoReflect (line 578) | func (x *Trailer) ProtoReflect() protoreflect.Message { method Descriptor (line 591) | func (*Trailer) Descriptor() ([]byte, []int) { method GetMetadata (line 595) | func (x *Trailer) GetMetadata() *Metadata { method GetStatusCode (line 602) | func (x *Trailer) GetStatusCode() uint32 { method GetStatusMessage (line 609) | func (x *Trailer) GetStatusMessage() string { method GetStatusDetails (line 616) | func (x *Trailer) GetStatusDetails() []byte { type Message (line 624) | type Message struct method Reset (line 635) | func (x *Message) Reset() { method String (line 642) | func (x *Message) String() string { method ProtoMessage (line 646) | func (*Message) ProtoMessage() {} method ProtoReflect (line 648) | func (x *Message) ProtoReflect() protoreflect.Message { method Descriptor (line 661) | func (*Message) Descriptor() ([]byte, []int) { method GetLength (line 665) | func (x *Message) GetLength() uint32 { method GetData (line 672) | func (x *Message) GetData() []byte { type Metadata (line 700) | type Metadata struct method Reset (line 707) | func (x *Metadata) Reset() { method String (line 714) | func (x *Metadata) String() string { method ProtoMessage (line 718) | func (*Metadata) ProtoMessage() {} method ProtoReflect (line 720) | func (x *Metadata) ProtoReflect() protoreflect.Message { method Descriptor (line 733) | func (*Metadata) Descriptor() ([]byte, []int) { method GetEntry (line 737) | func (x *Metadata) GetEntry() []*MetadataEntry { type MetadataEntry (line 745) | type MetadataEntry struct method Reset (line 753) | func (x *MetadataEntry) Reset() { method String (line 760) | func (x *MetadataEntry) String() string { method ProtoMessage (line 764) | func (*MetadataEntry) ProtoMessage() {} method ProtoReflect (line 766) | func (x *MetadataEntry) ProtoReflect() protoreflect.Message { method Descriptor (line 779) | func (*MetadataEntry) Descriptor() ([]byte, []int) { method GetKey (line 783) | func (x *MetadataEntry) GetKey() string { method GetValue (line 790) | func (x *MetadataEntry) GetValue() []byte { type Address (line 798) | type Address struct method Reset (line 808) | func (x *Address) Reset() { method String (line 815) | func (x *Address) String() string { method ProtoMessage (line 819) | func (*Address) ProtoMessage() {} method ProtoReflect (line 821) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 834) | func (*Address) Descriptor() ([]byte, []int) { method GetType (line 838) | func (x *Address) GetType() Address_Type { method GetAddress (line 845) | func (x *Address) GetAddress() string { method GetIpPort (line 852) | func (x *Address) GetIpPort() uint32 { constant file_grpc_binlog_v1_binarylog_proto_rawDesc (line 861) | file_grpc_binlog_v1_binarylog_proto_rawDesc = "" + function file_grpc_binlog_v1_binarylog_proto_rawDescGZIP (line 929) | func file_grpc_binlog_v1_binarylog_proto_rawDescGZIP() []byte { function init (line 975) | func init() { file_grpc_binlog_v1_binarylog_proto_init() } function file_grpc_binlog_v1_binarylog_proto_init (line 976) | func file_grpc_binlog_v1_binarylog_proto_init() { FILE: binarylog/sink.go function SetSink (line 37) | func SetSink(s Sink) { type Sink (line 45) | type Sink interface function NewTempFileSink (line 59) | func NewTempFileSink() (Sink, error) { FILE: call.go method Invoke (line 29) | func (cc *ClientConn) Invoke(ctx context.Context, method string, args, r... function combine (line 40) | func combine(o1 []CallOption, o2 []CallOption) []CallOption { function Invoke (line 59) | func Invoke(ctx context.Context, method string, args, reply any, cc *Cli... function invoke (line 65) | func invoke(ctx context.Context, method string, req, reply any, cc *Clie... FILE: channelz/grpc_channelz_v1/channelz.pb.go constant _ (line 44) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 46) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ChannelConnectivityState_State (line 49) | type ChannelConnectivityState_State method Enum (line 80) | func (x ChannelConnectivityState_State) Enum() *ChannelConnectivitySta... method String (line 86) | func (x ChannelConnectivityState_State) String() string { method Descriptor (line 90) | func (ChannelConnectivityState_State) Descriptor() protoreflect.EnumDe... method Type (line 94) | func (ChannelConnectivityState_State) Type() protoreflect.EnumType { method Number (line 98) | func (x ChannelConnectivityState_State) Number() protoreflect.EnumNumb... method EnumDescriptor (line 103) | func (ChannelConnectivityState_State) EnumDescriptor() ([]byte, []int) { constant ChannelConnectivityState_UNKNOWN (line 52) | ChannelConnectivityState_UNKNOWN ChannelConnectivityState_Stat... constant ChannelConnectivityState_IDLE (line 53) | ChannelConnectivityState_IDLE ChannelConnectivityState_Stat... constant ChannelConnectivityState_CONNECTING (line 54) | ChannelConnectivityState_CONNECTING ChannelConnectivityState_Stat... constant ChannelConnectivityState_READY (line 55) | ChannelConnectivityState_READY ChannelConnectivityState_Stat... constant ChannelConnectivityState_TRANSIENT_FAILURE (line 56) | ChannelConnectivityState_TRANSIENT_FAILURE ChannelConnectivityState_Stat... constant ChannelConnectivityState_SHUTDOWN (line 57) | ChannelConnectivityState_SHUTDOWN ChannelConnectivityState_Stat... type ChannelTraceEvent_Severity (line 108) | type ChannelTraceEvent_Severity method Enum (line 133) | func (x ChannelTraceEvent_Severity) Enum() *ChannelTraceEvent_Severity { method String (line 139) | func (x ChannelTraceEvent_Severity) String() string { method Descriptor (line 143) | func (ChannelTraceEvent_Severity) Descriptor() protoreflect.EnumDescri... method Type (line 147) | func (ChannelTraceEvent_Severity) Type() protoreflect.EnumType { method Number (line 151) | func (x ChannelTraceEvent_Severity) Number() protoreflect.EnumNumber { method EnumDescriptor (line 156) | func (ChannelTraceEvent_Severity) EnumDescriptor() ([]byte, []int) { constant ChannelTraceEvent_CT_UNKNOWN (line 111) | ChannelTraceEvent_CT_UNKNOWN ChannelTraceEvent_Severity = 0 constant ChannelTraceEvent_CT_INFO (line 112) | ChannelTraceEvent_CT_INFO ChannelTraceEvent_Severity = 1 constant ChannelTraceEvent_CT_WARNING (line 113) | ChannelTraceEvent_CT_WARNING ChannelTraceEvent_Severity = 2 constant ChannelTraceEvent_CT_ERROR (line 114) | ChannelTraceEvent_CT_ERROR ChannelTraceEvent_Severity = 3 type Channel (line 161) | type Channel struct method Reset (line 182) | func (x *Channel) Reset() { method String (line 189) | func (x *Channel) String() string { method ProtoMessage (line 193) | func (*Channel) ProtoMessage() {} method ProtoReflect (line 195) | func (x *Channel) ProtoReflect() protoreflect.Message { method Descriptor (line 208) | func (*Channel) Descriptor() ([]byte, []int) { method GetRef (line 212) | func (x *Channel) GetRef() *ChannelRef { method GetData (line 219) | func (x *Channel) GetData() *ChannelData { method GetChannelRef (line 226) | func (x *Channel) GetChannelRef() []*ChannelRef { method GetSubchannelRef (line 233) | func (x *Channel) GetSubchannelRef() []*SubchannelRef { method GetSocketRef (line 240) | func (x *Channel) GetSocketRef() []*SocketRef { type Subchannel (line 249) | type Subchannel struct method Reset (line 270) | func (x *Subchannel) Reset() { method String (line 277) | func (x *Subchannel) String() string { method ProtoMessage (line 281) | func (*Subchannel) ProtoMessage() {} method ProtoReflect (line 283) | func (x *Subchannel) ProtoReflect() protoreflect.Message { method Descriptor (line 296) | func (*Subchannel) Descriptor() ([]byte, []int) { method GetRef (line 300) | func (x *Subchannel) GetRef() *SubchannelRef { method GetData (line 307) | func (x *Subchannel) GetData() *ChannelData { method GetChannelRef (line 314) | func (x *Subchannel) GetChannelRef() []*ChannelRef { method GetSubchannelRef (line 321) | func (x *Subchannel) GetSubchannelRef() []*SubchannelRef { method GetSocketRef (line 328) | func (x *Subchannel) GetSocketRef() []*SocketRef { type ChannelConnectivityState (line 337) | type ChannelConnectivityState struct method Reset (line 344) | func (x *ChannelConnectivityState) Reset() { method String (line 351) | func (x *ChannelConnectivityState) String() string { method ProtoMessage (line 355) | func (*ChannelConnectivityState) ProtoMessage() {} method ProtoReflect (line 357) | func (x *ChannelConnectivityState) ProtoReflect() protoreflect.Message { method Descriptor (line 370) | func (*ChannelConnectivityState) Descriptor() ([]byte, []int) { method GetState (line 374) | func (x *ChannelConnectivityState) GetState() ChannelConnectivityState... type ChannelData (line 382) | type ChannelData struct method Reset (line 405) | func (x *ChannelData) Reset() { method String (line 412) | func (x *ChannelData) String() string { method ProtoMessage (line 416) | func (*ChannelData) ProtoMessage() {} method ProtoReflect (line 418) | func (x *ChannelData) ProtoReflect() protoreflect.Message { method Descriptor (line 431) | func (*ChannelData) Descriptor() ([]byte, []int) { method GetState (line 435) | func (x *ChannelData) GetState() *ChannelConnectivityState { method GetTarget (line 442) | func (x *ChannelData) GetTarget() string { method GetTrace (line 449) | func (x *ChannelData) GetTrace() *ChannelTrace { method GetCallsStarted (line 456) | func (x *ChannelData) GetCallsStarted() int64 { method GetCallsSucceeded (line 463) | func (x *ChannelData) GetCallsSucceeded() int64 { method GetCallsFailed (line 470) | func (x *ChannelData) GetCallsFailed() int64 { method GetLastCallStartedTimestamp (line 477) | func (x *ChannelData) GetLastCallStartedTimestamp() *timestamppb.Times... method GetMaxConnectionsPerSubchannel (line 484) | func (x *ChannelData) GetMaxConnectionsPerSubchannel() uint32 { type ChannelTraceEvent (line 493) | type ChannelTraceEvent struct method Reset (line 515) | func (x *ChannelTraceEvent) Reset() { method String (line 522) | func (x *ChannelTraceEvent) String() string { method ProtoMessage (line 526) | func (*ChannelTraceEvent) ProtoMessage() {} method ProtoReflect (line 528) | func (x *ChannelTraceEvent) ProtoReflect() protoreflect.Message { method Descriptor (line 541) | func (*ChannelTraceEvent) Descriptor() ([]byte, []int) { method GetDescription (line 545) | func (x *ChannelTraceEvent) GetDescription() string { method GetSeverity (line 552) | func (x *ChannelTraceEvent) GetSeverity() ChannelTraceEvent_Severity { method GetTimestamp (line 559) | func (x *ChannelTraceEvent) GetTimestamp() *timestamppb.Timestamp { method GetChildRef (line 566) | func (x *ChannelTraceEvent) GetChildRef() isChannelTraceEvent_ChildRef { method GetChannelRef (line 573) | func (x *ChannelTraceEvent) GetChannelRef() *ChannelRef { method GetSubchannelRef (line 582) | func (x *ChannelTraceEvent) GetSubchannelRef() *SubchannelRef { type isChannelTraceEvent_ChildRef (line 591) | type isChannelTraceEvent_ChildRef interface type ChannelTraceEvent_ChannelRef (line 595) | type ChannelTraceEvent_ChannelRef struct method isChannelTraceEvent_ChildRef (line 603) | func (*ChannelTraceEvent_ChannelRef) isChannelTraceEvent_ChildRef() {} type ChannelTraceEvent_SubchannelRef (line 599) | type ChannelTraceEvent_SubchannelRef struct method isChannelTraceEvent_ChildRef (line 605) | func (*ChannelTraceEvent_SubchannelRef) isChannelTraceEvent_ChildRef() {} type ChannelTrace (line 608) | type ChannelTrace struct method Reset (line 622) | func (x *ChannelTrace) Reset() { method String (line 629) | func (x *ChannelTrace) String() string { method ProtoMessage (line 633) | func (*ChannelTrace) ProtoMessage() {} method ProtoReflect (line 635) | func (x *ChannelTrace) ProtoReflect() protoreflect.Message { method Descriptor (line 648) | func (*ChannelTrace) Descriptor() ([]byte, []int) { method GetNumEventsLogged (line 652) | func (x *ChannelTrace) GetNumEventsLogged() int64 { method GetCreationTimestamp (line 659) | func (x *ChannelTrace) GetCreationTimestamp() *timestamppb.Timestamp { method GetEvents (line 666) | func (x *ChannelTrace) GetEvents() []*ChannelTraceEvent { type ChannelRef (line 674) | type ChannelRef struct method Reset (line 684) | func (x *ChannelRef) Reset() { method String (line 691) | func (x *ChannelRef) String() string { method ProtoMessage (line 695) | func (*ChannelRef) ProtoMessage() {} method ProtoReflect (line 697) | func (x *ChannelRef) ProtoReflect() protoreflect.Message { method Descriptor (line 710) | func (*ChannelRef) Descriptor() ([]byte, []int) { method GetChannelId (line 714) | func (x *ChannelRef) GetChannelId() int64 { method GetName (line 721) | func (x *ChannelRef) GetName() string { type SubchannelRef (line 729) | type SubchannelRef struct method Reset (line 739) | func (x *SubchannelRef) Reset() { method String (line 746) | func (x *SubchannelRef) String() string { method ProtoMessage (line 750) | func (*SubchannelRef) ProtoMessage() {} method ProtoReflect (line 752) | func (x *SubchannelRef) ProtoReflect() protoreflect.Message { method Descriptor (line 765) | func (*SubchannelRef) Descriptor() ([]byte, []int) { method GetSubchannelId (line 769) | func (x *SubchannelRef) GetSubchannelId() int64 { method GetName (line 776) | func (x *SubchannelRef) GetName() string { type SocketRef (line 784) | type SocketRef struct method Reset (line 794) | func (x *SocketRef) Reset() { method String (line 801) | func (x *SocketRef) String() string { method ProtoMessage (line 805) | func (*SocketRef) ProtoMessage() {} method ProtoReflect (line 807) | func (x *SocketRef) ProtoReflect() protoreflect.Message { method Descriptor (line 820) | func (*SocketRef) Descriptor() ([]byte, []int) { method GetSocketId (line 824) | func (x *SocketRef) GetSocketId() int64 { method GetName (line 831) | func (x *SocketRef) GetName() string { type ServerRef (line 839) | type ServerRef struct method Reset (line 849) | func (x *ServerRef) Reset() { method String (line 856) | func (x *ServerRef) String() string { method ProtoMessage (line 860) | func (*ServerRef) ProtoMessage() {} method ProtoReflect (line 862) | func (x *ServerRef) ProtoReflect() protoreflect.Message { method Descriptor (line 875) | func (*ServerRef) Descriptor() ([]byte, []int) { method GetServerId (line 879) | func (x *ServerRef) GetServerId() int64 { method GetName (line 886) | func (x *ServerRef) GetName() string { type Server (line 895) | type Server struct method Reset (line 908) | func (x *Server) Reset() { method String (line 915) | func (x *Server) String() string { method ProtoMessage (line 919) | func (*Server) ProtoMessage() {} method ProtoReflect (line 921) | func (x *Server) ProtoReflect() protoreflect.Message { method Descriptor (line 934) | func (*Server) Descriptor() ([]byte, []int) { method GetRef (line 938) | func (x *Server) GetRef() *ServerRef { method GetData (line 945) | func (x *Server) GetData() *ServerData { method GetListenSocket (line 952) | func (x *Server) GetListenSocket() []*SocketRef { type ServerData (line 960) | type ServerData struct method Reset (line 976) | func (x *ServerData) Reset() { method String (line 983) | func (x *ServerData) String() string { method ProtoMessage (line 987) | func (*ServerData) ProtoMessage() {} method ProtoReflect (line 989) | func (x *ServerData) ProtoReflect() protoreflect.Message { method Descriptor (line 1002) | func (*ServerData) Descriptor() ([]byte, []int) { method GetTrace (line 1006) | func (x *ServerData) GetTrace() *ChannelTrace { method GetCallsStarted (line 1013) | func (x *ServerData) GetCallsStarted() int64 { method GetCallsSucceeded (line 1020) | func (x *ServerData) GetCallsSucceeded() int64 { method GetCallsFailed (line 1027) | func (x *ServerData) GetCallsFailed() int64 { method GetLastCallStartedTimestamp (line 1034) | func (x *ServerData) GetLastCallStartedTimestamp() *timestamppb.Timest... type Socket (line 1042) | type Socket struct method Reset (line 1062) | func (x *Socket) Reset() { method String (line 1069) | func (x *Socket) String() string { method ProtoMessage (line 1073) | func (*Socket) ProtoMessage() {} method ProtoReflect (line 1075) | func (x *Socket) ProtoReflect() protoreflect.Message { method Descriptor (line 1088) | func (*Socket) Descriptor() ([]byte, []int) { method GetRef (line 1092) | func (x *Socket) GetRef() *SocketRef { method GetData (line 1099) | func (x *Socket) GetData() *SocketData { method GetLocal (line 1106) | func (x *Socket) GetLocal() *Address { method GetRemote (line 1113) | func (x *Socket) GetRemote() *Address { method GetSecurity (line 1120) | func (x *Socket) GetSecurity() *Security { method GetRemoteName (line 1127) | func (x *Socket) GetRemoteName() string { type SocketData (line 1137) | type SocketData struct method Reset (line 1187) | func (x *SocketData) Reset() { method String (line 1194) | func (x *SocketData) String() string { method ProtoMessage (line 1198) | func (*SocketData) ProtoMessage() {} method ProtoReflect (line 1200) | func (x *SocketData) ProtoReflect() protoreflect.Message { method Descriptor (line 1213) | func (*SocketData) Descriptor() ([]byte, []int) { method GetStreamsStarted (line 1217) | func (x *SocketData) GetStreamsStarted() int64 { method GetStreamsSucceeded (line 1224) | func (x *SocketData) GetStreamsSucceeded() int64 { method GetStreamsFailed (line 1231) | func (x *SocketData) GetStreamsFailed() int64 { method GetMessagesSent (line 1238) | func (x *SocketData) GetMessagesSent() int64 { method GetMessagesReceived (line 1245) | func (x *SocketData) GetMessagesReceived() int64 { method GetKeepAlivesSent (line 1252) | func (x *SocketData) GetKeepAlivesSent() int64 { method GetLastLocalStreamCreatedTimestamp (line 1259) | func (x *SocketData) GetLastLocalStreamCreatedTimestamp() *timestamppb... method GetLastRemoteStreamCreatedTimestamp (line 1266) | func (x *SocketData) GetLastRemoteStreamCreatedTimestamp() *timestampp... method GetLastMessageSentTimestamp (line 1273) | func (x *SocketData) GetLastMessageSentTimestamp() *timestamppb.Timest... method GetLastMessageReceivedTimestamp (line 1280) | func (x *SocketData) GetLastMessageReceivedTimestamp() *timestamppb.Ti... method GetLocalFlowControlWindow (line 1287) | func (x *SocketData) GetLocalFlowControlWindow() *wrapperspb.Int64Value { method GetRemoteFlowControlWindow (line 1294) | func (x *SocketData) GetRemoteFlowControlWindow() *wrapperspb.Int64Val... method GetOption (line 1301) | func (x *SocketData) GetOption() []*SocketOption { method GetReceivedGoawayError (line 1308) | func (x *SocketData) GetReceivedGoawayError() *wrapperspb.UInt32Value { method GetPeerMaxConcurrentStreams (line 1315) | func (x *SocketData) GetPeerMaxConcurrentStreams() uint32 { type Address (line 1323) | type Address struct method Reset (line 1335) | func (x *Address) Reset() { method String (line 1342) | func (x *Address) String() string { method ProtoMessage (line 1346) | func (*Address) ProtoMessage() {} method ProtoReflect (line 1348) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 1361) | func (*Address) Descriptor() ([]byte, []int) { method GetAddress (line 1365) | func (x *Address) GetAddress() isAddress_Address { method GetTcpipAddress (line 1372) | func (x *Address) GetTcpipAddress() *Address_TcpIpAddress { method GetUdsAddress (line 1381) | func (x *Address) GetUdsAddress() *Address_UdsAddress { method GetOtherAddress (line 1390) | func (x *Address) GetOtherAddress() *Address_OtherAddress { type isAddress_Address (line 1399) | type isAddress_Address interface type Address_TcpipAddress (line 1403) | type Address_TcpipAddress struct method isAddress_Address (line 1415) | func (*Address_TcpipAddress) isAddress_Address() {} type Address_UdsAddress_ (line 1407) | type Address_UdsAddress_ struct method isAddress_Address (line 1417) | func (*Address_UdsAddress_) isAddress_Address() {} type Address_OtherAddress_ (line 1411) | type Address_OtherAddress_ struct method isAddress_Address (line 1419) | func (*Address_OtherAddress_) isAddress_Address() {} type Security (line 1422) | type Security struct method Reset (line 1433) | func (x *Security) Reset() { method String (line 1440) | func (x *Security) String() string { method ProtoMessage (line 1444) | func (*Security) ProtoMessage() {} method ProtoReflect (line 1446) | func (x *Security) ProtoReflect() protoreflect.Message { method Descriptor (line 1459) | func (*Security) Descriptor() ([]byte, []int) { method GetModel (line 1463) | func (x *Security) GetModel() isSecurity_Model { method GetTls (line 1470) | func (x *Security) GetTls() *Security_Tls { method GetOther (line 1479) | func (x *Security) GetOther() *Security_OtherSecurity { type isSecurity_Model (line 1488) | type isSecurity_Model interface type Security_Tls_ (line 1492) | type Security_Tls_ struct method isSecurity_Model (line 1500) | func (*Security_Tls_) isSecurity_Model() {} type Security_Other (line 1496) | type Security_Other struct method isSecurity_Model (line 1502) | func (*Security_Other) isSecurity_Model() {} type SocketOption (line 1506) | type SocketOption struct method Reset (line 1521) | func (x *SocketOption) Reset() { method String (line 1528) | func (x *SocketOption) String() string { method ProtoMessage (line 1532) | func (*SocketOption) ProtoMessage() {} method ProtoReflect (line 1534) | func (x *SocketOption) ProtoReflect() protoreflect.Message { method Descriptor (line 1547) | func (*SocketOption) Descriptor() ([]byte, []int) { method GetName (line 1551) | func (x *SocketOption) GetName() string { method GetValue (line 1558) | func (x *SocketOption) GetValue() string { method GetAdditional (line 1565) | func (x *SocketOption) GetAdditional() *anypb.Any { type SocketOptionTimeout (line 1574) | type SocketOptionTimeout struct method Reset (line 1581) | func (x *SocketOptionTimeout) Reset() { method String (line 1588) | func (x *SocketOptionTimeout) String() string { method ProtoMessage (line 1592) | func (*SocketOptionTimeout) ProtoMessage() {} method ProtoReflect (line 1594) | func (x *SocketOptionTimeout) ProtoReflect() protoreflect.Message { method Descriptor (line 1607) | func (*SocketOptionTimeout) Descriptor() ([]byte, []int) { method GetDuration (line 1611) | func (x *SocketOptionTimeout) GetDuration() *durationpb.Duration { type SocketOptionLinger (line 1620) | type SocketOptionLinger struct method Reset (line 1630) | func (x *SocketOptionLinger) Reset() { method String (line 1637) | func (x *SocketOptionLinger) String() string { method ProtoMessage (line 1641) | func (*SocketOptionLinger) ProtoMessage() {} method ProtoReflect (line 1643) | func (x *SocketOptionLinger) ProtoReflect() protoreflect.Message { method Descriptor (line 1656) | func (*SocketOptionLinger) Descriptor() ([]byte, []int) { method GetActive (line 1660) | func (x *SocketOptionLinger) GetActive() bool { method GetDuration (line 1667) | func (x *SocketOptionLinger) GetDuration() *durationpb.Duration { type SocketOptionTcpInfo (line 1676) | type SocketOptionTcpInfo struct method Reset (line 1711) | func (x *SocketOptionTcpInfo) Reset() { method String (line 1718) | func (x *SocketOptionTcpInfo) String() string { method ProtoMessage (line 1722) | func (*SocketOptionTcpInfo) ProtoMessage() {} method ProtoReflect (line 1724) | func (x *SocketOptionTcpInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 1737) | func (*SocketOptionTcpInfo) Descriptor() ([]byte, []int) { method GetTcpiState (line 1741) | func (x *SocketOptionTcpInfo) GetTcpiState() uint32 { method GetTcpiCaState (line 1748) | func (x *SocketOptionTcpInfo) GetTcpiCaState() uint32 { method GetTcpiRetransmits (line 1755) | func (x *SocketOptionTcpInfo) GetTcpiRetransmits() uint32 { method GetTcpiProbes (line 1762) | func (x *SocketOptionTcpInfo) GetTcpiProbes() uint32 { method GetTcpiBackoff (line 1769) | func (x *SocketOptionTcpInfo) GetTcpiBackoff() uint32 { method GetTcpiOptions (line 1776) | func (x *SocketOptionTcpInfo) GetTcpiOptions() uint32 { method GetTcpiSndWscale (line 1783) | func (x *SocketOptionTcpInfo) GetTcpiSndWscale() uint32 { method GetTcpiRcvWscale (line 1790) | func (x *SocketOptionTcpInfo) GetTcpiRcvWscale() uint32 { method GetTcpiRto (line 1797) | func (x *SocketOptionTcpInfo) GetTcpiRto() uint32 { method GetTcpiAto (line 1804) | func (x *SocketOptionTcpInfo) GetTcpiAto() uint32 { method GetTcpiSndMss (line 1811) | func (x *SocketOptionTcpInfo) GetTcpiSndMss() uint32 { method GetTcpiRcvMss (line 1818) | func (x *SocketOptionTcpInfo) GetTcpiRcvMss() uint32 { method GetTcpiUnacked (line 1825) | func (x *SocketOptionTcpInfo) GetTcpiUnacked() uint32 { method GetTcpiSacked (line 1832) | func (x *SocketOptionTcpInfo) GetTcpiSacked() uint32 { method GetTcpiLost (line 1839) | func (x *SocketOptionTcpInfo) GetTcpiLost() uint32 { method GetTcpiRetrans (line 1846) | func (x *SocketOptionTcpInfo) GetTcpiRetrans() uint32 { method GetTcpiFackets (line 1853) | func (x *SocketOptionTcpInfo) GetTcpiFackets() uint32 { method GetTcpiLastDataSent (line 1860) | func (x *SocketOptionTcpInfo) GetTcpiLastDataSent() uint32 { method GetTcpiLastAckSent (line 1867) | func (x *SocketOptionTcpInfo) GetTcpiLastAckSent() uint32 { method GetTcpiLastDataRecv (line 1874) | func (x *SocketOptionTcpInfo) GetTcpiLastDataRecv() uint32 { method GetTcpiLastAckRecv (line 1881) | func (x *SocketOptionTcpInfo) GetTcpiLastAckRecv() uint32 { method GetTcpiPmtu (line 1888) | func (x *SocketOptionTcpInfo) GetTcpiPmtu() uint32 { method GetTcpiRcvSsthresh (line 1895) | func (x *SocketOptionTcpInfo) GetTcpiRcvSsthresh() uint32 { method GetTcpiRtt (line 1902) | func (x *SocketOptionTcpInfo) GetTcpiRtt() uint32 { method GetTcpiRttvar (line 1909) | func (x *SocketOptionTcpInfo) GetTcpiRttvar() uint32 { method GetTcpiSndSsthresh (line 1916) | func (x *SocketOptionTcpInfo) GetTcpiSndSsthresh() uint32 { method GetTcpiSndCwnd (line 1923) | func (x *SocketOptionTcpInfo) GetTcpiSndCwnd() uint32 { method GetTcpiAdvmss (line 1930) | func (x *SocketOptionTcpInfo) GetTcpiAdvmss() uint32 { method GetTcpiReordering (line 1937) | func (x *SocketOptionTcpInfo) GetTcpiReordering() uint32 { type GetTopChannelsRequest (line 1944) | type GetTopChannelsRequest struct method Reset (line 1960) | func (x *GetTopChannelsRequest) Reset() { method String (line 1967) | func (x *GetTopChannelsRequest) String() string { method ProtoMessage (line 1971) | func (*GetTopChannelsRequest) ProtoMessage() {} method ProtoReflect (line 1973) | func (x *GetTopChannelsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1986) | func (*GetTopChannelsRequest) Descriptor() ([]byte, []int) { method GetStartChannelId (line 1990) | func (x *GetTopChannelsRequest) GetStartChannelId() int64 { method GetMaxResults (line 1997) | func (x *GetTopChannelsRequest) GetMaxResults() int64 { type GetTopChannelsResponse (line 2004) | type GetTopChannelsResponse struct method Reset (line 2018) | func (x *GetTopChannelsResponse) Reset() { method String (line 2025) | func (x *GetTopChannelsResponse) String() string { method ProtoMessage (line 2029) | func (*GetTopChannelsResponse) ProtoMessage() {} method ProtoReflect (line 2031) | func (x *GetTopChannelsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2044) | func (*GetTopChannelsResponse) Descriptor() ([]byte, []int) { method GetChannel (line 2048) | func (x *GetTopChannelsResponse) GetChannel() []*Channel { method GetEnd (line 2055) | func (x *GetTopChannelsResponse) GetEnd() bool { type GetServersRequest (line 2062) | type GetServersRequest struct method Reset (line 2078) | func (x *GetServersRequest) Reset() { method String (line 2085) | func (x *GetServersRequest) String() string { method ProtoMessage (line 2089) | func (*GetServersRequest) ProtoMessage() {} method ProtoReflect (line 2091) | func (x *GetServersRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2104) | func (*GetServersRequest) Descriptor() ([]byte, []int) { method GetStartServerId (line 2108) | func (x *GetServersRequest) GetStartServerId() int64 { method GetMaxResults (line 2115) | func (x *GetServersRequest) GetMaxResults() int64 { type GetServersResponse (line 2122) | type GetServersResponse struct method Reset (line 2136) | func (x *GetServersResponse) Reset() { method String (line 2143) | func (x *GetServersResponse) String() string { method ProtoMessage (line 2147) | func (*GetServersResponse) ProtoMessage() {} method ProtoReflect (line 2149) | func (x *GetServersResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2162) | func (*GetServersResponse) Descriptor() ([]byte, []int) { method GetServer (line 2166) | func (x *GetServersResponse) GetServer() []*Server { method GetEnd (line 2173) | func (x *GetServersResponse) GetEnd() bool { type GetServerRequest (line 2180) | type GetServerRequest struct method Reset (line 2188) | func (x *GetServerRequest) Reset() { method String (line 2195) | func (x *GetServerRequest) String() string { method ProtoMessage (line 2199) | func (*GetServerRequest) ProtoMessage() {} method ProtoReflect (line 2201) | func (x *GetServerRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2214) | func (*GetServerRequest) Descriptor() ([]byte, []int) { method GetServerId (line 2218) | func (x *GetServerRequest) GetServerId() int64 { type GetServerResponse (line 2225) | type GetServerResponse struct method Reset (line 2234) | func (x *GetServerResponse) Reset() { method String (line 2241) | func (x *GetServerResponse) String() string { method ProtoMessage (line 2245) | func (*GetServerResponse) ProtoMessage() {} method ProtoReflect (line 2247) | func (x *GetServerResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2260) | func (*GetServerResponse) Descriptor() ([]byte, []int) { method GetServer (line 2264) | func (x *GetServerResponse) GetServer() *Server { type GetServerSocketsRequest (line 2271) | type GetServerSocketsRequest struct method Reset (line 2288) | func (x *GetServerSocketsRequest) Reset() { method String (line 2295) | func (x *GetServerSocketsRequest) String() string { method ProtoMessage (line 2299) | func (*GetServerSocketsRequest) ProtoMessage() {} method ProtoReflect (line 2301) | func (x *GetServerSocketsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2314) | func (*GetServerSocketsRequest) Descriptor() ([]byte, []int) { method GetServerId (line 2318) | func (x *GetServerSocketsRequest) GetServerId() int64 { method GetStartSocketId (line 2325) | func (x *GetServerSocketsRequest) GetStartSocketId() int64 { method GetMaxResults (line 2332) | func (x *GetServerSocketsRequest) GetMaxResults() int64 { type GetServerSocketsResponse (line 2339) | type GetServerSocketsResponse struct method Reset (line 2353) | func (x *GetServerSocketsResponse) Reset() { method String (line 2360) | func (x *GetServerSocketsResponse) String() string { method ProtoMessage (line 2364) | func (*GetServerSocketsResponse) ProtoMessage() {} method ProtoReflect (line 2366) | func (x *GetServerSocketsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2379) | func (*GetServerSocketsResponse) Descriptor() ([]byte, []int) { method GetSocketRef (line 2383) | func (x *GetServerSocketsResponse) GetSocketRef() []*SocketRef { method GetEnd (line 2390) | func (x *GetServerSocketsResponse) GetEnd() bool { type GetChannelRequest (line 2397) | type GetChannelRequest struct method Reset (line 2405) | func (x *GetChannelRequest) Reset() { method String (line 2412) | func (x *GetChannelRequest) String() string { method ProtoMessage (line 2416) | func (*GetChannelRequest) ProtoMessage() {} method ProtoReflect (line 2418) | func (x *GetChannelRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2431) | func (*GetChannelRequest) Descriptor() ([]byte, []int) { method GetChannelId (line 2435) | func (x *GetChannelRequest) GetChannelId() int64 { type GetChannelResponse (line 2442) | type GetChannelResponse struct method Reset (line 2451) | func (x *GetChannelResponse) Reset() { method String (line 2458) | func (x *GetChannelResponse) String() string { method ProtoMessage (line 2462) | func (*GetChannelResponse) ProtoMessage() {} method ProtoReflect (line 2464) | func (x *GetChannelResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2477) | func (*GetChannelResponse) Descriptor() ([]byte, []int) { method GetChannel (line 2481) | func (x *GetChannelResponse) GetChannel() *Channel { type GetSubchannelRequest (line 2488) | type GetSubchannelRequest struct method Reset (line 2496) | func (x *GetSubchannelRequest) Reset() { method String (line 2503) | func (x *GetSubchannelRequest) String() string { method ProtoMessage (line 2507) | func (*GetSubchannelRequest) ProtoMessage() {} method ProtoReflect (line 2509) | func (x *GetSubchannelRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2522) | func (*GetSubchannelRequest) Descriptor() ([]byte, []int) { method GetSubchannelId (line 2526) | func (x *GetSubchannelRequest) GetSubchannelId() int64 { type GetSubchannelResponse (line 2533) | type GetSubchannelResponse struct method Reset (line 2542) | func (x *GetSubchannelResponse) Reset() { method String (line 2549) | func (x *GetSubchannelResponse) String() string { method ProtoMessage (line 2553) | func (*GetSubchannelResponse) ProtoMessage() {} method ProtoReflect (line 2555) | func (x *GetSubchannelResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2568) | func (*GetSubchannelResponse) Descriptor() ([]byte, []int) { method GetSubchannel (line 2572) | func (x *GetSubchannelResponse) GetSubchannel() *Subchannel { type GetSocketRequest (line 2579) | type GetSocketRequest struct method Reset (line 2591) | func (x *GetSocketRequest) Reset() { method String (line 2598) | func (x *GetSocketRequest) String() string { method ProtoMessage (line 2602) | func (*GetSocketRequest) ProtoMessage() {} method ProtoReflect (line 2604) | func (x *GetSocketRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2617) | func (*GetSocketRequest) Descriptor() ([]byte, []int) { method GetSocketId (line 2621) | func (x *GetSocketRequest) GetSocketId() int64 { method GetSummary (line 2628) | func (x *GetSocketRequest) GetSummary() bool { type GetSocketResponse (line 2635) | type GetSocketResponse struct method Reset (line 2644) | func (x *GetSocketResponse) Reset() { method String (line 2651) | func (x *GetSocketResponse) String() string { method ProtoMessage (line 2655) | func (*GetSocketResponse) ProtoMessage() {} method ProtoReflect (line 2657) | func (x *GetSocketResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2670) | func (*GetSocketResponse) Descriptor() ([]byte, []int) { method GetSocket (line 2674) | func (x *GetSocketResponse) GetSocket() *Socket { type Address_TcpIpAddress (line 2681) | type Address_TcpIpAddress struct method Reset (line 2692) | func (x *Address_TcpIpAddress) Reset() { method String (line 2699) | func (x *Address_TcpIpAddress) String() string { method ProtoMessage (line 2703) | func (*Address_TcpIpAddress) ProtoMessage() {} method ProtoReflect (line 2705) | func (x *Address_TcpIpAddress) ProtoReflect() protoreflect.Message { method Descriptor (line 2718) | func (*Address_TcpIpAddress) Descriptor() ([]byte, []int) { method GetIpAddress (line 2722) | func (x *Address_TcpIpAddress) GetIpAddress() []byte { method GetPort (line 2729) | func (x *Address_TcpIpAddress) GetPort() int32 { type Address_UdsAddress (line 2737) | type Address_UdsAddress struct method Reset (line 2744) | func (x *Address_UdsAddress) Reset() { method String (line 2751) | func (x *Address_UdsAddress) String() string { method ProtoMessage (line 2755) | func (*Address_UdsAddress) ProtoMessage() {} method ProtoReflect (line 2757) | func (x *Address_UdsAddress) ProtoReflect() protoreflect.Message { method Descriptor (line 2770) | func (*Address_UdsAddress) Descriptor() ([]byte, []int) { method GetFilename (line 2774) | func (x *Address_UdsAddress) GetFilename() string { type Address_OtherAddress (line 2782) | type Address_OtherAddress struct method Reset (line 2792) | func (x *Address_OtherAddress) Reset() { method String (line 2799) | func (x *Address_OtherAddress) String() string { method ProtoMessage (line 2803) | func (*Address_OtherAddress) ProtoMessage() {} method ProtoReflect (line 2805) | func (x *Address_OtherAddress) ProtoReflect() protoreflect.Message { method Descriptor (line 2818) | func (*Address_OtherAddress) Descriptor() ([]byte, []int) { method GetName (line 2822) | func (x *Address_OtherAddress) GetName() string { method GetValue (line 2829) | func (x *Address_OtherAddress) GetValue() *anypb.Any { type Security_Tls (line 2836) | type Security_Tls struct method Reset (line 2851) | func (x *Security_Tls) Reset() { method String (line 2858) | func (x *Security_Tls) String() string { method ProtoMessage (line 2862) | func (*Security_Tls) ProtoMessage() {} method ProtoReflect (line 2864) | func (x *Security_Tls) ProtoReflect() protoreflect.Message { method Descriptor (line 2877) | func (*Security_Tls) Descriptor() ([]byte, []int) { method GetCipherSuite (line 2881) | func (x *Security_Tls) GetCipherSuite() isSecurity_Tls_CipherSuite { method GetStandardName (line 2888) | func (x *Security_Tls) GetStandardName() string { method GetOtherName (line 2897) | func (x *Security_Tls) GetOtherName() string { method GetLocalCertificate (line 2906) | func (x *Security_Tls) GetLocalCertificate() []byte { method GetRemoteCertificate (line 2913) | func (x *Security_Tls) GetRemoteCertificate() []byte { type isSecurity_Tls_CipherSuite (line 2920) | type isSecurity_Tls_CipherSuite interface type Security_Tls_StandardName (line 2924) | type Security_Tls_StandardName struct method isSecurity_Tls_CipherSuite (line 2936) | func (*Security_Tls_StandardName) isSecurity_Tls_CipherSuite() {} type Security_Tls_OtherName (line 2930) | type Security_Tls_OtherName struct method isSecurity_Tls_CipherSuite (line 2938) | func (*Security_Tls_OtherName) isSecurity_Tls_CipherSuite() {} type Security_OtherSecurity (line 2940) | type Security_OtherSecurity struct method Reset (line 2950) | func (x *Security_OtherSecurity) Reset() { method String (line 2957) | func (x *Security_OtherSecurity) String() string { method ProtoMessage (line 2961) | func (*Security_OtherSecurity) ProtoMessage() {} method ProtoReflect (line 2963) | func (x *Security_OtherSecurity) ProtoReflect() protoreflect.Message { method Descriptor (line 2976) | func (*Security_OtherSecurity) Descriptor() ([]byte, []int) { method GetName (line 2980) | func (x *Security_OtherSecurity) GetName() string { method GetValue (line 2987) | func (x *Security_OtherSecurity) GetValue() *anypb.Any { constant file_grpc_channelz_v1_channelz_proto_rawDesc (line 2996) | file_grpc_channelz_v1_channelz_proto_rawDesc = "" + function file_grpc_channelz_v1_channelz_proto_rawDescGZIP (line 3244) | func file_grpc_channelz_v1_channelz_proto_rawDescGZIP() []byte { function init (line 3378) | func init() { file_grpc_channelz_v1_channelz_proto_init() } function file_grpc_channelz_v1_channelz_proto_init (line 3379) | func file_grpc_channelz_v1_channelz_proto_init() { FILE: channelz/grpc_channelz_v1/channelz_grpc.pb.go constant _ (line 40) | _ = grpc.SupportPackageIsVersion9 constant Channelz_GetTopChannels_FullMethodName (line 43) | Channelz_GetTopChannels_FullMethodName = "/grpc.channelz.v1.Channelz/G... constant Channelz_GetServers_FullMethodName (line 44) | Channelz_GetServers_FullMethodName = "/grpc.channelz.v1.Channelz/G... constant Channelz_GetServer_FullMethodName (line 45) | Channelz_GetServer_FullMethodName = "/grpc.channelz.v1.Channelz/G... constant Channelz_GetServerSockets_FullMethodName (line 46) | Channelz_GetServerSockets_FullMethodName = "/grpc.channelz.v1.Channelz/G... constant Channelz_GetChannel_FullMethodName (line 47) | Channelz_GetChannel_FullMethodName = "/grpc.channelz.v1.Channelz/G... constant Channelz_GetSubchannel_FullMethodName (line 48) | Channelz_GetSubchannel_FullMethodName = "/grpc.channelz.v1.Channelz/G... constant Channelz_GetSocket_FullMethodName (line 49) | Channelz_GetSocket_FullMethodName = "/grpc.channelz.v1.Channelz/G... type ChannelzClient (line 58) | type ChannelzClient interface type channelzClient (line 76) | type channelzClient struct method GetTopChannels (line 84) | func (c *channelzClient) GetTopChannels(ctx context.Context, in *GetTo... method GetServers (line 94) | func (c *channelzClient) GetServers(ctx context.Context, in *GetServer... method GetServer (line 104) | func (c *channelzClient) GetServer(ctx context.Context, in *GetServerR... method GetServerSockets (line 114) | func (c *channelzClient) GetServerSockets(ctx context.Context, in *Get... method GetChannel (line 124) | func (c *channelzClient) GetChannel(ctx context.Context, in *GetChanne... method GetSubchannel (line 134) | func (c *channelzClient) GetSubchannel(ctx context.Context, in *GetSub... method GetSocket (line 144) | func (c *channelzClient) GetSocket(ctx context.Context, in *GetSocketR... function NewChannelzClient (line 80) | func NewChannelzClient(cc grpc.ClientConnInterface) ChannelzClient { type ChannelzServer (line 160) | type ChannelzServer interface type UnimplementedChannelzServer (line 183) | type UnimplementedChannelzServer struct method GetTopChannels (line 185) | func (UnimplementedChannelzServer) GetTopChannels(context.Context, *Ge... method GetServers (line 188) | func (UnimplementedChannelzServer) GetServers(context.Context, *GetSer... method GetServer (line 191) | func (UnimplementedChannelzServer) GetServer(context.Context, *GetServ... method GetServerSockets (line 194) | func (UnimplementedChannelzServer) GetServerSockets(context.Context, *... method GetChannel (line 197) | func (UnimplementedChannelzServer) GetChannel(context.Context, *GetCha... method GetSubchannel (line 200) | func (UnimplementedChannelzServer) GetSubchannel(context.Context, *Get... method GetSocket (line 203) | func (UnimplementedChannelzServer) GetSocket(context.Context, *GetSock... method testEmbeddedByValue (line 206) | func (UnimplementedChannelzServer) testEmbeddedByValue() {} type UnsafeChannelzServer (line 211) | type UnsafeChannelzServer interface function RegisterChannelzServer (line 215) | func RegisterChannelzServer(s grpc.ServiceRegistrar, srv ChannelzServer) { function _Channelz_GetTopChannels_Handler (line 226) | func _Channelz_GetTopChannels_Handler(srv interface{}, ctx context.Conte... function _Channelz_GetServers_Handler (line 244) | func _Channelz_GetServers_Handler(srv interface{}, ctx context.Context, ... function _Channelz_GetServer_Handler (line 262) | func _Channelz_GetServer_Handler(srv interface{}, ctx context.Context, d... function _Channelz_GetServerSockets_Handler (line 280) | func _Channelz_GetServerSockets_Handler(srv interface{}, ctx context.Con... function _Channelz_GetChannel_Handler (line 298) | func _Channelz_GetChannel_Handler(srv interface{}, ctx context.Context, ... function _Channelz_GetSubchannel_Handler (line 316) | func _Channelz_GetSubchannel_Handler(srv interface{}, ctx context.Contex... function _Channelz_GetSocket_Handler (line 334) | func _Channelz_GetSocket_Handler(srv interface{}, ctx context.Context, d... FILE: channelz/internal/protoconv/channel.go function connectivityStateToProto (line 33) | func connectivityStateToProto(s *connectivity.State) *channelzpb.Channel... function channelTraceToProto (line 53) | func channelTraceToProto(ct *channelz.ChannelTrace) *channelzpb.ChannelT... function channelToProto (line 85) | func channelToProto(cm *channelz.Channel) *channelzpb.Channel { function GetTopChannels (line 120) | func GetTopChannels(startID int64, len int) (channels []*channelzpb.Chan... function GetChannel (line 130) | func GetChannel(id int64) (*channelzpb.Channel, error) { FILE: channelz/internal/protoconv/server.go function serverToProto (line 32) | func serverToProto(sm *channelz.Server) *channelzpb.Server { function GetServers (line 57) | func GetServers(startID int64, len int) (servers []*channelzpb.Server, e... function GetServer (line 67) | func GetServer(id int64) (*channelzpb.Server, error) { FILE: channelz/internal/protoconv/socket.go function securityToProto (line 36) | func securityToProto(se credentials.ChannelzSecurityValue) *channelzpb.S... function addrToProto (line 56) | func addrToProto(a net.Addr) *channelzpb.Address { function socketToProto (line 79) | func socketToProto(skt *channelz.Socket) *channelzpb.Socket { function GetServerSockets (line 120) | func GetServerSockets(serverID, startID int64, len int) (sockets []*chan... function GetSocket (line 130) | func GetSocket(id int64) (*channelzpb.Socket, error) { FILE: channelz/internal/protoconv/sockopt_linux.go function convertToPbDuration (line 34) | func convertToPbDuration(sec int64, usec int64) *durationpb.Duration { function sockoptToProto (line 38) | func sockoptToProto(skopts *channelz.SocketOptionData) []*channelzpb.Soc... FILE: channelz/internal/protoconv/sockopt_nonlinux.go function sockoptToProto (line 29) | func sockoptToProto(_ *channelz.SocketOptionData) []*channelzpb.SocketOp... FILE: channelz/internal/protoconv/subchannel.go function subChannelToProto (line 32) | func subChannelToProto(cm *channelz.SubChannel) *channelzpb.Subchannel { function GetSubChannel (line 59) | func GetSubChannel(id int64) (*channelzpb.Subchannel, error) { FILE: channelz/internal/protoconv/util.go function strFromPointer (line 23) | func strFromPointer(s *string) string { FILE: channelz/service/service.go function init (line 33) | func init() { function RegisterChannelzServiceToServer (line 42) | func RegisterChannelzServiceToServer(s grpc.ServiceRegistrar) { function newCZServer (line 46) | func newCZServer() channelzgrpc.ChannelzServer { type serverImpl (line 50) | type serverImpl struct method GetChannel (line 54) | func (s *serverImpl) GetChannel(_ context.Context, req *channelzpb.Get... method GetTopChannels (line 62) | func (s *serverImpl) GetTopChannels(_ context.Context, req *channelzpb... method GetServer (line 68) | func (s *serverImpl) GetServer(_ context.Context, req *channelzpb.GetS... method GetServers (line 76) | func (s *serverImpl) GetServers(_ context.Context, req *channelzpb.Get... method GetSubchannel (line 82) | func (s *serverImpl) GetSubchannel(_ context.Context, req *channelzpb.... method GetServerSockets (line 90) | func (s *serverImpl) GetServerSockets(_ context.Context, req *channelz... method GetSocket (line 96) | func (s *serverImpl) GetSocket(_ context.Context, req *channelzpb.GetS... FILE: channelz/service/service_sktopt_test.go method TestGetSocketOptions (line 44) | func (s) TestGetSocketOptions(t *testing.T) { FILE: channelz/service/service_test.go function init (line 49) | func init() { type s (line 53) | type s struct method TestGetTopChannels (line 102) | func (s) TestGetTopChannels(t *testing.T) { method TestGetServers (line 161) | func (s) TestGetServers(t *testing.T) { method TestGetServerSockets (line 241) | func (s) TestGetServerSockets(t *testing.T) { method TestGetServerSocketsNonZeroStartID (line 280) | func (s) TestGetServerSocketsNonZeroStartID(t *testing.T) { method TestGetChannel (line 312) | func (s) TestGetChannel(t *testing.T) { method TestGetSubChannel (line 415) | func (s) TestGetSubChannel(t *testing.T) { method TestGetSocket (line 595) | func (s) TestGetSocket(t *testing.T) { function Test (line 57) | func Test(t *testing.T) { constant defaultTestTimeout (line 61) | defaultTestTimeout = 10 * time.Second function channelProtoToStruct (line 63) | func channelProtoToStruct(c *channelzpb.Channel) (*channelz.ChannelMetri... function convertSocketRefSliceToMap (line 94) | func convertSocketRefSliceToMap(sktRefs []*channelzpb.SocketRef) map[int... type czSocket (line 493) | type czSocket struct function newSocket (line 514) | func newSocket(cs czSocket) *channelz.Socket { type OtherChannelzSecurityValue (line 554) | type OtherChannelzSecurityValue struct method Reset (line 559) | func (x *OtherChannelzSecurityValue) Reset() { method String (line 563) | func (x *OtherChannelzSecurityValue) String() string { method ProtoMessage (line 567) | func (*OtherChannelzSecurityValue) ProtoMessage() {} method ProtoReflect (line 569) | func (x OtherChannelzSecurityValue) ProtoReflect() protoreflect.Message { function escape (line 787) | func escape(bs []byte) string { function addr (line 795) | func addr(a net.Addr) string { FILE: clientconn.go constant minConnectTimeout (line 61) | minConnectTimeout = 20 * time.Second constant defaultClientMaxReceiveMessageSize (line 139) | defaultClientMaxReceiveMessageSize = 1024 * 1024 * 4 constant defaultClientMaxSendMessageSize (line 140) | defaultClientMaxSendMessageSize = math.MaxInt32 constant defaultWriteBufSize (line 142) | defaultWriteBufSize = 32 * 1024 constant defaultReadBufSize (line 143) | defaultReadBufSize = 32 * 1024 type defaultConfigSelector (line 146) | type defaultConfigSelector struct method SelectConfig (line 150) | func (dcs *defaultConfigSelector) SelectConfig(rpcInfo iresolver.RPCIn... function NewClient (line 183) | func NewClient(target string, opts ...DialOption) (conn *ClientConn, err... function Dial (line 263) | func Dial(target string, opts ...DialOption) (*ClientConn, error) { function DialContext (line 278) | func DialContext(ctx context.Context, target string, opts ...DialOption)... type idler (line 376) | type idler method EnterIdleMode (line 378) | func (i *idler) EnterIdleMode() { method ExitIdleMode (line 382) | func (i *idler) ExitIdleMode() { function chainUnaryClientInterceptors (line 518) | func chainUnaryClientInterceptors(cc *ClientConn) { function getChainUnaryInvoker (line 539) | func getChainUnaryInvoker(interceptors []UnaryClientInterceptor, curr in... function chainStreamClientInterceptors (line 549) | func chainStreamClientInterceptors(cc *ClientConn) { function getChainStreamer (line 570) | func getChainStreamer(interceptors []StreamClientInterceptor, curr int, ... function newConnectivityStateManager (line 581) | func newConnectivityStateManager(ctx context.Context, channel *channelz.... type connectivityStateManager (line 594) | type connectivityStateManager struct method updateState (line 605) | func (csm *connectivityStateManager) updateState(state connectivity.St... method getState (line 626) | func (csm *connectivityStateManager) getState() connectivity.State { method getNotifyChan (line 632) | func (csm *connectivityStateManager) getNotifyChan() <-chan struct{} { type ClientConnInterface (line 644) | type ClientConnInterface interface type ClientConn (line 667) | type ClientConn struct method addTraceEvent (line 362) | func (cc *ClientConn) addTraceEvent(msg string) { method exitIdleMode (line 392) | func (cc *ClientConn) exitIdleMode() error { method initIdleStateLocked (line 424) | func (cc *ClientConn) initIdleStateLocked() { method enterIdleMode (line 437) | func (cc *ClientConn) enterIdleMode() { method validateTransportCredentials (line 480) | func (cc *ClientConn) validateTransportCredentials() error { method channelzRegistration (line 511) | func (cc *ClientConn) channelzRegistration(target string) { method WaitForStateChange (line 710) | func (cc *ClientConn) WaitForStateChange(ctx context.Context, sourceSt... method GetState (line 724) | func (cc *ClientConn) GetState() connectivity.State { method Connect (line 736) | func (cc *ClientConn) Connect() { method waitForResolvedAddrs (line 757) | func (cc *ClientConn) waitForResolvedAddrs(ctx context.Context) (bool,... method maybeApplyDefaultServiceConfig (line 794) | func (cc *ClientConn) maybeApplyDefaultServiceConfig() { method updateResolverStateAndUnlock (line 806) | func (cc *ClientConn) updateResolverStateAndUnlock(s resolver.State, e... method applyFailingLBLocked (line 878) | func (cc *ClientConn) applyFailingLBLocked(sc *serviceconfig.ParseResu... method newAddrConnLocked (line 901) | func (cc *ClientConn) newAddrConnLocked(addrs []resolver.Address, opts... method removeAddrConn (line 937) | func (cc *ClientConn) removeAddrConn(ac *addrConn, err error) { method Target (line 949) | func (cc *ClientConn) Target() string { method CanonicalTarget (line 960) | func (cc *ClientConn) CanonicalTarget() string { method incrCallsStarted (line 964) | func (cc *ClientConn) incrCallsStarted() { method incrCallsSucceeded (line 969) | func (cc *ClientConn) incrCallsSucceeded() { method incrCallsFailed (line 973) | func (cc *ClientConn) incrCallsFailed() { method getServerName (line 1085) | func (cc *ClientConn) getServerName(addr resolver.Address) string { method GetMethodConfig (line 1117) | func (cc *ClientConn) GetMethodConfig(method string) MethodConfig { method healthCheckConfig (line 1124) | func (cc *ClientConn) healthCheckConfig() *healthCheckConfig { method applyServiceConfigAndBalancer (line 1133) | func (cc *ClientConn) applyServiceConfigAndBalancer(sc *ServiceConfig,... method resolveNow (line 1156) | func (cc *ClientConn) resolveNow(o resolver.ResolveNowOptions) { method resolveNowLocked (line 1162) | func (cc *ClientConn) resolveNowLocked(o resolver.ResolveNowOptions) { method ResetConnectBackoff (line 1179) | func (cc *ClientConn) ResetConnectBackoff() { method Close (line 1189) | func (cc *ClientConn) Close() error { method getResolver (line 1770) | func (cc *ClientConn) getResolver(scheme string) resolver.Builder { method updateConnectionError (line 1779) | func (cc *ClientConn) updateConnectionError(err error) { method connectionError (line 1785) | func (cc *ClientConn) connectionError() error { method initParsedTargetAndResolverBuilder (line 1798) | func (cc *ClientConn) initParsedTargetAndResolverBuilder() error { method initAuthority (line 1917) | func (cc *ClientConn) initAuthority() error { function init (line 776) | func init() { function copyAddresses (line 892) | func copyAddresses(in []resolver.Address) []resolver.Address { function equalAddressIgnoringBalAttributes (line 1004) | func equalAddressIgnoringBalAttributes(a, b *resolver.Address) bool { function equalAddressesIgnoringBalAttributes (line 1010) | func equalAddressesIgnoringBalAttributes(a, b []resolver.Address) bool { function getMethodConfig (line 1095) | func getMethodConfig(sc *ServiceConfig, method string) MethodConfig { type addrConn (line 1240) | type addrConn struct method connect (line 980) | func (ac *addrConn) connect() { method updateAddrs (line 1016) | func (ac *addrConn) updateAddrs(addrs []resolver.Address) { method updateConnectivityState (line 1276) | func (ac *addrConn) updateConnectivityState(s connectivity.State, last... method adjustParams (line 1304) | func (ac *addrConn) adjustParams(r transport.GoAwayReason) { method resetTransportAndUnlock (line 1318) | func (ac *addrConn) resetTransportAndUnlock() { method updateTelemetryLabelsLocked (line 1405) | func (ac *addrConn) updateTelemetryLabelsLocked() { method securityLevelLocked (line 1420) | func (ac *addrConn) securityLevelLocked() string { method tryAllAddrs (line 1444) | func (ac *addrConn) tryAllAddrs(ctx context.Context, addrs []resolver.... method createTransport (line 1482) | func (ac *addrConn) createTransport(ctx context.Context, addr resolver... method startHealthCheck (line 1575) | func (ac *addrConn) startHealthCheck(ctx context.Context) { method resetConnectBackoff (line 1636) | func (ac *addrConn) resetConnectBackoff() { method getReadyTransport (line 1645) | func (ac *addrConn) getReadyTransport() transport.ClientTransport { method tearDown (line 1658) | func (ac *addrConn) tearDown(err error) { method incrCallsStarted (line 1747) | func (ac *addrConn) incrCallsStarted() { method incrCallsSucceeded (line 1752) | func (ac *addrConn) incrCallsSucceeded() { method incrCallsFailed (line 1756) | func (ac *addrConn) incrCallsFailed() { type securityLevelKey (line 1418) | type securityLevelKey struct type retryThrottler (line 1710) | type retryThrottler struct method throttle (line 1722) | func (rt *retryThrottler) throttle() bool { method successfulRPC (line 1735) | func (rt *retryThrottler) successfulRPC() { function parseTarget (line 1840) | func parseTarget(target string) (resolver.Target, error) { function encodeAuthority (line 1851) | func encodeAuthority(authority string) string { FILE: clientconn_authority_test.go method TestClientConnAuthority (line 31) | func (s) TestClientConnAuthority(t *testing.T) { method TestClientConnAuthority_CredsAndDialOptionMismatch (line 124) | func (s) TestClientConnAuthority_CredsAndDialOptionMismatch(t *testing.T) { FILE: clientconn_parsed_target_test.go function generateTarget (line 37) | func generateTarget(target string) resolver.Target { function resetInitialResolverState (line 42) | func resetInitialResolverState() { type testResolverForParser (line 47) | type testResolverForParser struct method Build (line 51) | func (testResolverForParser) Build(resolver.Target, resolver.ClientCon... method Close (line 55) | func (testResolverForParser) Close() {} method Scheme (line 57) | func (testResolverForParser) Scheme() string { function init (line 61) | func init() { resolver.Register(testResolverForParser{}) } method TestParsedTarget_Success_WithoutCustomDialer (line 63) | func (s) TestParsedTarget_Success_WithoutCustomDialer(t *testing.T) { method TestParsedTarget_Failure_WithoutCustomDialer (line 188) | func (s) TestParsedTarget_Failure_WithoutCustomDialer(t *testing.T) { method TestParsedTarget_Failure_WithoutCustomDialer_WithNewClient (line 207) | func (s) TestParsedTarget_Failure_WithoutCustomDialer_WithNewClient(t *t... method TestParsedTarget_WithCustomDialer (line 238) | func (s) TestParsedTarget_WithCustomDialer(t *testing.T) { FILE: clientconn_test.go constant defaultTestTimeout (line 47) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 48) | defaultTestShortTimeout = 10 * time.Millisecond constant stateRecordingBalancerName (line 49) | stateRecordingBalancerName = "state_recording_balancer" constant grpclbServiceConfig (line 50) | grpclbServiceConfig = `{"loadBalancingConfig": [{"grpclb": {}}]}` constant rrServiceConfig (line 51) | rrServiceConfig = `{"loadBalancingPolicy": [{"round_robin": {... function init (line 56) | func init() { function parseCfg (line 60) | func parseCfg(r *manual.Resolver, s string) *serviceconfig.ParseResult { method TestNewClientWithMultipleBackendsNotSendingServerPreface (line 68) | func (s) TestNewClientWithMultipleBackendsNotSendingServerPreface(t *tes... method TestCloseConnectionWhenServerPrefaceNotReceived (line 129) | func (s) TestCloseConnectionWhenServerPrefaceNotReceived(t *testing.T) { method TestBackoffWhenNoServerPrefaceReceived (line 204) | func (s) TestBackoffWhenNoServerPrefaceReceived(t *testing.T) { method TestNewClient_BackoffCountPerRetryGroup (line 261) | func (s) TestNewClient_BackoffCountPerRetryGroup(t *testing.T) { type securePerRPCCredentials (line 346) | type securePerRPCCredentials struct method RequireTransportSecurity (line 350) | func (c securePerRPCCredentials) RequireTransportSecurity() bool { type fakeBundleCreds (line 354) | type fakeBundleCreds struct method TransportCredentials (line 359) | func (b *fakeBundleCreds) TransportCredentials() credentials.Transport... method TestCredentialsMisuse (line 363) | func (s) TestCredentialsMisuse(t *testing.T) { method TestWithBackoffConfigDefault (line 394) | func (s) TestWithBackoffConfigDefault(t *testing.T) { method TestWithBackoffConfig (line 398) | func (s) TestWithBackoffConfig(t *testing.T) { method TestWithBackoffMaxDelay (line 406) | func (s) TestWithBackoffMaxDelay(t *testing.T) { method TestWithConnectParams (line 414) | func (s) TestWithConnectParams(t *testing.T) { function testBackoffConfigSet (line 427) | func testBackoffConfigSet(t *testing.T, wantBackoff internalbackoff.Expo... method TestConnectParamsWithMinConnectTimeout (line 449) | func (s) TestConnectParamsWithMinConnectTimeout(t *testing.T) { method TestResolverServiceConfigBeforeAddressNotPanic (line 463) | func (s) TestResolverServiceConfigBeforeAddressNotPanic(t *testing.T) { method TestResolverServiceConfigWhileClosingNotPanic (line 479) | func (s) TestResolverServiceConfigWhileClosingNotPanic(t *testing.T) { method TestResolverEmptyUpdateNotPanic (line 493) | func (s) TestResolverEmptyUpdateNotPanic(t *testing.T) { method TestDisableServiceConfigOption (line 508) | func (s) TestDisableServiceConfigOption(t *testing.T) { method TestMethodConfigDefaultService (line 537) | func (s) TestMethodConfigDefaultService(t *testing.T) { method TestClientConnCanonicalTarget (line 561) | func (s) TestClientConnCanonicalTarget(t *testing.T) { type backoffForever (line 605) | type backoffForever struct method Backoff (line 607) | func (b backoffForever) Backoff(int) time.Duration { return time.Durat... method TestResetConnectBackoff (line 609) | func (s) TestResetConnectBackoff(t *testing.T) { method TestBackoffCancel (line 648) | func (s) TestBackoffCancel(t *testing.T) { method TestUpdateAddresses_NoopIfCalledWithSameAddresses (line 670) | func (s) TestUpdateAddresses_NoopIfCalledWithSameAddresses(t *testing.T) { method TestDefaultServiceConfig (line 840) | func (s) TestDefaultServiceConfig(t *testing.T) { function verifyWaitForReadyEqualsTrue (line 891) | func verifyWaitForReadyEqualsTrue(cc *ClientConn) bool { function testInvalidDefaultServiceConfig (line 903) | func testInvalidDefaultServiceConfig(t *testing.T, r *manual.Resolver, a... function testDefaultServiceConfigWhenResolverServiceConfigDisabled (line 910) | func testDefaultServiceConfigWhenResolverServiceConfigDisabled(t *testin... function testDefaultServiceConfigWhenResolverDoesNotReturnServiceConfig (line 927) | func testDefaultServiceConfigWhenResolverDoesNotReturnServiceConfig(t *t... function testDefaultServiceConfigWhenResolverReturnInvalidServiceConfig (line 942) | func testDefaultServiceConfigWhenResolverReturnInvalidServiceConfig(t *t... type stateRecordingBalancer (line 957) | type stateRecordingBalancer struct method UpdateSubConnState (line 961) | func (b *stateRecordingBalancer) UpdateSubConnState(sc balancer.SubCon... method Close (line 965) | func (b *stateRecordingBalancer) Close() { type stateRecordingBalancerBuilder (line 969) | type stateRecordingBalancerBuilder struct method Name (line 978) | func (b *stateRecordingBalancerBuilder) Name() string { method Build (line 982) | func (b *stateRecordingBalancerBuilder) Build(cc balancer.ClientConn, ... method nextStateNotifier (line 992) | func (b *stateRecordingBalancerBuilder) nextStateNotifier() <-chan con... function newStateRecordingBalancerBuilder (line 974) | func newStateRecordingBalancerBuilder() *stateRecordingBalancerBuilder { type stateRecordingCCWrapper (line 1000) | type stateRecordingCCWrapper struct method NewSubConn (line 1005) | func (ccw *stateRecordingCCWrapper) NewSubConn(addrs []resolver.Addres... function keepReading (line 1018) | func keepReading(conn net.Conn) { function stayConnected (line 1026) | func stayConnected(cc *ClientConn) { method TestURLAuthorityEscape (line 1044) | func (s) TestURLAuthorityEscape(t *testing.T) { FILE: cmd/protoc-gen-go-grpc/grpc.go constant contextPackage (line 32) | contextPackage = protogen.GoImportPath("context") constant grpcPackage (line 33) | grpcPackage = protogen.GoImportPath("google.golang.org/grpc") constant codesPackage (line 34) | codesPackage = protogen.GoImportPath("google.golang.org/grpc/codes") constant statusPackage (line 35) | statusPackage = protogen.GoImportPath("google.golang.org/grpc/status") type serviceGenerateHelperInterface (line 38) | type serviceGenerateHelperInterface interface type serviceGenerateHelper (line 48) | type serviceGenerateHelper struct method formatFullMethodSymbol (line 50) | func (serviceGenerateHelper) formatFullMethodSymbol(service *protogen.... method genFullMethods (line 54) | func (serviceGenerateHelper) genFullMethods(g *protogen.GeneratedFile,... method generateClientStruct (line 69) | func (serviceGenerateHelper) generateClientStruct(g *protogen.Generate... method generateNewClientDefinitions (line 76) | func (serviceGenerateHelper) generateNewClientDefinitions(g *protogen.... method generateUnimplementedServerType (line 80) | func (serviceGenerateHelper) generateUnimplementedServerType(_ *protog... method generateServerFunctions (line 110) | func (serviceGenerateHelper) generateServerFunctions(gen *protogen.Plu... method formatHandlerFuncName (line 122) | func (serviceGenerateHelper) formatHandlerFuncName(_ *protogen.Service... constant fileDescriptorProtoPackageFieldNumber (line 129) | fileDescriptorProtoPackageFieldNumber = 2 constant fileDescriptorProtoSyntaxFieldNumber (line 132) | fileDescriptorProtoSyntaxFieldNumber = 12 function generateFile (line 135) | func generateFile(gen *protogen.Plugin, file *protogen.File) *protogen.G... function protocVersion (line 161) | func protocVersion(gen *protogen.Plugin) string { function generateFileContent (line 174) | func generateFileContent(gen *protogen.Plugin, file *protogen.File, g *p... function genServiceComments (line 191) | func genServiceComments(g *protogen.GeneratedFile, service *protogen.Ser... function genService (line 200) | func genService(gen *protogen.Plugin, file *protogen.File, g *protogen.G... function clientSignature (line 322) | func clientSignature(g *protogen.GeneratedFile, method *protogen.Method)... function clientStreamInterface (line 337) | func clientStreamInterface(g *protogen.GeneratedFile, method *protogen.M... function genClientMethod (line 348) | func genClientMethod(_ *protogen.Plugin, _ *protogen.File, g *protogen.G... function serverSignature (line 387) | func serverSignature(g *protogen.GeneratedFile, method *protogen.Method)... function genServiceDesc (line 403) | func genServiceDesc(file *protogen.File, g *protogen.GeneratedFile, serv... function serverStreamInterface (line 444) | func serverStreamInterface(g *protogen.GeneratedFile, method *protogen.M... function genServerMethod (line 456) | func genServerMethod(_ *protogen.Plugin, _ *protogen.File, g *protogen.G... function genLeadingComments (line 500) | func genLeadingComments(g *protogen.GeneratedFile, loc protoreflect.Sour... constant deprecationComment (line 511) | deprecationComment = "// Deprecated: Do not use." function unexport (line 513) | func unexport(s string) string { return strings.ToLower(s[:1]) + s[1:] } FILE: cmd/protoc-gen-go-grpc/main.go constant version (line 45) | version = "1.6.1" function main (line 49) | func main() { FILE: cmd/protoc-gen-go-grpc/unimpl_test.go type unimplEmbeddedByPointer (line 28) | type unimplEmbeddedByPointer struct type unimplEmbeddedByValue (line 32) | type unimplEmbeddedByValue struct function TestUnimplementedEmbedding (line 36) | func TestUnimplementedEmbedding(t *testing.T) { FILE: codec.go type baseCodec (line 31) | type baseCodec interface function getCodec (line 41) | func getCodec(name string) encoding.CodecV2 { function newCodecV0Bridge (line 49) | func newCodecV0Bridge(c Codec) baseCodec { function newCodecV1Bridge (line 53) | func newCodecV1Bridge(c encoding.Codec) encoding.CodecV2 { type codecV0Bridge (line 62) | type codecV0Bridge struct method Marshal (line 69) | func (c codecV0Bridge) Marshal(v any) (mem.BufferSlice, error) { method Unmarshal (line 77) | func (c codecV0Bridge) Unmarshal(data mem.BufferSlice, v any) (err err... type codecV1Bridge (line 83) | type codecV1Bridge struct method Name (line 88) | func (c codecV1Bridge) Name() string { type Codec (line 97) | type Codec interface FILE: codec_test.go method TestGetCodecForProtoIsNotNil (line 28) | func (s) TestGetCodecForProtoIsNotNil(t *testing.T) { FILE: codes/code_string.go function init (line 27) | func init() { method String (line 31) | func (c Code) String() string { function canonicalString (line 72) | func canonicalString(c Code) string { FILE: codes/codes.go type Code (line 35) | type Code method UnmarshalJSON (line 225) | func (c *Code) UnmarshalJSON(b []byte) error { constant OK (line 39) | OK Code = 0 constant Canceled (line 45) | Canceled Code = 1 constant Unknown (line 55) | Unknown Code = 2 constant InvalidArgument (line 63) | InvalidArgument Code = 3 constant DeadlineExceeded (line 73) | DeadlineExceeded Code = 4 constant NotFound (line 79) | NotFound Code = 5 constant AlreadyExists (line 85) | AlreadyExists Code = 6 constant PermissionDenied (line 96) | PermissionDenied Code = 7 constant ResourceExhausted (line 104) | ResourceExhausted Code = 8 constant FailedPrecondition (line 127) | FailedPrecondition Code = 9 constant Aborted (line 137) | Aborted Code = 10 constant OutOfRange (line 156) | OutOfRange Code = 11 constant Unimplemented (line 166) | Unimplemented Code = 12 constant Internal (line 174) | Internal Code = 13 constant Unavailable (line 186) | Unavailable Code = 14 constant DataLoss (line 191) | DataLoss Code = 15 constant Unauthenticated (line 199) | Unauthenticated Code = 16 constant _maxCode (line 201) | _maxCode = 17 FILE: codes/codes_test.go type s (line 31) | type s struct method TestUnmarshalJSON (line 39) | func (s) TestUnmarshalJSON(t *testing.T) { method TestJSONUnmarshal (line 49) | func (s) TestJSONUnmarshal(t *testing.T) { method TestUnmarshalJSON_NilReceiver (line 59) | func (s) TestUnmarshalJSON_NilReceiver(t *testing.T) { method TestUnmarshalJSON_UnknownInput (line 67) | func (s) TestUnmarshalJSON_UnknownInput(t *testing.T) { method TestUnmarshalJSON_MarshalUnmarshal (line 76) | func (s) TestUnmarshalJSON_MarshalUnmarshal(t *testing.T) { method TestUnmarshalJSON_InvalidIntegerCode (line 96) | func (s) TestUnmarshalJSON_InvalidIntegerCode(t *testing.T) { function Test (line 35) | func Test(t *testing.T) { FILE: connectivity/connectivity.go type State (line 31) | type State method String (line 33) | func (s State) String() string { constant Idle (line 53) | Idle State = iota constant Connecting (line 55) | Connecting constant Ready (line 57) | Ready constant TransientFailure (line 59) | TransientFailure constant Shutdown (line 61) | Shutdown type ServingMode (line 67) | type ServingMode method String (line 82) | func (s ServingMode) String() string { constant ServingModeStarting (line 71) | ServingModeStarting ServingMode = iota constant ServingModeServing (line 74) | ServingModeServing constant ServingModeNotServing (line 79) | ServingModeNotServing FILE: credentials/alts/alts.go constant hypervisorHandshakerServiceAddress (line 46) | hypervisorHandshakerServiceAddress = "dns:///metadata.google.internal.:8... constant defaultTimeout (line 48) | defaultTimeout = 30.0 * time.Second constant protocolVersionMaxMajor (line 51) | protocolVersionMaxMajor = 2 constant protocolVersionMaxMinor (line 52) | protocolVersionMaxMinor = 1 constant protocolVersionMinMajor (line 53) | protocolVersionMinMajor = 2 constant protocolVersionMinMinor (line 54) | protocolVersionMinMinor = 1 type AuthInfo (line 80) | type AuthInfo interface type ClientOptions (line 100) | type ClientOptions struct function DefaultClientOptions (line 111) | func DefaultClientOptions() *ClientOptions { type ServerOptions (line 119) | type ServerOptions struct function DefaultServerOptions (line 127) | func DefaultServerOptions() *ServerOptions { type altsTC (line 135) | type altsTC struct method ClientHandshake (line 172) | func (g *altsTC) ClientHandshake(ctx context.Context, addr string, raw... method ServerHandshake (line 228) | func (g *altsTC) ServerHandshake(rawConn net.Conn) (_ net.Conn, _ cred... method Info (line 270) | func (g *altsTC) Info() credentials.ProtocolInfo { method Clone (line 274) | func (g *altsTC) Clone() credentials.TransportCredentials { method OverrideServerName (line 289) | func (g *altsTC) OverrideServerName(serverNameOverride string) error { function NewClientCreds (line 144) | func NewClientCreds(opts *ClientOptions) credentials.TransportCredentials { function NewServerCreds (line 149) | func NewServerCreds(opts *ServerOptions) credentials.TransportCredentials { function newALTS (line 153) | func newALTS(side core.Side, accounts []string, hsAddress string) creden... function compareRPCVersions (line 295) | func compareRPCVersions(v1, v2 *altspb.RpcProtocolVersions_Version) int { function checkRPCVersions (line 312) | func checkRPCVersions(local, peer *altspb.RpcProtocolVersions) (bool, *a... FILE: credentials/alts/alts_test.go constant defaultTestLongTimeout (line 49) | defaultTestLongTimeout = 60 * time.Second constant defaultTestShortTimeout (line 50) | defaultTestShortTimeout = 10 * time.Millisecond type s (line 53) | type s struct method TestInfoServerName (line 69) | func (s) TestInfoServerName(t *testing.T) { method TestOverrideServerName (line 78) | func (s) TestOverrideServerName(t *testing.T) { method TestCloneClient (line 89) | func (s) TestCloneClient(t *testing.T) { method TestCloneServer (line 121) | func (s) TestCloneServer(t *testing.T) { method TestInfo (line 151) | func (s) TestInfo(t *testing.T) { method TestCompareRPCVersions (line 167) | func (s) TestCompareRPCVersions(t *testing.T) { method TestCheckRPCVersions (line 205) | func (s) TestCheckRPCVersions(t *testing.T) { method TestFullHandshake (line 318) | func (s) TestFullHandshake(t *testing.T) { method TestHandshakeWithAccessToken (line 339) | func (s) TestHandshakeWithAccessToken(t *testing.T) { method TestConcurrentHandshakes (line 361) | func (s) TestConcurrentHandshakes(t *testing.T) { function init (line 57) | func init() { function Test (line 65) | func Test(t *testing.T) { function version (line 392) | func version(major, minor uint32) *altspb.RpcProtocolVersions_Version { function versions (line 399) | func versions(minMajor, minMinor, maxMajor, maxMinor uint32) *altspb.Rpc... function establishAltsConnection (line 406) | func establishAltsConnection(t *testing.T, handshakerAddress, serverAddr... function establishAltsConnectionWithBoundAccessToken (line 410) | func establishAltsConnectionWithBoundAccessToken(t *testing.T, handshake... function startFakeHandshakerService (line 458) | func startFakeHandshakerService(t *testing.T, wait *sync.WaitGroup) (sto... function startFakeHandshakerServiceWithExpectedBoundAccessToken (line 462) | func startFakeHandshakerServiceWithExpectedBoundAccessToken(t *testing.T... function startServer (line 483) | func startServer(t *testing.T, handshakerServiceAddress string) (stop fu... FILE: credentials/alts/internal/authinfo/authinfo.go type altsAuthInfo (line 31) | type altsAuthInfo struct method AuthType (line 58) | func (s *altsAuthInfo) AuthType() string { method ApplicationProtocol (line 63) | func (s *altsAuthInfo) ApplicationProtocol() string { method RecordProtocol (line 68) | func (s *altsAuthInfo) RecordProtocol() string { method SecurityLevel (line 73) | func (s *altsAuthInfo) SecurityLevel() altspb.SecurityLevel { method PeerServiceAccount (line 78) | func (s *altsAuthInfo) PeerServiceAccount() string { method LocalServiceAccount (line 83) | func (s *altsAuthInfo) LocalServiceAccount() string { method PeerRPCVersions (line 88) | func (s *altsAuthInfo) PeerRPCVersions() *altspb.RpcProtocolVersions { method PeerAttributes (line 93) | func (s *altsAuthInfo) PeerAttributes() map[string]string { function New (line 37) | func New(result *altspb.HandshakerResult) credentials.AuthInfo { function newAuthInfo (line 41) | func newAuthInfo(result *altspb.HandshakerResult) *altsAuthInfo { FILE: credentials/alts/internal/authinfo/authinfo_test.go type s (line 29) | type s struct method TestALTSAuthInfo (line 48) | func (s) TestALTSAuthInfo(t *testing.T) { function Test (line 33) | func Test(t *testing.T) { constant testAppProtocol (line 38) | testAppProtocol = "my_app" constant testRecordProtocol (line 39) | testRecordProtocol = "very_secure_protocol" constant testPeerAccount (line 40) | testPeerAccount = "peer_service_account" constant testLocalAccount (line 41) | testLocalAccount = "local_service_account" constant testPeerHostname (line 42) | testPeerHostname = "peer_hostname" constant testLocalHostname (line 43) | testLocalHostname = "local_hostname" constant testLocalPeerAttributeKey (line 44) | testLocalPeerAttributeKey = "peer" constant testLocalPeerAttributeValue (line 45) | testLocalPeerAttributeValue = "attributes" FILE: credentials/alts/internal/common.go constant ClientSide (line 31) | ClientSide Side = iota constant ServerSide (line 33) | ServerSide type Side (line 42) | type Side type peerNotRespondingError (line 44) | type peerNotRespondingError struct method Error (line 47) | func (e *peerNotRespondingError) Error() string { method Temporary (line 52) | func (e *peerNotRespondingError) Temporary() bool { type Handshaker (line 57) | type Handshaker interface FILE: credentials/alts/internal/conn/aeadrekey.go type rekeyAEAD (line 35) | type rekeyAEAD struct method Seal (line 70) | func (s *rekeyAEAD) Seal(dst, nonce, plaintext, additionalData []byte)... method Open (line 80) | func (s *rekeyAEAD) Open(dst, nonce, ciphertext, additionalData []byte... method rekeyIfRequired (line 90) | func (s *rekeyAEAD) rekeyIfRequired(nonce []byte) error { method NonceSize (line 115) | func (s *rekeyAEAD) NonceSize() int { method Overhead (line 120) | func (s *rekeyAEAD) Overhead() int { type KeySizeError (line 44) | type KeySizeError method Error (line 46) | func (k KeySizeError) Error() string { function newRekeyAEAD (line 54) | func newRekeyAEAD(key []byte) (*rekeyAEAD, error) { function maskNonce (line 105) | func maskNonce(dst, nonce, mask []byte) { function hkdfExpand (line 126) | func hkdfExpand(key, info []byte) []byte { FILE: credentials/alts/internal/conn/aeadrekey_test.go type rekeyAEADTestVector (line 28) | type rekeyAEADTestVector struct method TestAES128GCMRekeyEncrypt (line 34) | func (s) TestAES128GCMRekeyEncrypt(t *testing.T) { function dehex (line 254) | func dehex(s string) []byte { FILE: credentials/alts/internal/conn/aes128gcm.go constant overflowLenAES128GCM (line 31) | overflowLenAES128GCM = 5 type aes128gcm (line 37) | type aes128gcm struct method Encrypt (line 68) | func (s *aes128gcm) Encrypt(dst, plaintext []byte) ([]byte, error) { method EncryptionOverhead (line 89) | func (s *aes128gcm) EncryptionOverhead() int { method Decrypt (line 93) | func (s *aes128gcm) Decrypt(dst, ciphertext []byte) ([]byte, error) { function NewAES128GCM (line 47) | func NewAES128GCM(side core.Side, key []byte) (ALTSRecordCrypto, error) { FILE: credentials/alts/internal/conn/aes128gcm_test.go type cryptoTestVector (line 29) | type cryptoTestVector struct function getGCMCryptoPair (line 35) | func getGCMCryptoPair(key []byte, counter []byte, t *testing.T) (ALTSRec... function testGCMEncryptionDecryption (line 57) | func testGCMEncryptionDecryption(sender ALTSRecordCrypto, receiver ALTSR... method TestAES128GCMEncrypt (line 84) | func (s) TestAES128GCMEncrypt(t *testing.T) { function testGCMEncryptRoundtrip (line 161) | func testGCMEncryptRoundtrip(client ALTSRecordCrypto, server ALTSRecordC... method TestAES128GCMEncryptRoundtrip (line 218) | func (s) TestAES128GCMEncryptRoundtrip(t *testing.T) { FILE: credentials/alts/internal/conn/aes128gcmrekey.go constant overflowLenAES128GCMRekey (line 30) | overflowLenAES128GCMRekey = 8 constant nonceLen (line 31) | nonceLen = 12 constant aeadKeyLen (line 32) | aeadKeyLen = 16 constant kdfKeyLen (line 33) | kdfKeyLen = 32 constant kdfCounterOffset (line 34) | kdfCounterOffset = 2 constant kdfCounterLen (line 35) | kdfCounterLen = 6 constant sizeUint64 (line 36) | sizeUint64 = 8 type aes128gcmRekey (line 42) | type aes128gcmRekey struct method Encrypt (line 80) | func (s *aes128gcmRekey) Encrypt(dst, plaintext []byte) ([]byte, error) { method EncryptionOverhead (line 101) | func (s *aes128gcmRekey) EncryptionOverhead() int { method Decrypt (line 105) | func (s *aes128gcmRekey) Decrypt(dst, ciphertext []byte) ([]byte, erro... function NewAES128GCMRekey (line 56) | func NewAES128GCMRekey(side core.Side, key []byte) (ALTSRecordCrypto, er... FILE: credentials/alts/internal/conn/aes128gcmrekey_test.go function getRekeyCryptoPair (line 28) | func getRekeyCryptoPair(key []byte, counter []byte, t *testing.T) (ALTSR... function testRekeyEncryptRoundtrip (line 50) | func testRekeyEncryptRoundtrip(client ALTSRecordCrypto, server ALTSRecor... method TestAES128GCMRekeyEncryptRoundtrip (line 107) | func (s) TestAES128GCMRekeyEncryptRoundtrip(t *testing.T) { FILE: credentials/alts/internal/conn/common.go constant GcmTagSize (line 31) | GcmTagSize = 16 function SliceForAppend (line 41) | func SliceForAppend(in []byte, n int) (head, tail []byte) { function ParseFramedMsg (line 54) | func ParseFramedMsg(b []byte, maxLen uint32) ([]byte, []byte, error) { function parseMessageLength (line 74) | func parseMessageLength(b []byte) (uint32, bool) { FILE: credentials/alts/internal/conn/counter.go constant counterLen (line 25) | counterLen = 12 type Counter (line 32) | type Counter struct method Value (line 39) | func (c *Counter) Value() ([]byte, error) { method Inc (line 47) | func (c *Counter) Inc() { FILE: credentials/alts/internal/conn/counter_test.go constant testOverflowLen (line 29) | testOverflowLen = 5 method TestCounterSides (line 32) | func (s) TestCounterSides(t *testing.T) { method TestCounterInc (line 53) | func (s) TestCounterInc(t *testing.T) { method TestRolloverCounter (line 92) | func (s) TestRolloverCounter(t *testing.T) { FILE: credentials/alts/internal/conn/record.go type ALTSRecordCrypto (line 34) | type ALTSRecordCrypto interface type ALTSRecordFunc (line 52) | type ALTSRecordFunc constant MsgLenFieldSize (line 57) | MsgLenFieldSize = 4 constant msgTypeFieldSize (line 59) | msgTypeFieldSize = 4 constant altsRecordLengthLimit (line 61) | altsRecordLengthLimit = 1024 * 1024 constant altsRecordDefaultLength (line 63) | altsRecordDefaultLength = 4 * 1024 constant altsRecordMsgType (line 65) | altsRecordMsgType = uint32(0x06) constant altsWriteBufferMaxSize (line 68) | altsWriteBufferMaxSize = 512 * 1024 constant altsReadBufferInitialSize (line 72) | altsReadBufferInitialSize = 32*1024 + 512 function init (line 80) | func init() { function RegisterProtocol (line 97) | func RegisterProtocol(protocol string, f ALTSRecordFunc) error { type conn (line 106) | type conn struct method Read (line 158) | func (p *conn) Read(b []byte) (n int, err error) { method Write (line 243) | func (p *conn) Write(b []byte) (n int, err error) { function NewConn (line 124) | func NewConn(c net.Conn, side core.Side, recordProtocol string, key []by... FILE: credentials/alts/internal/conn/record_test.go type s (line 36) | type s struct method TestPingPong (line 135) | func (s) TestPingPong(t *testing.T) { method TestSmallReadBuffer (line 162) | func (s) TestSmallReadBuffer(t *testing.T) { method TestLargeMsg (line 186) | func (s) TestLargeMsg(t *testing.T) { method TestLargeRecord (line 196) | func (s) TestLargeRecord(t *testing.T) { method TestIncorrectMsgType (line 250) | func (s) TestIncorrectMsgType(t *testing.T) { method TestFrameTooLarge (line 283) | func (s) TestFrameTooLarge(t *testing.T) { method TestWriteLargeData (line 326) | func (s) TestWriteLargeData(t *testing.T) { method TestProtectedBuffer (line 367) | func (s) TestProtectedBuffer(t *testing.T) { function Test (line 40) | func Test(t *testing.T) { constant rekeyRecordProtocol (line 45) | rekeyRecordProtocol = "ALTSRP_GCM_AES128_REKEY" function init (line 58) | func init() { type testConn (line 67) | type testConn struct method Read (line 73) | func (c *testConn) Read(b []byte) (n int, err error) { method Write (line 77) | func (c *testConn) Write(b []byte) (n int, err error) { method Close (line 81) | func (c *testConn) Close() error { function newTestALTSRecordConn (line 85) | func newTestALTSRecordConn(in, out *bytes.Buffer, side core.Side, rp str... function newConnPair (line 100) | func newConnPair(rp string, clientProtected []byte, serverProtected []by... function testPingPong (line 108) | func testPingPong(t *testing.T, rp string) { function testSmallReadBuffer (line 141) | func testSmallReadBuffer(t *testing.T, rp string) { function testLargeMsg (line 168) | func testLargeMsg(t *testing.T, rp string) { function BenchmarkLargeMessage (line 215) | func BenchmarkLargeMessage(b *testing.B) { function testIncorrectMsgType (line 234) | func testIncorrectMsgType(t *testing.T, rp string) { function testFrameTooLarge (line 256) | func testFrameTooLarge(t *testing.T, rp string) { function testWriteLargeData (line 289) | func testWriteLargeData(t *testing.T, rp string) { function testProtectedBuffer (line 332) | func testProtectedBuffer(t *testing.T, rp string) { function BenchmarkMemoryUsage (line 375) | func BenchmarkMemoryUsage(b *testing.B) { FILE: credentials/alts/internal/conn/utils.go function NewOutCounter (line 25) | func NewOutCounter(s core.Side, overflowLen int) (c Counter) { function NewInCounter (line 39) | func NewInCounter(s core.Side, overflowLen int) (c Counter) { function CounterFromValue (line 50) | func CounterFromValue(value []byte, overflowLen int) (c Counter) { function CounterSide (line 58) | func CounterSide(c []byte) core.Side { FILE: credentials/alts/internal/handshaker/handshaker.go constant frameLimit (line 44) | frameLimit = 64 * 1024 constant rekeyRecordProtocolName (line 45) | rekeyRecordProtocolName = "ALTSRP_GCM_AES128_REKEY" function init (line 69) | func init() { type ClientHandshakerOptions (line 79) | type ClientHandshakerOptions struct type ServerHandshakerOptions (line 97) | type ServerHandshakerOptions struct function DefaultClientHandshakerOptions (line 103) | func DefaultClientHandshakerOptions() *ClientHandshakerOptions { function DefaultServerHandshakerOptions (line 108) | func DefaultServerHandshakerOptions() *ServerHandshakerOptions { type altsHandshaker (line 115) | type altsHandshaker struct method ClientHandshake (line 158) | func (h *altsHandshaker) ClientHandshake(ctx context.Context) (net.Con... method ServerHandshake (line 213) | func (h *altsHandshaker) ServerHandshake(ctx context.Context) (net.Con... method doHandshake (line 263) | func (h *altsHandshaker) doHandshake(req *altspb.HandshakerReq) (net.C... method accessHandshakerService (line 299) | func (h *altsHandshaker) accessHandshakerService(req *altspb.Handshake... method processUntilDone (line 313) | func (h *altsHandshaker) processUntilDone(resp *altspb.HandshakerResp,... method Close (line 366) | func (h *altsHandshaker) Close() { function NewClientHandshaker (line 133) | func NewClientHandshaker(_ context.Context, conn *grpc.ClientConn, c net... function NewServerHandshaker (line 146) | func NewServerHandshaker(_ context.Context, conn *grpc.ClientConn, c net... function ResetConcurrentHandshakeSemaphoreForTesting (line 374) | func ResetConcurrentHandshakeSemaphoreForTesting(numberOfAllowedHandshak... FILE: credentials/alts/internal/handshaker/handshaker_test.go type s (line 39) | type s struct method TestClientHandshake (line 147) | func (s) TestClientHandshake(t *testing.T) { method TestServerHandshake (line 210) | func (s) TestServerHandshake(t *testing.T) { method TestPeerNotResponding (line 284) | func (s) TestPeerNotResponding(t *testing.T) { method TestNewClientHandshaker (line 308) | func (s) TestNewClientHandshaker(t *testing.T) { method TestNewServerHandshaker (line 342) | func (s) TestNewServerHandshaker(t *testing.T) { function Test (line 43) | func Test(t *testing.T) { constant defaultTestTimeout (line 64) | defaultTestTimeout = 10 * time.Second type testRPCStream (line 67) | type testRPCStream struct method Recv (line 83) | func (t *testRPCStream) Recv() (*altspb.HandshakerResp, error) { method Send (line 89) | func (t *testRPCStream) Send(req *altspb.HandshakerReq) error { method CloseSend (line 141) | func (t *testRPCStream) CloseSend() error { type testUnresponsiveRPCStream (line 268) | type testUnresponsiveRPCStream struct method Recv (line 272) | func (t *testUnresponsiveRPCStream) Recv() (*altspb.HandshakerResp, er... method Send (line 276) | func (t *testUnresponsiveRPCStream) Send(*altspb.HandshakerReq) error { method CloseSend (line 280) | func (t *testUnresponsiveRPCStream) CloseSend() error { FILE: credentials/alts/internal/handshaker/service/service.go function Dial (line 45) | func Dial(hsAddress string) (*grpc.ClientConn, error) { function CloseForTesting (line 78) | func CloseForTesting() error { FILE: credentials/alts/internal/handshaker/service/service_test.go type s (line 27) | type s struct method TestDial (line 43) | func (s) TestDial(t *testing.T) { function Test (line 31) | func Test(t *testing.T) { constant testAddress1 (line 36) | testAddress1 = "some_address_1" constant testAddress2 (line 37) | testAddress2 = "some_address_2" FILE: credentials/alts/internal/proto/grpc_gcp/altscontext.pb.go constant _ (line 36) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 38) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type AltsContext (line 41) | type AltsContext struct method Reset (line 61) | func (x *AltsContext) Reset() { method String (line 68) | func (x *AltsContext) String() string { method ProtoMessage (line 72) | func (*AltsContext) ProtoMessage() {} method ProtoReflect (line 74) | func (x *AltsContext) ProtoReflect() protoreflect.Message { method Descriptor (line 87) | func (*AltsContext) Descriptor() ([]byte, []int) { method GetApplicationProtocol (line 91) | func (x *AltsContext) GetApplicationProtocol() string { method GetRecordProtocol (line 98) | func (x *AltsContext) GetRecordProtocol() string { method GetSecurityLevel (line 105) | func (x *AltsContext) GetSecurityLevel() SecurityLevel { method GetPeerServiceAccount (line 112) | func (x *AltsContext) GetPeerServiceAccount() string { method GetLocalServiceAccount (line 119) | func (x *AltsContext) GetLocalServiceAccount() string { method GetPeerRpcVersions (line 126) | func (x *AltsContext) GetPeerRpcVersions() *RpcProtocolVersions { method GetPeerAttributes (line 133) | func (x *AltsContext) GetPeerAttributes() map[string]string { constant file_grpc_gcp_altscontext_proto_rawDesc (line 142) | file_grpc_gcp_altscontext_proto_rawDesc = "" + function file_grpc_gcp_altscontext_proto_rawDescGZIP (line 163) | func file_grpc_gcp_altscontext_proto_rawDescGZIP() []byte { function init (line 188) | func init() { file_grpc_gcp_altscontext_proto_init() } function file_grpc_gcp_altscontext_proto_init (line 189) | func file_grpc_gcp_altscontext_proto_init() { FILE: credentials/alts/internal/proto/grpc_gcp/handshaker.pb.go constant _ (line 36) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 38) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type HandshakeProtocol (line 41) | type HandshakeProtocol method Enum (line 66) | func (x HandshakeProtocol) Enum() *HandshakeProtocol { method String (line 72) | func (x HandshakeProtocol) String() string { method Descriptor (line 76) | func (HandshakeProtocol) Descriptor() protoreflect.EnumDescriptor { method Type (line 80) | func (HandshakeProtocol) Type() protoreflect.EnumType { method Number (line 84) | func (x HandshakeProtocol) Number() protoreflect.EnumNumber { method EnumDescriptor (line 89) | func (HandshakeProtocol) EnumDescriptor() ([]byte, []int) { constant HandshakeProtocol_HANDSHAKE_PROTOCOL_UNSPECIFIED (line 45) | HandshakeProtocol_HANDSHAKE_PROTOCOL_UNSPECIFIED HandshakeProtocol = 0 constant HandshakeProtocol_TLS (line 47) | HandshakeProtocol_TLS HandshakeProtocol = 1 constant HandshakeProtocol_ALTS (line 49) | HandshakeProtocol_ALTS HandshakeProtocol = 2 type NetworkProtocol (line 93) | type NetworkProtocol method Enum (line 115) | func (x NetworkProtocol) Enum() *NetworkProtocol { method String (line 121) | func (x NetworkProtocol) String() string { method Descriptor (line 125) | func (NetworkProtocol) Descriptor() protoreflect.EnumDescriptor { method Type (line 129) | func (NetworkProtocol) Type() protoreflect.EnumType { method Number (line 133) | func (x NetworkProtocol) Number() protoreflect.EnumNumber { method EnumDescriptor (line 138) | func (NetworkProtocol) EnumDescriptor() ([]byte, []int) { constant NetworkProtocol_NETWORK_PROTOCOL_UNSPECIFIED (line 96) | NetworkProtocol_NETWORK_PROTOCOL_UNSPECIFIED NetworkProtocol = 0 constant NetworkProtocol_TCP (line 97) | NetworkProtocol_TCP NetworkProtocol = 1 constant NetworkProtocol_UDP (line 98) | NetworkProtocol_UDP NetworkProtocol = 2 type Endpoint (line 142) | type Endpoint struct method Reset (line 155) | func (x *Endpoint) Reset() { method String (line 162) | func (x *Endpoint) String() string { method ProtoMessage (line 166) | func (*Endpoint) ProtoMessage() {} method ProtoReflect (line 168) | func (x *Endpoint) ProtoReflect() protoreflect.Message { method Descriptor (line 181) | func (*Endpoint) Descriptor() ([]byte, []int) { method GetIpAddress (line 185) | func (x *Endpoint) GetIpAddress() string { method GetPort (line 192) | func (x *Endpoint) GetPort() int32 { method GetProtocol (line 199) | func (x *Endpoint) GetProtocol() NetworkProtocol { type Identity (line 206) | type Identity struct method Reset (line 219) | func (x *Identity) Reset() { method String (line 226) | func (x *Identity) String() string { method ProtoMessage (line 230) | func (*Identity) ProtoMessage() {} method ProtoReflect (line 232) | func (x *Identity) ProtoReflect() protoreflect.Message { method Descriptor (line 245) | func (*Identity) Descriptor() ([]byte, []int) { method GetIdentityOneof (line 249) | func (x *Identity) GetIdentityOneof() isIdentity_IdentityOneof { method GetServiceAccount (line 256) | func (x *Identity) GetServiceAccount() string { method GetHostname (line 265) | func (x *Identity) GetHostname() string { method GetAttributes (line 274) | func (x *Identity) GetAttributes() map[string]string { type isIdentity_IdentityOneof (line 281) | type isIdentity_IdentityOneof interface type Identity_ServiceAccount (line 285) | type Identity_ServiceAccount struct method isIdentity_IdentityOneof (line 295) | func (*Identity_ServiceAccount) isIdentity_IdentityOneof() {} type Identity_Hostname (line 290) | type Identity_Hostname struct method isIdentity_IdentityOneof (line 297) | func (*Identity_Hostname) isIdentity_IdentityOneof() {} type StartClientHandshakeReq (line 299) | type StartClientHandshakeReq struct method Reset (line 341) | func (x *StartClientHandshakeReq) Reset() { method String (line 348) | func (x *StartClientHandshakeReq) String() string { method ProtoMessage (line 352) | func (*StartClientHandshakeReq) ProtoMessage() {} method ProtoReflect (line 354) | func (x *StartClientHandshakeReq) ProtoReflect() protoreflect.Message { method Descriptor (line 367) | func (*StartClientHandshakeReq) Descriptor() ([]byte, []int) { method GetHandshakeSecurityProtocol (line 371) | func (x *StartClientHandshakeReq) GetHandshakeSecurityProtocol() Hands... method GetApplicationProtocols (line 378) | func (x *StartClientHandshakeReq) GetApplicationProtocols() []string { method GetRecordProtocols (line 385) | func (x *StartClientHandshakeReq) GetRecordProtocols() []string { method GetTargetIdentities (line 392) | func (x *StartClientHandshakeReq) GetTargetIdentities() []*Identity { method GetLocalIdentity (line 399) | func (x *StartClientHandshakeReq) GetLocalIdentity() *Identity { method GetLocalEndpoint (line 406) | func (x *StartClientHandshakeReq) GetLocalEndpoint() *Endpoint { method GetRemoteEndpoint (line 413) | func (x *StartClientHandshakeReq) GetRemoteEndpoint() *Endpoint { method GetTargetName (line 420) | func (x *StartClientHandshakeReq) GetTargetName() string { method GetRpcVersions (line 427) | func (x *StartClientHandshakeReq) GetRpcVersions() *RpcProtocolVersions { method GetMaxFrameSize (line 434) | func (x *StartClientHandshakeReq) GetMaxFrameSize() uint32 { method GetAccessToken (line 441) | func (x *StartClientHandshakeReq) GetAccessToken() string { method GetTransportProtocolPreferences (line 448) | func (x *StartClientHandshakeReq) GetTransportProtocolPreferences() *T... type ServerHandshakeParameters (line 455) | type ServerHandshakeParameters struct method Reset (line 472) | func (x *ServerHandshakeParameters) Reset() { method String (line 479) | func (x *ServerHandshakeParameters) String() string { method ProtoMessage (line 483) | func (*ServerHandshakeParameters) ProtoMessage() {} method ProtoReflect (line 485) | func (x *ServerHandshakeParameters) ProtoReflect() protoreflect.Message { method Descriptor (line 498) | func (*ServerHandshakeParameters) Descriptor() ([]byte, []int) { method GetRecordProtocols (line 502) | func (x *ServerHandshakeParameters) GetRecordProtocols() []string { method GetLocalIdentities (line 509) | func (x *ServerHandshakeParameters) GetLocalIdentities() []*Identity { method GetToken (line 516) | func (x *ServerHandshakeParameters) GetToken() string { type StartServerHandshakeReq (line 523) | type StartServerHandshakeReq struct method Reset (line 553) | func (x *StartServerHandshakeReq) Reset() { method String (line 560) | func (x *StartServerHandshakeReq) String() string { method ProtoMessage (line 564) | func (*StartServerHandshakeReq) ProtoMessage() {} method ProtoReflect (line 566) | func (x *StartServerHandshakeReq) ProtoReflect() protoreflect.Message { method Descriptor (line 579) | func (*StartServerHandshakeReq) Descriptor() ([]byte, []int) { method GetApplicationProtocols (line 583) | func (x *StartServerHandshakeReq) GetApplicationProtocols() []string { method GetHandshakeParameters (line 590) | func (x *StartServerHandshakeReq) GetHandshakeParameters() map[int32]*... method GetInBytes (line 597) | func (x *StartServerHandshakeReq) GetInBytes() []byte { method GetLocalEndpoint (line 604) | func (x *StartServerHandshakeReq) GetLocalEndpoint() *Endpoint { method GetRemoteEndpoint (line 611) | func (x *StartServerHandshakeReq) GetRemoteEndpoint() *Endpoint { method GetRpcVersions (line 618) | func (x *StartServerHandshakeReq) GetRpcVersions() *RpcProtocolVersions { method GetMaxFrameSize (line 625) | func (x *StartServerHandshakeReq) GetMaxFrameSize() uint32 { method GetTransportProtocolPreferences (line 632) | func (x *StartServerHandshakeReq) GetTransportProtocolPreferences() *T... type NextHandshakeMessageReq (line 639) | type NextHandshakeMessageReq struct method Reset (line 653) | func (x *NextHandshakeMessageReq) Reset() { method String (line 660) | func (x *NextHandshakeMessageReq) String() string { method ProtoMessage (line 664) | func (*NextHandshakeMessageReq) ProtoMessage() {} method ProtoReflect (line 666) | func (x *NextHandshakeMessageReq) ProtoReflect() protoreflect.Message { method Descriptor (line 679) | func (*NextHandshakeMessageReq) Descriptor() ([]byte, []int) { method GetInBytes (line 683) | func (x *NextHandshakeMessageReq) GetInBytes() []byte { method GetNetworkLatencyMs (line 690) | func (x *NextHandshakeMessageReq) GetNetworkLatencyMs() uint32 { type HandshakerReq (line 697) | type HandshakerReq struct method Reset (line 709) | func (x *HandshakerReq) Reset() { method String (line 716) | func (x *HandshakerReq) String() string { method ProtoMessage (line 720) | func (*HandshakerReq) ProtoMessage() {} method ProtoReflect (line 722) | func (x *HandshakerReq) ProtoReflect() protoreflect.Message { method Descriptor (line 735) | func (*HandshakerReq) Descriptor() ([]byte, []int) { method GetReqOneof (line 739) | func (x *HandshakerReq) GetReqOneof() isHandshakerReq_ReqOneof { method GetClientStart (line 746) | func (x *HandshakerReq) GetClientStart() *StartClientHandshakeReq { method GetServerStart (line 755) | func (x *HandshakerReq) GetServerStart() *StartServerHandshakeReq { method GetNext (line 764) | func (x *HandshakerReq) GetNext() *NextHandshakeMessageReq { type isHandshakerReq_ReqOneof (line 773) | type isHandshakerReq_ReqOneof interface type HandshakerReq_ClientStart (line 777) | type HandshakerReq_ClientStart struct method isHandshakerReq_ReqOneof (line 792) | func (*HandshakerReq_ClientStart) isHandshakerReq_ReqOneof() {} type HandshakerReq_ServerStart (line 782) | type HandshakerReq_ServerStart struct method isHandshakerReq_ReqOneof (line 794) | func (*HandshakerReq_ServerStart) isHandshakerReq_ReqOneof() {} type HandshakerReq_Next (line 787) | type HandshakerReq_Next struct method isHandshakerReq_ReqOneof (line 796) | func (*HandshakerReq_Next) isHandshakerReq_ReqOneof() {} type HandshakerResult (line 798) | type HandshakerResult struct method Reset (line 826) | func (x *HandshakerResult) Reset() { method String (line 833) | func (x *HandshakerResult) String() string { method ProtoMessage (line 837) | func (*HandshakerResult) ProtoMessage() {} method ProtoReflect (line 839) | func (x *HandshakerResult) ProtoReflect() protoreflect.Message { method Descriptor (line 852) | func (*HandshakerResult) Descriptor() ([]byte, []int) { method GetApplicationProtocol (line 856) | func (x *HandshakerResult) GetApplicationProtocol() string { method GetRecordProtocol (line 863) | func (x *HandshakerResult) GetRecordProtocol() string { method GetKeyData (line 870) | func (x *HandshakerResult) GetKeyData() []byte { method GetPeerIdentity (line 877) | func (x *HandshakerResult) GetPeerIdentity() *Identity { method GetLocalIdentity (line 884) | func (x *HandshakerResult) GetLocalIdentity() *Identity { method GetKeepChannelOpen (line 891) | func (x *HandshakerResult) GetKeepChannelOpen() bool { method GetPeerRpcVersions (line 898) | func (x *HandshakerResult) GetPeerRpcVersions() *RpcProtocolVersions { method GetMaxFrameSize (line 905) | func (x *HandshakerResult) GetMaxFrameSize() uint32 { method GetTransportProtocol (line 912) | func (x *HandshakerResult) GetTransportProtocol() *NegotiatedTransport... type HandshakerStatus (line 919) | type HandshakerStatus struct method Reset (line 929) | func (x *HandshakerStatus) Reset() { method String (line 936) | func (x *HandshakerStatus) String() string { method ProtoMessage (line 940) | func (*HandshakerStatus) ProtoMessage() {} method ProtoReflect (line 942) | func (x *HandshakerStatus) ProtoReflect() protoreflect.Message { method Descriptor (line 955) | func (*HandshakerStatus) Descriptor() ([]byte, []int) { method GetCode (line 959) | func (x *HandshakerStatus) GetCode() uint32 { method GetDetails (line 966) | func (x *HandshakerStatus) GetDetails() string { type HandshakerResp (line 973) | type HandshakerResp struct method Reset (line 994) | func (x *HandshakerResp) Reset() { method String (line 1001) | func (x *HandshakerResp) String() string { method ProtoMessage (line 1005) | func (*HandshakerResp) ProtoMessage() {} method ProtoReflect (line 1007) | func (x *HandshakerResp) ProtoReflect() protoreflect.Message { method Descriptor (line 1020) | func (*HandshakerResp) Descriptor() ([]byte, []int) { method GetOutFrames (line 1024) | func (x *HandshakerResp) GetOutFrames() []byte { method GetBytesConsumed (line 1031) | func (x *HandshakerResp) GetBytesConsumed() uint32 { method GetResult (line 1038) | func (x *HandshakerResp) GetResult() *HandshakerResult { method GetStatus (line 1045) | func (x *HandshakerResp) GetStatus() *HandshakerStatus { constant file_grpc_gcp_handshaker_proto_rawDesc (line 1054) | file_grpc_gcp_handshaker_proto_rawDesc = "" + function file_grpc_gcp_handshaker_proto_rawDescGZIP (line 1148) | func file_grpc_gcp_handshaker_proto_rawDescGZIP() []byte { function init (line 1211) | func init() { file_grpc_gcp_handshaker_proto_init() } function file_grpc_gcp_handshaker_proto_init (line 1212) | func file_grpc_gcp_handshaker_proto_init() { FILE: credentials/alts/internal/proto/grpc_gcp/handshaker_grpc.pb.go constant _ (line 36) | _ = grpc.SupportPackageIsVersion9 constant HandshakerService_DoHandshake_FullMethodName (line 39) | HandshakerService_DoHandshake_FullMethodName = "/grpc.gcp.HandshakerServ... type HandshakerServiceClient (line 45) | type HandshakerServiceClient interface type handshakerServiceClient (line 55) | type handshakerServiceClient struct method DoHandshake (line 63) | func (c *handshakerServiceClient) DoHandshake(ctx context.Context, opt... function NewHandshakerServiceClient (line 59) | func NewHandshakerServiceClient(cc grpc.ClientConnInterface) HandshakerS... type HandshakerServiceServer (line 79) | type HandshakerServiceServer interface type UnimplementedHandshakerServiceServer (line 95) | type UnimplementedHandshakerServiceServer struct method DoHandshake (line 97) | func (UnimplementedHandshakerServiceServer) DoHandshake(grpc.BidiStrea... method mustEmbedUnimplementedHandshakerServiceServer (line 100) | func (UnimplementedHandshakerServiceServer) mustEmbedUnimplementedHand... method testEmbeddedByValue (line 101) | func (UnimplementedHandshakerServiceServer) testEmbeddedByValue() ... type UnsafeHandshakerServiceServer (line 106) | type UnsafeHandshakerServiceServer interface function RegisterHandshakerServiceServer (line 110) | func RegisterHandshakerServiceServer(s grpc.ServiceRegistrar, srv Handsh... function _HandshakerService_DoHandshake_Handler (line 121) | func _HandshakerService_DoHandshake_Handler(srv interface{}, stream grpc... FILE: credentials/alts/internal/proto/grpc_gcp/transport_security_common.pb.go constant _ (line 36) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 38) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type SecurityLevel (line 43) | type SecurityLevel method Enum (line 65) | func (x SecurityLevel) Enum() *SecurityLevel { method String (line 71) | func (x SecurityLevel) String() string { method Descriptor (line 75) | func (SecurityLevel) Descriptor() protoreflect.EnumDescriptor { method Type (line 79) | func (SecurityLevel) Type() protoreflect.EnumType { method Number (line 83) | func (x SecurityLevel) Number() protoreflect.EnumNumber { method EnumDescriptor (line 88) | func (SecurityLevel) EnumDescriptor() ([]byte, []int) { constant SecurityLevel_SECURITY_NONE (line 46) | SecurityLevel_SECURITY_NONE SecurityLevel = 0 constant SecurityLevel_INTEGRITY_ONLY (line 47) | SecurityLevel_INTEGRITY_ONLY SecurityLevel = 1 constant SecurityLevel_INTEGRITY_AND_PRIVACY (line 48) | SecurityLevel_INTEGRITY_AND_PRIVACY SecurityLevel = 2 type RpcProtocolVersions (line 93) | type RpcProtocolVersions struct method Reset (line 103) | func (x *RpcProtocolVersions) Reset() { method String (line 110) | func (x *RpcProtocolVersions) String() string { method ProtoMessage (line 114) | func (*RpcProtocolVersions) ProtoMessage() {} method ProtoReflect (line 116) | func (x *RpcProtocolVersions) ProtoReflect() protoreflect.Message { method Descriptor (line 129) | func (*RpcProtocolVersions) Descriptor() ([]byte, []int) { method GetMaxRpcVersion (line 133) | func (x *RpcProtocolVersions) GetMaxRpcVersion() *RpcProtocolVersions_... method GetMinRpcVersion (line 140) | func (x *RpcProtocolVersions) GetMinRpcVersion() *RpcProtocolVersions_... type TransportProtocolPreferences (line 149) | type TransportProtocolPreferences struct method Reset (line 156) | func (x *TransportProtocolPreferences) Reset() { method String (line 163) | func (x *TransportProtocolPreferences) String() string { method ProtoMessage (line 167) | func (*TransportProtocolPreferences) ProtoMessage() {} method ProtoReflect (line 169) | func (x *TransportProtocolPreferences) ProtoReflect() protoreflect.Mes... method Descriptor (line 182) | func (*TransportProtocolPreferences) Descriptor() ([]byte, []int) { method GetTransportProtocol (line 186) | func (x *TransportProtocolPreferences) GetTransportProtocol() []string { type NegotiatedTransportProtocol (line 194) | type NegotiatedTransportProtocol struct method Reset (line 201) | func (x *NegotiatedTransportProtocol) Reset() { method String (line 208) | func (x *NegotiatedTransportProtocol) String() string { method ProtoMessage (line 212) | func (*NegotiatedTransportProtocol) ProtoMessage() {} method ProtoReflect (line 214) | func (x *NegotiatedTransportProtocol) ProtoReflect() protoreflect.Mess... method Descriptor (line 227) | func (*NegotiatedTransportProtocol) Descriptor() ([]byte, []int) { method GetTransportProtocol (line 231) | func (x *NegotiatedTransportProtocol) GetTransportProtocol() string { type RpcProtocolVersions_Version (line 239) | type RpcProtocolVersions_Version struct method Reset (line 247) | func (x *RpcProtocolVersions_Version) Reset() { method String (line 254) | func (x *RpcProtocolVersions_Version) String() string { method ProtoMessage (line 258) | func (*RpcProtocolVersions_Version) ProtoMessage() {} method ProtoReflect (line 260) | func (x *RpcProtocolVersions_Version) ProtoReflect() protoreflect.Mess... method Descriptor (line 273) | func (*RpcProtocolVersions_Version) Descriptor() ([]byte, []int) { method GetMajor (line 277) | func (x *RpcProtocolVersions_Version) GetMajor() uint32 { method GetMinor (line 284) | func (x *RpcProtocolVersions_Version) GetMinor() uint32 { constant file_grpc_gcp_transport_security_common_proto_rawDesc (line 293) | file_grpc_gcp_transport_security_common_proto_rawDesc = "" + function file_grpc_gcp_transport_security_common_proto_rawDescGZIP (line 317) | func file_grpc_gcp_transport_security_common_proto_rawDescGZIP() []byte { function init (line 343) | func init() { file_grpc_gcp_transport_security_common_proto_init() } function file_grpc_gcp_transport_security_common_proto_init (line 344) | func file_grpc_gcp_transport_security_common_proto_init() { FILE: credentials/alts/internal/testutil/testutil.go type Stats (line 38) | type Stats struct method Update (line 45) | func (s *Stats) Update() func() { method Reset (line 61) | func (s *Stats) Reset() { type testConn (line 69) | type testConn struct method Read (line 96) | func (c *testConn) Read(b []byte) (n int, err error) { method Write (line 102) | func (c *testConn) Write(b []byte) (n int, err error) { method Close (line 107) | func (c *testConn) Close() error { function NewTestConn (line 77) | func NewTestConn(in *bytes.Buffer, out *bytes.Buffer) net.Conn { function NewTestConnWithReadLatency (line 87) | func NewTestConnWithReadLatency(in *bytes.Buffer, out *bytes.Buffer, rea... type unresponsiveTestConn (line 113) | type unresponsiveTestConn struct method Read (line 123) | func (c *unresponsiveTestConn) Read([]byte) (n int, err error) { method Write (line 128) | func (c *unresponsiveTestConn) Write([]byte) (n int, err error) { method Close (line 133) | func (c *unresponsiveTestConn) Close() error { function NewUnresponsiveTestConn (line 118) | func NewUnresponsiveTestConn() net.Conn { function MakeFrame (line 138) | func MakeFrame(pl string) []byte { type FakeHandshaker (line 146) | type FakeHandshaker struct method DoHandshake (line 153) | func (h *FakeHandshaker) DoHandshake(stream altsgrpc.HandshakerService... method processStartClient (line 216) | func (h *FakeHandshaker) processStartClient(req *altspb.StartClientHan... method processServerStart (line 238) | func (h *FakeHandshaker) processServerStart(req *altspb.StartServerHan... method getHandshakeResult (line 267) | func (h *FakeHandshaker) getHandshakeResult(isAssistingClient bool) (*... FILE: credentials/alts/utils.go function AuthInfoFromContext (line 35) | func AuthInfoFromContext(ctx context.Context) (AuthInfo, error) { function AuthInfoFromPeer (line 46) | func AuthInfoFromPeer(p *peer.Peer) (AuthInfo, error) { function ClientAuthorizationCheck (line 58) | func ClientAuthorizationCheck(ctx context.Context, expectedServiceAccoun... FILE: credentials/alts/utils_test.go constant testServiceAccount1 (line 37) | testServiceAccount1 = "service_account1" constant testServiceAccount2 (line 38) | testServiceAccount2 = "service_account2" constant testServiceAccount3 (line 39) | testServiceAccount3 = "service_account3" constant defaultTestTimeout (line 41) | defaultTestTimeout = 10 * time.Second method TestAuthInfoFromContext (line 44) | func (s) TestAuthInfoFromContext(t *testing.T) { method TestAuthInfoFromPeer (line 74) | func (s) TestAuthInfoFromPeer(t *testing.T) { method TestClientAuthorizationCheck (line 102) | func (s) TestClientAuthorizationCheck(t *testing.T) { type fakeALTSAuthInfo (line 155) | type fakeALTSAuthInfo struct method AuthType (line 159) | func (*fakeALTSAuthInfo) AuthType() string { return "" } method ApplicationProtocol (line 160) | func (*fakeALTSAuthInfo) ApplicationProtocol() string { return "" } method RecordProtocol (line 161) | func (*fakeALTSAuthInfo) RecordProtocol() string { return "" } method SecurityLevel (line 162) | func (*fakeALTSAuthInfo) SecurityLevel() altspb.SecurityLevel { method PeerServiceAccount (line 165) | func (f *fakeALTSAuthInfo) PeerServiceAccount() string ... method LocalServiceAccount (line 166) | func (*fakeALTSAuthInfo) LocalServiceAccount() string ... method PeerRPCVersions (line 167) | func (*fakeALTSAuthInfo) PeerRPCVersions() *altspb.RpcProtocolVersions... FILE: credentials/credentials.go type PerRPCCredentials (line 38) | type PerRPCCredentials interface type SecurityLevel (line 57) | type SecurityLevel method String (line 72) | func (s SecurityLevel) String() string { constant InvalidSecurityLevel (line 62) | InvalidSecurityLevel SecurityLevel = iota constant NoSecurity (line 64) | NoSecurity constant IntegrityOnly (line 66) | IntegrityOnly constant PrivacyAndIntegrity (line 68) | PrivacyAndIntegrity type CommonAuthInfo (line 89) | type CommonAuthInfo struct method GetCommonAuthInfo (line 94) | func (c CommonAuthInfo) GetCommonAuthInfo() CommonAuthInfo { type ProtocolInfo (line 99) | type ProtocolInfo struct type AuthInfo (line 128) | type AuthInfo interface type AuthorityValidator (line 137) | type AuthorityValidator interface type TransportCredentials (line 152) | type TransportCredentials interface type Bundle (line 208) | type Bundle interface type RequestInfo (line 231) | type RequestInfo struct type requestInfoKey (line 240) | type requestInfoKey struct function RequestInfoFromContext (line 245) | func RequestInfoFromContext(ctx context.Context) (ri RequestInfo, ok boo... function NewContextWithRequestInfo (line 260) | func NewContextWithRequestInfo(ctx context.Context, ri RequestInfo) cont... type ClientHandshakeInfo (line 270) | type ClientHandshakeInfo struct function ClientHandshakeInfoFromContext (line 280) | func ClientHandshakeInfoFromContext(ctx context.Context) ClientHandshake... function CheckSecurityLevel (line 290) | func CheckSecurityLevel(ai AuthInfo, level SecurityLevel) error { type ChannelzSecurityInfo (line 314) | type ChannelzSecurityInfo interface type ChannelzSecurityValue (line 323) | type ChannelzSecurityValue interface type OtherChannelzSecurityValue (line 333) | type OtherChannelzSecurityValue struct FILE: credentials/credentials_ext_test.go function authorityChecker (line 49) | func authorityChecker(ctx context.Context, wantAuthority string) error { function loadTLSCreds (line 67) | func loadTLSCreds(t *testing.T) (grpc.ServerOption, grpc.DialOption) { method TestCorrectAuthorityWithCreds (line 87) | func (s) TestCorrectAuthorityWithCreds(t *testing.T) { method TestIncorrectAuthorityWithTLS (line 162) | func (s) TestIncorrectAuthorityWithTLS(t *testing.T) { type testAuthInfoNoValidator (line 221) | type testAuthInfoNoValidator struct method AuthType (line 224) | func (testAuthInfoNoValidator) AuthType() string { type testAuthInfoWithValidator (line 230) | type testAuthInfoWithValidator struct method AuthType (line 235) | func (testAuthInfoWithValidator) AuthType() string { method ValidateAuthority (line 240) | func (v testAuthInfoWithValidator) ValidateAuthority(authority string)... type testCreds (line 249) | type testCreds struct method ClientHandshake (line 254) | func (c *testCreds) ClientHandshake(_ context.Context, _ string, rawCo... method ServerHandshake (line 262) | func (c *testCreds) ServerHandshake(rawConn net.Conn) (net.Conn, crede... method Clone (line 270) | func (c *testCreds) Clone() credentials.TransportCredentials { method Info (line 275) | func (c *testCreds) Info() credentials.ProtocolInfo { method OverrideServerName (line 280) | func (c *testCreds) OverrideServerName(string) error { method TestAuthorityValidationFailureWithCustomCreds (line 291) | func (s) TestAuthorityValidationFailureWithCustomCreds(t *testing.T) { method TestCorrectAuthorityWithCustomCreds (line 346) | func (s) TestCorrectAuthorityWithCustomCreds(t *testing.T) { method TestAuthorityOverrideWithCertChain (line 378) | func (s) TestAuthorityOverrideWithCertChain(t *testing.T) { type certConfig (line 452) | type certConfig struct function createCertificate (line 464) | func createCertificate(t *testing.T, cfg certConfig) (*x509.Certificate,... function generateCertChain (line 508) | func generateCertChain(t *testing.T, rootName, interName, leafName strin... FILE: credentials/credentials_test.go constant defaultTestTimeout (line 33) | defaultTestTimeout = 10 * time.Second type s (line 35) | type s struct method TestCheckSecurityLevel (line 59) | func (s) TestCheckSecurityLevel(t *testing.T) { method TestCheckSecurityLevelNoGetCommonAuthInfoMethod (line 102) | func (s) TestCheckSecurityLevelNoGetCommonAuthInfoMethod(t *testing.T) { method TestTLSOverrideServerName (line 108) | func (s) TestTLSOverrideServerName(t *testing.T) { method TestTLSClone (line 117) | func (s) TestTLSClone(t *testing.T) { method TestClientHandshakeReturnsAuthInfo (line 134) | func (s) TestClientHandshakeReturnsAuthInfo(t *testing.T) { method TestServerHandshakeReturnsAuthInfo (line 172) | func (s) TestServerHandshakeReturnsAuthInfo(t *testing.T) { method TestServerAndClientHandshake (line 187) | func (s) TestServerAndClientHandshake(t *testing.T) { function Test (line 39) | func Test(t *testing.T) { type testAuthInfoNoGetCommonAuthInfoMethod (line 44) | type testAuthInfoNoGetCommonAuthInfoMethod struct method AuthType (line 46) | func (ta testAuthInfoNoGetCommonAuthInfoMethod) AuthType() string { type testAuthInfo (line 51) | type testAuthInfo struct method AuthType (line 55) | func (ta testAuthInfo) AuthType() string { type serverHandshake (line 132) | type serverHandshake function compare (line 202) | func compare(a1, a2 AuthInfo) bool { function launchServer (line 222) | func launchServer(t *testing.T, hs serverHandshake, done chan AuthInfo) ... function launchServerOnListenAddress (line 226) | func launchServerOnListenAddress(t *testing.T, hs serverHandshake, done ... function serverHandle (line 240) | func serverHandle(t *testing.T, hs serverHandshake, done chan AuthInfo, ... function clientHandle (line 257) | func clientHandle(t *testing.T, hs func(net.Conn, string) (AuthInfo, err... function gRPCServerHandshake (line 271) | func gRPCServerHandshake(conn net.Conn) (AuthInfo, error) { function gRPCClientHandshake (line 284) | func gRPCClientHandshake(conn net.Conn, lisAddr string) (AuthInfo, error) { function tlsServerHandshake (line 295) | func tlsServerHandshake(conn net.Conn) (AuthInfo, error) { function tlsClientHandshake (line 312) | func tlsClientHandshake(conn net.Conn, _ string) (AuthInfo, error) { FILE: credentials/google/google.go constant defaultCloudPlatformScope (line 33) | defaultCloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf... type DefaultCredentialsOptions (line 38) | type DefaultCredentialsOptions struct function NewDefaultCredentialsWithOptions (line 50) | func NewDefaultCredentialsWithOptions(opts DefaultCredentialsOptions) cr... function NewDefaultCredentials (line 79) | func NewDefaultCredentials() credentials.Bundle { function NewComputeEngineCredentials (line 88) | func NewComputeEngineCredentials() credentials.Bundle { type creds (line 95) | type creds struct method TransportCredentials (line 106) | func (c *creds) TransportCredentials() credentials.TransportCredentials { method PerRPCCredentials (line 110) | func (c *creds) PerRPCCredentials() credentials.PerRPCCredentials { method NewWithMode (line 131) | func (c *creds) NewWithMode(mode string) (credentials.Bundle, error) { type dualPerRPCCreds (line 159) | type dualPerRPCCreds struct method GetRequestMetadata (line 164) | func (d *dualPerRPCCreds) GetRequestMetadata(ctx context.Context, uri ... method RequireTransportSecurity (line 176) | func (d *dualPerRPCCreds) RequireTransportSecurity() bool { FILE: credentials/google/google_test.go type s (line 37) | type s struct method TestClientHandshakeBasedOnClusterName (line 108) | func (s) TestClientHandshakeBasedOnClusterName(t *testing.T) { function Test (line 41) | func Test(t *testing.T) { type testCreds (line 45) | type testCreds struct method ClientHandshake (line 50) | func (c *testCreds) ClientHandshake(context.Context, string, net.Conn)... method ServerHandshake (line 54) | func (c *testCreds) ServerHandshake(net.Conn) (net.Conn, credentials.A... type testAuthInfo (line 58) | type testAuthInfo struct method AuthType (line 62) | func (t *testAuthInfo) AuthType() string { type testPerRPCCreds (line 66) | type testPerRPCCreds struct method RequireTransportSecurity (line 70) | func (c *testPerRPCCreds) RequireTransportSecurity() bool { method GetRequestMetadata (line 74) | func (c *testPerRPCCreds) GetRequestMetadata(context.Context, ...strin... function overrideNewCredsFuncs (line 83) | func overrideNewCredsFuncs() func() { function TestDefaultCredentialsWithOptions (line 183) | func TestDefaultCredentialsWithOptions(t *testing.T) { FILE: credentials/google/xds.go constant cfeClusterNamePrefix (line 31) | cfeClusterNamePrefix = "google_cfe_" constant cfeClusterResourceNamePrefix (line 32) | cfeClusterResourceNamePrefix = "/envoy.config.cluster.v3.Cluster/google_... constant cfeClusterAuthorityName (line 33) | cfeClusterAuthorityName = "traffic-director-c2p.xds.googleapis.com" type clusterTransportCreds (line 47) | type clusterTransportCreds struct method ClientHandshake (line 95) | func (c *clusterTransportCreds) ClientHandshake(ctx context.Context, a... method ServerHandshake (line 104) | func (c *clusterTransportCreds) ServerHandshake(conn net.Conn) (net.Co... method Info (line 108) | func (c *clusterTransportCreds) Info() credentials.ProtocolInfo { method Clone (line 116) | func (c *clusterTransportCreds) Clone() credentials.TransportCredentia... method OverrideServerName (line 123) | func (c *clusterTransportCreds) OverrideServerName(s string) error { function newClusterTransportCreds (line 52) | func newClusterTransportCreds(tls, alts credentials.TransportCredentials... function clusterName (line 61) | func clusterName(ctx context.Context) string { function isDirectPathCluster (line 72) | func isDirectPathCluster(ctx context.Context) bool { FILE: credentials/google/xds_test.go method TestIsDirectPathCluster (line 31) | func (s) TestIsDirectPathCluster(t *testing.T) { FILE: credentials/insecure/insecure.go function NewCredentials (line 34) | func NewCredentials() credentials.TransportCredentials { type insecureTC (line 41) | type insecureTC struct method ClientHandshake (line 43) | func (insecureTC) ClientHandshake(_ context.Context, _ string, conn ne... method ServerHandshake (line 47) | func (insecureTC) ServerHandshake(conn net.Conn) (net.Conn, credential... method Info (line 51) | func (insecureTC) Info() credentials.ProtocolInfo { method Clone (line 55) | func (insecureTC) Clone() credentials.TransportCredentials { method OverrideServerName (line 59) | func (insecureTC) OverrideServerName(string) error { type info (line 65) | type info struct method AuthType (line 70) | func (info) AuthType() string { method ValidateAuthority (line 76) | func (info) ValidateAuthority(string) error { type insecureBundle (line 83) | type insecureBundle struct method NewWithMode (line 91) | func (insecureBundle) NewWithMode(string) (credentials.Bundle, error) { method PerRPCCredentials (line 97) | func (insecureBundle) PerRPCCredentials() credentials.PerRPCCredentials { method TransportCredentials (line 102) | func (insecureBundle) TransportCredentials() credentials.TransportCred... function NewBundle (line 86) | func NewBundle() credentials.Bundle { FILE: credentials/jwt/file_reader.go type jwtClaims (line 37) | type jwtClaims struct type jwtFileReader (line 43) | type jwtFileReader struct method readToken (line 49) | func (r *jwtFileReader) readToken() (string, time.Time, error) { method extractExpiration (line 91) | func (r *jwtFileReader) extractExpiration(token string) (time.Time, er... constant tokenDelim (line 68) | tokenDelim = "." function extractClaimsRaw (line 74) | func extractClaimsRaw(s string) (string, bool) { FILE: credentials/jwt/file_reader_test.go method TestJWTFileReader_ReadToken_FileErrors (line 31) | func (s) TestJWTFileReader_ReadToken_FileErrors(t *testing.T) { method TestJWTFileReader_ReadToken_InvalidJWT (line 77) | func (s) TestJWTFileReader_ReadToken_InvalidJWT(t *testing.T) { method TestJWTFileReader_ReadToken_ValidToken (line 125) | func (s) TestJWTFileReader_ReadToken_ValidToken(t *testing.T) { function createInvalidJWT (line 147) | func createInvalidJWT(t *testing.T) string { FILE: credentials/jwt/token_file_call_creds.go constant preemptiveRefreshThreshold (line 34) | preemptiveRefreshThreshold = time.Minute type jwtTokenFileCallCreds (line 39) | type jwtTokenFileCallCreds struct method GetRequestMetadata (line 76) | func (c *jwtTokenFileCallCreds) GetRequestMetadata(ctx context.Context... method RequireTransportSecurity (line 122) | func (c *jwtTokenFileCallCreds) RequireTransportSecurity() bool { method isTokenValidLocked (line 128) | func (c *jwtTokenFileCallCreds) isTokenValidLocked() bool { method refreshToken (line 136) | func (c *jwtTokenFileCallCreds) refreshToken() { method updateCacheLocked (line 155) | func (c *jwtTokenFileCallCreds) updateCacheLocked(token string, expiry... function NewTokenFileCallCredentials (line 55) | func NewTokenFileCallCredentials(tokenFilePath string) (credentials.PerR... FILE: credentials/jwt/token_file_call_creds_ext_test.go constant defaultTestTimeout (line 45) | defaultTestTimeout = 5 * time.Second constant wantErr (line 47) | wantErr = "cannot send secure credentials on an insecure connection" function TestJWTCallCredentials_InsecureTransport_AsCallOption (line 52) | func TestJWTCallCredentials_InsecureTransport_AsCallOption(t *testing.T) { function TestJWTCallCredentials_InsecureTransport_AsDialOption (line 86) | func TestJWTCallCredentials_InsecureTransport_AsDialOption(t *testing.T) { function TestJWTCallCredentials_SecureTransport_AsDialOption (line 110) | func TestJWTCallCredentials_SecureTransport_AsDialOption(t *testing.T) { function TestJWTCallCredentials_SecureTransport_AsCallOption (line 166) | func TestJWTCallCredentials_SecureTransport_AsCallOption(t *testing.T) { function createTestJWT (line 220) | func createTestJWT(t *testing.T, expiration time.Time) string { function writeTempTokenFile (line 257) | func writeTempTokenFile(t *testing.T, token string) string { FILE: credentials/jwt/token_file_call_creds_test.go constant defaultTestTimeout (line 39) | defaultTestTimeout = 5 * time.Second type s (line 41) | type s struct method TestNewTokenFileCallCredentialsValidFilepath (line 49) | func (s) TestNewTokenFileCallCredentialsValidFilepath(t *testing.T) { method TestNewTokenFileCallCredentialsMissingFilepath (line 59) | func (s) TestNewTokenFileCallCredentialsMissingFilepath(t *testing.T) { method TestTokenFileCallCreds_RequireTransportSecurity (line 65) | func (s) TestTokenFileCallCreds_RequireTransportSecurity(t *testing.T) { method TestTokenFileCallCreds_GetRequestMetadata (line 76) | func (s) TestTokenFileCallCreds_GetRequestMetadata(t *testing.T) { method TestTokenFileCallCreds_TokenCaching (line 150) | func (s) TestTokenFileCallCreds_TokenCaching(t *testing.T) { method TestTokenFileCallCreds_CacheExpirationIsBeforeTokenExpiration (line 208) | func (s) TestTokenFileCallCreds_CacheExpirationIsBeforeTokenExpiration... method TestTokenFileCallCreds_PreemptiveRefreshIsTriggered (line 250) | func (s) TestTokenFileCallCreds_PreemptiveRefreshIsTriggered(t *testin... method TestTokenFileCallCreds_BackoffBehavior (line 360) | func (s) TestTokenFileCallCreds_BackoffBehavior(t *testing.T) { function Test (line 45) | func Test(t *testing.T) { type testAuthInfo (line 193) | type testAuthInfo struct method AuthType (line 197) | func (t *testAuthInfo) AuthType() string { method GetCommonAuthInfo (line 201) | func (t *testAuthInfo) GetCommonAuthInfo() credentials.CommonAuthInfo { function createTestJWT (line 511) | func createTestJWT(t *testing.T, expiration time.Time) string { function writeTempFile (line 547) | func writeTempFile(t *testing.T, name, content string) string { FILE: credentials/local/local.go type info (line 43) | type info struct method AuthType (line 48) | func (info) AuthType() string { method ValidateAuthority (line 54) | func (info) ValidateAuthority(string) error { type localTC (line 59) | type localTC struct method Info (line 63) | func (c *localTC) Info() credentials.ProtocolInfo { method ClientHandshake (line 86) | func (*localTC) ClientHandshake(_ context.Context, _ string, conn net.... method ServerHandshake (line 94) | func (*localTC) ServerHandshake(conn net.Conn) (net.Conn, credentials.... method Clone (line 112) | func (c *localTC) Clone() credentials.TransportCredentials { method OverrideServerName (line 118) | func (c *localTC) OverrideServerName(serverNameOverride string) error { function getSecurityLevel (line 69) | func getSecurityLevel(network, addr string) (credentials.SecurityLevel, ... function NewCredentials (line 103) | func NewCredentials() credentials.TransportCredentials { FILE: credentials/local/local_test.go constant defaultTestTimeout (line 34) | defaultTestTimeout = 10 * time.Second type s (line 36) | type s struct method TestGetSecurityLevel (line 44) | func (s) TestGetSecurityLevel(t *testing.T) { method TestServerAndClientHandshake (line 179) | func (s) TestServerAndClientHandshake(t *testing.T) { function Test (line 40) | func Test(t *testing.T) { type serverHandshake (line 79) | type serverHandshake function getSecurityLevelFromAuthInfo (line 81) | func getSecurityLevelFromAuthInfo(ai credentials.AuthInfo) credentials.S... function serverLocalHandshake (line 91) | func serverLocalHandshake(conn net.Conn) (credentials.AuthInfo, error) { function clientLocalHandshake (line 101) | func clientLocalHandshake(conn net.Conn, lisAddr string) (credentials.Au... function clientHandle (line 114) | func clientHandle(hs func(net.Conn, string) (credentials.AuthInfo, error... type testServerHandleResult (line 124) | type testServerHandleResult struct function serverHandle (line 130) | func serverHandle(hs serverHandshake, done chan testServerHandleResult, ... function serverAndClientHandshake (line 145) | func serverAndClientHandshake(lis net.Listener) (credentials.SecurityLev... FILE: credentials/oauth/oauth.go type TokenSource (line 36) | type TokenSource struct method GetRequestMetadata (line 41) | func (ts TokenSource) GetRequestMetadata(ctx context.Context, _ ...str... method RequireTransportSecurity (line 56) | func (ts TokenSource) RequireTransportSecurity() bool { function removeServiceNameFromJWTURI (line 61) | func removeServiceNameFromJWTURI(uri string) (string, error) { type jwtAccess (line 70) | type jwtAccess struct method GetRequestMetadata (line 88) | func (j jwtAccess) GetRequestMetadata(ctx context.Context, uri ...stri... method RequireTransportSecurity (line 114) | func (j jwtAccess) RequireTransportSecurity() bool { function NewJWTAccessFromFile (line 75) | func NewJWTAccessFromFile(keyFile string) (credentials.PerRPCCredentials... function NewJWTAccessFromKey (line 84) | func NewJWTAccessFromKey(jsonKey []byte) (credentials.PerRPCCredentials,... type oauthAccess (line 119) | type oauthAccess struct method GetRequestMetadata (line 130) | func (oa oauthAccess) GetRequestMetadata(ctx context.Context, _ ...str... method RequireTransportSecurity (line 140) | func (oa oauthAccess) RequireTransportSecurity() bool { function NewOauthAccess (line 126) | func NewOauthAccess(token *oauth2.Token) credentials.PerRPCCredentials { function NewComputeEngine (line 148) | func NewComputeEngine() credentials.PerRPCCredentials { type serviceAccount (line 153) | type serviceAccount struct method GetRequestMetadata (line 159) | func (s *serviceAccount) GetRequestMetadata(ctx context.Context, _ ...... method RequireTransportSecurity (line 178) | func (s *serviceAccount) RequireTransportSecurity() bool { function NewServiceAccountFromKey (line 184) | func NewServiceAccountFromKey(jsonKey []byte, scope ...string) (credenti... function NewServiceAccountFromFile (line 194) | func NewServiceAccountFromFile(keyFile string, scope ...string) (credent... function NewApplicationDefault (line 204) | func NewApplicationDefault(ctx context.Context, scope ...string) (creden... FILE: credentials/oauth/oauth_test.go function checkErrorMsg (line 26) | func checkErrorMsg(err error, msg string) bool { function TestRemoveServiceNameFromJWTURI (line 35) | func TestRemoveServiceNameFromJWTURI(t *testing.T) { FILE: credentials/sts/sts.go constant stsRequestTimeout (line 49) | stsRequestTimeout = 5 * time.Second constant minCachedTokenLifetime (line 52) | minCachedTokenLifetime = 300 * time.Second constant tokenExchangeGrantType (line 54) | tokenExchangeGrantType = "urn:ietf:params:oauth:grant-type:token-exch... constant defaultCloudPlatformScope (line 55) | defaultCloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf... type Options (line 68) | type Options struct method String (line 113) | func (o Options) String() string { function NewCredentials (line 119) | func NewCredentials(opts Options) (credentials.PerRPCCredentials, error) { type callCreds (line 139) | type callCreds struct method GetRequestMetadata (line 152) | func (c *callCreds) GetRequestMetadata(ctx context.Context, _ ...strin... method RequireTransportSecurity (line 186) | func (c *callCreds) RequireTransportSecurity() bool { method cachedMetadata (line 236) | func (c *callCreds) cachedMetadata() map[string]string { type httpDoer (line 192) | type httpDoer interface function makeHTTPClient (line 196) | func makeHTTPClient(roots *x509.CertPool) httpDoer { function validateOptions (line 211) | func validateOptions(opts Options) error { function constructRequest (line 259) | func constructRequest(ctx context.Context, opts Options) (*http.Request,... function sendRequest (line 297) | func sendRequest(client httpDoer, req *http.Request) ([]byte, error) { function tokenInfoFromResponse (line 323) | func tokenInfoFromResponse(respBody []byte) (*tokenInfo, error) { type requestParameters (line 340) | type requestParameters struct type responseParameters (line 373) | type responseParameters struct type tokenInfo (line 396) | type tokenInfo struct FILE: credentials/sts/sts_test.go constant requestedTokenType (line 43) | requestedTokenType = "urn:ietf:params:oauth:token-type:access-token" constant actorTokenPath (line 44) | actorTokenPath = "/var/run/secrets/token.jwt" constant actorTokenType (line 45) | actorTokenType = "urn:ietf:params:oauth:token-type:refresh_token" constant actorTokenContents (line 46) | actorTokenContents = "actorToken.jwt.contents" constant accessTokenContents (line 47) | accessTokenContents = "access_token" constant subjectTokenPath (line 48) | subjectTokenPath = "/var/run/secrets/token.jwt" constant subjectTokenType (line 49) | subjectTokenType = "urn:ietf:params:oauth:token-type:id_token" constant subjectTokenContents (line 50) | subjectTokenContents = "subjectToken.jwt.contents" constant serviceURI (line 51) | serviceURI = "http://localhost" constant exampleResource (line 52) | exampleResource = "https://backend.example.com/api" constant exampleAudience (line 53) | exampleAudience = "example-backend-service" constant testScope (line 54) | testScope = "https://www.googleapis.com/auth/monitoring" constant defaultTestTimeout (line 55) | defaultTestTimeout = 1 * time.Second constant defaultTestShortTimeout (line 56) | defaultTestShortTimeout = 10 * time.Millisecond type s (line 80) | type s struct method TestGetRequestMetadataSuccess (line 242) | func (s) TestGetRequestMetadataSuccess(t *testing.T) { method TestGetRequestMetadataBadSecurityLevel (line 285) | func (s) TestGetRequestMetadataBadSecurityLevel(t *testing.T) { method TestGetRequestMetadataCacheExpiry (line 304) | func (s) TestGetRequestMetadataCacheExpiry(t *testing.T) { method TestGetRequestMetadataBadResponses (line 358) | func (s) TestGetRequestMetadataBadResponses(t *testing.T) { method TestGetRequestMetadataBadSubjectTokenRead (line 414) | func (s) TestGetRequestMetadataBadSubjectTokenRead(t *testing.T) { method TestNewCredentials (line 445) | func (s) TestNewCredentials(t *testing.T) { method TestValidateOptions (line 496) | func (s) TestValidateOptions(t *testing.T) { method TestConstructRequest (line 555) | func (s) TestConstructRequest(t *testing.T) { method TestSendRequest (line 646) | func (s) TestSendRequest(t *testing.T) { method TestTokenInfoFromResponse (line 706) | func (s) TestTokenInfoFromResponse(t *testing.T) { function Test (line 84) | func Test(t *testing.T) { type testAuthInfo (line 90) | type testAuthInfo struct method AuthType (line 94) | func (ta testAuthInfo) AuthType() string { function createTestContext (line 98) | func createTestContext(ctx context.Context, s credentials.SecurityLevel)... type errReader (line 109) | type errReader struct method Read (line 111) | func (r errReader) Read([]byte) (n int, err error) { function makeGoodResponse (line 118) | func makeGoodResponse() *http.Response { function overrideHTTPClientGood (line 134) | func overrideHTTPClientGood() (*testutils.FakeHTTPClient, func()) { function overrideHTTPClient (line 147) | func overrideHTTPClient(fc *testutils.FakeHTTPClient) func() { function overrideSubjectTokenGood (line 155) | func overrideSubjectTokenGood() func() { function overrideSubjectTokenError (line 164) | func overrideSubjectTokenError() func() { function overrideActorTokenGood (line 174) | func overrideActorTokenGood() func() { function overrideActorTokenError (line 183) | func overrideActorTokenError() func() { function compareRequest (line 193) | func compareRequest(gotRequest *http.Request, wantReqParams *requestPara... function receiveAndCompareRequest (line 223) | func receiveAndCompareRequest(ReqChan *testutils.Channel, errCh chan err... FILE: credentials/tls.go constant alpnFailureHelpMessage (line 35) | alpnFailureHelpMessage = "If you upgraded from a grpc-go version earlier... type TLSInfo (line 41) | type TLSInfo struct method AuthType (line 49) | func (t TLSInfo) AuthType() string { method ValidateAuthority (line 56) | func (t TLSInfo) ValidateAuthority(authority string) error { method GetSecurityValue (line 87) | func (t TLSInfo) GetSecurityValue() ChannelzSecurityValue { function cipherSuiteLookup (line 72) | func cipherSuiteLookup(cipherSuiteID uint16) string { type tlsCreds (line 99) | type tlsCreds struct method Info (line 104) | func (c tlsCreds) Info() ProtocolInfo { method ClientHandshake (line 112) | func (c *tlsCreds) ClientHandshake(ctx context.Context, authority stri... method ServerHandshake (line 168) | func (c *tlsCreds) ServerHandshake(rawConn net.Conn) (net.Conn, AuthIn... method Clone (line 199) | func (c *tlsCreds) Clone() TransportCredentials { method OverrideServerName (line 203) | func (c *tlsCreds) OverrideServerName(serverNameOverride string) error { function NewTLS (line 222) | func NewTLS(c *tls.Config) TransportCredentials { function applyDefaults (line 237) | func applyDefaults(c *tls.Config) *tls.Config { function NewClientTLSFromCert (line 269) | func NewClientTLSFromCert(cp *x509.CertPool, serverNameOverride string) ... function NewClientTLSFromFile (line 283) | func NewClientTLSFromFile(certFile, serverNameOverride string) (Transpor... function NewServerTLSFromCert (line 296) | func NewServerTLSFromCert(cert *tls.Certificate) TransportCredentials { function NewServerTLSFromFile (line 302) | func NewServerTLSFromFile(certFile, keyFile string) (TransportCredential... type TLSChannelzSecurityValue (line 317) | type TLSChannelzSecurityValue struct FILE: credentials/tls/certprovider/distributor.go type Distributor (line 39) | type Distributor struct method Set (line 70) | func (d *Distributor) Set(km *KeyMaterial, err error) { method KeyMaterial (line 85) | func (d *Distributor) KeyMaterial(ctx context.Context) (*KeyMaterial, ... method keyMaterial (line 104) | func (d *Distributor) keyMaterial() (*KeyMaterial, error) { method Stop (line 112) | func (d *Distributor) Stop() { function NewDistributor (line 54) | func NewDistributor() *Distributor { FILE: credentials/tls/certprovider/distributor_test.go method TestDistributorEmpty (line 32) | func (s) TestDistributorEmpty(t *testing.T) { method TestDistributor (line 46) | func (s) TestDistributor(t *testing.T) { method TestDistributorConcurrency (line 89) | func (s) TestDistributorConcurrency(t *testing.T) { FILE: credentials/tls/certprovider/pemfile/builder.go constant PluginName (line 34) | PluginName = "file_watcher" constant defaultRefreshInterval (line 35) | defaultRefreshInterval = 10 * time.Minute function init (line 38) | func init() { type pluginBuilder (line 42) | type pluginBuilder struct method ParseConfig (line 44) | func (p *pluginBuilder) ParseConfig(c any) (*certprovider.BuildableCon... method Name (line 58) | func (p *pluginBuilder) Name() string { function pluginConfigFromJSON (line 62) | func pluginConfigFromJSON(jd json.RawMessage) (Options, error) { FILE: credentials/tls/certprovider/pemfile/builder_test.go function TestParseConfig (line 29) | func TestParseConfig(t *testing.T) { FILE: credentials/tls/certprovider/pemfile/watcher.go constant defaultCertRefreshDuration (line 44) | defaultCertRefreshDuration = 1 * time.Hour type Options (line 55) | type Options struct method canonical (line 76) | func (o Options) canonical() []byte { method validate (line 80) | func (o Options) validate() error { function NewProvider (line 100) | func NewProvider(o Options) (certprovider.Provider, error) { function newProvider (line 109) | func newProvider(o Options) certprovider.Provider { type watcher (line 132) | type watcher struct method updateIdentityDistributor (line 159) | func (w *watcher) updateIdentityDistributor() { method updateRootDistributor (line 196) | func (w *watcher) updateRootDistributor() { method maybeUpdateSPIFFEBundleMap (line 210) | func (w *watcher) maybeUpdateSPIFFEBundleMap() { method maybeUpdateRootFile (line 229) | func (w *watcher) maybeUpdateRootFile() { method run (line 252) | func (w *watcher) run(ctx context.Context) { method KeyMaterial (line 274) | func (w *watcher) KeyMaterial(ctx context.Context) (*certprovider.KeyM... method Close (line 295) | func (w *watcher) Close() { type distributor (line 146) | type distributor interface FILE: credentials/tls/certprovider/pemfile/watcher_test.go constant certFile (line 39) | certFile = "cert.pem" constant keyFile (line 40) | keyFile = "key.pem" constant rootFile (line 41) | rootFile = "ca.pem" constant spiffeBundleFile (line 42) | spiffeBundleFile = "spiffebundle.json" constant defaultTestRefreshDuration (line 44) | defaultTestRefreshDuration = 100 * time.Millisecond constant defaultTestTimeout (line 45) | defaultTestTimeout = 5 * time.Second type s (line 48) | type s struct method TestNewProvider (line 78) | func (s) TestNewProvider(t *testing.T) { method TestProvider_NoUpdate (line 259) | func (s) TestProvider_NoUpdate(t *testing.T) { method TestProvider_UpdateSuccess (line 290) | func (s) TestProvider_UpdateSuccess(t *testing.T) { method TestProvider_UpdateSuccessWithSymlink (line 351) | func (s) TestProvider_UpdateSuccessWithSymlink(t *testing.T) { method TestProvider_UpdateFailure_ThenSuccess (line 448) | func (s) TestProvider_UpdateFailure_ThenSuccess(t *testing.T) { method TestProvider_UpdateFailureSPIFFE (line 503) | func (s) TestProvider_UpdateFailureSPIFFE(t *testing.T) { method TestProvider_UpdateFailureSPIFFE_MissingFile (line 561) | func (s) TestProvider_UpdateFailureSPIFFE_MissingFile(t *testing.T) { method TestProvider_UpdateFailureRoot_MissingFile (line 598) | func (s) TestProvider_UpdateFailureRoot_MissingFile(t *testing.T) { function Test (line 52) | func Test(t *testing.T) { function compareKeyMaterial (line 56) | func compareKeyMaterial(got, want *certprovider.KeyMaterial) error { type wrappedDistributor (line 149) | type wrappedDistributor struct method Set (line 161) | func (wd *wrappedDistributor) Set(km *certprovider.KeyMaterial, err er... function newWrappedDistributor (line 154) | func newWrappedDistributor(distCh *testutils.Channel) *wrappedDistributor { function createTmpFile (line 166) | func createTmpFile(t *testing.T, src, dst string) { function removeTmpFile (line 180) | func removeTmpFile(t *testing.T, filePath string) { function createTmpDirWithFiles (line 192) | func createTmpDirWithFiles(t *testing.T, dirSuffix, certSrc, keySrc, roo... function initializeProvider (line 212) | func initializeProvider(t *testing.T, testName string, useSPIFFEBundle b... FILE: credentials/tls/certprovider/provider.go function init (line 37) | func init() { function Register (line 53) | func Register(b Builder) { function getBuilder (line 59) | func getBuilder(name string) Builder { type Builder (line 67) | type Builder interface type Provider (line 83) | type Provider interface type KeyMaterial (line 93) | type KeyMaterial struct type BuildOptions (line 106) | type BuildOptions struct FILE: credentials/tls/certprovider/store.go type storeKey (line 38) | type storeKey struct type wrappedProvider (line 48) | type wrappedProvider struct method Close (line 84) | func (wp *wrappedProvider) Close() { type closedProvider (line 59) | type closedProvider struct method KeyMaterial (line 61) | func (c closedProvider) KeyMaterial(context.Context) (*KeyMaterial, er... method Close (line 65) | func (c closedProvider) Close() { type singleCloseWrappedProvider (line 70) | type singleCloseWrappedProvider struct method Close (line 98) | func (w *singleCloseWrappedProvider) Close() { method KeyMaterial (line 106) | func (w *singleCloseWrappedProvider) KeyMaterial(ctx context.Context) ... type store (line 75) | type store struct function newSingleCloseWrappedProvider (line 112) | func newSingleCloseWrappedProvider(provider Provider) *singleCloseWrappe... type BuildableConfig (line 120) | type BuildableConfig struct method Build (line 144) | func (bc *BuildableConfig) Build(opts BuildOptions) (Provider, error) { method String (line 173) | func (bc *BuildableConfig) String() string { function NewBuildableConfig (line 132) | func NewBuildableConfig(name string, config []byte, starter func(BuildOp... function ParseConfig (line 180) | func ParseConfig(name string, config any) (*BuildableConfig, error) { function GetProvider (line 190) | func GetProvider(name string, config any, opts BuildOptions) (Provider, ... FILE: credentials/tls/certprovider/store_test.go constant fakeProvider1Name (line 37) | fakeProvider1Name = "fake-certificate-provider-1" constant fakeProvider2Name (line 38) | fakeProvider2Name = "fake-certificate-provider-2" constant fakeConfig (line 39) | fakeConfig = "my fake config" constant defaultTestTimeout (line 40) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 41) | defaultTestShortTimeout = 10 * time.Millisecond function init (line 46) | func init() { type s (line 59) | type s struct method TestStoreSingleProvider (line 181) | func (s) TestStoreSingleProvider(t *testing.T) { method TestStoreSingleProviderSameConfigDifferentOpts (line 225) | func (s) TestStoreSingleProviderSameConfigDifferentOpts(t *testing.T) { method TestStoreSingleProviderDifferentConfigs (line 299) | func (s) TestStoreSingleProviderDifferentConfigs(t *testing.T) { method TestStoreMultipleProviders (line 359) | func (s) TestStoreMultipleProviders(t *testing.T) { function Test (line 63) | func Test(t *testing.T) { type fakeProviderBuilder (line 69) | type fakeProviderBuilder struct method ParseConfig (line 74) | func (b *fakeProviderBuilder) ParseConfig(config any) (*BuildableConfi... method Name (line 89) | func (b *fakeProviderBuilder) Name() string { type fakeProvider (line 95) | type fakeProvider struct method Start (line 100) | func (p *fakeProvider) Start(BuildOptions) Provider { method newKeyMaterial (line 108) | func (p *fakeProvider) newKeyMaterial(km *KeyMaterial, err error) { method Close (line 113) | func (p *fakeProvider) Close() { function loadKeyMaterials (line 119) | func loadKeyMaterials(t *testing.T, cert, key, ca string) *KeyMaterial { type kmReader (line 139) | type kmReader interface function readAndVerifyKeyMaterial (line 145) | func readAndVerifyKeyMaterial(ctx context.Context, kmr kmReader, wantKM ... function compareKeyMaterial (line 153) | func compareKeyMaterial(got, want *KeyMaterial) error { function createProvider (line 170) | func createProvider(t *testing.T, name, config string, opts BuildOptions... FILE: credentials/tls_ext_test.go constant defaultTestTimeout (line 45) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 46) | defaultTestShortTimeout = 10 * time.Millisecond type s (line 48) | type s struct method TestTLS_MinVersion12 (line 79) | func (s) TestTLS_MinVersion12(t *testing.T) { method TestTLS_MinVersionOverridable (line 168) | func (s) TestTLS_MinVersionOverridable(t *testing.T) { method TestTLS_CipherSuites (line 252) | func (s) TestTLS_CipherSuites(t *testing.T) { method TestTLS_CipherSuitesOverridable (line 335) | func (s) TestTLS_CipherSuitesOverridable(t *testing.T) { method TestTLS_ServerConfiguresALPNByDefault (line 413) | func (s) TestTLS_ServerConfiguresALPNByDefault(t *testing.T) { method TestTLS_DisabledALPNClient (line 455) | func (s) TestTLS_DisabledALPNClient(t *testing.T) { method TestTLS_DisabledALPNServer (line 536) | func (s) TestTLS_DisabledALPNServer(t *testing.T) { function Test (line 52) | func Test(t *testing.T) { function init (line 60) | func init() { FILE: credentials/xds/xds.go type ClientOptions (line 37) | type ClientOptions struct function NewClientCredentials (line 47) | func NewClientCredentials(opts ClientOptions) (credentials.TransportCred... type ServerOptions (line 59) | type ServerOptions struct function NewServerCredentials (line 68) | func NewServerCredentials(opts ServerOptions) (credentials.TransportCred... type credsImpl (line 80) | type credsImpl struct method ClientHandshake (line 93) | func (c *credsImpl) ClientHandshake(ctx context.Context, authority str... method ServerHandshake (line 172) | func (c *credsImpl) ServerHandshake(rawConn net.Conn) (net.Conn, crede... method Info (line 229) | func (c *credsImpl) Info() credentials.ProtocolInfo { method Clone (line 234) | func (c *credsImpl) Clone() credentials.TransportCredentials { method OverrideServerName (line 239) | func (c *credsImpl) OverrideServerName(_ string) error { method UsesXDS (line 245) | func (c *credsImpl) UsesXDS() bool { FILE: credentials/xds/xds_client_test.go constant defaultTestTimeout (line 46) | defaultTestTimeout = 1 * time.Second constant defaultTestShortTimeout (line 47) | defaultTestShortTimeout = 10 * time.Millisecond constant defaultTestCertSAN (line 48) | defaultTestCertSAN = "abc.test.example.com" constant authority (line 49) | authority = "x.test.example.com" type s (line 52) | type s struct method TestClientCredsWithoutFallback (line 287) | func (s) TestClientCredsWithoutFallback(t *testing.T) { method TestClientCredsInvalidHandshakeInfo (line 296) | func (s) TestClientCredsInvalidHandshakeInfo(t *testing.T) { method TestClientCredsProviderFailure (line 313) | func (s) TestClientCredsProviderFailure(t *testing.T) { method TestClientCredsSuccess (line 351) | func (s) TestClientCredsSuccess(t *testing.T) { method TestClientCredsHandshakeTimeout (line 419) | func (s) TestClientCredsHandshakeTimeout(t *testing.T) { method TestClientCredsHandshakeFailure (line 468) | func (s) TestClientCredsHandshakeFailure(t *testing.T) { method TestClientCredsProviderSwitch (line 524) | func (s) TestClientCredsProviderSwitch(t *testing.T) { method TestClientClone (line 586) | func (s) TestClientClone(t *testing.T) { function Test (line 56) | func Test(t *testing.T) { function makeFallbackClientCreds (line 62) | func makeFallbackClientCreds(t *testing.T) credentials.TransportCredenti... type testServer (line 75) | type testServer struct method start (line 108) | func (ts *testServer) start(ctx context.Context) error { method handleConn (line 122) | func (ts *testServer) handleConn(ctx context.Context) { method stop (line 136) | func (ts *testServer) stop() { type handshakeResult (line 85) | type handshakeResult struct type testHandshakeFunc (line 92) | type testHandshakeFunc function newTestServerWithHandshakeFunc (line 97) | func newTestServerWithHandshakeFunc(ctx context.Context, f testHandshake... function testServerTLSHandshake (line 143) | func testServerTLSHandshake(rawConn net.Conn) handshakeResult { function testServerMutualTLSHandshake (line 161) | func testServerMutualTLSHandshake(rawConn net.Conn) handshakeResult { type fakeProvider (line 186) | type fakeProvider struct method KeyMaterial (line 191) | func (f *fakeProvider) KeyMaterial(context.Context) (*certprovider.Key... method Close (line 195) | func (f *fakeProvider) Close() {} function makeIdentityProvider (line 199) | func makeIdentityProvider(t *testing.T, certPath, keyPath string) certpr... function makeRootProvider (line 210) | func makeRootProvider(t *testing.T, caPath string) *fakeProvider { function newTestContextWithHandshakeInfo (line 222) | func newTestContextWithHandshakeInfo(parent context.Context, root, ident... function compareAuthInfo (line 243) | func compareAuthInfo(ctx context.Context, ts *testServer, ai credentials... function compareConnState (line 271) | func compareConnState(got, want tls.ConnectionState) error { FILE: credentials/xds/xds_server_test.go function makeClientTLSConfig (line 39) | func makeClientTLSConfig(t *testing.T, mTLS bool) *tls.Config { function makeFallbackServerCreds (line 75) | func makeFallbackServerCreds(t *testing.T) credentials.TransportCredenti... type errorCreds (line 85) | type errorCreds struct method TestServerCredsWithoutFallback (line 91) | func (s) TestServerCredsWithoutFallback(t *testing.T) { type wrapperConn (line 97) | type wrapperConn struct method XDSHandshakeInfo (line 104) | func (wc *wrapperConn) XDSHandshakeInfo() (*xdsinternal.HandshakeInfo,... method GetDeadline (line 108) | func (wc *wrapperConn) GetDeadline() time.Time { function newWrappedConn (line 112) | func newWrappedConn(conn net.Conn, xdsHI *xdsinternal.HandshakeInfo, dea... method TestServerCredsInvalidHandshakeInfo (line 119) | func (s) TestServerCredsInvalidHandshakeInfo(t *testing.T) { method TestServerCredsProviderFailure (line 135) | func (s) TestServerCredsProviderFailure(t *testing.T) { method TestServerCredsHandshake_XDSHandshakeInfoError (line 175) | func (s) TestServerCredsHandshake_XDSHandshakeInfoError(t *testing.T) { method TestServerCredsHandshakeTimeout (line 226) | func (s) TestServerCredsHandshakeTimeout(t *testing.T) { method TestServerCredsHandshakeFailure (line 276) | func (s) TestServerCredsHandshakeFailure(t *testing.T) { method TestServerCredsHandshakeSuccess (line 330) | func (s) TestServerCredsHandshakeSuccess(t *testing.T) { method TestServerCredsProviderSwitch (line 430) | func (s) TestServerCredsProviderSwitch(t *testing.T) { method TestServerClone (line 529) | func (s) TestServerClone(t *testing.T) { FILE: default_dial_option_server_option_test.go method TestAddGlobalDialOptions (line 31) | func (s) TestAddGlobalDialOptions(t *testing.T) { method TestDisableGlobalOptions (line 66) | func (s) TestDisableGlobalOptions(t *testing.T) { type testPerTargetDialOption (line 79) | type testPerTargetDialOption struct method DialOptionForTarget (line 81) | func (do *testPerTargetDialOption) DialOptionForTarget(parsedTarget ur... method TestGlobalPerTargetDialOption (line 93) | func (s) TestGlobalPerTargetDialOption(t *testing.T) { method TestAddGlobalServerOptions (line 107) | func (s) TestAddGlobalServerOptions(t *testing.T) { method TestJoinDialOption (line 134) | func (s) TestJoinDialOption(t *testing.T) { method TestJoinServerOption (line 154) | func (s) TestJoinServerOption(t *testing.T) { method TestHeaderListSizeDialOptionServerOption (line 168) | func (s) TestHeaderListSizeDialOptionServerOption(t *testing.T) { FILE: dial_test.go method TestDialWithTimeout (line 43) | func (s) TestDialWithTimeout(t *testing.T) { method TestDialWaitsForServerSettings (line 84) | func (s) TestDialWaitsForServerSettings(t *testing.T) { method TestDialWaitsForServerSettingsAndFails (line 130) | func (s) TestDialWaitsForServerSettingsAndFails(t *testing.T) { method TestWithTimeout (line 175) | func (s) TestWithTimeout(t *testing.T) { method TestWithTransportCredentialsTLS (line 188) | func (s) TestWithTransportCredentialsTLS(t *testing.T) { method TestDialContextCancel (line 204) | func (s) TestDialContextCancel(t *testing.T) { type failFastError (line 212) | type failFastError struct method Error (line 214) | func (failFastError) Error() string { return "failfast" } method Temporary (line 215) | func (failFastError) Temporary() bool { return false } method TestDialContextFailFast (line 217) | func (s) TestDialContextFailFast(t *testing.T) { method TestClientUpdatesParamsAfterGoAway (line 231) | func (s) TestClientUpdatesParamsAfterGoAway(t *testing.T) { method TestResolverAddressesWithTypedNilAttribute (line 299) | func (s) TestResolverAddressesWithTypedNilAttribute(t *testing.T) { type stringerVal (line 313) | type stringerVal struct method String (line 315) | func (s stringerVal) String() string { return s.s } constant errResolverBuilderScheme (line 317) | errResolverBuilderScheme = "test-resolver-build-failure" type errResolverBuilder (line 321) | type errResolverBuilder struct method Build (line 325) | func (b *errResolverBuilder) Build(resolver.Target, resolver.ClientCon... method Scheme (line 329) | func (b *errResolverBuilder) Scheme() string { method TestDial_ResolverBuilder_Error (line 335) | func (s) TestDial_ResolverBuilder_Error(t *testing.T) { FILE: dialoptions.go constant defaultMaxCallAttempts (line 43) | defaultMaxCallAttempts = 5 function init (line 46) | func init() { type dialOptions (line 69) | type dialOptions struct type DialOption (line 102) | type DialOption interface type perTargetDialOption (line 114) | type perTargetDialOption interface type EmptyDialOption (line 128) | type EmptyDialOption struct method apply (line 130) | func (EmptyDialOption) apply(*dialOptions) {} type disableGlobalDialOptions (line 132) | type disableGlobalDialOptions struct method apply (line 134) | func (disableGlobalDialOptions) apply(*dialOptions) {} function newDisableGlobalDialOptions (line 138) | func newDisableGlobalDialOptions() DialOption { type funcDialOption (line 144) | type funcDialOption struct method apply (line 148) | func (fdo *funcDialOption) apply(do *dialOptions) { function newFuncDialOption (line 152) | func newFuncDialOption(f func(*dialOptions)) *funcDialOption { type joinDialOption (line 158) | type joinDialOption struct method apply (line 162) | func (jdo *joinDialOption) apply(do *dialOptions) { function newJoinDialOption (line 168) | func newJoinDialOption(opts ...DialOption) DialOption { function WithSharedWriteBuffer (line 180) | func WithSharedWriteBuffer(val bool) DialOption { function WithWriteBufferSize (line 192) | func WithWriteBufferSize(s int) DialOption { function WithReadBufferSize (line 204) | func WithReadBufferSize(s int) DialOption { function WithInitialWindowSize (line 213) | func WithInitialWindowSize(s int32) DialOption { function WithInitialConnWindowSize (line 223) | func WithInitialConnWindowSize(s int32) DialOption { function WithStaticStreamWindowSize (line 232) | func WithStaticStreamWindowSize(s int32) DialOption { function WithStaticConnWindowSize (line 242) | func WithStaticConnWindowSize(s int32) DialOption { function WithMaxMsgSize (line 254) | func WithMaxMsgSize(s int) DialOption { function WithDefaultCallOptions (line 260) | func WithDefaultCallOptions(cos ...CallOption) DialOption { function WithCodec (line 271) | func WithCodec(c Codec) DialOption { function WithCompressor (line 280) | func WithCompressor(cp Compressor) DialOption { function WithDecompressor (line 296) | func WithDecompressor(dc Decompressor) DialOption { function WithConnectParams (line 310) | func WithConnectParams(p ConnectParams) DialOption { function WithBackoffMaxDelay (line 323) | func WithBackoffMaxDelay(md time.Duration) DialOption { function WithBackoffConfig (line 331) | func WithBackoffConfig(b BackoffConfig) DialOption { function withBackoff (line 341) | func withBackoff(bs internalbackoff.Strategy) DialOption { function WithBlock (line 356) | func WithBlock() DialOption { function WithReturnConnectionError (line 372) | func WithReturnConnectionError() DialOption { function WithInsecure (line 388) | func WithInsecure() DialOption { function WithNoProxy (line 401) | func WithNoProxy() DialOption { function WithLocalDNSResolution (line 416) | func WithLocalDNSResolution() DialOption { function WithTransportCredentials (line 425) | func WithTransportCredentials(creds credentials.TransportCredentials) Di... function WithPerRPCCredentials (line 433) | func WithPerRPCCredentials(creds credentials.PerRPCCredentials) DialOpti... function WithCredentialsBundle (line 447) | func WithCredentialsBundle(b credentials.Bundle) DialOption { function WithTimeout (line 458) | func WithTimeout(d time.Duration) DialOption { function WithContextDialer (line 484) | func WithContextDialer(f func(context.Context, string) (net.Conn, error)... function WithDialer (line 497) | func WithDialer(f func(string, time.Duration) (net.Conn, error)) DialOpt... function WithStatsHandler (line 509) | func WithStatsHandler(h stats.Handler) DialOption { function withBinaryLogger (line 523) | func withBinaryLogger(bl binarylog.Logger) DialOption { function FailOnNonTempDialError (line 543) | func FailOnNonTempDialError(f bool) DialOption { function WithUserAgent (line 551) | func WithUserAgent(s string) DialOption { function WithKeepaliveParams (line 561) | func WithKeepaliveParams(kp keepalive.ClientParameters) DialOption { function WithUnaryInterceptor (line 573) | func WithUnaryInterceptor(f UnaryClientInterceptor) DialOption { function WithChainUnaryInterceptor (line 584) | func WithChainUnaryInterceptor(interceptors ...UnaryClientInterceptor) D... function WithStreamInterceptor (line 592) | func WithStreamInterceptor(f StreamClientInterceptor) DialOption { function WithChainStreamInterceptor (line 603) | func WithChainStreamInterceptor(interceptors ...StreamClientInterceptor)... function WithAuthority (line 613) | func WithAuthority(a string) DialOption { function WithChannelzParentID (line 627) | func WithChannelzParentID(c channelz.Identifier) DialOption { function WithDisableServiceConfig (line 639) | func WithDisableServiceConfig() DialOption { function WithDefaultServiceConfig (line 658) | func WithDefaultServiceConfig(s string) DialOption { function WithDisableRetry (line 668) | func WithDisableRetry() DialOption { type MaxHeaderListSizeDialOption (line 676) | type MaxHeaderListSizeDialOption struct method apply (line 680) | func (o MaxHeaderListSizeDialOption) apply(do *dialOptions) { function WithMaxHeaderListSize (line 686) | func WithMaxHeaderListSize(s uint32) DialOption { function WithDisableHealthCheck (line 699) | func WithDisableHealthCheck() DialOption { function defaultDialOptions (line 705) | func defaultDialOptions() dialOptions { function withMinConnectDeadline (line 728) | func withMinConnectDeadline(f func() time.Duration) DialOption { function withDefaultScheme (line 736) | func withDefaultScheme(s string) DialOption { function WithResolvers (line 751) | func WithResolvers(rs ...resolver.Builder) DialOption { function WithIdleTimeout (line 771) | func WithIdleTimeout(d time.Duration) DialOption { function WithMaxCallAttempts (line 785) | func WithMaxCallAttempts(n int) DialOption { function withBufferPool (line 794) | func withBufferPool(bufferPool mem.BufferPool) DialOption { FILE: encoding/compressor_test.go type wrapCompressor (line 43) | type wrapCompressor struct method Compress (line 48) | func (wc *wrapCompressor) Compress(w io.Writer) (io.WriteCloser, error) { function setupGzipWrapCompressor (line 53) | func setupGzipWrapCompressor(t *testing.T) *wrapCompressor { method TestSetSendCompressorSuccess (line 61) | func (s) TestSetSendCompressorSuccess(t *testing.T) { function testUnarySetSendCompressorSuccess (line 109) | func testUnarySetSendCompressorSuccess(t *testing.T, payload *testpb.Pay... function testStreamSetSendCompressorSuccess (line 139) | func testStreamSetSendCompressorSuccess(t *testing.T, payload *testpb.Pa... type fakeCompressor (line 185) | type fakeCompressor struct method Compress (line 189) | func (f *fakeCompressor) Compress(w io.Writer) (io.WriteCloser, error) { method Decompress (line 193) | func (f *fakeCompressor) Decompress(io.Reader) (io.Reader, error) { method Name (line 197) | func (f *fakeCompressor) Name() string { type nopWriteCloser (line 203) | type nopWriteCloser struct method Close (line 207) | func (nopWriteCloser) Close() error { method TestDecompressionExceedsMaxMessageSize (line 215) | func (s) TestDecompressionExceedsMaxMessageSize(t *testing.T) { FILE: encoding/encoding.go constant Identity (line 39) | Identity = "identity" function init (line 41) | func init() { type Compressor (line 61) | type Compressor interface function RegisterCompressor (line 87) | func RegisterCompressor(c Compressor) { function GetCompressor (line 95) | func GetCompressor(name string) Compressor { type Codec (line 102) | type Codec interface function RegisterCodec (line 129) | func RegisterCodec(codec Codec) { function GetCodec (line 144) | func GetCodec(contentSubtype string) Codec { FILE: encoding/encoding_test.go constant defaultTestTimeout (line 47) | defaultTestTimeout = 10 * time.Second type s (line 49) | type s struct method TestDuplicateCompressorRegister (line 70) | func (s) TestDuplicateCompressorRegister(t *testing.T) { method TestEncodeDoesntPanicOnServer (line 114) | func (s) TestEncodeDoesntPanicOnServer(t *testing.T) { method TestDecodeDoesntPanicOnServer (line 152) | func (s) TestDecodeDoesntPanicOnServer(t *testing.T) { method TestEncodeDoesntPanicOnClient (line 189) | func (s) TestEncodeDoesntPanicOnClient(t *testing.T) { method TestDecodeDoesntPanicOnClient (line 225) | func (s) TestDecodeDoesntPanicOnClient(t *testing.T) { method TestForceServerCodec (line 285) | func (s) TestForceServerCodec(t *testing.T) { method TestForceCodecName (line 330) | func (s) TestForceCodecName(t *testing.T) { method TestUnsupportedCodecOnServer (line 375) | func (s) TestUnsupportedCodecOnServer(t *testing.T) { function Test (line 53) | func Test(t *testing.T) { type mockNamedCompressor (line 57) | type mockNamedCompressor struct method Name (line 61) | func (mockNamedCompressor) Name() string { type errProtoCodec (line 88) | type errProtoCodec struct method Marshal (line 94) | func (c *errProtoCodec) Marshal(v any) (mem.BufferSlice, error) { method Unmarshal (line 101) | func (c *errProtoCodec) Unmarshal(data mem.BufferSlice, v any) error { method Name (line 108) | func (c *errProtoCodec) Name() string { type countingProtoCodec (line 261) | type countingProtoCodec struct method Marshal (line 269) | func (p *countingProtoCodec) Marshal(v any) (mem.BufferSlice, error) { method Unmarshal (line 274) | func (p *countingProtoCodec) Unmarshal(data mem.BufferSlice, v any) er... method Name (line 279) | func (p *countingProtoCodec) Name() string { type renameProtoCodec (line 320) | type renameProtoCodec struct method Name (line 325) | func (r *renameProtoCodec) Name() string { return r.name } FILE: encoding/encoding_v2.go type CodecV2 (line 30) | type CodecV2 interface function RegisterCodecV2 (line 63) | func RegisterCodecV2(codec CodecV2) { function GetCodecV2 (line 78) | func GetCodecV2(contentSubtype string) CodecV2 { FILE: encoding/gzip/gzip.go constant Name (line 38) | Name = "gzip" function init (line 40) | func init() { type writer (line 48) | type writer struct method Close (line 79) | func (z *writer) Close() error { function SetLevel (line 58) | func SetLevel(level int) error { type reader (line 84) | type reader struct method Read (line 105) | func (z *reader) Read(p []byte) (n int, err error) { type compressor (line 117) | type compressor struct method Compress (line 73) | func (c *compressor) Compress(w io.Writer) (io.WriteCloser, error) { method Decompress (line 89) | func (c *compressor) Decompress(r io.Reader) (io.Reader, error) { method Name (line 113) | func (c *compressor) Name() string { FILE: encoding/proto/proto.go constant Name (line 33) | Name = "proto" function init (line 35) | func init() { type codecV2 (line 41) | type codecV2 struct method Marshal (line 43) | func (c *codecV2) Marshal(v any) (data mem.BufferSlice, err error) { method Unmarshal (line 85) | func (c *codecV2) Unmarshal(data mem.BufferSlice, v any) (err error) { method Name (line 110) | func (c *codecV2) Name() string { function messageV2Of (line 99) | func messageV2Of(v any) proto.Message { FILE: encoding/proto/proto_benchmark_test.go function setupBenchmarkProtoCodecInputs (line 31) | func setupBenchmarkProtoCodecInputs(payloadBaseSize uint32) []proto.Mess... function BenchmarkProtoCodec (line 55) | func BenchmarkProtoCodec(b *testing.B) { function benchmarkProtoCodec (line 81) | func benchmarkProtoCodec(codec *codecV2, protoStructs []proto.Message, p... function fastMarshalAndUnmarshal (line 90) | func fastMarshalAndUnmarshal(codec encoding.CodecV2, protoStruct proto.M... FILE: encoding/proto/proto_test.go function marshalAndUnmarshal (line 32) | func marshalAndUnmarshal(t *testing.T, codec encoding.CodecV2, expectedB... type s (line 50) | type s struct method TestBasicProtoCodecMarshalAndUnmarshal (line 58) | func (s) TestBasicProtoCodecMarshalAndUnmarshal(t *testing.T) { method TestConcurrentUsage (line 63) | func (s) TestConcurrentUsage(t *testing.T) { method TestStaggeredMarshalAndUnmarshalUsingSamePool (line 96) | func (s) TestStaggeredMarshalAndUnmarshalUsingSamePool(t *testing.T) { function Test (line 54) | func Test(t *testing.T) { FILE: examples/data/data.go function init (line 30) | func init() { function Path (line 38) | func Path(rel string) string { FILE: examples/features/advancedtls/client/main.go constant credRefreshInterval (line 43) | credRefreshInterval = 1 * time.Minute constant serverAddr (line 44) | serverAddr = "localhost" constant goodServerPort (line 45) | goodServerPort string = "50051" constant revokedServerPort (line 46) | revokedServerPort string = "50053" constant insecurePort (line 47) | insecurePort string = "50054" constant message (line 48) | message string = "Hello" function makeRootProvider (line 52) | func makeRootProvider(credsDirectory string) certprovider.Provider { function makeIdentityProvider (line 65) | func makeIdentityProvider(revoked bool, credsDirectory string) certprovi... function runClientWithProviders (line 85) | func runClientWithProviders(rootProvider certprovider.Provider, identity... function tlsWithCRLsToGoodServer (line 114) | func tlsWithCRLsToGoodServer(credsDirectory string) { function tlsWithCRLsToRevokedServer (line 125) | func tlsWithCRLsToRevokedServer(credsDirectory string) { function tlsWithCRLs (line 136) | func tlsWithCRLs(credsDirectory string) { function makeCRLProvider (line 141) | func makeCRLProvider(crlDirectory string) *advancedtls.FileWatcherCRLPro... function customVerificationSucceed (line 154) | func customVerificationSucceed(info *advancedtls.HandshakeVerificationIn... function customVerificationFail (line 162) | func customVerificationFail(info *advancedtls.HandshakeVerificationInfo)... function customVerification (line 170) | func customVerification(credsDirectory string) { function runClientWithCustomVerification (line 175) | func runClientWithCustomVerification(credsDirectory string, port string) { function credentialsNewTLSExample (line 232) | func credentialsNewTLSExample(credsDirectory string) { function insecureCredentialsExample (line 260) | func insecureCredentialsExample() { function runWithCredentials (line 272) | func runWithCredentials(creds credentials.TransportCredentials, fullServ... function main (line 294) | func main() { FILE: examples/features/advancedtls/server/main.go type server (line 41) | type server struct method UnaryEcho (line 51) | func (s *server) UnaryEcho(_ context.Context, req *pb.EchoRequest) (*p... constant credRefreshInterval (line 46) | credRefreshInterval = 1 * time.Minute constant goodServerWithCRLPort (line 47) | goodServerWithCRLPort int = 50051 constant revokedServerWithCRLPort (line 48) | revokedServerWithCRLPort int = 50053 constant insecurePort (line 49) | insecurePort int = 50054 function insecureServer (line 55) | func insecureServer() { function createAndRunInsecureServer (line 59) | func createAndRunInsecureServer(port int) { function createAndRunTLSServer (line 73) | func createAndRunTLSServer(credsDirectory string, useRevokedCert bool, p... function makeRootProvider (line 121) | func makeRootProvider(credsDirectory string) certprovider.Provider { function makeIdentityProvider (line 135) | func makeIdentityProvider(useRevokedCert bool, credsDirectory string) ce... function makeCRLProvider (line 155) | func makeCRLProvider(crlDirectory string) *advancedtls.FileWatcherCRLPro... function main (line 167) | func main() { FILE: examples/features/authentication/client/main.go function callUnaryEcho (line 39) | func callUnaryEcho(client ecpb.EchoClient, message string) { function main (line 49) | func main() { function fetchToken (line 82) | func fetchToken() *oauth2.Token { FILE: examples/features/authentication/server/main.go function main (line 49) | func main() { type ecServer (line 76) | type ecServer struct method UnaryEcho (line 80) | func (s *ecServer) UnaryEcho(_ context.Context, req *pb.EchoRequest) (... function valid (line 85) | func valid(authorization []string) bool { function ensureValidToken (line 100) | func ensureValidToken(ctx context.Context, req any, _ *grpc.UnaryServerI... FILE: examples/features/authz/client/main.go function callUnaryEcho (line 44) | func callUnaryEcho(ctx context.Context, client ecpb.EchoClient, message ... function callBidiStreamingEcho (line 53) | func callBidiStreamingEcho(ctx context.Context, client ecpb.EchoClient, ... function newCredentialsCallOption (line 85) | func newCredentialsCallOption(t token.Token) grpc.CallOption { function main (line 94) | func main() { FILE: examples/features/authz/server/main.go constant unaryEchoWriterRole (line 47) | unaryEchoWriterRole = "UNARY_ECHO:W" constant streamEchoReadWriterRole (line 48) | streamEchoReadWriterRole = "STREAM_ECHO:RW" constant authzPolicy (line 49) | authzPolicy = ` constant authzOptStatic (line 81) | authzOptStatic = "static" constant authzOptFileWatcher (line 82) | authzOptFileWatcher = "filewatcher" function newContextWithRoles (line 92) | func newContextWithRoles(ctx context.Context, username string) context.C... type server (line 101) | type server struct method UnaryEcho (line 105) | func (s *server) UnaryEcho(_ context.Context, in *pb.EchoRequest) (*pb... method BidirectionalStreamingEcho (line 110) | func (s *server) BidirectionalStreamingEcho(stream pb.Echo_Bidirection... function isAuthenticated (line 126) | func isAuthenticated(authorization []string) (username string, err error) { function authUnaryInterceptor (line 148) | func authUnaryInterceptor(ctx context.Context, req any, _ *grpc.UnarySer... type wrappedStream (line 163) | type wrappedStream struct method Context (line 168) | func (w *wrappedStream) Context() context.Context { function newWrappedStream (line 172) | func newWrappedStream(ctx context.Context, s grpc.ServerStream) grpc.Ser... function authStreamInterceptor (line 179) | func authStreamInterceptor(srv any, ss grpc.ServerStream, _ *grpc.Stream... function main (line 191) | func main() { FILE: examples/features/authz/token/token.go type Token (line 30) | type Token struct method Encode (line 38) | func (t *Token) Encode() (string, error) { method Decode (line 49) | func (t *Token) Decode(s string) error { FILE: examples/features/cancellation/client/main.go function sendMessage (line 39) | func sendMessage(stream pb.Echo_BidirectionalStreamingEchoClient, msg st... function recvMessage (line 44) | func recvMessage(stream pb.Echo_BidirectionalStreamingEchoClient, wantEr... function main (line 56) | func main() { FILE: examples/features/cancellation/server/main.go type server (line 37) | type server struct method BidirectionalStreamingEcho (line 41) | func (s *server) BidirectionalStreamingEcho(stream pb.Echo_Bidirection... function main (line 56) | func main() { FILE: examples/features/compression/client/main.go function main (line 38) | func main() { FILE: examples/features/compression/server/main.go type server (line 40) | type server struct method UnaryEcho (line 44) | func (s *server) UnaryEcho(_ context.Context, in *pb.EchoRequest) (*pb... function main (line 49) | func main() { FILE: examples/features/csm_observability/client/main.go constant defaultName (line 43) | defaultName = "world" function main (line 51) | func main() { FILE: examples/features/csm_observability/server/main.go type server (line 48) | type server struct method SayHello (line 54) | func (s *server) SayHello(_ context.Context, in *pb.HelloRequest) (*pb... function main (line 58) | func main() { FILE: examples/features/customloadbalancer/client/customroundrobin/customroundrobin.go function init (line 35) | func init() { constant customRRName (line 39) | customRRName = "custom_round_robin" type customRRConfig (line 41) | type customRRConfig struct type customRoundRobinBuilder (line 49) | type customRoundRobinBuilder struct method ParseConfig (line 51) | func (customRoundRobinBuilder) ParseConfig(s json.RawMessage) (service... method Name (line 62) | func (customRoundRobinBuilder) Name() string { method Build (line 66) | func (customRoundRobinBuilder) Build(cc balancer.ClientConn, bOpts bal... type customRoundRobin (line 75) | type customRoundRobin struct method UpdateClientConnState (line 89) | func (crr *customRoundRobin) UpdateClientConnState(state balancer.Clie... method UpdateState (line 106) | func (crr *customRoundRobin) UpdateState(state balancer.State) { type customRoundRobinPicker (line 134) | type customRoundRobinPicker struct method Pick (line 140) | func (crrp *customRoundRobinPicker) Pick(info balancer.PickInfo) (bala... FILE: examples/features/customloadbalancer/client/main.go function main (line 45) | func main() { function waitForDistribution (line 79) | func waitForDistribution(ctx context.Context, ec pb.EchoClient) error { FILE: examples/features/customloadbalancer/server/main.go type echoServer (line 37) | type echoServer struct method UnaryEcho (line 42) | func (s *echoServer) UnaryEcho(_ context.Context, req *pb.EchoRequest)... function main (line 46) | func main() { FILE: examples/features/deadline/client/main.go function unaryCall (line 39) | func unaryCall(c pb.EchoClient, requestID int, message string, want code... function streamingCall (line 51) | func streamingCall(c pb.EchoClient, requestID int, message string, want ... function main (line 74) | func main() { FILE: examples/features/deadline/server/main.go type server (line 44) | type server struct method UnaryEcho (line 50) | func (s *server) UnaryEcho(ctx context.Context, req *pb.EchoRequest) (... method BidirectionalStreamingEcho (line 65) | func (s *server) BidirectionalStreamingEcho(stream pb.Echo_Bidirection... method Close (line 93) | func (s *server) Close() { function newEchoServer (line 97) | func newEchoServer() *server { function main (line 106) | func main() { FILE: examples/features/debugging/client/main.go constant defaultName (line 40) | defaultName = "world" function main (line 48) | func main() { FILE: examples/features/debugging/server/main.go type server (line 41) | type server struct method SayHello (line 46) | func (s *server) SayHello(_ context.Context, in *pb.HelloRequest) (*pb... type slowServer (line 51) | type slowServer struct method SayHello (line 56) | func (s *slowServer) SayHello(_ context.Context, in *pb.HelloRequest) ... function main (line 62) | func main() { FILE: examples/features/dualstack/client/main.go constant port1 (line 38) | port1 = 50051 constant port2 (line 39) | port2 = 50052 constant port3 (line 40) | port3 = 50053 function init (line 43) | func init() { type exampleResolver (line 50) | type exampleResolver struct method Close (line 52) | func (*exampleResolver) Close() {} method ResolveNow (line 54) | func (*exampleResolver) ResolveNow(resolver.ResolveNowOptions) {} method Build (line 56) | func (*exampleResolver) Build(_ resolver.Target, cc resolver.ClientCon... method Scheme (line 82) | func (*exampleResolver) Scheme() string { function main (line 86) | func main() { function waitForDistribution (line 134) | func waitForDistribution(ctx context.Context, client hwpb.GreeterClient)... FILE: examples/features/dualstack/server/main.go type greeterServer (line 33) | type greeterServer struct method SayHello (line 40) | func (s *greeterServer) SayHello(_ context.Context, req *hwpb.HelloReq... function main (line 46) | func main() { FILE: examples/features/encryption/ALTS/client/main.go function callUnaryEcho (line 37) | func callUnaryEcho(client ecpb.EchoClient, message string) { function main (line 47) | func main() { FILE: examples/features/encryption/ALTS/server/main.go type ecServer (line 38) | type ecServer struct method UnaryEcho (line 42) | func (s *ecServer) UnaryEcho(_ context.Context, req *pb.EchoRequest) (... function main (line 46) | func main() { FILE: examples/features/encryption/TLS/client/main.go function callUnaryEcho (line 38) | func callUnaryEcho(client ecpb.EchoClient, message string) { function main (line 48) | func main() { FILE: examples/features/encryption/TLS/server/main.go type ecServer (line 38) | type ecServer struct method UnaryEcho (line 42) | func (s *ecServer) UnaryEcho(_ context.Context, req *pb.EchoRequest) (... function main (line 46) | func main() { FILE: examples/features/encryption/mTLS/client/main.go function callUnaryEcho (line 40) | func callUnaryEcho(client ecpb.EchoClient, message string) { function main (line 50) | func main() { FILE: examples/features/encryption/mTLS/server/main.go type ecServer (line 40) | type ecServer struct method UnaryEcho (line 44) | func (s *ecServer) UnaryEcho(_ context.Context, req *pb.EchoRequest) (... function main (line 48) | func main() { FILE: examples/features/error_details/client/main.go function main (line 38) | func main() { FILE: examples/features/error_details/server/main.go type server (line 41) | type server struct method SayHello (line 48) | func (s *server) SayHello(_ context.Context, in *pb.HelloRequest) (*pb... function main (line 71) | func main() { FILE: examples/features/error_handling/client/main.go function main (line 38) | func main() { FILE: examples/features/error_handling/server/main.go type server (line 40) | type server struct method SayHello (line 45) | func (s *server) SayHello(_ context.Context, in *pb.HelloRequest) (*pb... function main (line 52) | func main() { FILE: examples/features/flow_control/client/main.go function main (line 40) | func main() { FILE: examples/features/flow_control/server/main.go type server (line 42) | type server struct method BidirectionalStreamingEcho (line 46) | func (s *server) BidirectionalStreamingEcho(stream pb.Echo_Bidirection... function main (line 96) | func main() { FILE: examples/features/gracefulstop/client/main.go function main (line 36) | func main() { FILE: examples/features/gracefulstop/server/main.go type server (line 40) | type server struct method ClientStreamingEcho (line 53) | func (s *server) ClientStreamingEcho(stream pb.Echo_ClientStreamingEch... method UnaryEcho (line 71) | func (s *server) UnaryEcho(_ context.Context, req *pb.EchoRequest) (*p... function main (line 76) | func main() { FILE: examples/features/health/client/main.go constant serviceConfig (line 38) | serviceConfig = `{ function callUnaryEcho (line 45) | func callUnaryEcho(c pb.EchoClient) { function main (line 56) | func main() { FILE: examples/features/health/server/main.go type echoServer (line 45) | type echoServer struct method UnaryEcho (line 49) | func (e *echoServer) UnaryEcho(context.Context, *pb.EchoRequest) (*pb.... function main (line 57) | func main() { FILE: examples/features/interceptor/client/main.go constant fallbackToken (line 41) | fallbackToken = "some-secret-token" function logger (line 44) | func logger(format string, a ...any) { function unaryInterceptor (line 49) | func unaryInterceptor(ctx context.Context, method string, req, reply any... type wrappedStream (line 72) | type wrappedStream struct method RecvMsg (line 76) | func (w *wrappedStream) RecvMsg(m any) error { method SendMsg (line 81) | func (w *wrappedStream) SendMsg(m any) error { function newWrappedStream (line 86) | func newWrappedStream(s grpc.ClientStream) grpc.ClientStream { function streamInterceptor (line 91) | func streamInterceptor(ctx context.Context, desc *grpc.StreamDesc, cc *g... function callUnaryEcho (line 112) | func callUnaryEcho(client ecpb.EchoClient, message string) { function callBidiStreamingEcho (line 122) | func callBidiStreamingEcho(client ecpb.EchoClient) { function main (line 147) | func main() { FILE: examples/features/interceptor/server/main.go function logger (line 51) | func logger(format string, a ...any) { type server (line 55) | type server struct method UnaryEcho (line 59) | func (s *server) UnaryEcho(_ context.Context, in *pb.EchoRequest) (*pb... method BidirectionalStreamingEcho (line 64) | func (s *server) BidirectionalStreamingEcho(stream pb.Echo_Bidirection... function valid (line 80) | func valid(authorization []string) bool { function unaryInterceptor (line 91) | func unaryInterceptor(ctx context.Context, req any, _ *grpc.UnaryServerI... type wrappedStream (line 109) | type wrappedStream struct method RecvMsg (line 113) | func (w *wrappedStream) RecvMsg(m any) error { method SendMsg (line 118) | func (w *wrappedStream) SendMsg(m any) error { function newWrappedStream (line 123) | func newWrappedStream(s grpc.ServerStream) grpc.ServerStream { function streamInterceptor (line 127) | func streamInterceptor(srv any, ss grpc.ServerStream, _ *grpc.StreamServ... function main (line 144) | func main() { FILE: examples/features/keepalive/client/main.go function main (line 44) | func main() { FILE: examples/features/keepalive/server/main.go type server (line 53) | type server struct method UnaryEcho (line 57) | func (s *server) UnaryEcho(_ context.Context, req *pb.EchoRequest) (*p... function main (line 61) | func main() { FILE: examples/features/load_balancing/client/main.go constant exampleScheme (line 36) | exampleScheme = "example" constant exampleServiceName (line 37) | exampleServiceName = "lb.example.grpc.io" function callUnaryEcho (line 42) | func callUnaryEcho(c ecpb.EchoClient, message string) { function makeRPCs (line 52) | func makeRPCs(cc *grpc.ClientConn, n int) { function main (line 59) | func main() { type exampleResolverBuilder (line 93) | type exampleResolverBuilder struct method Build (line 95) | func (*exampleResolverBuilder) Build(target resolver.Target, cc resolv... method Scheme (line 106) | func (*exampleResolverBuilder) Scheme() string { return exampleScheme } type exampleResolver (line 108) | type exampleResolver struct method start (line 114) | func (r *exampleResolver) start() { method ResolveNow (line 122) | func (*exampleResolver) ResolveNow(resolver.ResolveNowOptions) {} method Close (line 123) | func (*exampleResolver) Close() {} function init (line 125) | func init() { FILE: examples/features/load_balancing/server/main.go type ecServer (line 39) | type ecServer struct method UnaryEcho (line 44) | func (s *ecServer) UnaryEcho(_ context.Context, req *pb.EchoRequest) (... function startServer (line 48) | func startServer(addr string) { function main (line 61) | func main() { FILE: examples/features/metadata/client/main.go constant timestampFormat (line 39) | timestampFormat = time.StampNano constant streamingCount (line 40) | streamingCount = 10 function unaryCallWithMetadata (line 43) | func unaryCallWithMetadata(c pb.EchoClient, message string) { function serverStreamingWithMetadata (line 85) | func serverStreamingWithMetadata(c pb.EchoClient, message string) { function clientStreamWithMetadata (line 148) | func clientStreamWithMetadata(c pb.EchoClient, message string) { function bidirectionalWithMetadata (line 211) | func bidirectionalWithMetadata(c pb.EchoClient, message string) { constant message (line 285) | message = "this is examples/metadata" function main (line 287) | func main() { FILE: examples/features/metadata/server/main.go constant timestampFormat (line 42) | timestampFormat = time.StampNano constant streamingCount (line 43) | streamingCount = 10 type server (line 46) | type server struct method UnaryEcho (line 50) | func (s *server) UnaryEcho(ctx context.Context, in *pb.EchoRequest) (*... method ServerStreamingEcho (line 79) | func (s *server) ServerStreamingEcho(in *pb.EchoRequest, stream pb.Ech... method ClientStreamingEcho (line 116) | func (s *server) ClientStreamingEcho(stream pb.Echo_ClientStreamingEch... method BidirectionalStreamingEcho (line 156) | func (s *server) BidirectionalStreamingEcho(stream pb.Echo_Bidirection... function main (line 197) | func main() { FILE: examples/features/metadata_interceptor/client/main.go function callUnaryEcho (line 40) | func callUnaryEcho(ctx context.Context, client pb.EchoClient) { function callBidiStreamingEcho (line 59) | func callBidiStreamingEcho(ctx context.Context, client pb.EchoClient) { function main (line 97) | func main() { FILE: examples/features/metadata_interceptor/server/main.go type server (line 42) | type server struct method UnaryEcho (line 70) | func (s *server) UnaryEcho(ctx context.Context, in *pb.EchoRequest) (*... method BidirectionalStreamingEcho (line 122) | func (s *server) BidirectionalStreamingEcho(stream pb.Echo_Bidirection... function unaryInterceptor (line 46) | func unaryInterceptor(ctx context.Context, req any, _ *grpc.UnaryServerI... type wrappedStream (line 89) | type wrappedStream struct method Context (line 94) | func (s *wrappedStream) Context() context.Context { function streamInterceptor (line 98) | func streamInterceptor(srv any, ss grpc.ServerStream, _ *grpc.StreamServ... function main (line 153) | func main() { FILE: examples/features/multiplex/client/main.go function callSayHello (line 40) | func callSayHello(c hwpb.GreeterClient, name string) { function callUnaryEcho (line 50) | func callUnaryEcho(client ecpb.EchoClient, message string) { function main (line 60) | func main() { FILE: examples/features/multiplex/server/main.go type hwServer (line 39) | type hwServer struct method SayHello (line 44) | func (s *hwServer) SayHello(_ context.Context, in *hwpb.HelloRequest) ... type ecServer (line 48) | type ecServer struct method UnaryEcho (line 52) | func (s *ecServer) UnaryEcho(_ context.Context, req *ecpb.EchoRequest)... function main (line 56) | func main() { FILE: examples/features/name_resolving/client/main.go constant exampleScheme (line 36) | exampleScheme = "example" constant exampleServiceName (line 37) | exampleServiceName = "resolver.example.grpc.io" constant backendAddr (line 39) | backendAddr = "localhost:50051" function callUnaryEcho (line 42) | func callUnaryEcho(c ecpb.EchoClient, message string) { function makeRPCs (line 52) | func makeRPCs(cc *grpc.ClientConn, n int) { function main (line 59) | func main() { type exampleResolverBuilder (line 99) | type exampleResolverBuilder struct method Build (line 101) | func (*exampleResolverBuilder) Build(target resolver.Target, cc resolv... method Scheme (line 112) | func (*exampleResolverBuilder) Scheme() string { return exampleScheme } type exampleResolver (line 116) | type exampleResolver struct method start (line 122) | func (r *exampleResolver) start() { method ResolveNow (line 130) | func (*exampleResolver) ResolveNow(resolver.ResolveNowOptions) {} method Close (line 131) | func (*exampleResolver) Close() {} function init (line 133) | func init() { FILE: examples/features/name_resolving/server/main.go constant addr (line 34) | addr = "localhost:50051" type ecServer (line 36) | type ecServer struct method UnaryEcho (line 41) | func (s *ecServer) UnaryEcho(_ context.Context, req *pb.EchoRequest) (... function main (line 45) | func main() { FILE: examples/features/observability/client/main.go constant defaultName (line 36) | defaultName = "world" function main (line 44) | func main() { FILE: examples/features/observability/server/main.go type server (line 44) | type server struct method SayHello (line 49) | func (s *server) SayHello(_ context.Context, in *pb.HelloRequest) (*pb... function main (line 54) | func main() { FILE: examples/features/opentelemetry/client/main.go function main (line 50) | func main() { FILE: examples/features/opentelemetry/server/main.go type echoServer (line 49) | type echoServer struct method UnaryEcho (line 54) | func (s *echoServer) UnaryEcho(_ context.Context, req *pb.EchoRequest)... function main (line 58) | func main() { FILE: examples/features/orca/client/main.go function main (line 43) | func main() { function init (line 79) | func init() { type orcaLBBuilder (line 83) | type orcaLBBuilder struct method Name (line 85) | func (orcaLBBuilder) Name() string { return "orca_example" } method Build (line 86) | func (orcaLBBuilder) Build(cc balancer.ClientConn, _ balancer.BuildOpt... type orcaLB (line 96) | type orcaLB struct method UpdateClientConnState (line 101) | func (o *orcaLB) UpdateClientConnState(ccs balancer.ClientConnState) e... method ResolverError (line 127) | func (o *orcaLB) ResolverError(error) {} method ExitIdle (line 129) | func (o *orcaLB) ExitIdle() { method UpdateSubConnState (line 136) | func (o *orcaLB) UpdateSubConnState(balancer.SubConn, balancer.SubConn... method Close (line 138) | func (o *orcaLB) Close() {} type picker (line 140) | type picker struct method Pick (line 144) | func (p *picker) Pick(balancer.PickInfo) (balancer.PickResult, error) { type orcaLis (line 155) | type orcaLis struct method OnLoadReport (line 157) | func (orcaLis) OnLoadReport(lr *v3orcapb.OrcaLoadReport) { FILE: examples/features/orca/server/main.go type server (line 42) | type server struct method UnaryEcho (line 46) | func (s *server) UnaryEcho(ctx context.Context, in *pb.EchoRequest) (*... function main (line 57) | func main() { FILE: examples/features/proto/echo/echo.pb.go constant _ (line 36) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 38) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type EchoRequest (line 42) | type EchoRequest struct method Reset (line 49) | func (x *EchoRequest) Reset() { method String (line 56) | func (x *EchoRequest) String() string { method ProtoMessage (line 60) | func (*EchoRequest) ProtoMessage() {} method ProtoReflect (line 62) | func (x *EchoRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 75) | func (*EchoRequest) Descriptor() ([]byte, []int) { method GetMessage (line 79) | func (x *EchoRequest) GetMessage() string { type EchoResponse (line 87) | type EchoResponse struct method Reset (line 94) | func (x *EchoResponse) Reset() { method String (line 101) | func (x *EchoResponse) String() string { method ProtoMessage (line 105) | func (*EchoResponse) ProtoMessage() {} method ProtoReflect (line 107) | func (x *EchoResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 120) | func (*EchoResponse) Descriptor() ([]byte, []int) { method GetMessage (line 124) | func (x *EchoResponse) GetMessage() string { constant file_examples_features_proto_echo_echo_proto_rawDesc (line 133) | file_examples_features_proto_echo_echo_proto_rawDesc = "" + function file_examples_features_proto_echo_echo_proto_rawDescGZIP (line 151) | func file_examples_features_proto_echo_echo_proto_rawDescGZIP() []byte { function init (line 179) | func init() { file_examples_features_proto_echo_echo_proto_init() } function file_examples_features_proto_echo_echo_proto_init (line 180) | func file_examples_features_proto_echo_echo_proto_init() { FILE: examples/features/proto/echo/echo_grpc.pb.go constant _ (line 36) | _ = grpc.SupportPackageIsVersion9 constant Echo_UnaryEcho_FullMethodName (line 39) | Echo_UnaryEcho_FullMethodName = "/grpc.examples.echo.Ec... constant Echo_ServerStreamingEcho_FullMethodName (line 40) | Echo_ServerStreamingEcho_FullMethodName = "/grpc.examples.echo.Ec... constant Echo_ClientStreamingEcho_FullMethodName (line 41) | Echo_ClientStreamingEcho_FullMethodName = "/grpc.examples.echo.Ec... constant Echo_BidirectionalStreamingEcho_FullMethodName (line 42) | Echo_BidirectionalStreamingEcho_FullMethodName = "/grpc.examples.echo.Ec... type EchoClient (line 50) | type EchoClient interface type echoClient (line 61) | type echoClient struct method UnaryEcho (line 69) | func (c *echoClient) UnaryEcho(ctx context.Context, in *EchoRequest, o... method ServerStreamingEcho (line 79) | func (c *echoClient) ServerStreamingEcho(ctx context.Context, in *Echo... method ClientStreamingEcho (line 98) | func (c *echoClient) ClientStreamingEcho(ctx context.Context, opts ...... method BidirectionalStreamingEcho (line 111) | func (c *echoClient) BidirectionalStreamingEcho(ctx context.Context, o... function NewEchoClient (line 65) | func NewEchoClient(cc grpc.ClientConnInterface) EchoClient { type EchoServer (line 129) | type EchoServer interface type UnimplementedEchoServer (line 146) | type UnimplementedEchoServer struct method UnaryEcho (line 148) | func (UnimplementedEchoServer) UnaryEcho(context.Context, *EchoRequest... method ServerStreamingEcho (line 151) | func (UnimplementedEchoServer) ServerStreamingEcho(*EchoRequest, grpc.... method ClientStreamingEcho (line 154) | func (UnimplementedEchoServer) ClientStreamingEcho(grpc.ClientStreamin... method BidirectionalStreamingEcho (line 157) | func (UnimplementedEchoServer) BidirectionalStreamingEcho(grpc.BidiStr... method mustEmbedUnimplementedEchoServer (line 160) | func (UnimplementedEchoServer) mustEmbedUnimplementedEchoServer() {} method testEmbeddedByValue (line 161) | func (UnimplementedEchoServer) testEmbeddedByValue() {} type UnsafeEchoServer (line 166) | type UnsafeEchoServer interface function RegisterEchoServer (line 170) | func RegisterEchoServer(s grpc.ServiceRegistrar, srv EchoServer) { function _Echo_UnaryEcho_Handler (line 181) | func _Echo_UnaryEcho_Handler(srv interface{}, ctx context.Context, dec f... function _Echo_ServerStreamingEcho_Handler (line 199) | func _Echo_ServerStreamingEcho_Handler(srv interface{}, stream grpc.Serv... function _Echo_ClientStreamingEcho_Handler (line 210) | func _Echo_ClientStreamingEcho_Handler(srv interface{}, stream grpc.Serv... function _Echo_BidirectionalStreamingEcho_Handler (line 217) | func _Echo_BidirectionalStreamingEcho_Handler(srv interface{}, stream gr... FILE: examples/features/reflection/server/main.go type hwServer (line 40) | type hwServer struct method SayHello (line 45) | func (s *hwServer) SayHello(_ context.Context, in *hwpb.HelloRequest) ... type ecServer (line 49) | type ecServer struct method UnaryEcho (line 53) | func (s *ecServer) UnaryEcho(_ context.Context, req *ecpb.EchoRequest)... function main (line 57) | func main() { FILE: examples/features/retry/client/main.go function main (line 50) | func main() { FILE: examples/features/retry/server/main.go type failingServer (line 39) | type failingServer struct method maybeFailRequest (line 49) | func (s *failingServer) maybeFailRequest() error { method UnaryEcho (line 60) | func (s *failingServer) UnaryEcho(_ context.Context, req *pb.EchoReque... function main (line 70) | func main() { FILE: examples/features/stats_monitoring/client/main.go function main (line 38) | func main() { FILE: examples/features/stats_monitoring/server/main.go type server (line 39) | type server struct method UnaryEcho (line 43) | func (s *server) UnaryEcho(_ context.Context, req *echopb.EchoRequest)... function main (line 48) | func main() { FILE: examples/features/stats_monitoring/statshandler/handler.go type Handler (line 32) | type Handler struct method TagConn (line 42) | func (st *Handler) TagConn(ctx context.Context, stat *stats.ConnTagInf... method HandleConn (line 48) | func (st *Handler) HandleConn(ctx context.Context, stat stats.ConnStat... method TagRPC (line 65) | func (st *Handler) TagRPC(ctx context.Context, stat *stats.RPCTagInfo)... method HandleRPC (line 71) | func (st *Handler) HandleRPC(ctx context.Context, stat stats.RPCStats) { type connStatCtxKey (line 34) | type connStatCtxKey struct type rpcStatCtxKey (line 61) | type rpcStatCtxKey struct function New (line 91) | func New() *Handler { FILE: examples/features/unix_abstract/client/main.go function callUnaryEcho (line 46) | func callUnaryEcho(c ecpb.EchoClient, message string) { function makeRPCs (line 56) | func makeRPCs(cc *grpc.ClientConn, n int) { function main (line 63) | func main() { FILE: examples/features/unix_abstract/server/main.go type ecServer (line 42) | type ecServer struct method UnaryEcho (line 47) | func (s *ecServer) UnaryEcho(_ context.Context, req *pb.EchoRequest) (... function main (line 51) | func main() { FILE: examples/features/wait_for_ready/main.go type server (line 39) | type server struct method UnaryEcho (line 43) | func (s *server) UnaryEcho(_ context.Context, req *pb.EchoRequest) (*p... function serve (line 48) | func serve() { function main (line 61) | func main() { FILE: examples/features/xds/client/main.go function main (line 44) | func main() { FILE: examples/features/xds/server/main.go type server (line 48) | type server struct method SayHello (line 54) | func (s *server) SayHello(_ context.Context, in *pb.HelloRequest) (*pb... function determineHostname (line 59) | func determineHostname() string { function main (line 68) | func main() { FILE: examples/helloworld/greeter_client/main.go constant defaultName (line 34) | defaultName = "world" function main (line 42) | func main() { FILE: examples/helloworld/greeter_server/main.go type server (line 38) | type server struct method SayHello (line 43) | func (s *server) SayHello(_ context.Context, in *pb.HelloRequest) (*pb... function main (line 48) | func main() { FILE: examples/helloworld/helloworld/helloworld.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type HelloRequest (line 39) | type HelloRequest struct method Reset (line 46) | func (x *HelloRequest) Reset() { method String (line 53) | func (x *HelloRequest) String() string { method ProtoMessage (line 57) | func (*HelloRequest) ProtoMessage() {} method ProtoReflect (line 59) | func (x *HelloRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 72) | func (*HelloRequest) Descriptor() ([]byte, []int) { method GetName (line 76) | func (x *HelloRequest) GetName() string { type HelloReply (line 84) | type HelloReply struct method Reset (line 91) | func (x *HelloReply) Reset() { method String (line 98) | func (x *HelloReply) String() string { method ProtoMessage (line 102) | func (*HelloReply) ProtoMessage() {} method ProtoReflect (line 104) | func (x *HelloReply) ProtoReflect() protoreflect.Message { method Descriptor (line 117) | func (*HelloReply) Descriptor() ([]byte, []int) { method GetMessage (line 121) | func (x *HelloReply) GetMessage() string { constant file_examples_helloworld_helloworld_helloworld_proto_rawDesc (line 130) | file_examples_helloworld_helloworld_helloworld_proto_rawDesc = "" + function file_examples_helloworld_helloworld_helloworld_proto_rawDescGZIP (line 148) | func file_examples_helloworld_helloworld_helloworld_proto_rawDescGZIP() ... function init (line 170) | func init() { file_examples_helloworld_helloworld_helloworld_proto_init() } function file_examples_helloworld_helloworld_helloworld_proto_init (line 171) | func file_examples_helloworld_helloworld_helloworld_proto_init() { FILE: examples/helloworld/helloworld/helloworld_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant Greeter_SayHello_FullMethodName (line 36) | Greeter_SayHello_FullMethodName = "/helloworld.Greeter/SayHello" type GreeterClient (line 44) | type GreeterClient interface type greeterClient (line 49) | type greeterClient struct method SayHello (line 57) | func (c *greeterClient) SayHello(ctx context.Context, in *HelloRequest... function NewGreeterClient (line 53) | func NewGreeterClient(cc grpc.ClientConnInterface) GreeterClient { type GreeterServer (line 72) | type GreeterServer interface type UnimplementedGreeterServer (line 83) | type UnimplementedGreeterServer struct method SayHello (line 85) | func (UnimplementedGreeterServer) SayHello(context.Context, *HelloRequ... method mustEmbedUnimplementedGreeterServer (line 88) | func (UnimplementedGreeterServer) mustEmbedUnimplementedGreeterServer(... method testEmbeddedByValue (line 89) | func (UnimplementedGreeterServer) testEmbeddedByValue() ... type UnsafeGreeterServer (line 94) | type UnsafeGreeterServer interface function RegisterGreeterServer (line 98) | func RegisterGreeterServer(s grpc.ServiceRegistrar, srv GreeterServer) { function _Greeter_SayHello_Handler (line 109) | func _Greeter_SayHello_Handler(srv interface{}, ctx context.Context, dec... FILE: examples/route_guide/client/client.go function printFeature (line 48) | func printFeature(client pb.RouteGuideClient, point *pb.Point) { function printFeatures (line 60) | func printFeatures(client pb.RouteGuideClient, rect *pb.Rectangle) { function runRecordRoute (line 82) | func runRecordRoute(client pb.RouteGuideClient) { function runRouteChat (line 109) | func runRouteChat(client pb.RouteGuideClient) { function randomPoint (line 148) | func randomPoint() *pb.Point { function main (line 154) | func main() { FILE: examples/route_guide/routeguide/route_guide.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Point (line 42) | type Point struct method Reset (line 50) | func (x *Point) Reset() { method String (line 57) | func (x *Point) String() string { method ProtoMessage (line 61) | func (*Point) ProtoMessage() {} method ProtoReflect (line 63) | func (x *Point) ProtoReflect() protoreflect.Message { method Descriptor (line 76) | func (*Point) Descriptor() ([]byte, []int) { method GetLatitude (line 80) | func (x *Point) GetLatitude() int32 { method GetLongitude (line 87) | func (x *Point) GetLongitude() int32 { type Rectangle (line 96) | type Rectangle struct method Reset (line 106) | func (x *Rectangle) Reset() { method String (line 113) | func (x *Rectangle) String() string { method ProtoMessage (line 117) | func (*Rectangle) ProtoMessage() {} method ProtoReflect (line 119) | func (x *Rectangle) ProtoReflect() protoreflect.Message { method Descriptor (line 132) | func (*Rectangle) Descriptor() ([]byte, []int) { method GetLo (line 136) | func (x *Rectangle) GetLo() *Point { method GetHi (line 143) | func (x *Rectangle) GetHi() *Point { type Feature (line 153) | type Feature struct method Reset (line 163) | func (x *Feature) Reset() { method String (line 170) | func (x *Feature) String() string { method ProtoMessage (line 174) | func (*Feature) ProtoMessage() {} method ProtoReflect (line 176) | func (x *Feature) ProtoReflect() protoreflect.Message { method Descriptor (line 189) | func (*Feature) Descriptor() ([]byte, []int) { method GetName (line 193) | func (x *Feature) GetName() string { method GetLocation (line 200) | func (x *Feature) GetLocation() *Point { type RouteNote (line 208) | type RouteNote struct method Reset (line 218) | func (x *RouteNote) Reset() { method String (line 225) | func (x *RouteNote) String() string { method ProtoMessage (line 229) | func (*RouteNote) ProtoMessage() {} method ProtoReflect (line 231) | func (x *RouteNote) ProtoReflect() protoreflect.Message { method Descriptor (line 244) | func (*RouteNote) Descriptor() ([]byte, []int) { method GetLocation (line 248) | func (x *RouteNote) GetLocation() *Point { method GetMessage (line 255) | func (x *RouteNote) GetMessage() string { type RouteSummary (line 267) | type RouteSummary struct method Reset (line 281) | func (x *RouteSummary) Reset() { method String (line 288) | func (x *RouteSummary) String() string { method ProtoMessage (line 292) | func (*RouteSummary) ProtoMessage() {} method ProtoReflect (line 294) | func (x *RouteSummary) ProtoReflect() protoreflect.Message { method Descriptor (line 307) | func (*RouteSummary) Descriptor() ([]byte, []int) { method GetPointCount (line 311) | func (x *RouteSummary) GetPointCount() int32 { method GetFeatureCount (line 318) | func (x *RouteSummary) GetFeatureCount() int32 { method GetDistance (line 325) | func (x *RouteSummary) GetDistance() int32 { method GetElapsedTime (line 332) | func (x *RouteSummary) GetElapsedTime() int32 { constant file_examples_route_guide_routeguide_route_guide_proto_rawDesc (line 341) | file_examples_route_guide_routeguide_route_guide_proto_rawDesc = "" + function file_examples_route_guide_routeguide_route_guide_proto_rawDescGZIP (line 377) | func file_examples_route_guide_routeguide_route_guide_proto_rawDescGZIP(... function init (line 412) | func init() { file_examples_route_guide_routeguide_route_guide_proto_ini... function file_examples_route_guide_routeguide_route_guide_proto_init (line 413) | func file_examples_route_guide_routeguide_route_guide_proto_init() { FILE: examples/route_guide/routeguide/route_guide_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant RouteGuide_GetFeature_FullMethodName (line 36) | RouteGuide_GetFeature_FullMethodName = "/routeguide.RouteGuide/GetFeat... constant RouteGuide_ListFeatures_FullMethodName (line 37) | RouteGuide_ListFeatures_FullMethodName = "/routeguide.RouteGuide/ListFea... constant RouteGuide_RecordRoute_FullMethodName (line 38) | RouteGuide_RecordRoute_FullMethodName = "/routeguide.RouteGuide/RecordR... constant RouteGuide_RouteChat_FullMethodName (line 39) | RouteGuide_RouteChat_FullMethodName = "/routeguide.RouteGuide/RouteChat" type RouteGuideClient (line 47) | type RouteGuideClient interface type routeGuideClient (line 74) | type routeGuideClient struct method GetFeature (line 82) | func (c *routeGuideClient) GetFeature(ctx context.Context, in *Point, ... method ListFeatures (line 92) | func (c *routeGuideClient) ListFeatures(ctx context.Context, in *Recta... method RecordRoute (line 111) | func (c *routeGuideClient) RecordRoute(ctx context.Context, opts ...gr... method RouteChat (line 124) | func (c *routeGuideClient) RouteChat(ctx context.Context, opts ...grpc... function NewRouteGuideClient (line 78) | func NewRouteGuideClient(cc grpc.ClientConnInterface) RouteGuideClient { type RouteGuideServer (line 142) | type RouteGuideServer interface type UnimplementedRouteGuideServer (line 175) | type UnimplementedRouteGuideServer struct method GetFeature (line 177) | func (UnimplementedRouteGuideServer) GetFeature(context.Context, *Poin... method ListFeatures (line 180) | func (UnimplementedRouteGuideServer) ListFeatures(*Rectangle, grpc.Ser... method RecordRoute (line 183) | func (UnimplementedRouteGuideServer) RecordRoute(grpc.ClientStreamingS... method RouteChat (line 186) | func (UnimplementedRouteGuideServer) RouteChat(grpc.BidiStreamingServe... method mustEmbedUnimplementedRouteGuideServer (line 189) | func (UnimplementedRouteGuideServer) mustEmbedUnimplementedRouteGuideS... method testEmbeddedByValue (line 190) | func (UnimplementedRouteGuideServer) testEmbeddedByValue() ... type UnsafeRouteGuideServer (line 195) | type UnsafeRouteGuideServer interface function RegisterRouteGuideServer (line 199) | func RegisterRouteGuideServer(s grpc.ServiceRegistrar, srv RouteGuideSer... function _RouteGuide_GetFeature_Handler (line 210) | func _RouteGuide_GetFeature_Handler(srv interface{}, ctx context.Context... function _RouteGuide_ListFeatures_Handler (line 228) | func _RouteGuide_ListFeatures_Handler(srv interface{}, stream grpc.Serve... function _RouteGuide_RecordRoute_Handler (line 239) | func _RouteGuide_RecordRoute_Handler(srv interface{}, stream grpc.Server... function _RouteGuide_RouteChat_Handler (line 246) | func _RouteGuide_RouteChat_Handler(srv interface{}, stream grpc.ServerSt... FILE: examples/route_guide/server/server.go type routeGuideServer (line 54) | type routeGuideServer struct method GetFeature (line 63) | func (s *routeGuideServer) GetFeature(_ context.Context, point *pb.Poi... method ListFeatures (line 74) | func (s *routeGuideServer) ListFeatures(rect *pb.Rectangle, stream pb.... method RecordRoute (line 90) | func (s *routeGuideServer) RecordRoute(stream pb.RouteGuide_RecordRout... method RouteChat (line 123) | func (s *routeGuideServer) RouteChat(stream pb.RouteGuide_RouteChatSer... method loadFeatures (line 152) | func (s *routeGuideServer) loadFeatures(filePath string) { function toRadians (line 168) | func toRadians(num float64) float64 { function calcDistance (line 174) | func calcDistance(p1 *pb.Point, p2 *pb.Point) int32 { function inRange (line 193) | func inRange(point *pb.Point, rect *pb.Rectangle) bool { function serialize (line 208) | func serialize(point *pb.Point) string { function newServer (line 212) | func newServer() *routeGuideServer { function main (line 218) | func main() { FILE: experimental/credentials/credentials_test.go constant defaultTestTimeout (line 34) | defaultTestTimeout = 10 * time.Second type s (line 36) | type s struct method TestTLSOverrideServerName (line 44) | func (s) TestTLSOverrideServerName(t *testing.T) { method TestTLSClone (line 53) | func (s) TestTLSClone(t *testing.T) { method TestClientHandshakeReturnsAuthInfo (line 70) | func (s) TestClientHandshakeReturnsAuthInfo(t *testing.T) { method TestServerHandshakeReturnsAuthInfo (line 108) | func (s) TestServerHandshakeReturnsAuthInfo(t *testing.T) { method TestServerAndClientHandshake (line 123) | func (s) TestServerAndClientHandshake(t *testing.T) { function Test (line 40) | func Test(t *testing.T) { type serverHandshake (line 68) | type serverHandshake function compare (line 138) | func compare(a1, a2 credentials.AuthInfo) bool { function launchServer (line 158) | func launchServer(t *testing.T, hs serverHandshake, done chan credential... function launchServerOnListenAddress (line 162) | func launchServerOnListenAddress(t *testing.T, hs serverHandshake, done ... function serverHandle (line 176) | func serverHandle(t *testing.T, hs serverHandshake, done chan credential... function clientHandle (line 193) | func clientHandle(t *testing.T, hs func(net.Conn, string) (credentials.A... function gRPCServerHandshake (line 207) | func gRPCServerHandshake(conn net.Conn) (credentials.AuthInfo, error) { function gRPCClientHandshake (line 220) | func gRPCClientHandshake(conn net.Conn, lisAddr string) (credentials.Aut... function tlsServerHandshake (line 231) | func tlsServerHandshake(conn net.Conn) (credentials.AuthInfo, error) { function tlsClientHandshake (line 245) | func tlsClientHandshake(conn net.Conn, _ string) (credentials.AuthInfo, ... FILE: experimental/credentials/internal/spiffe.go function SPIFFEIDFromState (line 36) | func SPIFFEIDFromState(state tls.ConnectionState) *url.URL { function SPIFFEIDFromCert (line 45) | func SPIFFEIDFromCert(cert *x509.Certificate) *url.URL { FILE: experimental/credentials/internal/spiffe_test.go constant wantURI (line 33) | wantURI = "spiffe://foo.bar.com/client/workload/1" type s (line 35) | type s struct method TestSPIFFEIDFromState (line 43) | func (s) TestSPIFFEIDFromState(t *testing.T) { method TestSPIFFEIDFromCert (line 187) | func (s) TestSPIFFEIDFromCert(t *testing.T) { function Test (line 39) | func Test(t *testing.T) { FILE: experimental/credentials/internal/syscallconn.go type syscallConn (line 37) | type syscallConn struct function WrapSyscallConn (line 49) | func WrapSyscallConn(rawConn, newConn net.Conn) net.Conn { FILE: experimental/credentials/internal/syscallconn_test.go method SyscallConn (line 27) | func (*syscallConn) SyscallConn() (syscall.RawConn, error) { type nonSyscallConn (line 31) | type nonSyscallConn struct method TestWrapSyscallConn (line 35) | func (s) TestWrapSyscallConn(t *testing.T) { method TestWrapSyscallConnNoWrap (line 45) | func (s) TestWrapSyscallConnNoWrap(t *testing.T) { FILE: experimental/credentials/tls.go type tlsCreds (line 43) | type tlsCreds struct method Info (line 48) | func (c tlsCreds) Info() credentials.ProtocolInfo { method ClientHandshake (line 56) | func (c *tlsCreds) ClientHandshake(ctx context.Context, authority stri... method ServerHandshake (line 97) | func (c *tlsCreds) ServerHandshake(rawConn net.Conn) (net.Conn, creden... method Clone (line 117) | func (c *tlsCreds) Clone() credentials.TransportCredentials { method OverrideServerName (line 121) | func (c *tlsCreds) OverrideServerName(serverNameOverride string) error { function NewTLSWithALPNDisabled (line 141) | func NewTLSWithALPNDisabled(c *tls.Config) credentials.TransportCredenti... function applyDefaults (line 156) | func applyDefaults(c *tls.Config) *tls.Config { function NewClientTLSFromCertWithALPNDisabled (line 186) | func NewClientTLSFromCertWithALPNDisabled(cp *x509.CertPool, serverNameO... function NewClientTLSFromFileWithALPNDisabled (line 198) | func NewClientTLSFromFileWithALPNDisabled(certFile, serverNameOverride s... function NewServerTLSFromCertWithALPNDisabled (line 212) | func NewServerTLSFromCertWithALPNDisabled(cert *tls.Certificate) credent... function NewServerTLSFromFileWithALPNDisabled (line 218) | func NewServerTLSFromFileWithALPNDisabled(certFile, keyFile string) (cre... function cloneTLSConfig (line 231) | func cloneTLSConfig(cfg *tls.Config) *tls.Config { function appendH2ToNextProtos (line 240) | func appendH2ToNextProtos(ps []string) []string { FILE: experimental/credentials/tls_ext_test.go constant defaultTestTimeout (line 46) | defaultTestTimeout = 10 * time.Second type s (line 48) | type s struct method TestTLS_MinVersion12 (line 79) | func (s) TestTLS_MinVersion12(t *testing.T) { method TestTLS_MinVersionOverridable (line 168) | func (s) TestTLS_MinVersionOverridable(t *testing.T) { method TestTLS_CipherSuites (line 252) | func (s) TestTLS_CipherSuites(t *testing.T) { method TestTLS_CipherSuitesOverridable (line 335) | func (s) TestTLS_CipherSuitesOverridable(t *testing.T) { method TestTLS_ServerConfiguresALPNByDefault (line 413) | func (s) TestTLS_ServerConfiguresALPNByDefault(t *testing.T) { method TestTLS_DisabledALPNClient (line 455) | func (s) TestTLS_DisabledALPNClient(t *testing.T) { method TestTLS_DisabledALPNServer (line 534) | func (s) TestTLS_DisabledALPNServer(t *testing.T) { function Test (line 52) | func Test(t *testing.T) { function init (line 60) | func init() { FILE: experimental/experimental.go function SetDefaultBufferPool (line 42) | func SetDefaultBufferPool(bufferPool mem.BufferPool) { function WithBufferPool (line 58) | func WithBufferPool(bufferPool mem.BufferPool) grpc.DialOption { function BufferPool (line 74) | func BufferPool(bufferPool mem.BufferPool) grpc.ServerOption { function AcceptCompressors (line 83) | func AcceptCompressors(names ...string) grpc.CallOption { FILE: experimental/opentelemetry/trace_options.go type TraceOptions (line 27) | type TraceOptions struct FILE: experimental/shared_buffer_pool_test.go type s (line 38) | type s struct method TestRecvBufferPoolStream (line 48) | func (s) TestRecvBufferPoolStream(t *testing.T) { method TestRecvBufferPoolUnary (line 134) | func (s) TestRecvBufferPoolUnary(t *testing.T) { function Test (line 42) | func Test(t *testing.T) { constant defaultTestTimeout (line 46) | defaultTestTimeout = 10 * time.Second type checkBufferPool (line 200) | type checkBufferPool struct method Get (line 204) | func (p *checkBufferPool) Get(size int) *[]byte { method Put (line 209) | func (p *checkBufferPool) Put(bs *[]byte) { FILE: experimental/stats/metricregistry.go function init (line 29) | func init() { type MetricDescriptor (line 41) | type MetricDescriptor struct type MetricType (line 69) | type MetricType constant MetricTypeIntCount (line 73) | MetricTypeIntCount MetricType = iota constant MetricTypeFloatCount (line 74) | MetricTypeFloatCount constant MetricTypeIntHisto (line 75) | MetricTypeIntHisto constant MetricTypeFloatHisto (line 76) | MetricTypeFloatHisto constant MetricTypeIntGauge (line 77) | MetricTypeIntGauge constant MetricTypeIntUpDownCount (line 78) | MetricTypeIntUpDownCount constant MetricTypeIntAsyncGauge (line 79) | MetricTypeIntAsyncGauge type Int64CountHandle (line 85) | type Int64CountHandle method Descriptor (line 89) | func (h *Int64CountHandle) Descriptor() *MetricDescriptor { method Record (line 94) | func (h *Int64CountHandle) Record(recorder MetricsRecorder, incr int64... type Int64UpDownCountHandle (line 101) | type Int64UpDownCountHandle method Descriptor (line 105) | func (h *Int64UpDownCountHandle) Descriptor() *MetricDescriptor { method Record (line 111) | func (h *Int64UpDownCountHandle) Record(recorder MetricsRecorder, v in... type Float64CountHandle (line 117) | type Float64CountHandle method Descriptor (line 121) | func (h *Float64CountHandle) Descriptor() *MetricDescriptor { method Record (line 126) | func (h *Float64CountHandle) Record(recorder MetricsRecorder, incr flo... type Int64HistoHandle (line 132) | type Int64HistoHandle method Descriptor (line 136) | func (h *Int64HistoHandle) Descriptor() *MetricDescriptor { method Record (line 141) | func (h *Int64HistoHandle) Record(recorder MetricsRecorder, incr int64... type Float64HistoHandle (line 148) | type Float64HistoHandle method Descriptor (line 152) | func (h *Float64HistoHandle) Descriptor() *MetricDescriptor { method Record (line 157) | func (h *Float64HistoHandle) Record(recorder MetricsRecorder, incr flo... type Int64GaugeHandle (line 163) | type Int64GaugeHandle method Descriptor (line 167) | func (h *Int64GaugeHandle) Descriptor() *MetricDescriptor { method Record (line 172) | func (h *Int64GaugeHandle) Record(recorder MetricsRecorder, incr int64... type AsyncMetric (line 177) | type AsyncMetric interface type Int64AsyncGaugeHandle (line 184) | type Int64AsyncGaugeHandle method isAsync (line 187) | func (h *Int64AsyncGaugeHandle) isAsync() {} method Descriptor (line 191) | func (h *Int64AsyncGaugeHandle) Descriptor() *MetricDescriptor { method Record (line 196) | func (h *Int64AsyncGaugeHandle) Record(recorder AsyncMetricsRecorder, ... function DescriptorForMetric (line 211) | func DescriptorForMetric(metricName string) *MetricDescriptor { function registerMetric (line 215) | func registerMetric(metricName string, def bool) { function RegisterInt64Count (line 231) | func RegisterInt64Count(descriptor MetricDescriptor) *Int64CountHandle { function RegisterFloat64Count (line 245) | func RegisterFloat64Count(descriptor MetricDescriptor) *Float64CountHand... function RegisterInt64Histo (line 259) | func RegisterInt64Histo(descriptor MetricDescriptor) *Int64HistoHandle { function RegisterFloat64Histo (line 273) | func RegisterFloat64Histo(descriptor MetricDescriptor) *Float64HistoHand... function RegisterInt64Gauge (line 287) | func RegisterInt64Gauge(descriptor MetricDescriptor) *Int64GaugeHandle { function RegisterInt64UpDownCount (line 301) | func RegisterInt64UpDownCount(descriptor MetricDescriptor) *Int64UpDownC... function RegisterInt64AsyncGauge (line 316) | func RegisterInt64AsyncGauge(descriptor MetricDescriptor) *Int64AsyncGau... function snapshotMetricsRegistryForTesting (line 327) | func snapshotMetricsRegistryForTesting() func() { FILE: experimental/stats/metricregistry_test.go type s (line 30) | type s struct method TestPanic (line 40) | func (s) TestPanic(t *testing.T) { method TestMetricRegistry (line 68) | func (s) TestMetricRegistry(t *testing.T) { method TestUpDownCounts (line 172) | func (s) TestUpDownCounts(t *testing.T) { method TestNumerousIntCounts (line 197) | func (s) TestNumerousIntCounts(t *testing.T) { function Test (line 34) | func Test(t *testing.T) { type fakeMetricsRecorder (line 257) | type fakeMetricsRecorder struct method RecordInt64Count (line 283) | func (r *fakeMetricsRecorder) RecordInt64Count(handle *Int64CountHandl... method RecordFloat64Count (line 288) | func (r *fakeMetricsRecorder) RecordFloat64Count(handle *Float64CountH... method RecordInt64Histo (line 293) | func (r *fakeMetricsRecorder) RecordInt64Histo(handle *Int64HistoHandl... method RecordFloat64Histo (line 298) | func (r *fakeMetricsRecorder) RecordFloat64Histo(handle *Float64HistoH... method RecordInt64Gauge (line 303) | func (r *fakeMetricsRecorder) RecordInt64Gauge(handle *Int64GaugeHandl... method RecordInt64UpDownCount (line 308) | func (r *fakeMetricsRecorder) RecordInt64UpDownCount(handle *Int64UpDo... method RecordInt64AsyncGauge (line 313) | func (r *fakeMetricsRecorder) RecordInt64AsyncGauge(handle *Int64Async... function newFakeMetricsRecorder (line 267) | func newFakeMetricsRecorder(t *testing.T) *fakeMetricsRecorder { function verifyLabels (line 277) | func verifyLabels(t *testing.T, labelsWant []string, optionalLabelsWant ... FILE: experimental/stats/metrics.go type MetricsRecorder (line 29) | type MetricsRecorder interface type AsyncMetricReporter (line 69) | type AsyncMetricReporter interface type AsyncMetricReporterFunc (line 76) | type AsyncMetricReporterFunc method Report (line 79) | func (f AsyncMetricReporterFunc) Report(r AsyncMetricsRecorder) error { type AsyncMetricsRecorder (line 84) | type AsyncMetricsRecorder interface function NewMetrics (line 99) | func NewMetrics(metrics ...Metric) *Metrics { type UnimplementedMetricsRecorder (line 104) | type UnimplementedMetricsRecorder struct method RecordInt64Count (line 109) | func (UnimplementedMetricsRecorder) RecordInt64Count(*Int64CountHandle... method RecordFloat64Count (line 112) | func (UnimplementedMetricsRecorder) RecordFloat64Count(*Float64CountHa... method RecordInt64Histo (line 115) | func (UnimplementedMetricsRecorder) RecordInt64Histo(*Int64HistoHandle... method RecordFloat64Histo (line 118) | func (UnimplementedMetricsRecorder) RecordFloat64Histo(*Float64HistoHa... method RecordInt64Gauge (line 121) | func (UnimplementedMetricsRecorder) RecordInt64Gauge(*Int64GaugeHandle... method RecordInt64UpDownCount (line 124) | func (UnimplementedMetricsRecorder) RecordInt64UpDownCount(*Int64UpDow... method RegisterAsyncReporter (line 128) | func (UnimplementedMetricsRecorder) RegisterAsyncReporter(AsyncMetricR... FILE: gcp/observability/config.go constant envProjectID (line 34) | envProjectID = "GOOGLE_CLOUD_PROJECT" function fetchDefaultProjectID (line 37) | func fetchDefaultProjectID(ctx context.Context) string { function validateMethodString (line 59) | func validateMethodString(method string) error { function validateLogEventMethod (line 76) | func validateLogEventMethod(methods []string, exclude bool) error { function validateLoggingEvents (line 91) | func validateLoggingEvents(config *config) error { function unmarshalAndVerifyConfig (line 111) | func unmarshalAndVerifyConfig(rawJSON json.RawMessage) (*config, error) { function parseObservabilityConfig (line 126) | func parseObservabilityConfig() (*config, error) { function ensureProjectIDInObservabilityConfig (line 143) | func ensureProjectIDInObservabilityConfig(ctx context.Context, config *c... type clientRPCEvents (line 155) | type clientRPCEvents struct type serverRPCEvents (line 193) | type serverRPCEvents struct type cloudLogging (line 231) | type cloudLogging struct type cloudMonitoring (line 245) | type cloudMonitoring struct type cloudTrace (line 247) | type cloudTrace struct type config (line 255) | type config struct FILE: gcp/observability/exporting.go type loggingExporter (line 51) | type loggingExporter interface type cloudLoggingExporter (line 58) | type cloudLoggingExporter struct method EmitGcpLoggingEntry (line 80) | func (cle *cloudLoggingExporter) EmitGcpLoggingEntry(entry gcplogging.... method Close (line 87) | func (cle *cloudLoggingExporter) Close() error { function newCloudLoggingExporter (line 64) | func newCloudLoggingExporter(ctx context.Context, config *config) (loggi... FILE: gcp/observability/logging.go function translateMetadata (line 51) | func translateMetadata(m *binlogpb.Metadata) map[string]string { function setPeerIfPresent (line 72) | func setPeerIfPresent(binlogEntry *binlogpb.GrpcLogEntry, grpcLogEntry *... type eventType (line 86) | type eventType method MarshalJSON (line 107) | func (t eventType) MarshalJSON() ([]byte, error) { constant eventTypeUnknown (line 90) | eventTypeUnknown eventType = iota constant eventTypeClientHeader (line 92) | eventTypeClientHeader constant eventTypeServerHeader (line 94) | eventTypeServerHeader constant eventTypeClientMessage (line 96) | eventTypeClientMessage constant eventTypeServerMessage (line 98) | eventTypeServerMessage constant eventTypeClientHalfClose (line 100) | eventTypeClientHalfClose constant eventTypeServerTrailer (line 102) | eventTypeServerTrailer constant eventTypeCancel (line 104) | eventTypeCancel type loggerType (line 131) | type loggerType method MarshalJSON (line 139) | func (t loggerType) MarshalJSON() ([]byte, error) { constant loggerUnknown (line 134) | loggerUnknown loggerType = iota constant loggerClient (line 135) | loggerClient constant loggerServer (line 136) | loggerServer type payload (line 153) | type payload struct type addrType (line 171) | type addrType method MarshalJSON (line 180) | func (at addrType) MarshalJSON() ([]byte, error) { constant typeUnknown (line 174) | typeUnknown addrType = iota constant ipv4 (line 175) | ipv4 constant ipv6 (line 176) | ipv6 constant unix (line 177) | unix type address (line 196) | type address struct type grpcLogEntry (line 206) | type grpcLogEntry struct type methodLoggerBuilder (line 239) | type methodLoggerBuilder interface type binaryMethodLogger (line 243) | type binaryMethodLogger struct method buildGCPLoggingEntry (line 253) | func (bml *binaryMethodLogger) buildGCPLoggingEntry(ctx context.Contex... method Log (line 345) | func (bml *binaryMethodLogger) Log(ctx context.Context, c iblog.LogEnt... type eventConfig (line 349) | type eventConfig struct type binaryLogger (line 361) | type binaryLogger struct method GetMethodLogger (line 368) | func (bl *binaryLogger) GetMethodLogger(methodName string) iblog.Metho... function parseMethod (line 394) | func parseMethod(method string) (string, string, error) { function registerClientRPCEvents (line 403) | func registerClientRPCEvents(config *config, exporter loggingExporter) { function registerServerRPCEvents (line 443) | func registerServerRPCEvents(config *config, exporter loggingExporter) { function startLogging (line 483) | func startLogging(ctx context.Context, config *config) error { function stopLogging (line 498) | func stopLogging() { FILE: gcp/observability/logging_test.go function cmpLoggingEntryList (line 43) | func cmpLoggingEntryList(got []*grpcLogEntry, want []*grpcLogEntry) error { type fakeLoggingExporter (line 68) | type fakeLoggingExporter struct method EmitGcpLoggingEntry (line 77) | func (fle *fakeLoggingExporter) EmitGcpLoggingEntry(entry gcplogging.E... method Close (line 98) | func (fle *fakeLoggingExporter) Close() error { function setupObservabilitySystemWithConfig (line 105) | func setupObservabilitySystemWithConfig(cfg *config) (func(), error) { method TestClientRPCEventsLogAll (line 129) | func (s) TestClientRPCEventsLogAll(t *testing.T) { method TestServerRPCEventsLogAll (line 339) | func (s) TestServerRPCEventsLogAll(t *testing.T) { method TestBothClientAndServerRPCEvents (line 553) | func (s) TestBothClientAndServerRPCEvents(t *testing.T) { method TestClientRPCEventsTruncateHeaderAndMetadata (line 645) | func (s) TestClientRPCEventsTruncateHeaderAndMetadata(t *testing.T) { method TestPrecedenceOrderingInConfiguration (line 781) | func (s) TestPrecedenceOrderingInConfiguration(t *testing.T) { method TestTranslateMetadata (line 984) | func (s) TestTranslateMetadata(t *testing.T) { method TestMarshalJSON (line 1084) | func (s) TestMarshalJSON(t *testing.T) { method TestMetadataTruncationAccountsKey (line 1120) | func (s) TestMetadataTruncationAccountsKey(t *testing.T) { method TestMethodInConfiguration (line 1242) | func (s) TestMethodInConfiguration(t *testing.T) { FILE: gcp/observability/observability.go function Start (line 48) | func Start(ctx context.Context) error { function End (line 89) | func End() { FILE: gcp/observability/observability_test.go type s (line 47) | type s struct method TestRefuseStartWithInvalidPatterns (line 161) | func (s) TestRefuseStartWithInvalidPatterns(t *testing.T) { method TestRefuseStartWithExcludeAndWildCardAll (line 198) | func (s) TestRefuseStartWithExcludeAndWildCardAll(t *testing.T) { method TestJSONEnvVarSet (line 256) | func (s) TestJSONEnvVarSet(t *testing.T) { method TestBothConfigEnvVarsSet (line 279) | func (s) TestBothConfigEnvVarsSet(t *testing.T) { method TestErrInFileSystemEnvVar (line 334) | func (s) TestErrInFileSystemEnvVar(t *testing.T) { method TestNoEnvSet (line 347) | func (s) TestNoEnvSet(t *testing.T) { method TestOpenCensusIntegration (line 364) | func (s) TestOpenCensusIntegration(t *testing.T) { method TestCustomTagsTracingMetrics (line 482) | func (s) TestCustomTagsTracingMetrics(t *testing.T) { method TestStartErrorsThenEnd (line 528) | func (s) TestStartErrorsThenEnd(t *testing.T) { method TestLoggingLinkedWithTraceClientSide (line 563) | func (s) TestLoggingLinkedWithTraceClientSide(t *testing.T) { method TestLoggingLinkedWithTraceServerSide (line 705) | func (s) TestLoggingLinkedWithTraceServerSide(t *testing.T) { method TestLoggingLinkedWithTrace (line 849) | func (s) TestLoggingLinkedWithTrace(t *testing.T) { function Test (line 51) | func Test(t *testing.T) { function init (line 55) | func init() { constant TypeOpenCensusViewDistribution (line 72) | TypeOpenCensusViewDistribution = "distribution" constant TypeOpenCensusViewCount (line 73) | TypeOpenCensusViewCount = "count" constant TypeOpenCensusViewSum (line 74) | TypeOpenCensusViewSum = "sum" constant TypeOpenCensusViewLastValue (line 75) | TypeOpenCensusViewLastValue = "last_value" type fakeOpenCensusExporter (line 78) | type fakeOpenCensusExporter struct method ExportView (line 90) | func (fe *fakeOpenCensusExporter) ExportView(vd *view.Data) { method ExportSpan (line 135) | func (fe *fakeOpenCensusExporter) ExportSpan(vd *trace.SpanData) { method Flush (line 155) | func (fe *fakeOpenCensusExporter) Flush() {} method Close (line 157) | func (fe *fakeOpenCensusExporter) Close() error { type traceAndSpanID (line 108) | type traceAndSpanID struct method idsToString (line 126) | func (tasi *traceAndSpanID) idsToString(projectID string) traceAndSpan... type traceAndSpanIDString (line 116) | type traceAndSpanIDString struct function createTmpConfigInFileSystem (line 236) | func createTmpConfigInFileSystem(rawJSON string) (func(), error) { FILE: gcp/observability/opencensus.go function labelsToMonitoringLabels (line 55) | func labelsToMonitoringLabels(labels map[string]string) *stackdriver.Lab... function labelsToTraceAttributes (line 63) | func labelsToTraceAttributes(labels map[string]string) map[string]any { type tracingMetricsExporter (line 71) | type tracingMetricsExporter interface function newStackdriverExporter (line 82) | func newStackdriverExporter(config *config) (tracingMetricsExporter, err... function generateUniqueProcessIdentifier (line 114) | func generateUniqueProcessIdentifier() string { function startOpenCensus (line 124) | func startOpenCensus(config *config) error { function stopOpenCensus (line 162) | func stopOpenCensus() { FILE: grpc_test.go type s (line 27) | type s struct function Test (line 31) | func Test(t *testing.T) { FILE: grpclog/component.go type componentData (line 26) | type componentData struct method InfoDepth (line 32) | func (c *componentData) InfoDepth(depth int, args ...any) { method WarningDepth (line 37) | func (c *componentData) WarningDepth(depth int, args ...any) { method ErrorDepth (line 42) | func (c *componentData) ErrorDepth(depth int, args ...any) { method FatalDepth (line 47) | func (c *componentData) FatalDepth(depth int, args ...any) { method Info (line 52) | func (c *componentData) Info(args ...any) { method Warning (line 56) | func (c *componentData) Warning(args ...any) { method Error (line 60) | func (c *componentData) Error(args ...any) { method Fatal (line 64) | func (c *componentData) Fatal(args ...any) { method Infof (line 68) | func (c *componentData) Infof(format string, args ...any) { method Warningf (line 72) | func (c *componentData) Warningf(format string, args ...any) { method Errorf (line 76) | func (c *componentData) Errorf(format string, args ...any) { method Fatalf (line 80) | func (c *componentData) Fatalf(format string, args ...any) { method Infoln (line 84) | func (c *componentData) Infoln(args ...any) { method Warningln (line 88) | func (c *componentData) Warningln(args ...any) { method Errorln (line 92) | func (c *componentData) Errorln(args ...any) { method Fatalln (line 96) | func (c *componentData) Fatalln(args ...any) { method V (line 100) | func (c *componentData) V(l int) bool { function Component (line 108) | func Component(componentName string) DepthLoggerV2 { FILE: grpclog/glogger/glogger.go constant d (line 30) | d = 2 function init (line 32) | func init() { type glogger (line 36) | type glogger struct method Info (line 38) | func (g *glogger) Info(args ...any) { method Infoln (line 42) | func (g *glogger) Infoln(args ...any) { method Infof (line 46) | func (g *glogger) Infof(format string, args ...any) { method InfoDepth (line 50) | func (g *glogger) InfoDepth(depth int, args ...any) { method Warning (line 54) | func (g *glogger) Warning(args ...any) { method Warningln (line 58) | func (g *glogger) Warningln(args ...any) { method Warningf (line 62) | func (g *glogger) Warningf(format string, args ...any) { method WarningDepth (line 66) | func (g *glogger) WarningDepth(depth int, args ...any) { method Error (line 70) | func (g *glogger) Error(args ...any) { method Errorln (line 74) | func (g *glogger) Errorln(args ...any) { method Errorf (line 78) | func (g *glogger) Errorf(format string, args ...any) { method ErrorDepth (line 82) | func (g *glogger) ErrorDepth(depth int, args ...any) { method Fatal (line 86) | func (g *glogger) Fatal(args ...any) { method Fatalln (line 90) | func (g *glogger) Fatalln(args ...any) { method Fatalf (line 94) | func (g *glogger) Fatalf(format string, args ...any) { method FatalDepth (line 98) | func (g *glogger) FatalDepth(depth int, args ...any) { method V (line 102) | func (g *glogger) V(l int) bool { FILE: grpclog/grpclog.go function init (line 32) | func init() { function V (line 37) | func V(l int) bool { function Info (line 42) | func Info(args ...any) { function Infof (line 47) | func Infof(format string, args ...any) { function Infoln (line 52) | func Infoln(args ...any) { function Warning (line 57) | func Warning(args ...any) { function Warningf (line 62) | func Warningf(format string, args ...any) { function Warningln (line 67) | func Warningln(args ...any) { function Error (line 72) | func Error(args ...any) { function Errorf (line 77) | func Errorf(format string, args ...any) { function Errorln (line 82) | func Errorln(args ...any) { function Fatal (line 88) | func Fatal(args ...any) { function Fatalf (line 96) | func Fatalf(format string, args ...any) { function Fatalln (line 104) | func Fatalln(args ...any) { function Print (line 113) | func Print(args ...any) { function Printf (line 120) | func Printf(format string, args ...any) { function Println (line 127) | func Println(args ...any) { function InfoDepth (line 137) | func InfoDepth(depth int, args ...any) { function WarningDepth (line 151) | func WarningDepth(depth int, args ...any) { function ErrorDepth (line 165) | func ErrorDepth(depth int, args ...any) { function FatalDepth (line 179) | func FatalDepth(depth int, args ...any) { FILE: grpclog/internal/logger.go type Logger (line 24) | type Logger interface type LoggerWrapper (line 34) | type LoggerWrapper struct method Info (line 39) | func (l *LoggerWrapper) Info(args ...any) { method Infoln (line 44) | func (l *LoggerWrapper) Infoln(args ...any) { method Infof (line 49) | func (l *LoggerWrapper) Infof(format string, args ...any) { method Warning (line 54) | func (l *LoggerWrapper) Warning(args ...any) { method Warningln (line 59) | func (l *LoggerWrapper) Warningln(args ...any) { method Warningf (line 64) | func (l *LoggerWrapper) Warningf(format string, args ...any) { method Error (line 69) | func (l *LoggerWrapper) Error(args ...any) { method Errorln (line 74) | func (l *LoggerWrapper) Errorln(args ...any) { method Errorf (line 79) | func (l *LoggerWrapper) Errorf(format string, args ...any) { method V (line 84) | func (*LoggerWrapper) V(int) bool { FILE: grpclog/internal/loggerv2.go type LoggerV2 (line 30) | type LoggerV2 interface type DepthLoggerV2 (line 73) | type DepthLoggerV2 interface constant infoLog (line 87) | infoLog int = iota constant warningLog (line 89) | warningLog constant errorLog (line 91) | errorLog constant fatalLog (line 93) | fatalLog type loggerT (line 121) | type loggerT struct method output (line 127) | func (g *loggerT) output(severity int, s string) { method printf (line 142) | func (g *loggerT) printf(severity int, format string, args ...any) { method print (line 152) | func (g *loggerT) print(severity int, v ...any) { method println (line 159) | func (g *loggerT) println(severity int, v ...any) { method Info (line 166) | func (g *loggerT) Info(args ...any) { method Infoln (line 170) | func (g *loggerT) Infoln(args ...any) { method Infof (line 174) | func (g *loggerT) Infof(format string, args ...any) { method Warning (line 178) | func (g *loggerT) Warning(args ...any) { method Warningln (line 182) | func (g *loggerT) Warningln(args ...any) { method Warningf (line 186) | func (g *loggerT) Warningf(format string, args ...any) { method Error (line 190) | func (g *loggerT) Error(args ...any) { method Errorln (line 194) | func (g *loggerT) Errorln(args ...any) { method Errorf (line 198) | func (g *loggerT) Errorf(format string, args ...any) { method Fatal (line 202) | func (g *loggerT) Fatal(args ...any) { method Fatalln (line 207) | func (g *loggerT) Fatalln(args ...any) { method Fatalf (line 212) | func (g *loggerT) Fatalf(format string, args ...any) { method V (line 217) | func (g *loggerT) V(l int) bool { type LoggerV2Config (line 222) | type LoggerV2Config struct function combineLoggers (line 236) | func combineLoggers(lower, higher io.Writer) io.Writer { function NewLoggerV2 (line 249) | func NewLoggerV2(infoW, warningW, errorW io.Writer, c LoggerV2Config) Lo... FILE: grpclog/internal/loggerv2_test.go constant logFuncStr (line 35) | logFuncStr = "called-func" function makeSprintfErr (line 37) | func makeSprintfErr(t *testing.T) func(format string, a ...any) string { function makeSprintErr (line 44) | func makeSprintErr(t *testing.T) func(a ...any) string { function checkLogContainsFuncStr (line 53) | func checkLogContainsFuncStr(t *testing.T, logBuf []byte) { function checkBufferWasWrittenAsExpected (line 61) | func checkBufferWasWrittenAsExpected(t *testing.T, buf *bytes.Buffer, di... function checkLogForSeverity (line 95) | func checkLogForSeverity(s int, b []byte) error { function TestLoggerV2Severity (line 103) | func TestLoggerV2Severity(t *testing.T) { function TestLoggerV2PrintFuncDiscardOnlyInfo (line 134) | func TestLoggerV2PrintFuncDiscardOnlyInfo(t *testing.T) { function TestLoggerV2PrintFuncNoDiscard (line 164) | func TestLoggerV2PrintFuncNoDiscard(t *testing.T) { function TestLoggerV2PrintFuncAllDiscard (line 191) | func TestLoggerV2PrintFuncAllDiscard(t *testing.T) { function TestLoggerV2PrintFuncAllCombinations (line 210) | func TestLoggerV2PrintFuncAllCombinations(t *testing.T) { function TestLoggerV2Fatal (line 309) | func TestLoggerV2Fatal(t *testing.T) { FILE: grpclog/logger.go type Logger (line 26) | type Logger function SetLogger (line 32) | func SetLogger(l Logger) { FILE: grpclog/loggerv2.go type LoggerV2 (line 31) | type LoggerV2 function SetLoggerV2 (line 35) | func SetLoggerV2(l LoggerV2) { function NewLoggerV2 (line 48) | func NewLoggerV2(infoW, warningW, errorW io.Writer) LoggerV2 { function NewLoggerV2WithVerbosity (line 54) | func NewLoggerV2WithVerbosity(infoW, warningW, errorW io.Writer, v int) ... function newLoggerV2 (line 60) | func newLoggerV2() LoggerV2 { type DepthLoggerV2 (line 97) | type DepthLoggerV2 FILE: health/client.go function init (line 51) | func init() { constant healthCheckMethod (line 55) | healthCheckMethod = "/grpc.health.v1.Health/Watch" function clientHealthCheck (line 59) | func clientHealthCheck(ctx context.Context, newStream func(string) (any,... FILE: health/client_test.go constant defaultTestTimeout (line 31) | defaultTestTimeout = 10 * time.Second method TestClientHealthCheckBackoff (line 33) | func (s) TestClientHealthCheckBackoff(t *testing.T) { FILE: health/grpc_health_v1/health.pb.go constant _ (line 36) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 38) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type HealthCheckResponse_ServingStatus (line 41) | type HealthCheckResponse_ServingStatus method Enum (line 66) | func (x HealthCheckResponse_ServingStatus) Enum() *HealthCheckResponse... method String (line 72) | func (x HealthCheckResponse_ServingStatus) String() string { method Descriptor (line 76) | func (HealthCheckResponse_ServingStatus) Descriptor() protoreflect.Enu... method Type (line 80) | func (HealthCheckResponse_ServingStatus) Type() protoreflect.EnumType { method Number (line 84) | func (x HealthCheckResponse_ServingStatus) Number() protoreflect.EnumN... method EnumDescriptor (line 89) | func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []i... constant HealthCheckResponse_UNKNOWN (line 44) | HealthCheckResponse_UNKNOWN HealthCheckResponse_ServingStatus = 0 constant HealthCheckResponse_SERVING (line 45) | HealthCheckResponse_SERVING HealthCheckResponse_ServingStatus = 1 constant HealthCheckResponse_NOT_SERVING (line 46) | HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2 constant HealthCheckResponse_SERVICE_UNKNOWN (line 47) | HealthCheckResponse_SERVICE_UNKNOWN HealthCheckResponse_ServingStatus = 3 type HealthCheckRequest (line 93) | type HealthCheckRequest struct method Reset (line 100) | func (x *HealthCheckRequest) Reset() { method String (line 107) | func (x *HealthCheckRequest) String() string { method ProtoMessage (line 111) | func (*HealthCheckRequest) ProtoMessage() {} method ProtoReflect (line 113) | func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 126) | func (*HealthCheckRequest) Descriptor() ([]byte, []int) { method GetService (line 130) | func (x *HealthCheckRequest) GetService() string { type HealthCheckResponse (line 137) | type HealthCheckResponse struct method Reset (line 144) | func (x *HealthCheckResponse) Reset() { method String (line 151) | func (x *HealthCheckResponse) String() string { method ProtoMessage (line 155) | func (*HealthCheckResponse) ProtoMessage() {} method ProtoReflect (line 157) | func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 170) | func (*HealthCheckResponse) Descriptor() ([]byte, []int) { method GetStatus (line 174) | func (x *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingS... type HealthListRequest (line 181) | type HealthListRequest struct method Reset (line 187) | func (x *HealthListRequest) Reset() { method String (line 194) | func (x *HealthListRequest) String() string { method ProtoMessage (line 198) | func (*HealthListRequest) ProtoMessage() {} method ProtoReflect (line 200) | func (x *HealthListRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 213) | func (*HealthListRequest) Descriptor() ([]byte, []int) { type HealthListResponse (line 217) | type HealthListResponse struct method Reset (line 225) | func (x *HealthListResponse) Reset() { method String (line 232) | func (x *HealthListResponse) String() string { method ProtoMessage (line 236) | func (*HealthListResponse) ProtoMessage() {} method ProtoReflect (line 238) | func (x *HealthListResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 251) | func (*HealthListResponse) Descriptor() ([]byte, []int) { method GetStatuses (line 255) | func (x *HealthListResponse) GetStatuses() map[string]*HealthCheckResp... constant file_grpc_health_v1_health_proto_rawDesc (line 264) | file_grpc_health_v1_health_proto_rawDesc = "" + function file_grpc_health_v1_health_proto_rawDescGZIP (line 293) | func file_grpc_health_v1_health_proto_rawDescGZIP() []byte { function init (line 327) | func init() { file_grpc_health_v1_health_proto_init() } function file_grpc_health_v1_health_proto_init (line 328) | func file_grpc_health_v1_health_proto_init() { FILE: health/grpc_health_v1/health_grpc.pb.go constant _ (line 36) | _ = grpc.SupportPackageIsVersion9 constant Health_Check_FullMethodName (line 39) | Health_Check_FullMethodName = "/grpc.health.v1.Health/Check" constant Health_List_FullMethodName (line 40) | Health_List_FullMethodName = "/grpc.health.v1.Health/List" constant Health_Watch_FullMethodName (line 41) | Health_Watch_FullMethodName = "/grpc.health.v1.Health/Watch" type HealthClient (line 51) | type HealthClient interface type healthClient (line 90) | type healthClient struct method Check (line 98) | func (c *healthClient) Check(ctx context.Context, in *HealthCheckReque... method List (line 108) | func (c *healthClient) List(ctx context.Context, in *HealthListRequest... method Watch (line 118) | func (c *healthClient) Watch(ctx context.Context, in *HealthCheckReque... function NewHealthClient (line 94) | func NewHealthClient(cc grpc.ClientConnInterface) HealthClient { type HealthServer (line 144) | type HealthServer interface type UnimplementedHealthServer (line 188) | type UnimplementedHealthServer struct method Check (line 190) | func (UnimplementedHealthServer) Check(context.Context, *HealthCheckRe... method List (line 193) | func (UnimplementedHealthServer) List(context.Context, *HealthListRequ... method Watch (line 196) | func (UnimplementedHealthServer) Watch(*HealthCheckRequest, grpc.Serve... method testEmbeddedByValue (line 199) | func (UnimplementedHealthServer) testEmbeddedByValue() {} type UnsafeHealthServer (line 204) | type UnsafeHealthServer interface function RegisterHealthServer (line 208) | func RegisterHealthServer(s grpc.ServiceRegistrar, srv HealthServer) { function _Health_Check_Handler (line 219) | func _Health_Check_Handler(srv interface{}, ctx context.Context, dec fun... function _Health_List_Handler (line 237) | func _Health_List_Handler(srv interface{}, ctx context.Context, dec func... function _Health_Watch_Handler (line 255) | func _Health_Watch_Handler(srv interface{}, stream grpc.ServerStream) er... FILE: health/producer.go function init (line 33) | func init() { type producerBuilder (line 38) | type producerBuilder struct method Build (line 43) | func (*producerBuilder) Build(cci any) (balancer.Producer, func()) { type healthServiceProducer (line 55) | type healthServiceProducer struct method startHealthCheck (line 83) | func (p *healthServiceProducer) startHealthCheck(ctx context.Context, ... function registerClientSideHealthCheckListener (line 66) | func registerClientSideHealthCheckListener(ctx context.Context, sc balan... FILE: health/server.go constant maxAllowedServices (line 37) | maxAllowedServices = 100 type Server (line 41) | type Server struct method Check (line 61) | func (s *Server) Check(_ context.Context, in *healthpb.HealthCheckRequ... method List (line 73) | func (s *Server) List(_ context.Context, _ *healthpb.HealthListRequest... method Watch (line 90) | func (s *Server) Watch(in *healthpb.HealthCheckRequest, stream healthg... method SetServingStatus (line 136) | func (s *Server) SetServingStatus(service string, servingStatus health... method setServingStatusLocked (line 147) | func (s *Server) setServingStatusLocked(service string, servingStatus ... method Shutdown (line 166) | func (s *Server) Shutdown() { method Resume (line 180) | func (s *Server) Resume() { function NewServer (line 53) | func NewServer() *Server { FILE: health/server_internal_test.go type s (line 38) | type s struct method TestShutdown (line 46) | func (s) TestShutdown(t *testing.T) { method TestList (line 95) | func (s) TestList(t *testing.T) { method TestListResourceExhausted (line 133) | func (s) TestListResourceExhausted(t *testing.T) { function Test (line 42) | func Test(t *testing.T) { FILE: health/server_test.go type s (line 30) | type s struct method TestRegister (line 39) | func (s) TestRegister(*testing.T) { function Test (line 34) | func Test(t *testing.T) { FILE: interceptor.go type UnaryInvoker (line 26) | type UnaryInvoker type UnaryClientInterceptor (line 43) | type UnaryClientInterceptor type Streamer (line 46) | type Streamer type StreamClientInterceptor (line 63) | type StreamClientInterceptor type UnaryServerInfo (line 67) | type UnaryServerInfo struct type UnaryHandler (line 81) | type UnaryHandler type UnaryServerInterceptor (line 87) | type UnaryServerInterceptor type StreamServerInfo (line 91) | type StreamServerInfo struct type StreamServerInterceptor (line 108) | type StreamServerInterceptor FILE: internal/admin/admin.go function AddService (line 34) | func AddService(f func(grpc.ServiceRegistrar) (func(), error)) { function Register (line 39) | func Register(s grpc.ServiceRegistrar) (cleanup func(), _ error) { function callFuncs (line 56) | func callFuncs(fs []func()) { FILE: internal/backoff/backoff.go type Strategy (line 36) | type Strategy interface type Exponential (line 49) | type Exponential struct method Backoff (line 56) | func (bc Exponential) Backoff(retries int) time.Duration { function RunF (line 86) | func RunF(ctx context.Context, f func() error, backoff func(int) time.Du... FILE: internal/balancer/gracefulswitch/config.go type lbConfig (line 29) | type lbConfig struct function ChildName (line 38) | func ChildName(l serviceconfig.LoadBalancingConfig) string { function ParseConfig (line 49) | func ParseConfig(cfg json.RawMessage) (serviceconfig.LoadBalancingConfig... FILE: internal/balancer/gracefulswitch/gracefulswitch.go function NewBalancer (line 37) | func NewBalancer(cc balancer.ClientConn, opts balancer.BuildOptions) *Ba... type Balancer (line 46) | type Balancer struct method swap (line 78) | func (gsb *Balancer) swap() { method balancerCurrentOrPending (line 94) | func (gsb *Balancer) balancerCurrentOrPending(bw *balancerWrapper) bool { method SwitchTo (line 106) | func (gsb *Balancer) SwitchTo(builder balancer.Builder) error { method switchTo (line 111) | func (gsb *Balancer) switchTo(builder balancer.Builder) (*balancerWrap... method latestBalancer (line 161) | func (gsb *Balancer) latestBalancer() *balancerWrapper { method UpdateClientConnState (line 176) | func (gsb *Balancer) UpdateClientConnState(state balancer.ClientConnSt... method ResolverError (line 204) | func (gsb *Balancer) ResolverError(err error) { method ExitIdle (line 224) | func (gsb *Balancer) ExitIdle() { method updateSubConnState (line 236) | func (gsb *Balancer) updateSubConnState(sc balancer.SubConn, state bal... method UpdateSubConnState (line 267) | func (gsb *Balancer) UpdateSubConnState(sc balancer.SubConn, state bal... method Close (line 272) | func (gsb *Balancer) Close() { type balancerWrapper (line 295) | type balancerWrapper struct method Close (line 309) | func (bw *balancerWrapper) Close() { method UpdateState (line 326) | func (bw *balancerWrapper) UpdateState(state balancer.State) { method NewSubConn (line 372) | func (bw *balancerWrapper) NewSubConn(addrs []resolver.Address, opts b... method ResolveNow (line 398) | func (bw *balancerWrapper) ResolveNow(opts resolver.ResolveNowOptions) { method RemoveSubConn (line 407) | func (bw *balancerWrapper) RemoveSubConn(sc balancer.SubConn) { method UpdateAddresses (line 413) | func (bw *balancerWrapper) UpdateAddresses(sc balancer.SubConn, addrs ... FILE: internal/balancer/gracefulswitch/gracefulswitch_test.go constant defaultTestTimeout (line 40) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 41) | defaultTestShortTimeout = 10 * time.Millisecond type s (line 44) | type s struct method TestSuccessfulFirstUpdate (line 61) | func (s) TestSuccessfulFirstUpdate(t *testing.T) { method TestTwoBalancersSameType (line 94) | func (s) TestTwoBalancersSameType(t *testing.T) { method TestCurrentNotReadyPendingUpdate (line 214) | func (s) TestCurrentNotReadyPendingUpdate(t *testing.T) { method TestCurrentLeavingReady (line 265) | func (s) TestCurrentLeavingReady(t *testing.T) { method TestBalancerSubconns (line 349) | func (s) TestBalancerSubconns(t *testing.T) { method TestBalancerClose (line 443) | func (s) TestBalancerClose(t *testing.T) { method TestResolverError (line 553) | func (s) TestResolverError(t *testing.T) { method TestPendingReplacedByAnotherPending (line 591) | func (s) TestPendingReplacedByAnotherPending(t *testing.T) { method TestUpdateSubConnStateRace (line 679) | func (s) TestUpdateSubConnStateRace(t *testing.T) { method TestInlineCallbackInBuild (line 729) | func (s) TestInlineCallbackInBuild(t *testing.T) { method TestExitIdle (line 799) | func (s) TestExitIdle(t *testing.T) { function Test (line 48) | func Test(t *testing.T) { function setup (line 52) | func setup(t *testing.T) (*testutils.BalancerClientConn, *Balancer) { type neverErrPicker (line 667) | type neverErrPicker struct method Pick (line 669) | func (p *neverErrPicker) Pick(balancer.PickInfo) (balancer.PickResult,... constant balancerName1 (line 814) | balancerName1 = "mock_balancer_1" constant balancerName2 (line 815) | balancerName2 = "mock_balancer_2" constant verifyBalName (line 816) | verifyBalName = "verifyNoSubConnUpdateAfterCloseBalancer" constant buildCallbackBalName (line 817) | buildCallbackBalName = "callbackInBuildBalancer" type mockBalancerBuilder1 (line 819) | type mockBalancerBuilder1 struct method Build (line 821) | func (mockBalancerBuilder1) Build(cc balancer.ClientConn, _ balancer.B... method Name (line 832) | func (mockBalancerBuilder1) Name() string { type mockBalancerConfig (line 836) | type mockBalancerConfig struct type mockBalancer (line 843) | type mockBalancer struct method UpdateClientConnState (line 863) | func (mb1 *mockBalancer) UpdateClientConnState(ccs balancer.ClientConn... method ResolverError (line 869) | func (mb1 *mockBalancer) ResolverError(err error) { method UpdateSubConnState (line 873) | func (mb1 *mockBalancer) UpdateSubConnState(sc balancer.SubConn, state... method Close (line 877) | func (mb1 *mockBalancer) Close() { method ExitIdle (line 881) | func (mb1 *mockBalancer) ExitIdle() { method waitForClientConnUpdate (line 887) | func (mb1 *mockBalancer) waitForClientConnUpdate(ctx context.Context, ... method waitForResolverError (line 901) | func (mb1 *mockBalancer) waitForResolverError(ctx context.Context, wan... method waitForClose (line 914) | func (mb1 *mockBalancer) waitForClose(ctx context.Context) error { method waitForExitIdle (line 923) | func (mb1 *mockBalancer) waitForExitIdle(ctx context.Context) error { method updateState (line 930) | func (mb1 *mockBalancer) updateState(state balancer.State) { method newSubConn (line 934) | func (mb1 *mockBalancer) newSubConn(addrs []resolver.Address, opts bal... method updateAddresses (line 948) | func (mb1 *mockBalancer) updateAddresses(sc balancer.SubConn, addrs []... type subConnWithState (line 858) | type subConnWithState struct type mockBalancerBuilder2 (line 952) | type mockBalancerBuilder2 struct method Build (line 954) | func (mockBalancerBuilder2) Build(cc balancer.ClientConn, _ balancer.B... method Name (line 964) | func (mockBalancerBuilder2) Name() string { type verifyBalancerBuilder (line 968) | type verifyBalancerBuilder struct method Build (line 970) | func (verifyBalancerBuilder) Build(cc balancer.ClientConn, _ balancer.... method Name (line 977) | func (verifyBalancerBuilder) Name() string { type verifyBalancer (line 983) | type verifyBalancer struct method UpdateClientConnState (line 991) | func (vb *verifyBalancer) UpdateClientConnState(balancer.ClientConnSta... method ExitIdle (line 995) | func (vb *verifyBalancer) ExitIdle() {} method ResolverError (line 997) | func (vb *verifyBalancer) ResolverError(error) {} method UpdateSubConnState (line 999) | func (vb *verifyBalancer) UpdateSubConnState(sc balancer.SubConn, stat... method Close (line 1003) | func (vb *verifyBalancer) Close() { method newSubConn (line 1007) | func (vb *verifyBalancer) newSubConn(addrs []resolver.Address, opts ba... type buildCallbackBalancerBuilder (line 1019) | type buildCallbackBalancerBuilder struct method Build (line 1021) | func (buildCallbackBalancerBuilder) Build(cc balancer.ClientConn, _ ba... method Name (line 1038) | func (buildCallbackBalancerBuilder) Name() string { type buildCallbackBal (line 1042) | type buildCallbackBal struct method UpdateClientConnState (line 1049) | func (bcb *buildCallbackBal) UpdateClientConnState(balancer.ClientConn... method ResolverError (line 1053) | func (bcb *buildCallbackBal) ResolverError(error) {} method ExitIdle (line 1055) | func (bcb *buildCallbackBal) ExitIdle() {} method UpdateSubConnState (line 1057) | func (bcb *buildCallbackBal) UpdateSubConnState(sc balancer.SubConn, s... method Close (line 1061) | func (bcb *buildCallbackBal) Close() { method updateState (line 1065) | func (bcb *buildCallbackBal) updateState(state balancer.State) { method newSubConn (line 1069) | func (bcb *buildCallbackBal) newSubConn(addrs []resolver.Address, opts... method updateAddresses (line 1078) | func (bcb *buildCallbackBal) updateAddresses(sc balancer.SubConn, addr... method waitForClose (line 1084) | func (bcb *buildCallbackBal) waitForClose(ctx context.Context) error { FILE: internal/balancer/nop/nop.go type bal (line 32) | type bal struct method UpdateClientConnState (line 47) | func (b *bal) UpdateClientConnState(_ balancer.ClientConnState) error { method ResolverError (line 56) | func (b *bal) ResolverError(_ error) {} method UpdateSubConnState (line 59) | func (b *bal) UpdateSubConnState(_ balancer.SubConn, _ balancer.SubCon... method Close (line 62) | func (b *bal) Close() {} method ExitIdle (line 65) | func (b *bal) ExitIdle() {} function NewBalancer (line 38) | func NewBalancer(cc balancer.ClientConn, err error) balancer.Balancer { FILE: internal/balancer/stub/stub.go type BalancerFuncs (line 33) | type BalancerFuncs struct type BalancerData (line 47) | type BalancerData struct type bal (line 56) | type bal struct method UpdateClientConnState (line 61) | func (b *bal) UpdateClientConnState(c balancer.ClientConnState) error { method ResolverError (line 68) | func (b *bal) ResolverError(e error) { method UpdateSubConnState (line 74) | func (b *bal) UpdateSubConnState(sc balancer.SubConn, scs balancer.Sub... method Close (line 78) | func (b *bal) Close() { method ExitIdle (line 84) | func (b *bal) ExitIdle() { type bb (line 90) | type bb struct method Build (line 95) | func (bb bb) Build(cc balancer.ClientConn, opts balancer.BuildOptions)... method Name (line 103) | func (bb bb) Name() string { return bb.name } method ParseConfig (line 105) | func (bb bb) ParseConfig(lbCfg json.RawMessage) (serviceconfig.LoadBal... function Register (line 114) | func Register(name string, bf BalancerFuncs) { FILE: internal/balancer/weight/weight.go type attributeKey (line 32) | type attributeKey struct type EndpointInfo (line 36) | type EndpointInfo struct method Equal (line 41) | func (a EndpointInfo) Equal(o any) bool { method String (line 56) | func (a EndpointInfo) String() string { function Set (line 48) | func Set(endpoint resolver.Endpoint, epInfo EndpointInfo) resolver.Endpo... function FromEndpoint (line 62) | func FromEndpoint(endpoint resolver.Endpoint) EndpointInfo { FILE: internal/balancer/weight/weight_test.go type s (line 31) | type s struct method TestEndpointInfoToAndFromAttributes (line 39) | func (s) TestEndpointInfoToAndFromAttributes(t *testing.T) { function Test (line 35) | func Test(t *testing.T) { FILE: internal/balancergroup/balancergroup.go type subBalancerWrapper (line 44) | type subBalancerWrapper struct method UpdateState (line 77) | func (sbc *subBalancerWrapper) UpdateState(state balancer.State) { method NewSubConn (line 86) | func (sbc *subBalancerWrapper) NewSubConn(addrs []resolver.Address, op... method updateBalancerStateWithCachedPicker (line 90) | func (sbc *subBalancerWrapper) updateBalancerStateWithCachedPicker() { method startBalancer (line 98) | func (sbc *subBalancerWrapper) startBalancer() { method exitIdle (line 111) | func (sbc *subBalancerWrapper) exitIdle() { method updateClientConnState (line 119) | func (sbc *subBalancerWrapper) updateClientConnState(s balancer.Client... method resolverError (line 133) | func (sbc *subBalancerWrapper) resolverError(err error) { method stopBalancer (line 146) | func (sbc *subBalancerWrapper) stopBalancer() { type BalancerGroup (line 179) | type BalancerGroup struct method AddWithClientConn (line 273) | func (bg *BalancerGroup) AddWithClientConn(id, balancerName string, cc... method Add (line 331) | func (bg *BalancerGroup) Add(id string, builder balancer.Builder) { method Remove (line 340) | func (bg *BalancerGroup) Remove(id string) { method cleanupSubConns (line 395) | func (bg *BalancerGroup) cleanupSubConns(config *subBalancerWrapper) { method updateSubConnState (line 417) | func (bg *BalancerGroup) updateSubConnState(sc balancer.SubConn, state... method UpdateSubConnState (line 445) | func (bg *BalancerGroup) UpdateSubConnState(sc balancer.SubConn, state... method UpdateClientConnState (line 451) | func (bg *BalancerGroup) UpdateClientConnState(id string, s balancer.C... method ResolverError (line 464) | func (bg *BalancerGroup) ResolverError(err error) { method newSubConn (line 484) | func (bg *BalancerGroup) newSubConn(config *subBalancerWrapper, addrs ... method updateBalancerState (line 509) | func (bg *BalancerGroup) updateBalancerState(id string, state balancer... method Close (line 523) | func (bg *BalancerGroup) Close() { method ExitIdle (line 556) | func (bg *BalancerGroup) ExitIdle() { method ExitIdleOne (line 569) | func (bg *BalancerGroup) ExitIdleOne(id string) { type Options (line 231) | type Options struct function New (line 249) | func New(opts Options) *BalancerGroup { function ParseConfig (line 587) | func ParseConfig(cfg json.RawMessage) (serviceconfig.LoadBalancingConfig... FILE: internal/balancergroup/balancergroup_test.go constant defaultTestTimeout (line 41) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 42) | defaultTestShortTimeout = 10 * time.Millisecond constant testBackendAddrsCount (line 52) | testBackendAddrsCount = 12 function init (line 54) | func init() { type s (line 62) | type s struct method TestBalancerGroup_start_close (line 76) | func (s) TestBalancerGroup_start_close(t *testing.T) { method TestBalancerGroup_start_close_deadlock (line 137) | func (s) TestBalancerGroup_start_close_deadlock(t *testing.T) { method TestBalancerGroup_locality_caching (line 234) | func (s) TestBalancerGroup_locality_caching(t *testing.T) { method TestBalancerGroup_locality_caching_close_group (line 282) | func (s) TestBalancerGroup_locality_caching_close_group(t *testing.T) { method TestBalancerGroup_locality_caching_not_read_within_timeout (line 310) | func (s) TestBalancerGroup_locality_caching_not_read_within_timeout(t ... method TestBalancerGroup_locality_caching_read_with_different_builder (line 350) | func (s) TestBalancerGroup_locality_caching_read_with_different_builde... method TestBalancerGroup_CloseStopsBalancerInCache (line 418) | func (s) TestBalancerGroup_CloseStopsBalancerInCache(t *testing.T) { method TestBalancerGroupBuildOptions (line 447) | func (s) TestBalancerGroupBuildOptions(t *testing.T) { method TestBalancerGroup_UpdateClientConnState_AfterClose (line 487) | func (s) TestBalancerGroup_UpdateClientConnState_AfterClose(t *testing... method TestBalancerGroup_ResolverError_AfterClose (line 519) | func (s) TestBalancerGroup_ResolverError_AfterClose(t *testing.T) { method TestBalancerExitIdleOne (line 548) | func (s) TestBalancerExitIdleOne(t *testing.T) { method TestBalancerGroup_ExitIdleOne_AfterClose (line 578) | func (s) TestBalancerGroup_ExitIdleOne_AfterClose(t *testing.T) { method TestBalancerGroup_ExitIdleOne_NonExistentID (line 606) | func (s) TestBalancerGroup_ExitIdleOne_NonExistentID(t *testing.T) { method TestBalancerGracefulSwitch (line 640) | func (s) TestBalancerGracefulSwitch(t *testing.T) { method TestBalancerExitIdle_All (line 760) | func (s) TestBalancerExitIdle_All(t *testing.T) { method TestBalancerGroup_ExitIdle_AfterClose (line 821) | func (s) TestBalancerGroup_ExitIdle_AfterClose(t *testing.T) { function Test (line 66) | func Test(t *testing.T) { function initBalancerGroupForCachingTest (line 167) | func initBalancerGroupForCachingTest(t *testing.T, idleCacheTimeout time... type noopBalancerBuilderWrapper (line 336) | type noopBalancerBuilderWrapper struct method Name (line 344) | func (*noopBalancerBuilderWrapper) Name() string { function init (line 340) | func init() { FILE: internal/balancergroup/balancerstateaggregator.go type BalancerStateAggregator (line 31) | type BalancerStateAggregator interface FILE: internal/balancerload/load.go type Parser (line 26) | type Parser interface function SetParser (line 36) | func SetParser(lr Parser) { function Parse (line 41) | func Parse(md metadata.MD) any { FILE: internal/binarylog/binarylog.go type Logger (line 38) | type Logger interface function SetLogger (line 51) | func SetLogger(l Logger) { function GetLogger (line 58) | func GetLogger() Logger { function GetMethodLogger (line 68) | func GetMethodLogger(methodName string) MethodLogger { function init (line 75) | func init() { type MethodLoggerConfig (line 83) | type MethodLoggerConfig struct type LoggerConfig (line 89) | type LoggerConfig struct type logger (line 97) | type logger struct method setDefaultMethodLogger (line 113) | func (l *logger) setDefaultMethodLogger(ml *MethodLoggerConfig) error { method setServiceMethodLogger (line 124) | func (l *logger) setServiceMethodLogger(service string, ml *MethodLogg... method setMethodMethodLogger (line 138) | func (l *logger) setMethodMethodLogger(method string, ml *MethodLogger... method setBlacklist (line 153) | func (l *logger) setBlacklist(method string) error { method GetMethodLogger (line 173) | func (l *logger) GetMethodLogger(methodName string) MethodLogger { function NewLoggerFromConfig (line 102) | func NewLoggerFromConfig(config LoggerConfig) Logger { function newEmptyLogger (line 108) | func newEmptyLogger() *logger { FILE: internal/binarylog/binarylog_test.go type s (line 27) | type s struct method TestGetMethodLogger (line 36) | func (s) TestGetMethodLogger(t *testing.T) { method TestGetMethodLoggerOff (line 108) | func (s) TestGetMethodLoggerOff(t *testing.T) { function Test (line 31) | func Test(t *testing.T) { FILE: internal/binarylog/env_config.go function NewLoggerFromConfigString (line 45) | func NewLoggerFromConfigString(s string) Logger { method fillMethodLoggerWithConfigString (line 62) | func (l *logger) fillMethodLoggerWithConfigString(config string) error { constant maxUInt (line 121) | maxUInt = ^uint64(0) constant longMethodConfigRegexpStr (line 125) | longMethodConfigRegexpStr = `^([\w./]+)/((?:\w+)|[*])(.+)?$` constant optionalLengthRegexpStr (line 128) | optionalLengthRegexpStr = `(?::(\d+))?` constant headerConfigRegexpStr (line 129) | headerConfigRegexpStr = `^{h` + optionalLengthRegexpStr + `}$` constant messageConfigRegexpStr (line 130) | messageConfigRegexpStr = `^{m` + optionalLengthRegexpStr + `}$` constant headerMessageConfigRegexpStr (line 131) | headerMessageConfigRegexpStr = `^{h` + optionalLengthRegexpStr + `;m` + ... function parseMethodConfigAndSuffix (line 142) | func parseMethodConfigAndSuffix(c string) (service, method, suffix strin... function parseHeaderMessageLengthConfig (line 160) | func parseHeaderMessageLengthConfig(c string) (hdrLenStr, msgLenStr uint... FILE: internal/binarylog/env_config_test.go method TestNewLoggerFromConfigString (line 28) | func (s) TestNewLoggerFromConfigString(t *testing.T) { method TestNewLoggerFromConfigStringInvalid (line 68) | func (s) TestNewLoggerFromConfigStringInvalid(t *testing.T) { method TestParseMethodConfigAndSuffix (line 93) | func (s) TestParseMethodConfigAndSuffix(t *testing.T) { method TestParseMethodConfigAndSuffixInvalid (line 155) | func (s) TestParseMethodConfigAndSuffixInvalid(t *testing.T) { method TestParseHeaderMessageLengthConfig (line 168) | func (s) TestParseHeaderMessageLengthConfig(t *testing.T) { method TestParseHeaderMessageLengthConfigInvalid (line 225) | func (s) TestParseHeaderMessageLengthConfigInvalid(t *testing.T) { method TestFillMethodLoggerWithConfigStringBlacklist (line 239) | func (s) TestFillMethodLoggerWithConfigStringBlacklist(t *testing.T) { method TestFillMethodLoggerWithConfigStringGlobal (line 259) | func (s) TestFillMethodLoggerWithConfigStringGlobal(t *testing.T) { method TestFillMethodLoggerWithConfigStringPerService (line 323) | func (s) TestFillMethodLoggerWithConfigStringPerService(t *testing.T) { method TestFillMethodLoggerWithConfigStringPerMethod (line 389) | func (s) TestFillMethodLoggerWithConfigStringPerMethod(t *testing.T) { method TestFillMethodLoggerWithConfigStringInvalid (line 459) | func (s) TestFillMethodLoggerWithConfigStringInvalid(t *testing.T) { FILE: internal/binarylog/method_logger.go type callIDGenerator (line 36) | type callIDGenerator struct method next (line 40) | func (g *callIDGenerator) next() uint64 { method reset (line 46) | func (g *callIDGenerator) reset() { type MethodLogger (line 56) | type MethodLogger interface type TruncatingMethodLogger (line 62) | type TruncatingMethodLogger struct method Build (line 90) | func (ml *TruncatingMethodLogger) Build(c LogEntryConfig) *binlogpb.Gr... method Log (line 109) | func (ml *TruncatingMethodLogger) Log(_ context.Context, c LogEntryCon... method truncateMetadata (line 113) | func (ml *TruncatingMethodLogger) truncateMetadata(mdPb *binlogpb.Meta... method truncateMessage (line 143) | func (ml *TruncatingMethodLogger) truncateMessage(msgPb *binlogpb.Mess... function NewTruncatingMethodLogger (line 75) | func NewTruncatingMethodLogger(h, m uint64) *TruncatingMethodLogger { type LogEntryConfig (line 158) | type LogEntryConfig interface type ClientHeader (line 163) | type ClientHeader struct method toProto (line 173) | func (c *ClientHeader) toProto() *binlogpb.GrpcLogEntry { type ServerHeader (line 202) | type ServerHeader struct method toProto (line 209) | func (c *ServerHeader) toProto() *binlogpb.GrpcLogEntry { type ClientMessage (line 230) | type ClientMessage struct method toProto (line 237) | func (c *ClientMessage) toProto() *binlogpb.GrpcLogEntry { type ServerMessage (line 270) | type ServerMessage struct method toProto (line 277) | func (c *ServerMessage) toProto() *binlogpb.GrpcLogEntry { type ClientHalfClose (line 310) | type ClientHalfClose struct method toProto (line 314) | func (c *ClientHalfClose) toProto() *binlogpb.GrpcLogEntry { type ServerTrailer (line 328) | type ServerTrailer struct method toProto (line 338) | func (c *ServerTrailer) toProto() *binlogpb.GrpcLogEntry { type Cancel (line 377) | type Cancel struct method toProto (line 381) | func (c *Cancel) toProto() *binlogpb.GrpcLogEntry { function metadataKeyOmit (line 396) | func metadataKeyOmit(key string) bool { function mdToMetadataProto (line 406) | func mdToMetadataProto(md metadata.MD) *binlogpb.Metadata { function addrToProto (line 424) | func addrToProto(addr net.Addr) *binlogpb.Address { FILE: internal/binarylog/method_logger_test.go constant defaultTestTimeout (line 36) | defaultTestTimeout = 10 * time.Second method TestLog (line 38) | func (s) TestLog(t *testing.T) { method TestTruncateMetadataNotTruncated (line 356) | func (s) TestTruncateMetadataNotTruncated(t *testing.T) { method TestTruncateMetadataTruncated (line 423) | func (s) TestTruncateMetadataTruncated(t *testing.T) { method TestTruncateMessageNotTruncated (line 484) | func (s) TestTruncateMessageNotTruncated(t *testing.T) { method TestTruncateMessageTruncated (line 517) | func (s) TestTruncateMessageTruncated(t *testing.T) { FILE: internal/binarylog/regexp_test.go method TestLongMethodConfigRegexp (line 26) | func (s) TestLongMethodConfigRegexp(t *testing.T) { method TestHeaderConfigRegexp (line 90) | func (s) TestHeaderConfigRegexp(t *testing.T) { method TestMessageConfigRegexp (line 117) | func (s) TestMessageConfigRegexp(t *testing.T) { method TestHeaderMessageConfigRegexp (line 144) | func (s) TestHeaderMessageConfigRegexp(t *testing.T) { FILE: internal/binarylog/sink.go type Sink (line 41) | type Sink interface type noopSink (line 50) | type noopSink struct method Write (line 52) | func (ns *noopSink) Write(*binlogpb.GrpcLogEntry) error { return nil } method Close (line 53) | func (ns *noopSink) Close() error { return nil } function newWriterSink (line 61) | func newWriterSink(w io.Writer) Sink { type writerSink (line 65) | type writerSink struct method Write (line 69) | func (ws *writerSink) Write(e *binlogpb.GrpcLogEntry) error { method Close (line 86) | func (ws *writerSink) Close() error { return nil } type bufferedSink (line 88) | type bufferedSink struct method Write (line 99) | func (fs *bufferedSink) Write(e *binlogpb.GrpcLogEntry) error { method startFlushGoroutine (line 117) | func (fs *bufferedSink) startFlushGoroutine() { method Close (line 135) | func (fs *bufferedSink) Close() error { constant bufFlushDuration (line 114) | bufFlushDuration = 60 * time.Second function NewBufferedSink (line 162) | func NewBufferedSink(o io.WriteCloser) Sink { FILE: internal/buffer/unbounded.go type Unbounded (line 39) | type Unbounded struct method Put (line 55) | func (b *Unbounded) Put(t any) error { method Load (line 75) | func (b *Unbounded) Load() { method Get (line 99) | func (b *Unbounded) Get() <-chan any { method Close (line 106) | func (b *Unbounded) Close() { function NewUnbounded (line 48) | func NewUnbounded() *Unbounded { FILE: internal/buffer/unbounded_test.go constant numWriters (line 30) | numWriters = 10 constant numWrites (line 31) | numWrites = 10 type s (line 34) | type s struct method TestSingleWriter (line 56) | func (s) TestSingleWriter(t *testing.T) { method TestMultipleWriters (line 90) | func (s) TestMultipleWriters(t *testing.T) { method TestClose (line 125) | func (s) TestClose(t *testing.T) { function Test (line 38) | func Test(t *testing.T) { function init (line 46) | func init() { FILE: internal/cache/timeoutCache.go type cacheEntry (line 25) | type cacheEntry struct type TimeoutCache (line 38) | type TimeoutCache struct method Add (line 60) | func (c *TimeoutCache) Add(key, item any, callback func()) (any, bool) { method Remove (line 91) | func (c *TimeoutCache) Remove(key any) (item any, ok bool) { method removeInternal (line 104) | func (c *TimeoutCache) removeInternal(key any) (*cacheEntry, bool) { method Clear (line 124) | func (c *TimeoutCache) Clear(runCallback bool) { method Len (line 147) | func (c *TimeoutCache) Len() int { function NewTimeoutCache (line 45) | func NewTimeoutCache(timeout time.Duration) *TimeoutCache { FILE: internal/cache/timeoutCache_test.go constant testCacheTimeout (line 30) | testCacheTimeout = 100 * time.Millisecond type s (line 33) | type s struct method TestCacheExpire (line 51) | func (s) TestCacheExpire(t *testing.T) { method TestCacheRemove (line 82) | func (s) TestCacheRemove(t *testing.T) { method TestCacheClearWithoutCallback (line 119) | func (s) TestCacheClearWithoutCallback(t *testing.T) { method TestCacheClearWithCallback (line 173) | func (s) TestCacheClearWithCallback(t *testing.T) { method TestCacheRetrieveTimeoutRace (line 235) | func (s) TestCacheRetrieveTimeoutRace(t *testing.T) { function Test (line 37) | func Test(t *testing.T) { method getForTesting (line 41) | func (c *TimeoutCache) getForTesting(key any) (*cacheEntry, bool) { FILE: internal/channelz/channel.go type Channel (line 30) | type Channel struct method channelzIdentifier (line 53) | func (c *Channel) channelzIdentifier() {} method String (line 57) | func (c *Channel) String() string { method id (line 64) | func (c *Channel) id() int64 { method SubChans (line 70) | func (c *Channel) SubChans() map[int64]string { method NestedChans (line 78) | func (c *Channel) NestedChans() map[int64]string { method Trace (line 85) | func (c *Channel) Trace() *ChannelTrace { method addChild (line 171) | func (c *Channel) addChild(id int64, e entry) { method deleteChild (line 182) | func (c *Channel) deleteChild(id int64) { method triggerDelete (line 188) | func (c *Channel) triggerDelete() { method getParentID (line 193) | func (c *Channel) getParentID() int64 { method deleteSelfFromTree (line 207) | func (c *Channel) deleteSelfFromTree() (deleted bool) { method deleteSelfFromMap (line 230) | func (c *Channel) deleteSelfFromMap() (delete bool) { method deleteSelfIfReady (line 240) | func (c *Channel) deleteSelfIfReady() { method getChannelTrace (line 251) | func (c *Channel) getChannelTrace() *ChannelTrace { method incrTraceRefCount (line 255) | func (c *Channel) incrTraceRefCount() { method decrTraceRefCount (line 259) | func (c *Channel) decrTraceRefCount() { method getTraceRefCount (line 263) | func (c *Channel) getTraceRefCount() int { method getRefName (line 268) | func (c *Channel) getRefName() string { type ChannelMetrics (line 93) | type ChannelMetrics struct method CopyFrom (line 109) | func (c *ChannelMetrics) CopyFrom(o *ChannelMetrics) { method Equal (line 120) | func (c *ChannelMetrics) Equal(o any) bool { method String (line 152) | func (c *ChannelMetrics) String() string { function strFromPointer (line 143) | func strFromPointer(s *string) string { function NewChannelMetricForTesting (line 160) | func NewChannelMetricForTesting(state connectivity.State, target string,... FILE: internal/channelz/channelmap.go type entry (line 29) | type entry interface type channelMap (line 56) | type channelMap struct method addServer (line 75) | func (c *channelMap) addServer(id int64, s *Server) { method addChannel (line 82) | func (c *channelMap) addChannel(id int64, cn *Channel, isTopChannel bo... method addSubChannel (line 96) | func (c *channelMap) addSubChannel(id int64, sc *SubChannel, pid int64) { method addSocket (line 108) | func (c *channelMap) addSocket(s *Socket) { method removeEntry (line 124) | func (c *channelMap) removeEntry(id int64) { method decrTraceRefCount (line 140) | func (c *channelMap) decrTraceRefCount(id int64) { method findEntry (line 149) | func (c *channelMap) findEntry(id int64) entry { method deleteEntry (line 170) | func (c *channelMap) deleteEntry(id int64) entry { method traceEvent (line 191) | func (c *channelMap) traceEvent(id int64, desc *TraceEvent) { method getTopChannels (line 237) | func (c *channelMap) getTopChannels(id int64, maxResults int) ([]*Chan... method getServers (line 265) | func (c *channelMap) getServers(id int64, maxResults int) ([]*Server, ... method getServerSockets (line 291) | func (c *channelMap) getServerSockets(id int64, startID int64, maxResu... method getChannel (line 323) | func (c *channelMap) getChannel(id int64) *Channel { method getSubChannel (line 329) | func (c *channelMap) getSubChannel(id int64) *SubChannel { method getSocket (line 335) | func (c *channelMap) getSocket(id int64) *Socket { method getServer (line 341) | func (c *channelMap) getServer(id int64) *Server { function newChannelMap (line 65) | func newChannelMap() *channelMap { type tracedChannel (line 132) | type tracedChannel interface type int64Slice (line 223) | type int64Slice method Len (line 225) | func (s int64Slice) Len() int { return len(s) } method Swap (line 226) | func (s int64Slice) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 227) | func (s int64Slice) Less(i, j int) bool { return s[i] < s[j] } function copyMap (line 229) | func copyMap(m map[int64]string) map[int64]string { type dummyEntry (line 347) | type dummyEntry struct method String (line 353) | func (d *dummyEntry) String() string { method ID (line 357) | func (d *dummyEntry) ID() int64 { return d.idNotFound } method addChild (line 359) | func (d *dummyEntry) addChild(id int64, e entry) { method deleteChild (line 372) | func (d *dummyEntry) deleteChild(id int64) { method triggerDelete (line 378) | func (d *dummyEntry) triggerDelete() { method deleteSelfIfReady (line 382) | func (*dummyEntry) deleteSelfIfReady() { method getParentID (line 386) | func (*dummyEntry) getParentID() int64 { type Entity (line 391) | type Entity interface FILE: internal/channelz/funcs.go function TurnOn (line 43) | func TurnOn() { function init (line 47) | func init() { function IsOn (line 54) | func IsOn() bool { function GetTopChannels (line 65) | func GetTopChannels(id int64, maxResults int) ([]*Channel, bool) { function GetServers (line 75) | func GetServers(id int64, maxResults int) ([]*Server, bool) { function GetServerSockets (line 86) | func GetServerSockets(id int64, startID int64, maxResults int) ([]*Socke... function GetChannel (line 91) | func GetChannel(id int64) *Channel { function GetSubChannel (line 96) | func GetSubChannel(id int64) *SubChannel { function GetSocket (line 101) | func GetSocket(id int64) *Socket { function GetServer (line 106) | func GetServer(id int64) *Server { function RegisterChannel (line 117) | func RegisterChannel(parent *Channel, target string) *Channel { function RegisterSubChannel (line 146) | func RegisterSubChannel(parent *Channel, ref string) *SubChannel { function RegisterServer (line 168) | func RegisterServer(ref string) *Server { function RegisterSocket (line 190) | func RegisterSocket(skt *Socket) *Socket { function RemoveEntry (line 202) | func RemoveEntry(id int64) { type IDGenerator (line 210) | type IDGenerator struct method Reset (line 216) | func (i *IDGenerator) Reset() { method genID (line 220) | func (i *IDGenerator) genID() int64 { type Identifier (line 227) | type Identifier interface FILE: internal/channelz/logging.go function Info (line 30) | func Info(l grpclog.DepthLoggerV2, e Entity, args ...any) { function Infof (line 38) | func Infof(l grpclog.DepthLoggerV2, e Entity, format string, args ...any) { function Warning (line 46) | func Warning(l grpclog.DepthLoggerV2, e Entity, args ...any) { function Warningf (line 54) | func Warningf(l grpclog.DepthLoggerV2, e Entity, format string, args ...... function Error (line 62) | func Error(l grpclog.DepthLoggerV2, e Entity, args ...any) { function Errorf (line 70) | func Errorf(l grpclog.DepthLoggerV2, e Entity, format string, args ...an... FILE: internal/channelz/server.go type Server (line 27) | type Server struct method ListenSockets (line 72) | func (s *Server) ListenSockets() map[int64]string { method String (line 79) | func (s *Server) String() string { method id (line 83) | func (s *Server) id() int64 { method addChild (line 87) | func (s *Server) addChild(id int64, e entry) { method deleteChild (line 101) | func (s *Server) deleteChild(id int64) { method triggerDelete (line 107) | func (s *Server) triggerDelete() { method deleteSelfIfReady (line 112) | func (s *Server) deleteSelfIfReady() { method getParentID (line 119) | func (s *Server) getParentID() int64 { type ServerMetrics (line 41) | type ServerMetrics struct method CopyFrom (line 64) | func (sm *ServerMetrics) CopyFrom(o *ServerMetrics) { function NewServerMetricsForTesting (line 53) | func NewServerMetricsForTesting(started, succeeded, failed, timestamp in... FILE: internal/channelz/socket.go type SocketMetrics (line 31) | type SocketMetrics struct type EphemeralSocketMetrics (line 62) | type EphemeralSocketMetrics struct type SocketType (line 74) | type SocketType constant SocketTypeNormal (line 78) | SocketTypeNormal = "NormalSocket" constant SocketTypeListen (line 79) | SocketTypeListen = "ListenSocket" type Socket (line 85) | type Socket struct method String (line 110) | func (ls *Socket) String() string { method id (line 114) | func (ls *Socket) id() int64 { method addChild (line 118) | func (ls *Socket) addChild(id int64, e entry) { method deleteChild (line 122) | func (ls *Socket) deleteChild(id int64) { method triggerDelete (line 126) | func (ls *Socket) triggerDelete() { method deleteSelfIfReady (line 131) | func (ls *Socket) deleteSelfIfReady() { method getParentID (line 135) | func (ls *Socket) getParentID() int64 { FILE: internal/channelz/subchannel.go type SubChannel (line 27) | type SubChannel struct method String (line 42) | func (sc *SubChannel) String() string { method id (line 46) | func (sc *SubChannel) id() int64 { method Sockets (line 51) | func (sc *SubChannel) Sockets() map[int64]string { method Trace (line 58) | func (sc *SubChannel) Trace() *ChannelTrace { method addChild (line 64) | func (sc *SubChannel) addChild(id int64, e entry) { method deleteChild (line 72) | func (sc *SubChannel) deleteChild(id int64) { method triggerDelete (line 77) | func (sc *SubChannel) triggerDelete() { method getParentID (line 82) | func (sc *SubChannel) getParentID() int64 { method deleteSelfFromTree (line 93) | func (sc *SubChannel) deleteSelfFromTree() (deleted bool) { method deleteSelfFromMap (line 113) | func (sc *SubChannel) deleteSelfFromMap() (delete bool) { method deleteSelfIfReady (line 123) | func (sc *SubChannel) deleteSelfIfReady() { method getChannelTrace (line 134) | func (sc *SubChannel) getChannelTrace() *ChannelTrace { method incrTraceRefCount (line 138) | func (sc *SubChannel) incrTraceRefCount() { method decrTraceRefCount (line 142) | func (sc *SubChannel) decrTraceRefCount() { method getTraceRefCount (line 146) | func (sc *SubChannel) getTraceRefCount() int { method getRefName (line 151) | func (sc *SubChannel) getRefName() string { FILE: internal/channelz/syscall_linux.go type SocketOptionData (line 29) | type SocketOptionData struct method Getsockopt (line 38) | func (s *SocketOptionData) Getsockopt(fd uintptr) { function GetSocketOption (line 54) | func GetSocketOption(socket any) *SocketOptionData { FILE: internal/channelz/syscall_nonlinux.go type SocketOptionData (line 32) | type SocketOptionData struct method Getsockopt (line 38) | func (s *SocketOptionData) Getsockopt(uintptr) { function GetSocketOption (line 45) | func GetSocketOption(any) *SocketOptionData { FILE: internal/channelz/syscall_test.go type s (line 34) | type s struct method TestGetSocketOpt (line 42) | func (s) TestGetSocketOpt(t *testing.T) { function Test (line 38) | func Test(t *testing.T) { FILE: internal/channelz/trace.go constant defaultMaxTraceEntry (line 31) | defaultMaxTraceEntry int32 = 30 function SetMaxTraceEntry (line 38) | func SetMaxTraceEntry(i int32) { function ResetMaxTraceEntryToDefault (line 44) | func ResetMaxTraceEntryToDefault() { function getMaxTraceEntry (line 48) | func getMaxTraceEntry() int { type traceEvent (line 54) | type traceEvent struct type TraceEvent (line 76) | type TraceEvent struct type ChannelTrace (line 85) | type ChannelTrace struct method copy (line 99) | func (c *ChannelTrace) copy() *ChannelTrace { method append (line 107) | func (c *ChannelTrace) append(e *traceEvent) { method clear (line 128) | func (c *ChannelTrace) clear() { type Severity (line 146) | type Severity constant CtUnknown (line 150) | CtUnknown Severity = iota constant CtInfo (line 152) | CtInfo constant CtWarning (line 154) | CtWarning constant CtError (line 156) | CtError type RefChannelType (line 160) | type RefChannelType method String (line 187) | func (r RefChannelType) String() string { constant RefUnknown (line 164) | RefUnknown RefChannelType = iota constant RefChannel (line 166) | RefChannel constant RefSubChannel (line 168) | RefSubChannel constant RefServer (line 170) | RefServer constant RefListenSocket (line 172) | RefListenSocket constant RefNormalSocket (line 174) | RefNormalSocket function AddTraceEvent (line 195) | func AddTraceEvent(l grpclog.DepthLoggerV2, e Entity, depth int, desc *T... FILE: internal/credentials/credentials.go type clientHandshakeInfoKey (line 25) | type clientHandshakeInfoKey struct function ClientHandshakeInfoFromContext (line 28) | func ClientHandshakeInfoFromContext(ctx context.Context) any { function NewClientHandshakeInfoContext (line 33) | func NewClientHandshakeInfoContext(ctx context.Context, chi any) context... FILE: internal/credentials/spiffe.go function SPIFFEIDFromState (line 36) | func SPIFFEIDFromState(state tls.ConnectionState) *url.URL { function SPIFFEIDFromCert (line 45) | func SPIFFEIDFromCert(cert *x509.Certificate) *url.URL { FILE: internal/credentials/spiffe/spiffe.go type partialParsedSPIFFEBundleMap (line 33) | type partialParsedSPIFFEBundleMap struct function BundleMapFromBytes (line 43) | func BundleMapFromBytes(bundleMapBytes []byte) (map[string]*spiffebundle... function GetRootsFromSPIFFEBundleMap (line 68) | func GetRootsFromSPIFFEBundleMap(bundleMap map[string]*spiffebundle.Bund... function idFromCert (line 94) | func idFromCert(cert *x509.Certificate) (*spiffeid.ID, error) { FILE: internal/credentials/spiffe/spiffe_test.go constant wantURI (line 33) | wantURI = "spiffe://foo.bar.com/client/workload/1" function loadFileBytes (line 35) | func loadFileBytes(t *testing.T, filePath string) []byte { function TestKnownSPIFFEBundle (line 43) | func TestKnownSPIFFEBundle(t *testing.T) { function loadX509Cert (line 72) | func loadX509Cert(t *testing.T, filePath string) *x509.Certificate { function TestSPIFFEBundleMapFailures (line 87) | func TestSPIFFEBundleMapFailures(t *testing.T) { function TestSPIFFEBundleMapX509Failures (line 110) | func TestSPIFFEBundleMapX509Failures(t *testing.T) { function TestGetRootsFromSPIFFEBundleMapSuccess (line 125) | func TestGetRootsFromSPIFFEBundleMapSuccess(t *testing.T) { function TestGetRootsFromSPIFFEBundleMapFailures (line 146) | func TestGetRootsFromSPIFFEBundleMapFailures(t *testing.T) { function TestIDFromCert (line 202) | func TestIDFromCert(t *testing.T) { function TestIDFromCertFileFailures (line 213) | func TestIDFromCertFileFailures(t *testing.T) { FILE: internal/credentials/spiffe_test.go constant wantURI (line 33) | wantURI = "spiffe://foo.bar.com/client/workload/1" type s (line 35) | type s struct method TestSPIFFEIDFromState (line 43) | func (s) TestSPIFFEIDFromState(t *testing.T) { method TestSPIFFEIDFromCert (line 187) | func (s) TestSPIFFEIDFromCert(t *testing.T) { function Test (line 39) | func Test(t *testing.T) { FILE: internal/credentials/syscallconn.go type syscallConn (line 37) | type syscallConn struct function WrapSyscallConn (line 49) | func WrapSyscallConn(rawConn, newConn net.Conn) net.Conn { FILE: internal/credentials/syscallconn_test.go method SyscallConn (line 27) | func (*syscallConn) SyscallConn() (syscall.RawConn, error) { type nonSyscallConn (line 31) | type nonSyscallConn struct method TestWrapSyscallConn (line 35) | func (s) TestWrapSyscallConn(t *testing.T) { method TestWrapSyscallConnNoWrap (line 45) | func (s) TestWrapSyscallConnNoWrap(t *testing.T) { FILE: internal/credentials/util.go constant alpnProtoStrH2 (line 25) | alpnProtoStrH2 = "h2" function AppendH2ToNextProtos (line 28) | func AppendH2ToNextProtos(ps []string) []string { function CloneTLSConfig (line 46) | func CloneTLSConfig(cfg *tls.Config) *tls.Config { FILE: internal/credentials/util_test.go method TestAppendH2ToNextProtos (line 26) | func (s) TestAppendH2ToNextProtos(t *testing.T) { FILE: internal/credentials/xds/handshake_info.go function init (line 39) | func init() { type handshakeAttrKey (line 45) | type handshakeAttrKey struct function SetHandshakeInfo (line 71) | func SetHandshakeInfo(addr resolver.Address, hiPtr *atomic.Pointer[Hands... function HandshakeInfoFromAttributes (line 77) | func HandshakeInfoFromAttributes(attr *attributes.Attributes) *atomic.Po... type HandshakeInfo (line 86) | type HandshakeInfo struct method Equal (line 48) | func (hi *HandshakeInfo) Equal(other *HandshakeInfo) bool { method UseFallbackCreds (line 108) | func (hi *HandshakeInfo) UseFallbackCreds() bool { method GetSANMatchersForTesting (line 117) | func (hi *HandshakeInfo) GetSANMatchersForTesting() []matcher.StringMa... method ClientSideTLSConfig (line 123) | func (hi *HandshakeInfo) ClientSideTLSConfig(ctx context.Context) (*tl... method buildVerifyFunc (line 160) | func (hi *HandshakeInfo) buildVerifyFunc(km *certprovider.KeyMaterial,... method ServerSideTLSConfig (line 216) | func (hi *HandshakeInfo) ServerSideTLSConfig(ctx context.Context) (*tl... method MatchingSANExists (line 263) | func (hi *HandshakeInfo) MatchingSANExists(cert *x509.Certificate) bool { method matchSAN (line 293) | func (hi *HandshakeInfo) matchSAN(san string, isDNS bool) bool { function NewHandshakeInfo (line 97) | func NewHandshakeInfo(rootProvider certprovider.Provider, identityProvid... function dnsMatch (line 318) | func dnsMatch(host, san string) bool { FILE: internal/credentials/xds/handshake_info_test.go type testCertProvider (line 42) | type testCertProvider struct type testCertProviderWithKeyMaterial (line 46) | type testCertProviderWithKeyMaterial struct method KeyMaterial (line 410) | func (p *testCertProviderWithKeyMaterial) KeyMaterial(_ context.Contex... function TestDNSMatch (line 50) | func TestDNSMatch(t *testing.T) { function TestMatchingSANExists_FailureCases (line 147) | func TestMatchingSANExists_FailureCases(t *testing.T) { function TestMatchingSANExists_Success (line 222) | func TestMatchingSANExists_Success(t *testing.T) { function TestEqual (line 325) | func TestEqual(t *testing.T) { function TestBuildVerifyFuncFailures (line 447) | func TestBuildVerifyFuncFailures(t *testing.T) { function loadCert (line 484) | func loadCert(t *testing.T, certPath, keyPath string) [][]byte { FILE: internal/envconfig/envconfig.go function boolFromEnv (line 124) | func boolFromEnv(envVar string, def bool) bool { function uint64FromEnv (line 133) | func uint64FromEnv(envVar string, def, min, max uint64) uint64 { FILE: internal/envconfig/envconfig_test.go type s (line 28) | type s struct method TestUint64FromEnv (line 36) | func (s) TestUint64FromEnv(t *testing.T) { method TestBoolFromEnv (line 75) | func (s) TestBoolFromEnv(t *testing.T) { function Test (line 32) | func Test(t *testing.T) { FILE: internal/envconfig/observability.go constant envObservabilityConfig (line 24) | envObservabilityConfig = "GRPC_GCP_OBSERVABILITY_CONFIG" constant envObservabilityConfigFile (line 25) | envObservabilityConfigFile = "GRPC_GCP_OBSERVABILITY_CONFIG_FILE" FILE: internal/envconfig/xds.go constant XDSBootstrapFileNameEnv (line 31) | XDSBootstrapFileNameEnv = "GRPC_XDS_BOOTSTRAP" constant XDSBootstrapFileContentEnv (line 37) | XDSBootstrapFileContentEnv = "GRPC_XDS_BOOTSTRAP_CONFIG" FILE: internal/googlecloud/googlecloud.go constant logPrefix (line 31) | logPrefix = "[googlecloud]" function OnGCE (line 44) | func OnGCE() bool { function isRunningOnGCE (line 58) | func isRunningOnGCE(manufacturer []byte, goos string) bool { FILE: internal/googlecloud/googlecloud_test.go function TestIsRunningOnGCE (line 25) | func TestIsRunningOnGCE(t *testing.T) { FILE: internal/googlecloud/manufacturer.go function manufacturer (line 24) | func manufacturer() ([]byte, error) { FILE: internal/googlecloud/manufacturer_linux.go constant linuxProductNameFile (line 23) | linuxProductNameFile = "/sys/class/dmi/id/product_name" function manufacturer (line 25) | func manufacturer() ([]byte, error) { FILE: internal/googlecloud/manufacturer_windows.go constant windowsCheckCommand (line 29) | windowsCheckCommand = "powershell.exe" constant windowsCheckCommandArgs (line 30) | windowsCheckCommandArgs = "Get-WmiObject -Class Win32_BIOS" constant powershellOutputFilter (line 31) | powershellOutputFilter = "Manufacturer" constant windowsManufacturerRegex (line 32) | windowsManufacturerRegex = ":(.*)" function manufacturer (line 35) | func manufacturer() ([]byte, error) { FILE: internal/grpclog/prefix_logger.go type PrefixLogger (line 32) | type PrefixLogger struct method Infof (line 38) | func (pl *PrefixLogger) Infof(format string, args ...any) { method Warningf (line 49) | func (pl *PrefixLogger) Warningf(format string, args ...any) { method Errorf (line 59) | func (pl *PrefixLogger) Errorf(format string, args ...any) { method V (line 69) | func (pl *PrefixLogger) V(l int) bool { function NewPrefixLogger (line 77) | func NewPrefixLogger(logger grpclog.DepthLoggerV2, prefix string) *Prefi... FILE: internal/grpcsync/callback_serializer.go type CallbackSerializer (line 33) | type CallbackSerializer struct method TrySchedule (line 63) | func (cs *CallbackSerializer) TrySchedule(f func(ctx context.Context)) { method ScheduleOr (line 74) | func (cs *CallbackSerializer) ScheduleOr(f func(ctx context.Context), ... method run (line 80) | func (cs *CallbackSerializer) run(ctx context.Context) { method Done (line 96) | func (cs *CallbackSerializer) Done() <-chan struct{} { function NewCallbackSerializer (line 47) | func NewCallbackSerializer(ctx context.Context) *CallbackSerializer { FILE: internal/grpcsync/callback_serializer_test.go constant defaultTestTimeout (line 31) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 32) | defaultTestShortTimeout = 10 * time.Millisecond method TestCallbackSerializer_Schedule_FIFO (line 37) | func (s) TestCallbackSerializer_Schedule_FIFO(t *testing.T) { method TestCallbackSerializer_Schedule_Concurrent (line 105) | func (s) TestCallbackSerializer_Schedule_Concurrent(t *testing.T) { method TestCallbackSerializer_Schedule_Close (line 141) | func (s) TestCallbackSerializer_Schedule_Close(t *testing.T) { FILE: internal/grpcsync/event.go type Event (line 28) | type Event struct method Fire (line 37) | func (e *Event) Fire() bool { method Done (line 46) | func (e *Event) Done() <-chan struct{} { method HasFired (line 51) | func (e *Event) HasFired() bool { function NewEvent (line 56) | func NewEvent() *Event { FILE: internal/grpcsync/event_test.go type s (line 27) | type s struct method TestEventHasFired (line 35) | func (s) TestEventHasFired(t *testing.T) { method TestEventDoneChannel (line 48) | func (s) TestEventDoneChannel(t *testing.T) { method TestEventMultipleFires (line 65) | func (s) TestEventMultipleFires(t *testing.T) { function Test (line 31) | func Test(t *testing.T) { FILE: internal/grpcsync/pubsub.go type Subscriber (line 29) | type Subscriber interface type PubSub (line 46) | type PubSub struct method Subscribe (line 72) | func (ps *PubSub) Subscribe(sub Subscriber) (cancel func()) { method Publish (line 99) | func (ps *PubSub) Publish(msg any) { method Done (line 119) | func (ps *PubSub) Done() <-chan struct{} { function NewPubSub (line 57) | func NewPubSub(ctx context.Context) *PubSub { FILE: internal/grpcsync/pubsub_test.go type testSubscriber (line 28) | type testSubscriber struct method OnMessage (line 36) | func (ts *testSubscriber) OnMessage(msg any) { function newTestSubscriber (line 32) | func newTestSubscriber(chSize int) *testSubscriber { method TestPubSub_PublishNoMsg (line 43) | func (s) TestPubSub_PublishNoMsg(t *testing.T) { method TestPubSub_PublishMsgs_RegisterSubs_And_Stop (line 58) | func (s) TestPubSub_PublishMsgs_RegisterSubs_And_Stop(t *testing.T) { method TestPubSub_PublishMsgs_BeforeRegisterSub (line 172) | func (s) TestPubSub_PublishMsgs_BeforeRegisterSub(t *testing.T) { FILE: internal/grpctest/example_test.go type s (line 27) | type s struct method Setup (line 31) | func (s *s) Setup(t *testing.T) { method TestSomething (line 36) | func (s *s) TestSomething(t *testing.T) { method TestSomethingElse (line 44) | func (s *s) TestSomethingElse(t *testing.T) { method Teardown (line 52) | func (s *s) Teardown(t *testing.T) { function TestExample (line 59) | func TestExample(t *testing.T) { FILE: internal/grpctest/grpctest.go type logger (line 35) | type logger struct method Logf (line 39) | func (e logger) Logf(format string, args ...any) { method Errorf (line 43) | func (e logger) Errorf(format string, args ...any) { type Tester (line 52) | type Tester struct method Setup (line 55) | func (Tester) Setup(t *testing.T) { method Teardown (line 67) | func (Tester) Teardown(t *testing.T) { type Interface (line 87) | type Interface interface function getTestFunc (line 92) | func getTestFunc(t *testing.T, xv reflect.Value, name string) func(*test... function RunSubTests (line 114) | func RunSubTests(t *testing.T, x Interface) { FILE: internal/grpctest/grpctest_test.go type tRunST (line 26) | type tRunST struct method Setup (line 30) | func (t *tRunST) Setup(*testing.T) { method TestSubTest (line 33) | func (t *tRunST) TestSubTest(*testing.T) { method Teardown (line 36) | func (t *tRunST) Teardown(*testing.T) { function TestRunSubTests (line 40) | func TestRunSubTests(t *testing.T) { FILE: internal/grpctest/tlogger.go constant callingFrame (line 40) | callingFrame = 4 type logType (line 42) | type logType method String (line 44) | func (l logType) String() string { constant infoLog (line 59) | infoLog logType = iota constant warningLog (line 60) | warningLog constant errorLog (line 61) | errorLog constant fatalLog (line 62) | fatalLog type tLogger (line 65) | type tLogger struct method log (line 107) | func (tl *tLogger) log(ltype logType, depth int, format string, args .... method update (line 158) | func (tl *tLogger) update(t *testing.T) { method endTest (line 202) | func (tl *tLogger) endTest(t *testing.T) { method expected (line 221) | func (tl *tLogger) expected(s string, logType logType) bool { method Info (line 234) | func (tl *tLogger) Info(args ...any) { method Infoln (line 238) | func (tl *tLogger) Infoln(args ...any) { method Infof (line 242) | func (tl *tLogger) Infof(format string, args ...any) { method InfoDepth (line 246) | func (tl *tLogger) InfoDepth(depth int, args ...any) { method Warning (line 250) | func (tl *tLogger) Warning(args ...any) { method Warningln (line 254) | func (tl *tLogger) Warningln(args ...any) { method Warningf (line 258) | func (tl *tLogger) Warningf(format string, args ...any) { method WarningDepth (line 262) | func (tl *tLogger) WarningDepth(depth int, args ...any) { method Error (line 266) | func (tl *tLogger) Error(args ...any) { method Errorln (line 270) | func (tl *tLogger) Errorln(args ...any) { method Errorf (line 274) | func (tl *tLogger) Errorf(format string, args ...any) { method ErrorDepth (line 278) | func (tl *tLogger) ErrorDepth(depth int, args ...any) { method Fatal (line 282) | func (tl *tLogger) Fatal(args ...any) { method Fatalln (line 286) | func (tl *tLogger) Fatalln(args ...any) { method Fatalf (line 290) | func (tl *tLogger) Fatalf(format string, args ...any) { method FatalDepth (line 294) | func (tl *tLogger) FatalDepth(depth int, args ...any) { method V (line 298) | func (tl *tLogger) V(l int) bool { function init (line 75) | func init() { function getCallingPrefix (line 98) | func getCallingPrefix(depth int) (string, error) { function ExpectError (line 176) | func ExpectError(expr string) { function ExpectErrorN (line 181) | func ExpectErrorN(expr string, n int) { function ExpectWarning (line 186) | func ExpectWarning(expr string) { function expectLogsN (line 190) | func expectLogsN(expr string, n int, logType logType) { FILE: internal/grpctest/tlogger_test.go type s (line 27) | type s struct method TestInfo (line 35) | func (s) TestInfo(*testing.T) { method TestInfoln (line 39) | func (s) TestInfoln(*testing.T) { method TestInfof (line 43) | func (s) TestInfof(*testing.T) { method TestInfoDepth (line 47) | func (s) TestInfoDepth(*testing.T) { method TestWarning (line 51) | func (s) TestWarning(*testing.T) { method TestWarningln (line 55) | func (s) TestWarningln(*testing.T) { method TestWarningf (line 59) | func (s) TestWarningf(*testing.T) { method TestWarningDepth (line 63) | func (s) TestWarningDepth(*testing.T) { method TestError (line 67) | func (s) TestError(*testing.T) { function Test (line 31) | func Test(t *testing.T) { FILE: internal/grpcutil/compressor.go function IsCompressorNameRegistered (line 29) | func IsCompressorNameRegistered(name string) bool { function RegisteredCompressors (line 40) | func RegisteredCompressors() string { FILE: internal/grpcutil/compressor_test.go function TestRegisteredCompressors (line 25) | func TestRegisteredCompressors(t *testing.T) { FILE: internal/grpcutil/encode_duration.go constant maxTimeoutValue (line 26) | maxTimeoutValue int64 = 100000000 - 1 function div (line 30) | func div(d, r time.Duration) int64 { function EncodeDuration (line 41) | func EncodeDuration(t time.Duration) string { FILE: internal/grpcutil/encode_duration_test.go function TestEncodeDuration (line 26) | func TestEncodeDuration(t *testing.T) { FILE: internal/grpcutil/metadata.go type mdExtraKey (line 27) | type mdExtraKey struct function WithExtraMetadata (line 30) | func WithExtraMetadata(ctx context.Context, md metadata.MD) context.Cont... function ExtraMetadata (line 37) | func ExtraMetadata(ctx context.Context) (md metadata.MD, ok bool) { FILE: internal/grpcutil/method.go function ParseMethod (line 28) | func ParseMethod(methodName string) (service, method string, _ error) { constant baseContentType (line 46) | baseContentType = "application/grpc" function ContentSubtype (line 61) | func ContentSubtype(contentType string) (string, bool) { function ContentType (line 83) | func ContentType(contentSubtype string) string { FILE: internal/grpcutil/method_test.go function TestParseMethod (line 25) | func TestParseMethod(t *testing.T) { function TestContentSubtype (line 48) | func TestContentSubtype(t *testing.T) { FILE: internal/grpcutil/regex.go function FullMatchWithRegex (line 24) | func FullMatchWithRegex(re *regexp.Regexp, text string) bool { FILE: internal/grpcutil/regex_test.go function TestFullMatchWithRegex (line 26) | func TestFullMatchWithRegex(t *testing.T) { FILE: internal/hierarchy/hierarchy.go type pathKeyType (line 29) | type pathKeyType constant pathKey (line 31) | pathKey = pathKeyType("grpc.internal.address.hierarchical_path") type pathValue (line 33) | type pathValue method Equal (line 35) | func (p pathValue) Equal(o any) bool { function FromEndpoint (line 52) | func FromEndpoint(endpoint resolver.Endpoint) []string { function SetInEndpoint (line 58) | func SetInEndpoint(endpoint resolver.Endpoint, path []string) resolver.E... function Group (line 95) | func Group(endpoints []resolver.Endpoint) map[string][]resolver.Endpoint { FILE: internal/hierarchy/hierarchy_ext_test.go function TestFromEndpoint (line 30) | func TestFromEndpoint(t *testing.T) { function TestSetInEndpoint (line 56) | func TestSetInEndpoint(t *testing.T) { function TestGroup (line 84) | func TestGroup(t *testing.T) { function TestGroupE2E (line 136) | func TestGroupE2E(t *testing.T) { FILE: internal/idle/idle.go type ClientConn (line 37) | type ClientConn interface type Manager (line 44) | type Manager struct method resetIdleTimerLocked (line 85) | func (m *Manager) resetIdleTimerLocked(d time.Duration) { method resetIdleTimer (line 98) | func (m *Manager) resetIdleTimer(d time.Duration) { method handleIdleTimeout (line 107) | func (m *Manager) handleIdleTimeout() { method tryEnterIdleMode (line 150) | func (m *Manager) tryEnterIdleMode(checkActivity bool) bool { method EnterIdleModeForTesting (line 188) | func (m *Manager) EnterIdleModeForTesting() { method OnCallBegin (line 193) | func (m *Manager) OnCallBegin() { method ExitIdleMode (line 212) | func (m *Manager) ExitIdleMode() { method UnsafeSetNotIdle (line 250) | func (m *Manager) UnsafeSetNotIdle() { method OnCallEnd (line 260) | func (m *Manager) OnCallEnd() { method isClosed (line 275) | func (m *Manager) isClosed() bool { method Close (line 280) | func (m *Manager) Close() { function NewManager (line 74) | func NewManager(cc ClientConn, timeout time.Duration) *Manager { FILE: internal/idle/idle_e2e_test.go function init (line 48) | func init() { type s (line 52) | type s struct method TestChannelIdleness_Disabled_NoActivity (line 119) | func (s) TestChannelIdleness_Disabled_NoActivity(t *testing.T) { method TestChannelIdleness_Enabled_NoActivity (line 166) | func (s) TestChannelIdleness_Enabled_NoActivity(t *testing.T) { method TestChannelIdleness_Enabled_OngoingCall (line 225) | func (s) TestChannelIdleness_Enabled_OngoingCall(t *testing.T) { method TestChannelIdleness_Enabled_ActiveSinceLastCheck (line 344) | func (s) TestChannelIdleness_Enabled_ActiveSinceLastCheck(t *testing.T) { method TestChannelIdleness_Enabled_ExitIdleOnRPC (line 406) | func (s) TestChannelIdleness_Enabled_ExitIdleOnRPC(t *testing.T) { method TestChannelIdleness_Enabled_IdleTimeoutRacesWithRPCs (line 473) | func (s) TestChannelIdleness_Enabled_IdleTimeoutRacesWithRPCs(t *testi... method TestChannelIdleness_Connect (line 516) | func (s) TestChannelIdleness_Connect(t *testing.T) { function Test (line 56) | func Test(t *testing.T) { constant defaultTestTimeout (line 61) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 62) | defaultTestShortTimeout = 100 * time.Millisecond constant defaultTestShortIdleTimeout (line 63) | defaultTestShortIdleTimeout = 500 * time.Millisecond function channelzTraceEventFound (line 69) | func channelzTraceEventFound(ctx context.Context, wantDesc string) error { function registerWrappedRoundRobinPolicy (line 94) | func registerWrappedRoundRobinPolicy(t *testing.T) chan struct{} { FILE: internal/idle/idle_test.go constant defaultTestTimeout (line 33) | defaultTestTimeout = 10 * time.Second constant defaultTestIdleTimeout (line 34) | defaultTestIdleTimeout = 500 * time.Millisecond constant defaultTestShortTimeout (line 35) | defaultTestShortTimeout = 10 * time.Millisecond type s (line 38) | type s struct method TestManager_Disabled (line 92) | func (s) TestManager_Disabled(t *testing.T) { method TestManager_Enabled_TimerFires (line 131) | func (s) TestManager_Enabled_TimerFires(t *testing.T) { method TestManager_Enabled_OngoingCall (line 157) | func (s) TestManager_Enabled_OngoingCall(t *testing.T) { method TestManager_Enabled_ActiveSinceLastCheck (line 203) | func (s) TestManager_Enabled_ActiveSinceLastCheck(t *testing.T) { method TestManager_Enabled_ExitIdleOnRPC (line 255) | func (s) TestManager_Enabled_ExitIdleOnRPC(t *testing.T) { method TestManager_IdleTimeoutRacesWithOnCallBegin (line 343) | func (s) TestManager_IdleTimeoutRacesWithOnCallBegin(t *testing.T) { function Test (line 42) | func Test(t *testing.T) { type testEnforcer (line 46) | type testEnforcer struct method ExitIdleMode (line 51) | func (ti *testEnforcer) ExitIdleMode() { method EnterIdleMode (line 55) | func (ti *testEnforcer) EnterIdleMode() { function newTestEnforcer (line 59) | func newTestEnforcer() *testEnforcer { function overrideNewTimer (line 68) | func overrideNewTimer(t *testing.T) <-chan struct{} { type racyState (line 296) | type racyState constant stateInitial (line 299) | stateInitial racyState = iota constant stateEnteredIdle (line 300) | stateEnteredIdle constant stateExitedIdle (line 301) | stateExitedIdle constant stateActiveRPCs (line 302) | stateActiveRPCs type racyEnforcer (line 307) | type racyEnforcer struct method ExitIdleMode (line 315) | func (ri *racyEnforcer) ExitIdleMode() { method EnterIdleMode (line 332) | func (ri *racyEnforcer) EnterIdleMode() { FILE: internal/internal.go type HealthChecker (line 259) | type HealthChecker constant CredsBundleModeFallback (line 263) | CredsBundleModeFallback = "fallback" constant CredsBundleModeBalancer (line 266) | CredsBundleModeBalancer = "balancer" constant CredsBundleModeBackendFromBalancer (line 269) | CredsBundleModeBackendFromBalancer = "backend-from-balancer" constant RLSLoadBalancingPolicyName (line 276) | RLSLoadBalancingPolicyName = "rls_experimental" type EnforceSubConnEmbedding (line 280) | type EnforceSubConnEmbedding interface type EnforceClientConnEmbedding (line 286) | type EnforceClientConnEmbedding interface type Timer (line 292) | type Timer interface type EnforceMetricsRecorderEmbedding (line 298) | type EnforceMetricsRecorderEmbedding interface FILE: internal/leakcheck/leakcheck.go function init (line 51) | func init() { type swappableBufferPool (line 60) | type swappableBufferPool struct method Get (line 64) | func (b *swappableBufferPool) Get(length int) *[]byte { method Put (line 68) | func (b *swappableBufferPool) Put(buf *[]byte) { function SetTrackingBufferPool (line 76) | func SetTrackingBufferPool(logger Logger) { function CheckTrackingBufferPool (line 88) | func CheckTrackingBufferPool() { type trackingBufferPool (line 142) | type trackingBufferPool struct method Get (line 151) | func (p *trackingBufferPool) Get(length int) *[]byte { method Put (line 160) | func (p *trackingBufferPool) Put(buf *[]byte) { function RegisterIgnoreGoroutine (line 197) | func RegisterIgnoreGoroutine(s string) { function ignore (line 201) | func ignore(g string) bool { function interestingGoroutines (line 226) | func interestingGoroutines() (gs []string) { type Logger (line 240) | type Logger interface function CheckGoroutines (line 248) | func CheckGoroutines(ctx context.Context, logger Logger) { type LeakChecker (line 265) | type LeakChecker struct function NewLeakChecker (line 277) | func NewLeakChecker(logger Logger) *LeakChecker { type timerFactory (line 282) | type timerFactory struct method timeAfterFunc (line 287) | func (tf *timerFactory) timeAfterFunc(d time.Duration, f func()) inter... method remove (line 303) | func (tf *timerFactory) remove(timer internal.Timer) { method pendingTimers (line 309) | func (tf *timerFactory) pendingTimers() []string { type trackingTimer (line 319) | type trackingTimer struct method Stop (line 324) | func (t *trackingTimer) Stop() bool { function TrackTimers (line 333) | func TrackTimers() { function CheckTimers (line 343) | func CheckTimers(ctx context.Context, logger Logger) { function currentStack (line 365) | func currentStack(skip int) []uintptr { function traceToString (line 380) | func traceToString(stack []uintptr) string { type reporterTracker (line 402) | type reporterTracker struct method register (line 414) | func (rt *reporterTracker) register() *int { method unregister (line 425) | func (rt *reporterTracker) unregister(id *int) { method leakedStackTraces (line 433) | func (rt *reporterTracker) leakedStackTraces() []string { function newReporterTracker (line 407) | func newReporterTracker() *reporterTracker { function TrackAsyncReporters (line 446) | func TrackAsyncReporters() { function CheckAsyncReporters (line 467) | func CheckAsyncReporters(logger Logger) { FILE: internal/leakcheck/leakcheck_enabled.go function init (line 23) | func init() { FILE: internal/leakcheck/leakcheck_test.go type testLogger (line 32) | type testLogger struct method Logf (line 37) | func (e *testLogger) Logf(string, ...any) { method Errorf (line 40) | func (e *testLogger) Errorf(format string, args ...any) { function TestCheck (line 45) | func TestCheck(t *testing.T) { function ignoredTestingLeak (line 67) | func ignoredTestingLeak(d time.Duration) { function TestCheckRegisterIgnore (line 71) | func TestCheckRegisterIgnore(t *testing.T) { function TestTrackTimers (line 97) | func TestTrackTimers(t *testing.T) { function TestLeakChecker_DetectsLeak (line 136) | func TestLeakChecker_DetectsLeak(t *testing.T) { function TestLeakChecker_PassesOnCleanup (line 160) | func TestLeakChecker_PassesOnCleanup(t *testing.T) { FILE: internal/mem/buffer_pool.go constant goPageSize (line 32) | goPageSize = 4 * 1024 type bufferPool (line 39) | type bufferPool interface type BinaryTieredBufferPool (line 52) | type BinaryTieredBufferPool struct method Get (line 142) | func (b *BinaryTieredBufferPool) Get(size int) *[]byte { method poolForGet (line 146) | func (b *BinaryTieredBufferPool) poolForGet(size int) bufferPool { method Put (line 164) | func (b *BinaryTieredBufferPool) Put(buf *[]byte) { method poolForPut (line 171) | func (b *BinaryTieredBufferPool) poolForPut(bCap int) bufferPool { function NewBinaryTieredBufferPool (line 73) | func NewBinaryTieredBufferPool(powerOfTwoExponents ...uint8) (*BinaryTie... function NewDirtyBinaryTieredBufferPool (line 82) | func NewDirtyBinaryTieredBufferPool(powerOfTwoExponents ...uint8) (*Bina... function newBinaryTiered (line 88) | func newBinaryTiered(sizedPoolFactory func(int) bufferPool, fallbackPool... type NopBufferPool (line 200) | type NopBufferPool struct method Get (line 203) | func (NopBufferPool) Get(length int) *[]byte { method Put (line 209) | func (NopBufferPool) Put(*[]byte) { type sizedBufferPool (line 220) | type sizedBufferPool struct method Get (line 226) | func (p *sizedBufferPool) Get(size int) *[]byte { method Put (line 240) | func (p *sizedBufferPool) Put(buf *[]byte) { function newSizedBufferPool (line 250) | func newSizedBufferPool(size int, zero bool) *sizedBufferPool { type TieredBufferPool (line 259) | type TieredBufferPool struct method Get (line 279) | func (p *TieredBufferPool) Get(size int) *[]byte { method Put (line 284) | func (p *TieredBufferPool) Put(buf *[]byte) { method getPool (line 288) | func (p *TieredBufferPool) getPool(size int) bufferPool { function NewTieredBufferPool (line 266) | func NewTieredBufferPool(poolSizes ...int) *TieredBufferPool { type simpleBufferPool (line 304) | type simpleBufferPool struct method Get (line 309) | func (p *simpleBufferPool) Get(size int) *[]byte { method Put (line 336) | func (p *simpleBufferPool) Put(buf *[]byte) { FILE: internal/mem/buffer_pool_ext_test.go type s (line 29) | type s struct method TestBufferPool_Clears (line 37) | func (s) TestBufferPool_Clears(t *testing.T) { function Test (line 33) | func Test(t *testing.T) { FILE: internal/mem/buffer_pool_test.go function TestNewBinaryTieredBufferPool_WordSize (line 31) | func TestNewBinaryTieredBufferPool_WordSize(t *testing.T) { function BenchmarkTieredPool (line 90) | func BenchmarkTieredPool(b *testing.B) { function TestNewBinaryTieredBufferPool_Duplicates (line 121) | func TestNewBinaryTieredBufferPool_Duplicates(t *testing.T) { FILE: internal/metadata/metadata.go type mdKeyType (line 32) | type mdKeyType constant mdKey (line 34) | mdKey = mdKeyType("grpc.internal.address.metadata") type mdValue (line 36) | type mdValue method Equal (line 38) | func (m mdValue) Equal(o any) bool { function Get (line 61) | func Get(addr resolver.Address) metadata.MD { function Set (line 74) | func Set(addr resolver.Address, md metadata.MD) resolver.Address { function Validate (line 80) | func Validate(md metadata.MD) error { function hasNotPrintable (line 90) | func hasNotPrintable(msg string) bool { function ValidateKey (line 104) | func ValidateKey(key string) error { function ValidatePair (line 130) | func ValidatePair(key string, vals ...string) error { FILE: internal/metadata/metadata_test.go function TestGet (line 32) | func TestGet(t *testing.T) { function TestSet (line 60) | func TestSet(t *testing.T) { function TestValidate (line 90) | func TestValidate(t *testing.T) { FILE: internal/pretty/pretty.go constant jsonIndent (line 31) | jsonIndent = " " function ToJSON (line 36) | func ToJSON(e any) string { function FormatJSON (line 66) | func FormatJSON(b []byte) string { FILE: internal/profiling/buffer/buffer.go type queue (line 32) | type queue struct method drainWait (line 61) | func (q *queue) drainWait() { function newQueue (line 52) | func newQueue(size uint32) *queue { type queuePair (line 70) | type queuePair struct method switchQueues (line 88) | func (qp *queuePair) switchQueues() *queue { function newQueuePair (line 77) | func newQueuePair(size uint32) *queuePair { function floorCPUCount (line 108) | func floorCPUCount() uint32 { type CircularBuffer (line 129) | type CircularBuffer struct method Push (line 173) | func (cb *CircularBuffer) Push(x any) { method Drain (line 238) | func (cb *CircularBuffer) Drain() []any { function NewCircularBuffer (line 144) | func NewCircularBuffer(size uint32) (*CircularBuffer, error) { function dereferenceAppend (line 224) | func dereferenceAppend(result []any, arr []unsafe.Pointer, from, to uint... FILE: internal/profiling/buffer/buffer_test.go type s (line 30) | type s struct method TestCircularBufferSerial (line 38) | func (s) TestCircularBufferSerial(t *testing.T) { method TestCircularBufferOverflow (line 79) | func (s) TestCircularBufferOverflow(t *testing.T) { method TestCircularBufferConcurrent (line 106) | func (s) TestCircularBufferConcurrent(t *testing.T) { function Test (line 34) | func Test(t *testing.T) { function BenchmarkCircularBuffer (line 161) | func BenchmarkCircularBuffer(b *testing.B) { FILE: internal/profiling/goid_modified.go function goid (line 80) | func goid() int64 { FILE: internal/profiling/goid_regular.go function goid (line 28) | func goid() int64 { FILE: internal/profiling/profiling.go function IsEnabled (line 49) | func IsEnabled() bool { function Enable (line 62) | func Enable(enabled bool) { type Timer (line 72) | type Timer struct method Egress (line 105) | func (timer *Timer) Egress() { function NewTimer (line 96) | func NewTimer(tags string) *Timer { type Stat (line 123) | type Stat struct method NewTimer (line 157) | func (stat *Stat) NewTimer(tags string) *Timer { method AppendTimer (line 177) | func (stat *Stat) AppendTimer(timer *Timer) { constant defaultStatAllocatedTimers (line 142) | defaultStatAllocatedTimers int32 = 128 function NewStat (line 145) | func NewStat(tags string) *Stat { constant defaultStreamStatsSize (line 194) | defaultStreamStatsSize uint32 = 16 << 10 function InitStats (line 207) | func InitStats(streamStatsSize uint32) error { FILE: internal/profiling/profiling_test.go type s (line 32) | type s struct method TestProfiling (line 40) | func (s) TestProfiling(t *testing.T) { method TestProfilingRace (line 94) | func (s) TestProfilingRace(t *testing.T) { function Test (line 36) | func Test(t *testing.T) { function BenchmarkProfiling (line 136) | func BenchmarkProfiling(b *testing.B) { FILE: internal/proto/grpc_lookup_v1/rls.pb.go constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RouteLookupRequest_Reason (line 40) | type RouteLookupRequest_Reason method Enum (line 62) | func (x RouteLookupRequest_Reason) Enum() *RouteLookupRequest_Reason { method String (line 68) | func (x RouteLookupRequest_Reason) String() string { method Descriptor (line 72) | func (RouteLookupRequest_Reason) Descriptor() protoreflect.EnumDescrip... method Type (line 76) | func (RouteLookupRequest_Reason) Type() protoreflect.EnumType { method Number (line 80) | func (x RouteLookupRequest_Reason) Number() protoreflect.EnumNumber { method EnumDescriptor (line 85) | func (RouteLookupRequest_Reason) EnumDescriptor() ([]byte, []int) { constant RouteLookupRequest_REASON_UNKNOWN (line 43) | RouteLookupRequest_REASON_UNKNOWN RouteLookupRequest_Reason = 0 constant RouteLookupRequest_REASON_MISS (line 44) | RouteLookupRequest_REASON_MISS RouteLookupRequest_Reason = 1 constant RouteLookupRequest_REASON_STALE (line 45) | RouteLookupRequest_REASON_STALE RouteLookupRequest_Reason = 2 type RouteLookupRequest (line 89) | type RouteLookupRequest struct method Reset (line 106) | func (x *RouteLookupRequest) Reset() { method String (line 113) | func (x *RouteLookupRequest) String() string { method ProtoMessage (line 117) | func (*RouteLookupRequest) ProtoMessage() {} method ProtoReflect (line 119) | func (x *RouteLookupRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 132) | func (*RouteLookupRequest) Descriptor() ([]byte, []int) { method GetTargetType (line 136) | func (x *RouteLookupRequest) GetTargetType() string { method GetReason (line 143) | func (x *RouteLookupRequest) GetReason() RouteLookupRequest_Reason { method GetStaleHeaderData (line 150) | func (x *RouteLookupRequest) GetStaleHeaderData() string { method GetKeyMap (line 157) | func (x *RouteLookupRequest) GetKeyMap() map[string]string { method GetExtensions (line 164) | func (x *RouteLookupRequest) GetExtensions() []*anypb.Any { type RouteLookupResponse (line 171) | type RouteLookupResponse struct method Reset (line 187) | func (x *RouteLookupResponse) Reset() { method String (line 194) | func (x *RouteLookupResponse) String() string { method ProtoMessage (line 198) | func (*RouteLookupResponse) ProtoMessage() {} method ProtoReflect (line 200) | func (x *RouteLookupResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 213) | func (*RouteLookupResponse) Descriptor() ([]byte, []int) { method GetTargets (line 217) | func (x *RouteLookupResponse) GetTargets() []string { method GetHeaderData (line 224) | func (x *RouteLookupResponse) GetHeaderData() string { method GetExtensions (line 231) | func (x *RouteLookupResponse) GetExtensions() []*anypb.Any { constant file_grpc_lookup_v1_rls_proto_rawDesc (line 240) | file_grpc_lookup_v1_rls_proto_rawDesc = "" + function file_grpc_lookup_v1_rls_proto_rawDescGZIP (line 275) | func file_grpc_lookup_v1_rls_proto_rawDescGZIP() []byte { function init (line 305) | func init() { file_grpc_lookup_v1_rls_proto_init() } function file_grpc_lookup_v1_rls_proto_init (line 306) | func file_grpc_lookup_v1_rls_proto_init() { FILE: internal/proto/grpc_lookup_v1/rls_config.pb.go constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type NameMatcher (line 43) | type NameMatcher struct method Reset (line 60) | func (x *NameMatcher) Reset() { method String (line 67) | func (x *NameMatcher) String() string { method ProtoMessage (line 71) | func (*NameMatcher) ProtoMessage() {} method ProtoReflect (line 73) | func (x *NameMatcher) ProtoReflect() protoreflect.Message { method Descriptor (line 86) | func (*NameMatcher) Descriptor() ([]byte, []int) { method GetKey (line 90) | func (x *NameMatcher) GetKey() string { method GetNames (line 97) | func (x *NameMatcher) GetNames() []string { method GetRequiredMatch (line 104) | func (x *NameMatcher) GetRequiredMatch() bool { type GrpcKeyBuilder (line 112) | type GrpcKeyBuilder struct method Reset (line 129) | func (x *GrpcKeyBuilder) Reset() { method String (line 136) | func (x *GrpcKeyBuilder) String() string { method ProtoMessage (line 140) | func (*GrpcKeyBuilder) ProtoMessage() {} method ProtoReflect (line 142) | func (x *GrpcKeyBuilder) ProtoReflect() protoreflect.Message { method Descriptor (line 155) | func (*GrpcKeyBuilder) Descriptor() ([]byte, []int) { method GetNames (line 159) | func (x *GrpcKeyBuilder) GetNames() []*GrpcKeyBuilder_Name { method GetExtraKeys (line 166) | func (x *GrpcKeyBuilder) GetExtraKeys() *GrpcKeyBuilder_ExtraKeys { method GetHeaders (line 173) | func (x *GrpcKeyBuilder) GetHeaders() []*NameMatcher { method GetConstantKeys (line 180) | func (x *GrpcKeyBuilder) GetConstantKeys() map[string]string { type HttpKeyBuilder (line 205) | type HttpKeyBuilder struct method Reset (line 272) | func (x *HttpKeyBuilder) Reset() { method String (line 279) | func (x *HttpKeyBuilder) String() string { method ProtoMessage (line 283) | func (*HttpKeyBuilder) ProtoMessage() {} method ProtoReflect (line 285) | func (x *HttpKeyBuilder) ProtoReflect() protoreflect.Message { method Descriptor (line 298) | func (*HttpKeyBuilder) Descriptor() ([]byte, []int) { method GetHostPatterns (line 302) | func (x *HttpKeyBuilder) GetHostPatterns() []string { method GetPathPatterns (line 309) | func (x *HttpKeyBuilder) GetPathPatterns() []string { method GetQueryParameters (line 316) | func (x *HttpKeyBuilder) GetQueryParameters() []*NameMatcher { method GetHeaders (line 323) | func (x *HttpKeyBuilder) GetHeaders() []*NameMatcher { method GetConstantKeys (line 330) | func (x *HttpKeyBuilder) GetConstantKeys() map[string]string { method GetMethod (line 337) | func (x *HttpKeyBuilder) GetMethod() string { type RouteLookupConfig (line 344) | type RouteLookupConfig struct method Reset (line 394) | func (x *RouteLookupConfig) Reset() { method String (line 401) | func (x *RouteLookupConfig) String() string { method ProtoMessage (line 405) | func (*RouteLookupConfig) ProtoMessage() {} method ProtoReflect (line 407) | func (x *RouteLookupConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 420) | func (*RouteLookupConfig) Descriptor() ([]byte, []int) { method GetHttpKeybuilders (line 424) | func (x *RouteLookupConfig) GetHttpKeybuilders() []*HttpKeyBuilder { method GetGrpcKeybuilders (line 431) | func (x *RouteLookupConfig) GetGrpcKeybuilders() []*GrpcKeyBuilder { method GetLookupService (line 438) | func (x *RouteLookupConfig) GetLookupService() string { method GetLookupServiceTimeout (line 445) | func (x *RouteLookupConfig) GetLookupServiceTimeout() *durationpb.Dura... method GetMaxAge (line 452) | func (x *RouteLookupConfig) GetMaxAge() *durationpb.Duration { method GetStaleAge (line 459) | func (x *RouteLookupConfig) GetStaleAge() *durationpb.Duration { method GetCacheSizeBytes (line 466) | func (x *RouteLookupConfig) GetCacheSizeBytes() int64 { method GetValidTargets (line 473) | func (x *RouteLookupConfig) GetValidTargets() []string { method GetDefaultTarget (line 480) | func (x *RouteLookupConfig) GetDefaultTarget() string { type RouteLookupClusterSpecifier (line 489) | type RouteLookupClusterSpecifier struct method Reset (line 497) | func (x *RouteLookupClusterSpecifier) Reset() { method String (line 504) | func (x *RouteLookupClusterSpecifier) String() string { method ProtoMessage (line 508) | func (*RouteLookupClusterSpecifier) ProtoMessage() {} method ProtoReflect (line 510) | func (x *RouteLookupClusterSpecifier) ProtoReflect() protoreflect.Mess... method Descriptor (line 523) | func (*RouteLookupClusterSpecifier) Descriptor() ([]byte, []int) { method GetRouteLookupConfig (line 527) | func (x *RouteLookupClusterSpecifier) GetRouteLookupConfig() *RouteLoo... type GrpcKeyBuilder_Name (line 538) | type GrpcKeyBuilder_Name struct method Reset (line 546) | func (x *GrpcKeyBuilder_Name) Reset() { method String (line 553) | func (x *GrpcKeyBuilder_Name) String() string { method ProtoMessage (line 557) | func (*GrpcKeyBuilder_Name) ProtoMessage() {} method ProtoReflect (line 559) | func (x *GrpcKeyBuilder_Name) ProtoReflect() protoreflect.Message { method Descriptor (line 572) | func (*GrpcKeyBuilder_Name) Descriptor() ([]byte, []int) { method GetService (line 576) | func (x *GrpcKeyBuilder_Name) GetService() string { method GetMethod (line 583) | func (x *GrpcKeyBuilder_Name) GetMethod() string { type GrpcKeyBuilder_ExtraKeys (line 596) | type GrpcKeyBuilder_ExtraKeys struct method Reset (line 605) | func (x *GrpcKeyBuilder_ExtraKeys) Reset() { method String (line 612) | func (x *GrpcKeyBuilder_ExtraKeys) String() string { method ProtoMessage (line 616) | func (*GrpcKeyBuilder_ExtraKeys) ProtoMessage() {} method ProtoReflect (line 618) | func (x *GrpcKeyBuilder_ExtraKeys) ProtoReflect() protoreflect.Message { method Descriptor (line 631) | func (*GrpcKeyBuilder_ExtraKeys) Descriptor() ([]byte, []int) { method GetHost (line 635) | func (x *GrpcKeyBuilder_ExtraKeys) GetHost() string { method GetService (line 642) | func (x *GrpcKeyBuilder_ExtraKeys) GetService() string { method GetMethod (line 649) | func (x *GrpcKeyBuilder_ExtraKeys) GetMethod() string { constant file_grpc_lookup_v1_rls_config_proto_rawDesc (line 658) | file_grpc_lookup_v1_rls_config_proto_rawDesc = "" + function file_grpc_lookup_v1_rls_config_proto_rawDescGZIP (line 711) | func file_grpc_lookup_v1_rls_config_proto_rawDescGZIP() []byte { function init (line 752) | func init() { file_grpc_lookup_v1_rls_config_proto_init() } function file_grpc_lookup_v1_rls_config_proto_init (line 753) | func file_grpc_lookup_v1_rls_config_proto_init() { FILE: internal/proto/grpc_lookup_v1/rls_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant RouteLookupService_RouteLookup_FullMethodName (line 36) | RouteLookupService_RouteLookup_FullMethodName = "/grpc.lookup.v1.RouteLo... type RouteLookupServiceClient (line 42) | type RouteLookupServiceClient interface type routeLookupServiceClient (line 47) | type routeLookupServiceClient struct method RouteLookup (line 55) | func (c *routeLookupServiceClient) RouteLookup(ctx context.Context, in... function NewRouteLookupServiceClient (line 51) | func NewRouteLookupServiceClient(cc grpc.ClientConnInterface) RouteLooku... type RouteLookupServiceServer (line 68) | type RouteLookupServiceServer interface type UnimplementedRouteLookupServiceServer (line 79) | type UnimplementedRouteLookupServiceServer struct method RouteLookup (line 81) | func (UnimplementedRouteLookupServiceServer) RouteLookup(context.Conte... method mustEmbedUnimplementedRouteLookupServiceServer (line 84) | func (UnimplementedRouteLookupServiceServer) mustEmbedUnimplementedRou... method testEmbeddedByValue (line 85) | func (UnimplementedRouteLookupServiceServer) testEmbeddedByValue() ... type UnsafeRouteLookupServiceServer (line 90) | type UnsafeRouteLookupServiceServer interface function RegisterRouteLookupServiceServer (line 94) | func RegisterRouteLookupServiceServer(s grpc.ServiceRegistrar, srv Route... function _RouteLookupService_RouteLookup_Handler (line 105) | func _RouteLookupService_RouteLookup_Handler(srv interface{}, ctx contex... FILE: internal/proxyattributes/proxyattributes.go type keyType (line 29) | type keyType constant proxyOptionsKey (line 31) | proxyOptionsKey = keyType("grpc.resolver.delegatingresolver.proxyOptions") type Options (line 35) | type Options struct function Set (line 41) | func Set(addr resolver.Address, opts Options) resolver.Address { function Get (line 49) | func Get(addr resolver.Address) (Options, bool) { FILE: internal/proxyattributes/proxyattributes_test.go type s (line 30) | type s struct method TestGet (line 39) | func (s) TestGet(t *testing.T) { method TestSet (line 97) | func (s) TestSet(t *testing.T) { function Test (line 34) | func Test(t *testing.T) { FILE: internal/resolver/config_selector.go type ConfigSelector (line 32) | type ConfigSelector interface type RPCInfo (line 40) | type RPCInfo struct type RPCConfig (line 49) | type RPCConfig struct type ClientStream (line 60) | type ClientStream interface type ClientInterceptor (line 108) | type ClientInterceptor interface type ServerInterceptor (line 124) | type ServerInterceptor interface type csKeyType (line 134) | type csKeyType constant csKey (line 136) | csKey = csKeyType("grpc.internal.resolver.configSelector") function SetConfigSelector (line 140) | func SetConfigSelector(state resolver.State, cs ConfigSelector) resolver... function GetConfigSelector (line 147) | func GetConfigSelector(state resolver.State) ConfigSelector { type SafeConfigSelector (line 155) | type SafeConfigSelector struct method UpdateConfigSelector (line 162) | func (scs *SafeConfigSelector) UpdateConfigSelector(cs ConfigSelector) { method SelectConfig (line 169) | func (scs *SafeConfigSelector) SelectConfig(r RPCInfo) (*RPCConfig, er... FILE: internal/resolver/config_selector_test.go type s (line 30) | type s struct method TestSafeConfigSelector (line 46) | func (s) TestSafeConfigSelector(t *testing.T) { function Test (line 34) | func Test(t *testing.T) { type fakeConfigSelector (line 38) | type fakeConfigSelector struct method SelectConfig (line 42) | func (f *fakeConfigSelector) SelectConfig(r RPCInfo) (*RPCConfig, erro... FILE: internal/resolver/delegatingresolver/delegatingresolver.go constant defaultPort (line 45) | defaultPort = "443" type delegatingResolver (line 52) | type delegatingResolver struct method proxyURIResolver (line 166) | func (r *delegatingResolver) proxyURIResolver(opts resolver.BuildOptio... method ResolveNow (line 184) | func (r *delegatingResolver) ResolveNow(o resolver.ResolveNowOptions) { method Close (line 191) | func (r *delegatingResolver) Close() { method updateClientConnStateLocked (line 286) | func (r *delegatingResolver) updateClientConnStateLocked() error { method updateProxyResolverState (line 355) | func (r *delegatingResolver) updateProxyResolverState(state resolver.S... method updateTargetResolverState (line 399) | func (r *delegatingResolver) updateTargetResolverState(state resolver.... type nopResolver (line 72) | type nopResolver struct method ResolveNow (line 74) | func (nopResolver) ResolveNow(resolver.ResolveNowOptions) {} method Close (line 76) | func (nopResolver) Close() {} function proxyURLForTarget (line 86) | func proxyURLForTarget(address string) (*url.URL, error) { function New (line 106) | func New(target resolver.Target, cc resolver.ClientConn, opts resolver.B... function needsProxyResolver (line 201) | func needsProxyResolver(state *resolver.State) bool { function parseTarget (line 229) | func parseTarget(target string) (string, error) { function skipProxy (line 255) | func skipProxy(address resolver.Address) bool { type wrappingClientConn (line 449) | type wrappingClientConn struct method UpdateState (line 457) | func (wcc *wrappingClientConn) UpdateState(state resolver.State) error { method ReportError (line 463) | func (wcc *wrappingClientConn) ReportError(err error) { method NewAddress (line 469) | func (wcc *wrappingClientConn) NewAddress(addrs []resolver.Address) { method ParseServiceConfig (line 475) | func (wcc *wrappingClientConn) ParseServiceConfig(serviceConfigJSON st... FILE: internal/resolver/delegatingresolver/delegatingresolver_ext_test.go type s (line 44) | type s struct method TestDelegatingResolverNoProxyEnvVarsSet (line 77) | func (s) TestDelegatingResolverNoProxyEnvVarsSet(t *testing.T) { method TestDelegatingResolverwithDNSAndProxyWithTargetResolution (line 186) | func (s) TestDelegatingResolverwithDNSAndProxyWithTargetResolution(t *... method TestDelegatingResolverwithDNSAndProxyWithNoTargetResolutionHappyPaths (line 255) | func (s) TestDelegatingResolverwithDNSAndProxyWithNoTargetResolutionHa... method TestDelegatingResolverwithUnresolvedErrorTargetWithProxy (line 332) | func (s) TestDelegatingResolverwithUnresolvedErrorTargetWithProxy(t *t... method TestDelegatingResolverwithCustomResolverAndProxy (line 382) | func (s) TestDelegatingResolverwithCustomResolverAndProxy(t *testing.T) { method TestDelegatingResolverForEndpointsWithProxy (line 452) | func (s) TestDelegatingResolverForEndpointsWithProxy(t *testing.T) { method TestDelegatingResolverForMultipleProxyAddress (line 547) | func (s) TestDelegatingResolverForMultipleProxyAddress(t *testing.T) { method TestDelegatingResolverUpdateStateDuringClose (line 620) | func (s) TestDelegatingResolverUpdateStateDuringClose(t *testing.T) { method TestDelegatingResolverUpdateStateFromResolveNow (line 707) | func (s) TestDelegatingResolverUpdateStateFromResolveNow(t *testing.T) { method TestDelegatingResolverResolveNow (line 761) | func (s) TestDelegatingResolverResolveNow(t *testing.T) { method TestDelegatingResolverForNonTCPTarget (line 829) | func (s) TestDelegatingResolverForNonTCPTarget(t *testing.T) { method TestDelegatingResolverForMixNetworkType (line 889) | func (s) TestDelegatingResolverForMixNetworkType(t *testing.T) { method TestDelegatingResolverWithNoProxyEnvUsed (line 953) | func (s) TestDelegatingResolverWithNoProxyEnvUsed(t *testing.T) { function Test (line 48) | func Test(t *testing.T) { constant defaultTestTimeout (line 53) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 54) | defaultTestShortTimeout = 10 * time.Millisecond function createTestResolverClientConn (line 59) | func createTestResolverClientConn(t *testing.T) (*testutils.ResolverClie... function setupDNS (line 136) | func setupDNS(t *testing.T) (*manual.Resolver, chan struct{}) { function mustBuildResolver (line 152) | func mustBuildResolver(ctx context.Context, t *testing.T, buildCh chan s... function proxyAddressWithTargetAttribute (line 163) | func proxyAddressWithTargetAttribute(proxyAddr string, targetAddr string... function overrideTestHTTPSProxy (line 169) | func overrideTestHTTPSProxy(t *testing.T, proxyAddr string) { FILE: internal/resolver/delegatingresolver/delegatingresolver_test.go type s (line 31) | type s struct method TestproxyURLForTargetEnv (line 52) | func (s) TestproxyURLForTargetEnv(t *testing.T) { function Test (line 35) | func Test(t *testing.T) { constant targetTestAddr (line 39) | targetTestAddr = "test.com" function overrideHTTPSProxyFromEnvironment (line 43) | func overrideHTTPSProxyFromEnvironment(hpfe func(req *http.Request) (*ur... FILE: internal/resolver/dns/dns_resolver.go function init (line 64) | func init() { constant defaultPort (line 74) | defaultPort = "443" constant defaultDNSSvrPort (line 75) | defaultDNSSvrPort = "53" constant golang (line 76) | golang = "GO" constant txtPrefix (line 79) | txtPrefix = "_grpc_config." constant txtAttribute (line 82) | txtAttribute = "grpc_config=" function NewBuilder (line 111) | func NewBuilder() resolver.Builder { type dnsBuilder (line 115) | type dnsBuilder struct method Build (line 119) | func (b *dnsBuilder) Build(target resolver.Target, cc resolver.ClientC... method Scheme (line 158) | func (b *dnsBuilder) Scheme() string { type deadResolver (line 163) | type deadResolver struct method ResolveNow (line 165) | func (deadResolver) ResolveNow(resolver.ResolveNowOptions) {} method Close (line 167) | func (deadResolver) Close() {} type dnsResolver (line 170) | type dnsResolver struct method ResolveNow (line 193) | func (d *dnsResolver) ResolveNow(resolver.ResolveNowOptions) { method Close (line 201) | func (d *dnsResolver) Close() { method watcher (line 206) | func (d *dnsResolver) watcher() { method lookupSRV (line 243) | func (d *dnsResolver) lookupSRV(ctx context.Context) ([]resolver.Addre... method lookupTXT (line 293) | func (d *dnsResolver) lookupTXT(ctx context.Context) *serviceconfig.Pa... method lookupHost (line 321) | func (d *dnsResolver) lookupHost(ctx context.Context) ([]resolver.Addr... method lookup (line 339) | func (d *dnsResolver) lookup() (*resolver.State, error) { function handleDNSError (line 278) | func handleDNSError(err error, lookupType string) error { function formatIP (line 370) | func formatIP(addr string) (string, error) { function parseTarget (line 390) | func parseTarget(target, defaultPort string) (host, port string, err err... type rawChoice (line 419) | type rawChoice struct function containsString (line 426) | func containsString(a *[]string, b string) bool { function chosenByPercentage (line 438) | func chosenByPercentage(a *int) bool { function canaryingSC (line 445) | func canaryingSC(js string) string { FILE: internal/resolver/dns/dns_resolver_test.go constant txtBytesLimit (line 50) | txtBytesLimit = 255 constant defaultTestTimeout (line 51) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 52) | defaultTestShortTimeout = 10 * time.Millisecond constant colonDefaultPort (line 54) | colonDefaultPort = ":443" type s (line 57) | type s struct method TestDNSResolver_Basic (line 427) | func (s) TestDNSResolver_Basic(t *testing.T) { method TestDNSResolver_ExponentialBackoff (line 575) | func (s) TestDNSResolver_ExponentialBackoff(t *testing.T) { method TestDNSResolver_ResolveNow (line 687) | func (s) TestDNSResolver_ResolveNow(t *testing.T) { method TestIPResolver (line 748) | func (s) TestIPResolver(t *testing.T) { method TestResolverBuild (line 864) | func (s) TestResolverBuild(t *testing.T) { method TestDisableServiceConfig (line 966) | func (s) TestDisableServiceConfig(t *testing.T) { method TestTXTError (line 1086) | func (s) TestTXTError(t *testing.T) { method TestCustomAuthority (line 1125) | func (s) TestCustomAuthority(t *testing.T) { method TestRateLimitedResolve (line 1234) | func (s) TestRateLimitedResolve(t *testing.T) { method TestReportError (line 1317) | func (s) TestReportError(t *testing.T) { method TestResolveTimeout (line 1379) | func (s) TestResolveTimeout(t *testing.T) { method TestMinResolutionInterval (line 1411) | func (s) TestMinResolutionInterval(t *testing.T) { method TestMinResolutionInterval_NoExtraDelay (line 1449) | func (s) TestMinResolutionInterval_NoExtraDelay(t *testing.T) { function Test (line 61) | func Test(t *testing.T) { function overrideNetResolver (line 66) | func overrideNetResolver(t *testing.T, r *testNetResolver) { function overrideResolutionInterval (line 73) | func overrideResolutionInterval(t *testing.T, d time.Duration) { function overrideTimeAfterFunc (line 80) | func overrideTimeAfterFunc(t *testing.T, d time.Duration) { function overrideTimeAfterFuncWithChannel (line 91) | func overrideTimeAfterFuncWithChannel(t *testing.T) (durChan chan time.D... function overrideTimeNowFunc (line 107) | func overrideTimeNowFunc(t *testing.T, now time.Time) { function overrideTimeUntilFuncWithChannel (line 116) | func overrideTimeUntilFuncWithChannel(t *testing.T) (timeChan chan time.... function enableSRVLookups (line 127) | func enableSRVLookups(t *testing.T) { function buildResolverWithTestClientConn (line 135) | func buildResolverWithTestClientConn(t *testing.T, target string) (resol... type resolverUpdate (line 171) | type resolverUpdate struct function verifyUpdateFromResolver (line 179) | func verifyUpdateFromResolver(ctx context.Context, t *testing.T, stateCh... constant txtRecordGood (line 238) | txtRecordGood = ` constant scJSON (line 340) | scJSON = ` constant txtRecordNonMatching (line 367) | txtRecordNonMatching = ` function overrideResolveTimeoutDuration (line 1368) | func overrideResolveTimeoutDuration(t *testing.T, dur time.Duration) { function mustParseServiceConfig (line 1504) | func mustParseServiceConfig(t *testing.T, scJSON string) serviceconfig.C... FILE: internal/resolver/dns/fake_net_resolver_test.go type testNetResolver (line 30) | type testNetResolver struct method LookupHost (line 42) | func (tr *testNetResolver) LookupHost(ctx context.Context, host string... method UpdateHostLookupTable (line 64) | func (tr *testNetResolver) UpdateHostLookupTable(table map[string][]st... method LookupSRV (line 70) | func (tr *testNetResolver) LookupSRV(_ context.Context, service, proto... method LookupTXT (line 86) | func (tr *testNetResolver) LookupTXT(_ context.Context, host string) (... method UpdateTXTLookupTable (line 101) | func (tr *testNetResolver) UpdateTXTLookupTable(table map[string][]str... function txtRecordServiceConfig (line 110) | func txtRecordServiceConfig(cfg string) []string { FILE: internal/resolver/dns/internal/internal.go type NetResolver (line 32) | type NetResolver interface FILE: internal/resolver/passthrough/passthrough.go constant scheme (line 29) | scheme = "passthrough" type passthroughBuilder (line 31) | type passthroughBuilder struct method Build (line 33) | func (*passthroughBuilder) Build(target resolver.Target, cc resolver.C... method Scheme (line 45) | func (*passthroughBuilder) Scheme() string { type passthroughResolver (line 49) | type passthroughResolver struct method start (line 54) | func (r *passthroughResolver) start() { method ResolveNow (line 58) | func (*passthroughResolver) ResolveNow(resolver.ResolveNowOptions) {} method Close (line 60) | func (*passthroughResolver) Close() {} function init (line 62) | func init() { FILE: internal/resolver/unix/unix.go constant unixScheme (line 29) | unixScheme = "unix" constant unixAbstractScheme (line 30) | unixAbstractScheme = "unix-abstract" type builder (line 32) | type builder struct method Build (line 36) | func (b *builder) Build(target resolver.Target, cc resolver.ClientConn... method Scheme (line 60) | func (b *builder) Scheme() string { method OverrideAuthority (line 64) | func (b *builder) OverrideAuthority(resolver.Target) string { type nopResolver (line 68) | type nopResolver struct method ResolveNow (line 71) | func (*nopResolver) ResolveNow(resolver.ResolveNowOptions) {} method Close (line 73) | func (*nopResolver) Close() {} function init (line 75) | func init() { FILE: internal/ringhash/ringhash.go type LBConfig (line 31) | type LBConfig struct type xdsHashKey (line 41) | type xdsHashKey struct function XDSRequestHash (line 46) | func XDSRequestHash(ctx context.Context) (uint64, bool) { function SetXDSRequestHash (line 56) | func SetXDSRequestHash(ctx context.Context, requestHash uint64) context.... FILE: internal/serviceconfig/duration.go type Duration (line 34) | type Duration method String (line 36) | func (d Duration) String() string { method MarshalJSON (line 41) | func (d Duration) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 61) | func (d *Duration) UnmarshalJSON(b []byte) error { FILE: internal/serviceconfig/duration_test.go function TestDuration_MarshalUnmarshal (line 31) | func TestDuration_MarshalUnmarshal(t *testing.T) { FILE: internal/serviceconfig/serviceconfig.go type BalancerConfig (line 42) | type BalancerConfig struct method MarshalJSON (line 53) | func (bc *BalancerConfig) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 74) | func (bc *BalancerConfig) UnmarshalJSON(b []byte) error { type intermediateBalancerConfig (line 47) | type intermediateBalancerConfig type MethodConfig (line 130) | type MethodConfig struct type RetryPolicy (line 157) | type RetryPolicy struct FILE: internal/serviceconfig/serviceconfig_test.go type testBalancerConfigType (line 31) | type testBalancerConfigType struct constant testBalancerBuilderName (line 40) | testBalancerBuilderName = "test-bb" constant testBalancerBuilderNotParserName (line 41) | testBalancerBuilderNotParserName = "test-bb-not-parser" constant testBalancerConfigJSON (line 43) | testBalancerConfigJSON = `{"check":true}` type testBalancerBuilder (line 46) | type testBalancerBuilder struct method ParseConfig (line 50) | func (testBalancerBuilder) ParseConfig(js json.RawMessage) (externalse... method Name (line 57) | func (testBalancerBuilder) Name() string { type testBalancerBuilderNotParser (line 61) | type testBalancerBuilderNotParser struct method Name (line 65) | func (testBalancerBuilderNotParser) Name() string { function init (line 69) | func init() { function TestBalancerConfigUnmarshalJSON (line 74) | func TestBalancerConfigUnmarshalJSON(t *testing.T) { function TestBalancerConfigMarshalJSON (line 139) | func TestBalancerConfigMarshalJSON(t *testing.T) { FILE: internal/stats/labels.go type Labels (line 25) | type Labels struct type labelsKey (line 30) | type labelsKey struct function GetLabels (line 33) | func GetLabels(ctx context.Context) *Labels { function SetLabels (line 39) | func SetLabels(ctx context.Context, labels *Labels) context.Context { FILE: internal/stats/metrics_recorder_list.go type MetricsRecorderList (line 31) | type MetricsRecorderList struct method RecordInt64Count (line 61) | func (l *MetricsRecorderList) RecordInt64Count(handle *estats.Int64Cou... method RecordInt64UpDownCount (line 71) | func (l *MetricsRecorderList) RecordInt64UpDownCount(handle *estats.In... method RecordFloat64Count (line 81) | func (l *MetricsRecorderList) RecordFloat64Count(handle *estats.Float6... method RecordInt64Histo (line 91) | func (l *MetricsRecorderList) RecordInt64Histo(handle *estats.Int64His... method RecordFloat64Histo (line 101) | func (l *MetricsRecorderList) RecordFloat64Histo(handle *estats.Float6... method RecordInt64Gauge (line 111) | func (l *MetricsRecorderList) RecordInt64Gauge(handle *estats.Int64Gau... method RegisterAsyncReporter (line 125) | func (l *MetricsRecorderList) RegisterAsyncReporter(reporter estats.As... function NewMetricsRecorderList (line 41) | func NewMetricsRecorderList(shs []stats.Handler) *MetricsRecorderList { function verifyLabels (line 53) | func verifyLabels(desc *estats.MetricDescriptor, labelsRecv ...string) { function defaultCleanUp (line 150) | func defaultCleanUp(unregisterFns []func()) func() { type asyncRecorderWrapper (line 158) | type asyncRecorderWrapper struct method RecordInt64AsyncGauge (line 165) | func (w *asyncRecorderWrapper) RecordInt64AsyncGauge(handle *estats.In... FILE: internal/stats/metrics_recorder_list_test.go type s (line 49) | type s struct method TestMetricsRecorderList (line 133) | func (s) TestMetricsRecorderList(t *testing.T) { method TestMetricRecorderListPanic (line 235) | func (s) TestMetricRecorderListPanic(t *testing.T) { method TestMetricsRecorderList_RegisterAsyncReporter (line 262) | func (s) TestMetricsRecorderList_RegisterAsyncReporter(t *testing.T) { function Test (line 53) | func Test(t *testing.T) { function init (line 100) | func init() { constant recordingLoadBalancerName (line 104) | recordingLoadBalancerName = "recording_load_balancer" type recordingLoadBalancerBuilder (line 106) | type recordingLoadBalancerBuilder struct method Name (line 108) | func (recordingLoadBalancerBuilder) Name() string { method Build (line 112) | func (recordingLoadBalancerBuilder) Build(cc balancer.ClientConn, bOpt... type recordingLoadBalancer (line 123) | type recordingLoadBalancer struct type mockAsyncMetric (line 311) | type mockAsyncMetric struct method Descriptor (line 316) | func (m *mockAsyncMetric) Descriptor() *estats.MetricDescriptor { type spyMetricsRecorder (line 321) | type spyMetricsRecorder struct method RegisterAsyncReporter (line 329) | func (s *spyMetricsRecorder) RegisterAsyncReporter(estats.AsyncMetricR... FILE: internal/stats/stats.go type combinedHandler (line 27) | type combinedHandler struct method TagRPC (line 46) | func (ch *combinedHandler) TagRPC(ctx context.Context, info *stats.RPC... method HandleRPC (line 53) | func (ch *combinedHandler) HandleRPC(ctx context.Context, stats stats.... method TagConn (line 59) | func (ch *combinedHandler) TagConn(ctx context.Context, info *stats.Co... method HandleConn (line 66) | func (ch *combinedHandler) HandleConn(ctx context.Context, stats stats... function NewCombinedHandler (line 35) | func NewCombinedHandler(handlers ...stats.Handler) stats.Handler { FILE: internal/status/status.go type Status (line 43) | type Status struct method Code (line 101) | func (s *Status) Code() codes.Code { method Message (line 109) | func (s *Status) Message() string { method Proto (line 117) | func (s *Status) Proto() *spb.Status { method Err (line 125) | func (s *Status) Err() error { method WithDetails (line 134) | func (s *Status) WithDetails(details ...protoadapt.MessageV1) (*Status... method Details (line 154) | func (s *Status) Details() []any { method String (line 201) | func (s *Status) String() string { function NewWithProto (line 49) | func NewWithProto(code codes.Code, message string, statusProto []string)... function New (line 76) | func New(c codes.Code, msg string) *Status { function Newf (line 81) | func Newf(c codes.Code, format string, a ...any) *Status { function FromProto (line 86) | func FromProto(s *spb.Status) *Status { function Err (line 91) | func Err(c codes.Code, msg string) error { function Errorf (line 96) | func Errorf(c codes.Code, format string, a ...any) error { type Error (line 207) | type Error struct method Error (line 211) | func (e *Error) Error() string { method GRPCStatus (line 216) | func (e *Error) GRPCStatus() *Status { method Is (line 222) | func (e *Error) Is(target error) bool { function IsRestrictedControlPlaneCode (line 232) | func IsRestrictedControlPlaneCode(s *Status) bool { function RawStatusProto (line 241) | func RawStatusProto(s *Status) *spb.Status { FILE: internal/status/status_test.go function TestRawStatusProto (line 28) | func TestRawStatusProto(t *testing.T) { FILE: internal/stubserver/stubserver.go type GRPCServer (line 45) | type GRPCServer interface type StubServer (line 54) | type StubServer struct method EmptyCall (line 92) | func (ss *StubServer) EmptyCall(ctx context.Context, in *testpb.Empty)... method UnaryCall (line 97) | func (ss *StubServer) UnaryCall(ctx context.Context, in *testpb.Simple... method FullDuplexCall (line 102) | func (ss *StubServer) FullDuplexCall(stream testgrpc.TestService_FullD... method StreamingInputCall (line 107) | func (ss *StubServer) StreamingInputCall(stream testgrpc.TestService_S... method StreamingOutputCall (line 112) | func (ss *StubServer) StreamingOutputCall(req *testpb.StreamingOutputC... method Start (line 117) | func (ss *StubServer) Start(sopts []grpc.ServerOption, dopts ...grpc.D... method setupServer (line 141) | func (ss *StubServer) setupServer(sopts ...grpc.ServerOption) (net.Lis... method StartHandlerServer (line 179) | func (ss *StubServer) StartHandlerServer(sopts ...grpc.ServerOption) e... method StartServer (line 208) | func (ss *StubServer) StartServer(sopts ...grpc.ServerOption) error { method StartClient (line 221) | func (ss *StubServer) StartClient(dopts ...grpc.DialOption) error { method NewServiceConfig (line 249) | func (ss *StubServer) NewServiceConfig(sc string) { method Stop (line 271) | func (ss *StubServer) Stop() { type registerServiceServerOption (line 128) | type registerServiceServerOption struct function RegisterServiceServerOption (line 137) | func RegisterServiceServerOption(f func(grpc.ServiceRegistrar)) grpc.Ser... function waitForReady (line 255) | func waitForReady(cc *grpc.ClientConn) error { function parseCfg (line 278) | func parseCfg(r *manual.Resolver, s string) *serviceconfig.ParseResult { function StartTestService (line 289) | func StartTestService(t *testing.T, server *StubServer, sopts ...grpc.Se... FILE: internal/syscall/syscall_linux.go function GetCPUTime (line 36) | func GetCPUTime() int64 { function GetRusage (line 48) | func GetRusage() *Rusage { function CPUTimeDiff (line 56) | func CPUTimeDiff(first *Rusage, latest *Rusage) (float64, float64) { function SetTCPUserTimeout (line 71) | func SetTCPUserTimeout(conn net.Conn, timeout time.Duration) error { function GetTCPUserTimeout (line 92) | func GetTCPUserTimeout(conn net.Conn) (opt int, err error) { FILE: internal/syscall/syscall_nonlinux.go function log (line 37) | func log() { function GetCPUTime (line 45) | func GetCPUTime() int64 { type Rusage (line 51) | type Rusage struct function GetRusage (line 54) | func GetRusage() *Rusage { function CPUTimeDiff (line 61) | func CPUTimeDiff(*Rusage, *Rusage) (float64, float64) { function SetTCPUserTimeout (line 67) | func SetTCPUserTimeout(net.Conn, time.Duration) error { function GetTCPUserTimeout (line 74) | func GetTCPUserTimeout(net.Conn) (int, error) { FILE: internal/tcp_keepalive_others.go function NetDialerWithTCPKeepalive (line 27) | func NetDialerWithTCPKeepalive() *net.Dialer { FILE: internal/tcp_keepalive_unix.go function NetDialerWithTCPKeepalive (line 36) | func NetDialerWithTCPKeepalive() *net.Dialer { FILE: internal/tcp_keepalive_windows.go function NetDialerWithTCPKeepalive (line 36) | func NetDialerWithTCPKeepalive() *net.Dialer { FILE: internal/testutils/balancer.go type TestSubConn (line 38) | type TestSubConn struct method UpdateAddresses (line 61) | func (tsc *TestSubConn) UpdateAddresses([]resolver.Address) {} method Connect (line 64) | func (tsc *TestSubConn) Connect() { method GetOrBuildProducer (line 73) | func (tsc *TestSubConn) GetOrBuildProducer(balancer.ProducerBuilder) (... method UpdateState (line 78) | func (tsc *TestSubConn) UpdateState(state balancer.SubConnState) { method Shutdown (line 94) | func (tsc *TestSubConn) Shutdown() { method String (line 103) | func (tsc *TestSubConn) String() string { method RegisterHealthListener (line 109) | func (tsc *TestSubConn) RegisterHealthListener(lis func(balancer.SubCo... function NewTestSubConn (line 52) | func NewTestSubConn(id string) *TestSubConn { type BalancerClientConn (line 114) | type BalancerClientConn struct method NewSubConn (line 147) | func (tcc *BalancerClientConn) NewSubConn(a []resolver.Address, o bala... method MetricsRecorder (line 172) | func (*BalancerClientConn) MetricsRecorder() stats.MetricsRecorder { method RemoveSubConn (line 178) | func (tcc *BalancerClientConn) RemoveSubConn(sc balancer.SubConn) { method UpdateAddresses (line 183) | func (tcc *BalancerClientConn) UpdateAddresses(sc balancer.SubConn, ad... method UpdateState (line 192) | func (tcc *BalancerClientConn) UpdateState(bs balancer.State) { method ResolveNow (line 208) | func (tcc *BalancerClientConn) ResolveNow(o resolver.ResolveNowOptions) { method Target (line 217) | func (tcc *BalancerClientConn) Target() string { method WaitForErrPicker (line 224) | func (tcc *BalancerClientConn) WaitForErrPicker(ctx context.Context) e... method WaitForPickerWithErr (line 240) | func (tcc *BalancerClientConn) WaitForPickerWithErr(ctx context.Contex... method WaitForConnectivityState (line 257) | func (tcc *BalancerClientConn) WaitForConnectivityState(ctx context.Co... method WaitForRoundRobinPicker (line 277) | func (tcc *BalancerClientConn) WaitForRoundRobinPicker(ctx context.Con... method WaitForPicker (line 316) | func (tcc *BalancerClientConn) WaitForPicker(ctx context.Context, f fu... function NewBalancerClientConn (line 131) | func NewBalancerClientConn(t *testing.T) *BalancerClientConn { function IsRoundRobin (line 352) | func IsRoundRobin(want []balancer.SubConn, f func() balancer.SubConn) er... function SubConnFromPicker (line 391) | func SubConnFromPicker(p balancer.Picker) func() balancer.SubConn { type TestConstPicker (line 402) | type TestConstPicker struct method Pick (line 408) | func (tcp *TestConstPicker) Pick(balancer.PickInfo) (balancer.PickResu... FILE: internal/testutils/blocking_context_dialer.go type BlockingDialer (line 33) | type BlockingDialer struct method DialContext (line 50) | func (d *BlockingDialer) DialContext(ctx context.Context, addr string)... method Hold (line 94) | func (d *BlockingDialer) Hold(addr string) *Hold { function NewBlockingDialer (line 42) | func NewBlockingDialer() *BlockingDialer { type Hold (line 78) | type Hold struct method Wait (line 105) | func (h *Hold) Wait(ctx context.Context) bool { method Resume (line 117) | func (h *Hold) Resume() { method Fail (line 125) | func (h *Hold) Fail(err error) { method IsStarted (line 132) | func (h *Hold) IsStarted() bool { FILE: internal/testutils/blocking_context_dialer_test.go constant testTimeout (line 29) | testTimeout = 5 * time.Second constant testShortTimeout (line 30) | testShortTimeout = 10 * time.Millisecond method TestBlockingDialer_NoHold (line 33) | func (s) TestBlockingDialer_NoHold(t *testing.T) { method TestBlockingDialer_HoldWaitResume (line 52) | func (s) TestBlockingDialer_HoldWaitResume(t *testing.T) { method TestBlockingDialer_HoldWaitFail (line 107) | func (s) TestBlockingDialer_HoldWaitFail(t *testing.T) { method TestBlockingDialer_ContextCanceled (line 148) | func (s) TestBlockingDialer_ContextCanceled(t *testing.T) { method TestBlockingDialer_CancelWait (line 186) | func (s) TestBlockingDialer_CancelWait(t *testing.T) { FILE: internal/testutils/channel.go constant DefaultChanBufferSize (line 25) | DefaultChanBufferSize = 1 type Channel (line 28) | type Channel struct method Send (line 36) | func (c *Channel) Send(value any) { method SendContext (line 42) | func (c *Channel) SendContext(ctx context.Context, value any) error { method SendOrFail (line 53) | func (c *Channel) SendOrFail(value any) bool { method ReceiveOrFail (line 64) | func (c *Channel) ReceiveOrFail() (any, bool) { method Drain (line 74) | func (c *Channel) Drain() { method Receive (line 86) | func (c *Channel) Receive(ctx context.Context) (any, error) { method Replace (line 100) | func (c *Channel) Replace(value any) { function NewChannel (line 111) | func NewChannel() *Channel { function NewChannelWithSize (line 116) | func NewChannelWithSize(bufSize int) *Channel { FILE: internal/testutils/envconfig.go function SetEnvConfig (line 26) | func SetEnvConfig[T any](t *testing.T, variable *T, value T) { FILE: internal/testutils/fakegrpclb/server.go type ServerParams (line 44) | type ServerParams struct type Server (line 59) | type Server struct method Serve (line 126) | func (s *Server) Serve() error { method Stop (line 144) | func (s *Server) Stop() { method Address (line 155) | func (s *Server) Address() string { method BalanceLoad (line 162) | func (s *Server) BalanceLoad(stream lbgrpc.LoadBalancer_BalanceLoadSer... function NewServer (line 82) | func NewServer(params ServerParams) (*Server, error) { FILE: internal/testutils/http_client.go constant DefaultHTTPRequestTimeout (line 29) | DefaultHTTPRequestTimeout = 1 * time.Second type FakeHTTPClient (line 34) | type FakeHTTPClient struct method Do (line 49) | func (fc *FakeHTTPClient) Do(req *http.Request) (*http.Response, error) { FILE: internal/testutils/local_listener.go function LocalTCPListener (line 24) | func LocalTCPListener() (net.Listener, error) { FILE: internal/testutils/marshal_any.go function MarshalAny (line 29) | func MarshalAny(t *testing.T, m proto.Message) *anypb.Any { FILE: internal/testutils/parse_port.go function ParsePort (line 27) | func ParsePort(t *testing.T, addr string) uint32 { FILE: internal/testutils/parse_url.go function MustParseURL (line 28) | func MustParseURL(target string) *url.URL { FILE: internal/testutils/pickfirst/pickfirst.go function CheckRPCsToBackend (line 41) | func CheckRPCsToBackend(ctx context.Context, cc *grpc.ClientConn, wantAd... FILE: internal/testutils/pipe_listener.go type pipeAddr (line 30) | type pipeAddr struct method Network (line 32) | func (p pipeAddr) Network() string { return "pipe" } method String (line 33) | func (p pipeAddr) String() string { return "pipe" } type PipeListener (line 37) | type PipeListener struct method Accept (line 51) | func (p *PipeListener) Accept() (net.Conn, error) { method Close (line 71) | func (p *PipeListener) Close() error { method Addr (line 77) | func (p *PipeListener) Addr() net.Addr { method Dialer (line 82) | func (p *PipeListener) Dialer() func(string, time.Duration) (net.Conn,... function NewPipeListener (line 43) | func NewPipeListener() *PipeListener { FILE: internal/testutils/pipe_listener_test.go type s (line 29) | type s struct method TestPipeListener (line 37) | func (s) TestPipeListener(t *testing.T) { method TestUnblocking (line 78) | func (s) TestUnblocking(t *testing.T) { function Test (line 33) | func Test(t *testing.T) { function testUnblocking (line 142) | func testUnblocking(t *testing.T, blockFunc func(*testutils.PipeListener... FILE: internal/testutils/proxyserver/proxyserver.go type ProxyServer (line 37) | type ProxyServer struct method stop (line 48) | func (p *ProxyServer) stop() { method handleRequest (line 58) | func (p *ProxyServer) handleRequest(t *testing.T, in net.Conn, waitFor... constant defaultTestTimeout (line 45) | defaultTestTimeout = 10 * time.Second function New (line 106) | func New(t *testing.T, reqCheck func(*http.Request), waitForServerHello ... FILE: internal/testutils/resolver.go type Logger (line 29) | type Logger interface type ResolverClientConn (line 37) | type ResolverClientConn struct method UpdateState (line 48) | func (t *ResolverClientConn) UpdateState(s resolver.State) error { method ReportError (line 58) | func (t *ResolverClientConn) ReportError(err error) { method ParseServiceConfig (line 68) | func (t *ResolverClientConn) ParseServiceConfig(jsonSC string) *servic... FILE: internal/testutils/restartable_listener.go type tempError (line 26) | type tempError struct method Error (line 28) | func (*tempError) Error() string { method Temporary (line 31) | func (*tempError) Temporary() bool { type RestartableListener (line 37) | type RestartableListener struct method Accept (line 55) | func (l *RestartableListener) Accept() (net.Conn, error) { method Close (line 72) | func (l *RestartableListener) Close() error { method Addr (line 77) | func (l *RestartableListener) Addr() net.Addr { method Stop (line 83) | func (l *RestartableListener) Stop() { method Restart (line 96) | func (l *RestartableListener) Restart() { function NewRestartableListener (line 46) | func NewRestartableListener(l net.Listener) *RestartableListener { FILE: internal/testutils/rls/fake_rls_server.go type RouteLookupResponse (line 38) | type RouteLookupResponse struct function SetupFakeRLSServer (line 51) | func SetupFakeRLSServer(t *testing.T, lis net.Listener, opts ...grpc.Ser... type FakeRouteLookupServer (line 69) | type FakeRouteLookupServer struct method RouteLookup (line 101) | func (s *FakeRouteLookupServer) RouteLookup(ctx context.Context, req *... method SetResponseCallback (line 121) | func (s *FakeRouteLookupServer) SetResponseCallback(f func(context.Con... method SetRequestCallback (line 130) | func (s *FakeRouteLookupServer) SetRequestCallback(f func(*rlspb.Route... function StartFakeRouteLookupServer (line 82) | func StartFakeRouteLookupServer(t *testing.T, lis net.Listener, opts ...... FILE: internal/testutils/roundrobin/roundrobin.go function waitForTrafficToReachBackends (line 46) | func waitForTrafficToReachBackends(ctx context.Context, client testgrpc.... function CheckRoundRobinRPCs (line 85) | func CheckRoundRobinRPCs(ctx context.Context, client testgrpc.TestServic... function CheckWeightedRoundRobinRPCs (line 142) | func CheckWeightedRoundRobinRPCs(ctx context.Context, t *testing.T, clie... function attemptCounts (line 207) | func attemptCounts(wantAddrWeights map[string]int) int { function pearsonsChiSquareTest (line 253) | func pearsonsChiSquareTest(t *testing.T, observedCounts, expectedCounts ... FILE: internal/testutils/state.go type StateChanger (line 29) | type StateChanger interface function StayConnected (line 41) | func StayConnected(ctx context.Context, sc StateChanger) { function AwaitState (line 58) | func AwaitState(ctx context.Context, t *testing.T, sc StateChanger, stat... function AwaitNotState (line 69) | func AwaitNotState(ctx context.Context, t *testing.T, sc StateChanger, s... function AwaitNoStateChange (line 80) | func AwaitNoStateChange(ctx context.Context, t *testing.T, sc StateChang... FILE: internal/testutils/stats/test_metrics_recorder.go type TestMetricsRecorder (line 37) | type TestMetricsRecorder struct method Metric (line 68) | func (r *TestMetricsRecorder) Metric(name string) (float64, bool) { method ClearMetrics (line 76) | func (r *TestMetricsRecorder) ClearMetrics() { method WaitForInt64Count (line 98) | func (r *TestMetricsRecorder) WaitForInt64Count(ctx context.Context, m... method WaitForInt64CountIncr (line 113) | func (r *TestMetricsRecorder) WaitForInt64CountIncr(ctx context.Contex... method RecordInt64Count (line 127) | func (r *TestMetricsRecorder) RecordInt64Count(handle *estats.Int64Cou... method RecordInt64UpDownCount (line 143) | func (r *TestMetricsRecorder) RecordInt64UpDownCount(handle *estats.In... method WaitForFloat64Count (line 160) | func (r *TestMetricsRecorder) WaitForFloat64Count(ctx context.Context,... method RecordFloat64Count (line 174) | func (r *TestMetricsRecorder) RecordFloat64Count(handle *estats.Float6... method WaitForInt64Histo (line 191) | func (r *TestMetricsRecorder) WaitForInt64Histo(ctx context.Context, m... method RecordInt64Histo (line 205) | func (r *TestMetricsRecorder) RecordInt64Histo(handle *estats.Int64His... method WaitForFloat64Histo (line 222) | func (r *TestMetricsRecorder) WaitForFloat64Histo(ctx context.Context,... method RecordFloat64Histo (line 236) | func (r *TestMetricsRecorder) RecordFloat64Histo(handle *estats.Float6... method WaitForInt64Gauge (line 252) | func (r *TestMetricsRecorder) WaitForInt64Gauge(ctx context.Context, m... method RecordInt64Gauge (line 266) | func (r *TestMetricsRecorder) RecordInt64Gauge(handle *estats.Int64Gau... method RecordInt64AsyncGauge (line 284) | func (r *TestMetricsRecorder) RecordInt64AsyncGauge(handle *estats.Int... method TagRPC (line 301) | func (r *TestMetricsRecorder) TagRPC(ctx context.Context, _ *stats.RPC... method HandleRPC (line 306) | func (r *TestMetricsRecorder) HandleRPC(context.Context, stats.RPCStat... method TagConn (line 309) | func (r *TestMetricsRecorder) TagConn(ctx context.Context, _ *stats.Co... method HandleConn (line 314) | func (r *TestMetricsRecorder) HandleConn(context.Context, stats.ConnSt... function NewTestMetricsRecorder (line 53) | func NewTestMetricsRecorder() *TestMetricsRecorder { type MetricsData (line 83) | type MetricsData struct FILE: internal/testutils/status_equal.go function StatusErrEqual (line 28) | func StatusErrEqual(err1, err2 error) bool { FILE: internal/testutils/status_equal_test.go type s (line 31) | type s struct method TestStatusErrEqual (line 48) | func (s) TestStatusErrEqual(t *testing.T) { function Test (line 35) | func Test(t *testing.T) { FILE: internal/testutils/stubstatshandler.go type StubStatsHandler (line 30) | type StubStatsHandler struct method TagRPC (line 38) | func (ssh *StubStatsHandler) TagRPC(ctx context.Context, info *stats.R... method HandleRPC (line 46) | func (ssh *StubStatsHandler) HandleRPC(ctx context.Context, rs stats.R... method TagConn (line 53) | func (ssh *StubStatsHandler) TagConn(ctx context.Context, info *stats.... method HandleConn (line 61) | func (ssh *StubStatsHandler) HandleConn(ctx context.Context, cs stats.... FILE: internal/testutils/tls_creds.go function CreateClientTLSCredentials (line 32) | func CreateClientTLSCredentials(t *testing.T) credentials.TransportCrede... function CreateServerTLSCredentials (line 56) | func CreateServerTLSCredentials(t *testing.T, clientAuth tls.ClientAuthT... function CreateServerTLSCredentialsCompatibleWithSPIFFE (line 82) | func CreateServerTLSCredentialsCompatibleWithSPIFFE(t *testing.T, client... function CreateServerTLSCredentialsCompatibleWithSPIFFEChain (line 108) | func CreateServerTLSCredentialsCompatibleWithSPIFFEChain(t *testing.T, c... function CreateServerTLSCredentialsValidSPIFFEButWrongCA (line 136) | func CreateServerTLSCredentialsValidSPIFFEButWrongCA(t *testing.T, clien... FILE: internal/testutils/wrappers.go type ConnWrapper (line 27) | type ConnWrapper struct method Close (line 33) | func (cw *ConnWrapper) Close() error { type ListenerWrapper (line 42) | type ListenerWrapper struct method Accept (line 49) | func (l *ListenerWrapper) Accept() (net.Conn, error) { function NewListenerWrapper (line 61) | func NewListenerWrapper(t *testing.T, lis net.Listener) *ListenerWrapper { FILE: internal/testutils/wrr.go type testWRR (line 34) | type testWRR struct method Add (line 51) | func (twrr *testWRR) Add(item any, weight int64) { method Next (line 59) | func (twrr *testWRR) Next() any { method String (line 71) | func (twrr *testWRR) String() string { function NewTestWRR (line 47) | func NewTestWRR() wrr.WRR { FILE: internal/testutils/xds/e2e/bootstrap.go function DefaultFileWatcherConfig (line 35) | func DefaultFileWatcherConfig(certPath, keyPath, caPath string) json.Raw... function SPIFFEFileWatcherConfig (line 50) | func SPIFFEFileWatcherConfig(certPath, keyPath, caPath, spiffeBundleMapP... function SPIFFEBootstrapContents (line 67) | func SPIFFEBootstrapContents(t *testing.T, nodeID, serverURI string) []b... function DefaultBootstrapContents (line 110) | func DefaultBootstrapContents(t *testing.T, nodeID, serverURI string) []... constant certFile (line 151) | certFile = "cert.pem" constant keyFile (line 152) | keyFile = "key.pem" constant rootFile (line 153) | rootFile = "ca.pem" constant spiffeBundleMapFile (line 154) | spiffeBundleMapFile = "spiffe_bundle_map.json" function createTmpFile (line 157) | func createTmpFile(src, dst string) error { function createTmpDirWithCerts (line 173) | func createTmpDirWithCerts(dirPattern, certSrc, keySrc, rootSrc, spiffeB... FILE: internal/testutils/xds/e2e/clientresources.go constant ServerListenerResourceNameTemplate (line 47) | ServerListenerResourceNameTemplate = "grpc/server?xds.resource.listening... constant ClientSideCertProviderInstance (line 50) | ClientSideCertProviderInstance = "client-side-certificate-provider-insta... constant ServerSideCertProviderInstance (line 53) | ServerSideCertProviderInstance = "server-side-certificate-provider-insta... type SecurityLevel (line 58) | type SecurityLevel constant SecurityLevelNone (line 62) | SecurityLevelNone SecurityLevel = iota constant SecurityLevelTLS (line 66) | SecurityLevelTLS constant SecurityLevelMTLS (line 70) | SecurityLevelMTLS constant SecurityLevelTLSWithSystemRootCerts (line 75) | SecurityLevelTLSWithSystemRootCerts type ResourceParams (line 79) | type ResourceParams struct function DefaultClientResources (line 95) | func DefaultClientResources(params ResourceParams) UpdateOptions { function DefaultClientListener (line 113) | func DefaultClientListener(target, routeName string) *v3listenerpb.Liste... function marshalAny (line 136) | func marshalAny(m proto.Message) *anypb.Any { function DefaultServerListener (line 147) | func DefaultServerListener(host string, port uint32, secLevel SecurityLe... function defaultServerListenerCommon (line 151) | func defaultServerListenerCommon(host string, port uint32, secLevel Secu... function HTTPFilter (line 298) | func HTTPFilter(name string, config proto.Message) *v3httppb.HttpFilter { function DefaultRouteConfig (line 308) | func DefaultRouteConfig(routeName, vhDomain, clusterName string) *v3rout... type RouteConfigClusterSpecifierType (line 332) | type RouteConfigClusterSpecifierType constant RouteConfigClusterSpecifierTypeCluster (line 337) | RouteConfigClusterSpecifierTypeCluster RouteConfigClusterSpecifierType =... constant RouteConfigClusterSpecifierTypeWeightedCluster (line 340) | RouteConfigClusterSpecifierTypeWeightedCluster constant RouteConfigClusterSpecifierTypeClusterSpecifierPlugin (line 343) | RouteConfigClusterSpecifierTypeClusterSpecifierPlugin type RouteConfigOptions (line 348) | type RouteConfigOptions struct function RouteConfigResourceWithOptions (line 377) | func RouteConfigResourceWithOptions(opts RouteConfigOptions) *v3routepb.... function DefaultCluster (line 445) | func DefaultCluster(clusterName, edsServiceName string, secLevel Securit... type LoadBalancingPolicy (line 456) | type LoadBalancingPolicy constant LoadBalancingPolicyRoundRobin (line 461) | LoadBalancingPolicyRoundRobin LoadBalancingPolicy = iota constant LoadBalancingPolicyRingHash (line 464) | LoadBalancingPolicyRingHash type ClusterType (line 468) | type ClusterType constant ClusterTypeEDS (line 472) | ClusterTypeEDS ClusterType = iota constant ClusterTypeLogicalDNS (line 475) | ClusterTypeLogicalDNS constant ClusterTypeAggregate (line 478) | ClusterTypeAggregate type ClusterOptions (line 482) | type ClusterOptions struct function ClusterResourceWithOptions (line 509) | func ClusterResourceWithOptions(opts ClusterOptions) *v3clusterpb.Cluster { type LocalityID (line 621) | type LocalityID struct type LocalityOptions (line 628) | type LocalityOptions struct type BackendOptions (line 644) | type BackendOptions struct type EndpointOptions (line 662) | type EndpointOptions struct function DefaultEndpoint (line 677) | func DefaultEndpoint(clusterName string, host string, ports []uint32) *v... function EndpointResourceWithOptions (line 696) | func EndpointResourceWithOptions(opts EndpointOptions) *v3endpointpb.Clu... function DefaultServerListenerWithRouteConfigName (line 789) | func DefaultServerListenerWithRouteConfigName(host string, port uint32, ... function RouteConfigNoRouteMatch (line 795) | func RouteConfigNoRouteMatch(routeName string) *v3routepb.RouteConfigura... function RouteConfigNonForwardingAction (line 812) | func RouteConfigNonForwardingAction(routeName string) *v3routepb.RouteCo... function RouteConfigFilterAction (line 832) | func RouteConfigFilterAction(routeName string) *v3routepb.RouteConfigura... FILE: internal/testutils/xds/e2e/logging.go type serverLogger (line 23) | type serverLogger struct method Debugf (line 29) | func (l serverLogger) Debugf(format string, args ...any) { method Infof (line 32) | func (l serverLogger) Infof(format string, args ...any) { method Warnf (line 35) | func (l serverLogger) Warnf(format string, args ...any) { method Errorf (line 38) | func (l serverLogger) Errorf(format string, args ...any) { FILE: internal/testutils/xds/e2e/server.go type ManagementServer (line 49) | type ManagementServer struct method Update (line 209) | func (s *ManagementServer) Update(ctx context.Context, opts UpdateOpti... method Stop (line 240) | func (s *ManagementServer) Stop() { type ManagementServerOptions (line 73) | type ManagementServerOptions struct function StartManagementServer (line 132) | func StartManagementServer(t *testing.T, opts ManagementServerOptions) *... type UpdateOptions (line 192) | type UpdateOptions struct function resourceSlice (line 249) | func resourceSlice(i any) []types.Resource { FILE: internal/testutils/xds/e2e/setup/setup.go function ManagementServerAndResolver (line 43) | func ManagementServerAndResolver(t *testing.T) (*e2e.ManagementServer, s... function ManagementServerAndResolverWithSPIFFE (line 66) | func ManagementServerAndResolverWithSPIFFE(t *testing.T) (*e2e.Managemen... FILE: internal/testutils/xds/fakeserver/server.go constant defaultChannelBufferSize (line 47) | defaultChannelBufferSize = 50 constant defaultDialTimeout (line 48) | defaultDialTimeout = 5 * time.Second type Request (line 53) | type Request struct type Response (line 60) | type Response struct type Server (line 72) | type Server struct type wrappedListener (line 103) | type wrappedListener struct method Accept (line 108) | func (wl *wrappedListener) Accept() (net.Conn, error) { function StartServer (line 121) | func StartServer(lis net.Listener) (*Server, func(), error) { function NewServer (line 148) | func NewServer(addr string) *Server { type xdsServerV3 (line 164) | type xdsServerV3 struct method StreamAggregatedResources (line 169) | func (xdsS *xdsServerV3) StreamAggregatedResources(s v3discoverygrpc.A... method DeltaAggregatedResources (line 211) | func (xdsS *xdsServerV3) DeltaAggregatedResources(v3discoverygrpc.Aggr... type lrsServerV3 (line 215) | type lrsServerV3 struct method StreamLoadStats (line 222) | func (lrsS *lrsServerV3) StreamLoadStats(s v3lrsgrpc.LoadReportingServ... FILE: internal/testutils/xds_bootstrap.go function CreateBootstrapFileForTesting (line 34) | func CreateBootstrapFileForTesting(t *testing.T, bootstrapContents []byt... FILE: internal/transport/bdp_estimator.go constant bdpLimit (line 30) | bdpLimit = (1 << 20) * 16 constant alpha (line 33) | alpha = 0.9 constant beta (line 38) | beta = 0.66 constant gamma (line 42) | gamma = 2 type bdpEstimator (line 49) | type bdpEstimator struct method timesnap (line 74) | func (b *bdpEstimator) timesnap(d [8]byte) { method add (line 85) | func (b *bdpEstimator) add(n uint32) bool { method calculate (line 105) | func (b *bdpEstimator) calculate(d [8]byte) { FILE: internal/transport/client_stream.go type ClientStream (line 32) | type ClientStream struct method Read (line 58) | func (s *ClientStream) Read(n int) (mem.BufferSlice, error) { method Close (line 67) | func (s *ClientStream) Close(err error) { method Write (line 80) | func (s *ClientStream) Write(hdr []byte, data mem.BufferSlice, opts *W... method BytesReceived (line 85) | func (s *ClientStream) BytesReceived() bool { method Unprocessed (line 91) | func (s *ClientStream) Unprocessed() bool { method waitOnHeader (line 95) | func (s *ClientStream) waitOnHeader() { method RecvCompress (line 110) | func (s *ClientStream) RecvCompress() string { method Done (line 117) | func (s *ClientStream) Done() <-chan struct{} { method Header (line 125) | func (s *ClientStream) Header() (metadata.MD, error) { method TrailersOnly (line 138) | func (s *ClientStream) TrailersOnly() bool { method Status (line 146) | func (s *ClientStream) Status() *status.Status { method requestRead (line 150) | func (s *ClientStream) requestRead(n int) { method updateWindow (line 154) | func (s *ClientStream) updateWindow(n int) { FILE: internal/transport/controlbuf.go type itemNode (line 47) | type itemNode struct type itemList (line 52) | type itemList struct method enqueue (line 57) | func (il *itemList) enqueue(i any) { method peek (line 71) | func (il *itemList) peek() any { method dequeue (line 75) | func (il *itemList) dequeue() any { method dequeueAll (line 89) | func (il *itemList) dequeueAll() *itemNode { method isEmpty (line 95) | func (il *itemList) isEmpty() bool { constant maxQueuedTransportResponseFrames (line 107) | maxQueuedTransportResponseFrames = 50 type cbItem (line 109) | type cbItem interface type registerStream (line 114) | type registerStream struct method isTransportResponseFrame (line 119) | func (*registerStream) isTransportResponseFrame() bool { return false } type headerFrame (line 122) | type headerFrame struct method isTransportResponseFrame (line 133) | func (h *headerFrame) isTransportResponseFrame() bool { type cleanupStream (line 137) | type cleanupStream struct method isTransportResponseFrame (line 144) | func (c *cleanupStream) isTransportResponseFrame() bool { return c.rst } type earlyAbortStream (line 146) | type earlyAbortStream struct method isTransportResponseFrame (line 152) | func (*earlyAbortStream) isTransportResponseFrame() bool { return false } type dataFrame (line 154) | type dataFrame struct method isTransportResponseFrame (line 165) | func (*dataFrame) isTransportResponseFrame() bool { return false } type incomingWindowUpdate (line 167) | type incomingWindowUpdate struct method isTransportResponseFrame (line 172) | func (*incomingWindowUpdate) isTransportResponseFrame() bool { return ... type outgoingWindowUpdate (line 174) | type outgoingWindowUpdate struct method isTransportResponseFrame (line 179) | func (*outgoingWindowUpdate) isTransportResponseFrame() bool { type incomingSettings (line 183) | type incomingSettings struct method isTransportResponseFrame (line 187) | func (*incomingSettings) isTransportResponseFrame() bool { return true } type outgoingSettings (line 189) | type outgoingSettings struct method isTransportResponseFrame (line 193) | func (*outgoingSettings) isTransportResponseFrame() bool { return false } type incomingGoAway (line 195) | type incomingGoAway struct method isTransportResponseFrame (line 198) | func (*incomingGoAway) isTransportResponseFrame() bool { return false } type goAway (line 200) | type goAway struct method isTransportResponseFrame (line 207) | func (*goAway) isTransportResponseFrame() bool { return false } type ping (line 209) | type ping struct method isTransportResponseFrame (line 214) | func (*ping) isTransportResponseFrame() bool { return true } type outFlowControlSizeRequest (line 216) | type outFlowControlSizeRequest struct method isTransportResponseFrame (line 220) | func (*outFlowControlSizeRequest) isTransportResponseFrame() bool { re... type closeConnection (line 226) | type closeConnection struct method isTransportResponseFrame (line 228) | func (closeConnection) isTransportResponseFrame() bool { return false } type outStreamState (line 230) | type outStreamState constant active (line 233) | active outStreamState = iota constant empty (line 234) | empty constant waitingOnStreamQuota (line 235) | waitingOnStreamQuota type outStream (line 238) | type outStream struct method deleteSelf (line 250) | func (s *outStream) deleteSelf() { type outStreamList (line 260) | type outStreamList struct method enqueue (line 282) | func (l *outStreamList) enqueue(s *outStream) { method dequeue (line 291) | func (l *outStreamList) dequeue() *outStream { function newOutStreamList (line 272) | func newOutStreamList() *outStreamList { type controlBuffer (line 307) | type controlBuffer struct method throttle (line 338) | func (c *controlBuffer) throttle() { method put (line 348) | func (c *controlBuffer) put(it cbItem) error { method executeAndPut (line 360) | func (c *controlBuffer) executeAndPut(f func() bool, it cbItem) (bool,... method get (line 404) | func (c *controlBuffer) get(block bool) (any, error) { method getOnceLocked (line 431) | func (c *controlBuffer) getOnceLocked() (any, error) { method finish (line 454) | func (c *controlBuffer) finish() { function newControlBuffer (line 327) | func newControlBuffer(done <-chan struct{}) *controlBuffer { type side (line 487) | type side constant clientSide (line 490) | clientSide side = iota constant serverSide (line 491) | serverSide constant maxWriteBufSize (line 502) | maxWriteBufSize = 64 type loopyWriter (line 513) | type loopyWriter struct method run (line 586) | func (l *loopyWriter) run() (err error) { method outgoingWindowUpdateHandler (line 643) | func (l *loopyWriter) outgoingWindowUpdateHandler(w *outgoingWindowUpd... method incomingWindowUpdateHandler (line 647) | func (l *loopyWriter) incomingWindowUpdateHandler(w *incomingWindowUpd... method outgoingSettingsHandler (line 664) | func (l *loopyWriter) outgoingSettingsHandler(s *outgoingSettings) err... method incomingSettingsHandler (line 668) | func (l *loopyWriter) incomingSettingsHandler(s *incomingSettings) err... method registerStreamHandler (line 673) | func (l *loopyWriter) registerStreamHandler(h *registerStream) { method headerHandler (line 683) | func (l *loopyWriter) headerHandler(h *headerFrame) error { method originateStream (line 718) | func (l *loopyWriter) originateStream(str *outStream, hdr *headerFrame... method writeHeader (line 736) | func (l *loopyWriter) writeHeader(streamID uint32, endStream bool, hf ... method preprocessData (line 782) | func (l *loopyWriter) preprocessData(df *dataFrame) { method pingHandler (line 796) | func (l *loopyWriter) pingHandler(p *ping) error { method outFlowControlSizeRequestHandler (line 804) | func (l *loopyWriter) outFlowControlSizeRequestHandler(o *outFlowContr... method cleanupStreamHandler (line 808) | func (l *loopyWriter) cleanupStreamHandler(c *cleanupStream) error { method earlyAbortStreamHandler (line 837) | func (l *loopyWriter) earlyAbortStreamHandler(eas *earlyAbortStream) e... method incomingGoAwayHandler (line 852) | func (l *loopyWriter) incomingGoAwayHandler(*incomingGoAway) error { method goAwayHandler (line 863) | func (l *loopyWriter) goAwayHandler(g *goAway) error { method handle (line 875) | func (l *loopyWriter) handle(i any) error { method applySettings (line 913) | func (l *loopyWriter) applySettings(ss []http2.Setting) { method processData (line 937) | func (l *loopyWriter) processData() (bool, error) { function newLoopyWriter (line 542) | func newLoopyWriter(s side, fr *framer, cbuf *controlBuffer, bdpEst *bdp... constant minBatchSize (line 563) | minBatchSize = 1000 FILE: internal/transport/defaults.go constant defaultWindowSize (line 28) | defaultWindowSize = 65535 constant initialWindowSize (line 30) | initialWindowSize = defaultWindowSize constant infinity (line 31) | infinity = time.Duration(math.MaxInt64) constant defaultClientKeepaliveTime (line 32) | defaultClientKeepaliveTime = infinity constant defaultClientKeepaliveTimeout (line 33) | defaultClientKeepaliveTimeout = 20 * time.Second constant defaultMaxStreamsClient (line 34) | defaultMaxStreamsClient = 100 constant defaultMaxConnectionIdle (line 35) | defaultMaxConnectionIdle = infinity constant defaultMaxConnectionAge (line 36) | defaultMaxConnectionAge = infinity constant defaultMaxConnectionAgeGrace (line 37) | defaultMaxConnectionAgeGrace = infinity constant defaultServerKeepaliveTime (line 38) | defaultServerKeepaliveTime = 2 * time.Hour constant defaultServerKeepaliveTimeout (line 39) | defaultServerKeepaliveTimeout = 20 * time.Second constant defaultKeepalivePolicyMinTime (line 40) | defaultKeepalivePolicyMinTime = 5 * time.Minute constant maxWindowSize (line 42) | maxWindowSize = math.MaxInt32 constant defaultWriteQuota (line 46) | defaultWriteQuota = 64 * 1024 constant defaultClientMaxHeaderListSize (line 47) | defaultClientMaxHeaderListSize = uint32(16 << 20) constant defaultServerMaxHeaderListSize (line 48) | defaultServerMaxHeaderListSize = uint32(16 << 20) constant upcomingDefaultHeaderListSize (line 49) | upcomingDefaultHeaderListSize = uint32(8 << 10) FILE: internal/transport/flowcontrol.go type writeQuota (line 30) | type writeQuota struct method init (line 47) | func (w *writeQuota) init(sz int32, done <-chan struct{}) { method get (line 54) | func (w *writeQuota) get(sz int32) error { method realReplenish (line 69) | func (w *writeQuota) realReplenish(n int) { type trInFlow (line 81) | type trInFlow struct method newLimit (line 87) | func (f *trInFlow) newLimit(n uint32) uint32 { method onData (line 94) | func (f *trInFlow) onData(n uint32) uint32 { method reset (line 103) | func (f *trInFlow) reset() uint32 { method updateEffectiveWindowSize (line 110) | func (f *trInFlow) updateEffectiveWindowSize() { method getSize (line 114) | func (f *trInFlow) getSize() uint32 { type inFlow (line 120) | type inFlow struct method newLimit (line 137) | func (f *inFlow) newLimit(n uint32) { method maybeAdjust (line 143) | func (f *inFlow) maybeAdjust(n uint32) uint32 { method onData (line 175) | func (f *inFlow) onData(n uint32) error { method onRead (line 190) | func (f *inFlow) onRead(n uint32) uint32 { FILE: internal/transport/handler_server.go function NewServerHandlerTransport (line 53) | func NewServerHandlerTransport(w http.ResponseWriter, r *http.Request, s... type serverHandlerTransport (line 145) | type serverHandlerTransport struct method Close (line 179) | func (ht *serverHandlerTransport) Close(err error) { method Peer (line 188) | func (ht *serverHandlerTransport) Peer() *peer.Peer { method do (line 219) | func (ht *serverHandlerTransport) do(fn func()) error { method writeStatus (line 228) | func (ht *serverHandlerTransport) writeStatus(s *ServerStream, st *sta... method writePendingHeaders (line 292) | func (ht *serverHandlerTransport) writePendingHeaders(s *ServerStream) { method writeCommonHeaders (line 299) | func (ht *serverHandlerTransport) writeCommonHeaders(s *ServerStream) { method writeCustomHeaders (line 320) | func (ht *serverHandlerTransport) writeCustomHeaders(s *ServerStream) { method write (line 336) | func (ht *serverHandlerTransport) write(s *ServerStream, hdr []byte, d... method writeHeader (line 360) | func (ht *serverHandlerTransport) writeHeader(s *ServerStream, md meta... method adjustWindow (line 386) | func (ht *serverHandlerTransport) adjustWindow(*ServerStream, uint32) { method updateWindow (line 389) | func (ht *serverHandlerTransport) updateWindow(*ServerStream, uint32) { method HandleStreams (line 392) | func (ht *serverHandlerTransport) HandleStreams(ctx context.Context, s... method runStream (line 469) | func (ht *serverHandlerTransport) runStream() { method incrMsgRecv (line 480) | func (ht *serverHandlerTransport) incrMsgRecv() {} method Drain (line 482) | func (ht *serverHandlerTransport) Drain(string) { type strAddr (line 198) | type strAddr method Network (line 200) | func (a strAddr) Network() string { method String (line 216) | func (a strAddr) String() string { return string(a) } function mapRecvMsgError (line 493) | func mapRecvMsgError(err error) error { FILE: internal/transport/handler_server_test.go method TestHandlerTransport_NewServerHandlerTransport (line 45) | func (s) TestHandlerTransport_NewServerHandlerTransport(t *testing.T) { type testHandlerResponseWriter (line 231) | type testHandlerResponseWriter struct method Flush (line 235) | func (w testHandlerResponseWriter) Flush() {} function newTestHandlerResponseWriter (line 237) | func newTestHandlerResponseWriter() http.ResponseWriter { type handleStreamTest (line 243) | type handleStreamTest struct type mockStatsHandler (line 250) | type mockStatsHandler struct method TagRPC (line 254) | func (h *mockStatsHandler) TagRPC(ctx context.Context, _ *stats.RPCTag... method HandleRPC (line 258) | func (h *mockStatsHandler) HandleRPC(_ context.Context, s stats.RPCSta... method TagConn (line 262) | func (h *mockStatsHandler) TagConn(ctx context.Context, _ *stats.ConnT... method HandleConn (line 266) | func (h *mockStatsHandler) HandleConn(context.Context, stats.ConnStats) { function newHandleStreamTest (line 269) | func newHandleStreamTest(t *testing.T, statsHandler stats.Handler) *hand... method TestHandlerTransport_HandleStreams (line 295) | func (s) TestHandlerTransport_HandleStreams(t *testing.T) { method TestHandlerTransport_HandleStreams_Unimplemented (line 355) | func (s) TestHandlerTransport_HandleStreams_Unimplemented(t *testing.T) { method TestHandlerTransport_HandleStreams_InvalidArgument (line 360) | func (s) TestHandlerTransport_HandleStreams_InvalidArgument(t *testing.T) { function handleStreamCloseBodyTest (line 364) | func handleStreamCloseBodyTest(t *testing.T, statusCode codes.Code, msg ... method TestHandlerTransport_HandleStreams_Timeout (line 387) | func (s) TestHandlerTransport_HandleStreams_Timeout(t *testing.T) { method TestHandlerTransport_HandleStreams_MultiWriteStatus (line 440) | func (s) TestHandlerTransport_HandleStreams_MultiWriteStatus(t *testing.... method TestHandlerTransport_HandleStreams_WriteStatusWrite (line 461) | func (s) TestHandlerTransport_HandleStreams_WriteStatusWrite(t *testing.... function testHandlerTransportHandleStreams (line 473) | func testHandlerTransportHandleStreams(t *testing.T, handleStream func(s... method TestHandlerTransport_HandleStreams_ErrDetails (line 482) | func (s) TestHandlerTransport_HandleStreams_ErrDetails(t *testing.T) { method TestHandlerTransport_HandleStreams_StatsHandlers (line 531) | func (s) TestHandlerTransport_HandleStreams_StatsHandlers(t *testing.T) { method TestHandlerTransport_Drain (line 601) | func (s) TestHandlerTransport_Drain(t *testing.T) { function checkHeaderAndTrailer (line 609) | func checkHeaderAndTrailer(t *testing.T, rw testHandlerResponseWriter, w... FILE: internal/transport/http2_client.go type http2Client (line 70) | type http2Client struct method newStream (line 481) | func (t *http2Client) newStream(ctx context.Context, callHdr *CallHdr,... method Peer (line 514) | func (t *http2Client) Peer() *peer.Peer { method outgoingGoAwayHandler (line 524) | func (t *http2Client) outgoingGoAwayHandler(g *goAway) (bool, error) { method createHeaderFields (line 534) | func (t *http2Client) createHeaderFields(ctx context.Context, callHdr ... method createAudience (line 650) | func (t *http2Client) createAudience(callHdr *CallHdr) string { method getTrAuthData (line 665) | func (t *http2Client) getTrAuthData(ctx context.Context, audience stri... method getCallAuthData (line 692) | func (t *http2Client) getCallAuthData(ctx context.Context, audience st... method NewStream (line 748) | func (t *http2Client) NewStream(ctx context.Context, callHdr *CallHdr,... method closeStream (line 937) | func (t *http2Client) closeStream(s *ClientStream, err error, rst bool... method Close (line 1001) | func (t *http2Client) Close(err error) { method GracefulClose (line 1079) | func (t *http2Client) GracefulClose() { method write (line 1102) | func (t *http2Client) write(s *ClientStream, hdr []byte, data mem.Buff... method getStream (line 1132) | func (t *http2Client) getStream(f http2.Frame) *ClientStream { method adjustWindow (line 1142) | func (t *http2Client) adjustWindow(s *ClientStream, n uint32) { method updateWindow (line 1151) | func (t *http2Client) updateWindow(s *ClientStream, n uint32) { method updateFlowControl (line 1160) | func (t *http2Client) updateFlowControl(n uint32) { method handleData (line 1181) | func (t *http2Client) handleData(f *parsedDataFrame) { method handleRSTStream (line 1246) | func (t *http2Client) handleRSTStream(f *http2.RSTStreamFrame) { method handleSettings (line 1273) | func (t *http2Client) handleSettings(f *http2.SettingsFrame, isFirst b... method handlePing (line 1322) | func (t *http2Client) handlePing(f *http2.PingFrame) { method handleGoAway (line 1335) | func (t *http2Client) handleGoAway(f *http2.GoAwayFrame) error { method setGoAwayReason (line 1416) | func (t *http2Client) setGoAwayReason(f *http2.GoAwayFrame) { method GetGoAwayReason (line 1430) | func (t *http2Client) GetGoAwayReason() (GoAwayReason, string) { method handleWindowUpdate (line 1436) | func (t *http2Client) handleWindowUpdate(f *http2.WindowUpdateFrame) { method operateHeaders (line 1444) | func (t *http2Client) operateHeaders(frame *http2.MetaHeadersFrame) { method readServerPreface (line 1629) | func (t *http2Client) readServerPreface() error { method reader (line 1645) | func (t *http2Client) reader(errCh chan<- error) { method keepalive (line 1721) | func (t *http2Client) keepalive() { method Error (line 1806) | func (t *http2Client) Error() <-chan struct{} { method GoAway (line 1810) | func (t *http2Client) GoAway() <-chan struct{} { method socketMetrics (line 1814) | func (t *http2Client) socketMetrics() *channelz.EphemeralSocketMetrics { method incrMsgSent (line 1821) | func (t *http2Client) incrMsgSent() { method incrMsgRecv (line 1828) | func (t *http2Client) incrMsgRecv() { method getOutFlowWindow (line 1835) | func (t *http2Client) getOutFlowWindow() int64 { method stateForTesting (line 1850) | func (t *http2Client) stateForTesting() transportState { function dial (line 158) | func dial(ctx context.Context, fn func(context.Context, string) (net.Con... function isTemporary (line 188) | func isTemporary(err error) bool { function NewHTTP2Client (line 207) | func NewHTTP2Client(connectCtx, ctx context.Context, addr resolver.Addre... type NewStreamError (line 736) | type NewStreamError struct method Error (line 742) | func (e NewStreamError) Error() string { FILE: internal/transport/http2_server.go type http2Server (line 74) | type http2Server struct method operateHeaders (line 369) | func (t *http2Server) operateHeaders(ctx context.Context, frame *http2... method HandleStreams (line 631) | func (t *http2Server) HandleStreams(ctx context.Context, handle func(*... method getStream (line 696) | func (t *http2Server) getStream(f http2.Frame) (*ServerStream, bool) { method adjustWindow (line 714) | func (t *http2Server) adjustWindow(s *ServerStream, n uint32) { method updateWindow (line 724) | func (t *http2Server) updateWindow(s *ServerStream, n uint32) { method updateFlowControl (line 735) | func (t *http2Server) updateFlowControl(n uint32) { method handleData (line 757) | func (t *http2Server) handleData(f *parsedDataFrame) { method handleRSTStream (line 820) | func (t *http2Server) handleRSTStream(f *http2.RSTStreamFrame) { method handleSettings (line 835) | func (t *http2Server) handleSettings(f *http2.SettingsFrame) { method handlePing (line 868) | func (t *http2Server) handlePing(f *http2.PingFrame) { method handleWindowUpdate (line 917) | func (t *http2Server) handleWindowUpdate(f *http2.WindowUpdateFrame) { method checkForHeaderListSize (line 937) | func (t *http2Server) checkForHeaderListSize(hf []hpack.HeaderField) b... method writeEarlyAbort (line 960) | func (t *http2Server) writeEarlyAbort(streamID uint32, contentSubtype ... method streamContextErr (line 993) | func (t *http2Server) streamContextErr(s *ServerStream) error { method writeHeader (line 1003) | func (t *http2Server) writeHeader(s *ServerStream, md metadata.MD) err... method writeHeaderLocked (line 1032) | func (t *http2Server) writeHeaderLocked(s *ServerStream) error { method writeStatus (line 1071) | func (t *http2Server) writeStatus(s *ServerStream, st *status.Status) ... method write (line 1142) | func (t *http2Server) write(s *ServerStream, hdr []byte, data mem.Buff... method keepalive (line 1179) | func (t *http2Server) keepalive() { method Close (line 1273) | func (t *http2Server) Close(err error) { method deleteStream (line 1299) | func (t *http2Server) deleteStream(s *ServerStream, eosReceived bool) { method finishStream (line 1320) | func (t *http2Server) finishStream(s *ServerStream, rst bool, rstCode ... method closeStream (line 1344) | func (t *http2Server) closeStream(s *ServerStream, rst bool, rstCode h... method Drain (line 1364) | func (t *http2Server) Drain(debugData string) { method outgoingGoAwayHandler (line 1378) | func (t *http2Server) outgoingGoAwayHandler(g *goAway) (bool, error) { method socketMetrics (line 1434) | func (t *http2Server) socketMetrics() *channelz.EphemeralSocketMetrics { method incrMsgSent (line 1441) | func (t *http2Server) incrMsgSent() { method incrMsgRecv (line 1448) | func (t *http2Server) incrMsgRecv() { method getOutFlowWindow (line 1455) | func (t *http2Server) getOutFlowWindow() int64 { method Peer (line 1471) | func (t *http2Server) Peer() *peer.Peer { function NewServerTransport (line 149) | func NewServerTransport(conn net.Conn, config *ServerConfig) (_ ServerTr... constant maxPingStrikes (line 864) | maxPingStrikes = 2 constant defaultPingTimeout (line 865) | defaultPingTimeout = 2 * time.Hour function appendHeaderFieldsFromMD (line 924) | func appendHeaderFieldsFromMD(headerFields []hpack.HeaderField, md metad... function getJitter (line 1479) | func getJitter(v time.Duration) time.Duration { type connectionKey (line 1489) | type connectionKey struct function GetConnection (line 1492) | func GetConnection(ctx context.Context) net.Conn { function SetConnection (line 1500) | func SetConnection(ctx context.Context, conn net.Conn) context.Context { FILE: internal/transport/http_util.go constant http2MaxFrameLen (line 44) | http2MaxFrameLen = 16384 constant http2InitHeaderTableSize (line 46) | http2InitHeaderTableSize = 4096 function isReservedHeader (line 93) | func isReservedHeader(hdr string) bool { function isWhitelistedHeader (line 117) | func isWhitelistedHeader(hdr string) bool { constant binHdrSuffix (line 126) | binHdrSuffix = "-bin" function encodeBinHeader (line 128) | func encodeBinHeader(v []byte) string { function decodeBinHeader (line 132) | func decodeBinHeader(v string) ([]byte, error) { function encodeMetadataHeader (line 140) | func encodeMetadataHeader(k, v string) string { function decodeMetadataHeader (line 147) | func decodeMetadataHeader(k, v string) (string, error) { type timeoutUnit (line 155) | type timeoutUnit constant hour (line 158) | hour timeoutUnit = 'H' constant minute (line 159) | minute timeoutUnit = 'M' constant second (line 160) | second timeoutUnit = 'S' constant millisecond (line 161) | millisecond timeoutUnit = 'm' constant microsecond (line 162) | microsecond timeoutUnit = 'u' constant nanosecond (line 163) | nanosecond timeoutUnit = 'n' function timeoutUnitToDuration (line 166) | func timeoutUnitToDuration(u timeoutUnit) (d time.Duration, ok bool) { function decodeTimeout (line 185) | func decodeTimeout(s string) (time.Duration, error) { constant spaceByte (line 212) | spaceByte = ' ' constant tildeByte (line 213) | tildeByte = '~' constant percentByte (line 214) | percentByte = '%' function encodeGrpcMessage (line 224) | func encodeGrpcMessage(msg string) string { function encodeGrpcMessageUnchecked (line 238) | func encodeGrpcMessageUnchecked(msg string) string { function decodeGrpcMessage (line 265) | func decodeGrpcMessage(msg string) string { function decodeGrpcMessageUnchecked (line 278) | func decodeGrpcMessageUnchecked(msg string) string { type bufWriter (line 298) | type bufWriter struct method Write (line 320) | func (w *bufWriter) Write(b []byte) (int, error) { method Flush (line 348) | func (w *bufWriter) Flush() error { method flushKeepBuffer (line 359) | func (w *bufWriter) flushKeepBuffer() error { function newBufWriter (line 307) | func newBufWriter(conn io.Writer, batchSize int, pool *sync.Pool) *bufWr... type ioError (line 372) | type ioError struct method Unwrap (line 376) | func (i ioError) Unwrap() error { function isIOError (line 380) | func isIOError(err error) bool { function toIOError (line 384) | func toIOError(err error) error { type parsedDataFrame (line 391) | type parsedDataFrame struct method StreamEnded (line 396) | func (df *parsedDataFrame) StreamEnded() bool { method Header (line 577) | func (df *parsedDataFrame) Header() http2.FrameHeader { type framer (line 400) | type framer struct method writeData (line 444) | func (f *framer) writeData(streamID uint32, endStream bool, data [][]b... method readFrame (line 478) | func (f *framer) readFrame() (any, error) { method errorDetail (line 505) | func (f *framer) errorDetail() error { method readDataFrame (line 509) | func (f *framer) readDataFrame(fh http2.FrameHeader) (err error) { function newFramer (line 413) | func newFramer(conn io.ReadWriter, writeBufferSize, readBufferSize int, ... function getWriteBufferPool (line 581) | func getWriteBufferPool(size int) *sync.Pool { function ParseDialTarget (line 599) | func ParseDialTarget(target string) (string, string) { FILE: internal/transport/http_util_test.go method TestDecodeTimeout (line 37) | func (s) TestDecodeTimeout(t *testing.T) { method TestEncodeGrpcMessage (line 77) | func (s) TestEncodeGrpcMessage(t *testing.T) { method TestDecodeGrpcMessage (line 113) | func (s) TestDecodeGrpcMessage(t *testing.T) { method TestDecodeEncodeGrpcMessage (line 151) | func (s) TestDecodeEncodeGrpcMessage(t *testing.T) { constant binaryValue (line 174) | binaryValue = "\u0080" method TestEncodeMetadataHeader (line 176) | func (s) TestEncodeMetadataHeader(t *testing.T) { method TestDecodeMetadataHeader (line 196) | func (s) TestDecodeMetadataHeader(t *testing.T) { method TestParseDialTarget (line 218) | func (s) TestParseDialTarget(t *testing.T) { type badNetworkConn (line 247) | type badNetworkConn struct method Write (line 251) | func (c *badNetworkConn) Write([]byte) (int, error) { method TestWriteBadConnection (line 257) | func (s) TestWriteBadConnection(t *testing.T) { function BenchmarkDecodeGrpcMessage (line 280) | func BenchmarkDecodeGrpcMessage(b *testing.B) { function BenchmarkEncodeGrpcMessage (line 292) | func BenchmarkEncodeGrpcMessage(b *testing.B) { function buildDataFrame (line 304) | func buildDataFrame(h http2.FrameHeader, payload []byte) []byte { method TestFramer_ParseDataFrame (line 321) | func (s) TestFramer_ParseDataFrame(t *testing.T) { FILE: internal/transport/keepalive_test.go constant defaultTestTimeout (line 47) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 48) | defaultTestShortTimeout = 10 * time.Millisecond method TestMaxConnectionIdle (line 53) | func (s) TestMaxConnectionIdle(t *testing.T) { method TestMaxConnectionIdleBusyClient (line 96) | func (s) TestMaxConnectionIdleBusyClient(t *testing.T) { method TestMaxConnectionAge (line 132) | func (s) TestMaxConnectionAge(t *testing.T) { constant defaultWriteBufSize (line 174) | defaultWriteBufSize = 32 * 1024 constant defaultReadBufSize (line 175) | defaultReadBufSize = 32 * 1024 method TestKeepaliveServerClosesUnresponsiveClient (line 183) | func (s) TestKeepaliveServerClosesUnresponsiveClient(t *testing.T) { method TestKeepaliveServerWithResponsiveClient (line 247) | func (s) TestKeepaliveServerWithResponsiveClient(t *testing.T) { function channelzSubChannel (line 273) | func channelzSubChannel(t *testing.T) *channelz.SubChannel { method TestKeepaliveClientClosesUnresponsiveServer (line 288) | func (s) TestKeepaliveClientClosesUnresponsiveServer(t *testing.T) { method TestKeepaliveClientOpenWithUnresponsiveServer (line 320) | func (s) TestKeepaliveClientOpenWithUnresponsiveServer(t *testing.T) { method TestKeepaliveClientClosesWithActiveStreams (line 352) | func (s) TestKeepaliveClientClosesWithActiveStreams(t *testing.T) { method TestKeepaliveClientStaysHealthyWithResponsiveServer (line 392) | func (s) TestKeepaliveClientStaysHealthyWithResponsiveServer(t *testing.... method TestKeepaliveClientFrequency (line 430) | func (s) TestKeepaliveClientFrequency(t *testing.T) { method TestKeepaliveServerEnforcementWithAbusiveClientNoRPC (line 464) | func (s) TestKeepaliveServerEnforcementWithAbusiveClientNoRPC(t *testing... method TestKeepaliveServerEnforcementWithAbusiveClientWithRPC (line 497) | func (s) TestKeepaliveServerEnforcementWithAbusiveClientWithRPC(t *testi... method TestKeepaliveServerEnforcementWithObeyingClientNoRPC (line 535) | func (s) TestKeepaliveServerEnforcementWithObeyingClientNoRPC(t *testing... method TestKeepaliveServerEnforcementWithObeyingClientWithRPC (line 571) | func (s) TestKeepaliveServerEnforcementWithObeyingClientWithRPC(t *testi... method TestKeepaliveServerEnforcementWithDormantKeepaliveOnClient (line 609) | func (s) TestKeepaliveServerEnforcementWithDormantKeepaliveOnClient(t *t... method TestTCPUserTimeout (line 640) | func (s) TestTCPUserTimeout(t *testing.T) { function makeTLSCreds (line 793) | func makeTLSCreds(t *testing.T, certPath, keyPath, rootsPath string) cre... function checkForHealthyStream (line 815) | func checkForHealthyStream(client *http2Client) error { function pollForStreamCreationError (line 826) | func pollForStreamCreationError(client *http2Client) error { function waitForGoAwayTooManyPings (line 844) | func waitForGoAwayTooManyPings(client *http2Client) error { FILE: internal/transport/logging.go function prefixLoggerForServerTransport (line 30) | func prefixLoggerForServerTransport(p *http2Server) *internalgrpclog.Pre... function prefixLoggerForServerHandlerTransport (line 34) | func prefixLoggerForServerHandlerTransport(p *serverHandlerTransport) *i... function prefixLoggerForClientTransport (line 38) | func prefixLoggerForClientTransport(p *http2Client) *internalgrpclog.Pre... FILE: internal/transport/networktype/networktype.go type keyType (line 28) | type keyType constant key (line 30) | key = keyType("grpc.internal.transport.networktype") function Set (line 33) | func Set(address resolver.Address, networkType string) resolver.Address { function Get (line 40) | func Get(address resolver.Address) (string, bool) { FILE: internal/transport/proxy.go constant proxyAuthHeaderKey (line 37) | proxyAuthHeaderKey = "Proxy-Authorization" type bufConn (line 43) | type bufConn struct method Read (line 48) | func (c *bufConn) Read(b []byte) (int, error) { function basicAuth (line 52) | func basicAuth(username, password string) string { function doHTTPConnectHandshake (line 57) | func doHTTPConnectHandshake(ctx context.Context, conn net.Conn, grpcUA s... function proxyDial (line 102) | func proxyDial(ctx context.Context, addr resolver.Address, grpcUA string... function sendHTTPRequest (line 110) | func sendHTTPRequest(ctx context.Context, req *http.Request, conn net.Co... FILE: internal/transport/proxy_ext_test.go constant defaultTestTimeout (line 46) | defaultTestTimeout = 10 * time.Second type s (line 48) | type s struct method TestGRPCDialWithProxy (line 91) | func (s) TestGRPCDialWithProxy(t *testing.T) { method TestGRPCDialWithDNSAndProxy (line 138) | func (s) TestGRPCDialWithDNSAndProxy(t *testing.T) { method TestNewClientWithProxy (line 181) | func (s) TestNewClientWithProxy(t *testing.T) { method TestNewClientWithProxyAndCustomResolver (line 226) | func (s) TestNewClientWithProxyAndCustomResolver(t *testing.T) { method TestNewClientWithProxyAndTargetResolutionEnabled (line 275) | func (s) TestNewClientWithProxyAndTargetResolutionEnabled(t *testing.T) { method TestNewClientWithNoProxy (line 317) | func (s) TestNewClientWithNoProxy(t *testing.T) { method TestNewClientWithContextDialer (line 349) | func (s) TestNewClientWithContextDialer(t *testing.T) { method TestBasicAuthInNewClientWithProxy (line 387) | func (s) TestBasicAuthInNewClientWithProxy(t *testing.T) { function Test (line 52) | func Test(t *testing.T) { function startBackendServer (line 56) | func startBackendServer(t *testing.T) *stubserver.StubServer { function isIPAddr (line 69) | func isIPAddr(addr string) bool { function overrideTestHTTPSProxy (line 74) | func overrideTestHTTPSProxy(t *testing.T, proxyAddr string) { FILE: internal/transport/proxy_test.go method TestHTTPConnectWithServerHello (line 38) | func (s) TestHTTPConnectWithServerHello(t *testing.T) { FILE: internal/transport/server_stream.go type ServerStream (line 34) | type ServerStream struct method Read (line 56) | func (s *ServerStream) Read(n int) (mem.BufferSlice, error) { method SendHeader (line 65) | func (s *ServerStream) SendHeader(md metadata.MD) error { method Write (line 70) | func (s *ServerStream) Write(hdr []byte, data mem.BufferSlice, opts *W... method WriteStatus (line 76) | func (s *ServerStream) WriteStatus(st *status.Status) error { method isHeaderSent (line 81) | func (s *ServerStream) isHeaderSent() bool { method updateHeaderSent (line 87) | func (s *ServerStream) updateHeaderSent() bool { method RecvCompress (line 93) | func (s *ServerStream) RecvCompress() string { method SendCompress (line 98) | func (s *ServerStream) SendCompress() string { method ContentSubtype (line 107) | func (s *ServerStream) ContentSubtype() string { method SetSendCompress (line 112) | func (s *ServerStream) SetSendCompress(name string) error { method SetContext (line 123) | func (s *ServerStream) SetContext(ctx context.Context) { method ClientAdvertisedCompressors (line 129) | func (s *ServerStream) ClientAdvertisedCompressors() []string { method Header (line 140) | func (s *ServerStream) Header() (metadata.MD, error) { method HeaderWireLength (line 148) | func (s *ServerStream) HeaderWireLength() int { method SetHeader (line 154) | func (s *ServerStream) SetHeader(md metadata.MD) error { method SetTrailer (line 170) | func (s *ServerStream) SetTrailer(md metadata.MD) error { method requestRead (line 183) | func (s *ServerStream) requestRead(n int) { method updateWindow (line 187) | func (s *ServerStream) updateWindow(n int) { FILE: internal/transport/transport.go constant logLevel (line 46) | logLevel = 2 type recvMsg (line 50) | type recvMsg struct type recvBuffer (line 64) | type recvBuffer struct method init (line 74) | func (b *recvBuffer) init() { method put (line 78) | func (b *recvBuffer) put(r recvMsg) { method load (line 102) | func (b *recvBuffer) load() { method get (line 119) | func (b *recvBuffer) get() <-chan recvMsg { type recvBufferReader (line 125) | type recvBufferReader struct method ReadMessageHeader (line 135) | func (r *recvBufferReader) ReadMessageHeader(header []byte) (n int, er... method Read (line 155) | func (r *recvBufferReader) Read(n int) (buf mem.Buffer, err error) { method readMessageHeader (line 176) | func (r *recvBufferReader) readMessageHeader(header []byte) (n int, er... method read (line 185) | func (r *recvBufferReader) read(n int) (buf mem.Buffer, err error) { method readMessageHeaderClient (line 194) | func (r *recvBufferReader) readMessageHeaderClient(header []byte) (n i... method readClient (line 221) | func (r *recvBufferReader) readClient(n int) (buf mem.Buffer, err erro... method readMessageHeaderAdditional (line 248) | func (r *recvBufferReader) readMessageHeaderAdditional(m recvMsg, head... method readAdditional (line 262) | func (r *recvBufferReader) readAdditional(m recvMsg, n int) (b mem.Buf... type streamState (line 278) | type streamState constant streamActive (line 281) | streamActive streamState = iota constant streamWriteDone (line 282) | streamWriteDone constant streamReadDone (line 283) | streamReadDone constant streamDone (line 284) | streamDone type Stream (line 288) | type Stream struct method swapState (line 317) | func (s *Stream) swapState(st streamState) streamState { method compareAndSwapState (line 321) | func (s *Stream) compareAndSwapState(oldState, newState streamState) b... method getState (line 325) | func (s *Stream) getState() streamState { method Trailer (line 333) | func (s *Stream) Trailer() metadata.MD { method Context (line 338) | func (s *Stream) Context() context.Context { method Method (line 343) | func (s *Stream) Method() string { method write (line 347) | func (s *Stream) write(m recvMsg) { method ReadMessageHeader (line 359) | func (s *Stream) ReadMessageHeader(header []byte) (err error) { method read (line 391) | func (s *Stream) read(n int) (data mem.BufferSlice, err error) { method GoString (line 478) | func (s *Stream) GoString() string { type readRequester (line 313) | type readRequester interface function ceil (line 383) | func ceil(numerator, denominator int) int { type noCopy (line 431) | type noCopy struct method Lock (line 434) | func (*noCopy) Lock() {} method Unlock (line 435) | func (*noCopy) Unlock() {} type transportReader (line 441) | type transportReader struct method ReadMessageHeader (line 456) | func (t *transportReader) ReadMessageHeader(header []byte) (int, error) { method Read (line 466) | func (t *transportReader) Read(n int) (mem.Buffer, error) { type windowHandler (line 452) | type windowHandler interface type transportState (line 483) | type transportState constant reachable (line 486) | reachable transportState = iota constant closing (line 487) | closing constant draining (line 488) | draining type ServerConfig (line 492) | type ServerConfig struct type ConnectOptions (line 513) | type ConnectOptions struct type WriteOptions (line 554) | type WriteOptions struct type CallHdr (line 561) | type CallHdr struct type ClientTransport (line 606) | type ClientTransport interface type ServerTransport (line 648) | type ServerTransport interface type internalServerTransport (line 664) | type internalServerTransport interface function connectionErrorf (line 675) | func connectionErrorf(temp bool, e error, format string, a ...any) Conne... type ConnectionError (line 685) | type ConnectionError struct method Error (line 691) | func (e ConnectionError) Error() string { method Temporary (line 696) | func (e ConnectionError) Temporary() bool { method Origin (line 701) | func (e ConnectionError) Origin() error { method Unwrap (line 712) | func (e ConnectionError) Unwrap() error { type GoAwayReason (line 732) | type GoAwayReason constant GoAwayInvalid (line 736) | GoAwayInvalid GoAwayReason = 0 constant GoAwayNoReason (line 738) | GoAwayNoReason GoAwayReason = 1 constant GoAwayTooManyPings (line 742) | GoAwayTooManyPings GoAwayReason = 2 function ContextErr (line 746) | func ContextErr(err error) error { FILE: internal/transport/transport_test.go type s (line 57) | type s struct method TestInflightStreamClosing (line 619) | func (s) TestInflightStreamClosing(t *testing.T) { method TestClientTransportDrainsAfterStreamIDExhausted (line 663) | func (s) TestClientTransportDrainsAfterStreamIDExhausted(t *testing.T) { method TestClientSendAndReceive (line 708) | func (s) TestClientSendAndReceive(t *testing.T) { method TestClientErrorNotify (line 748) | func (s) TestClientErrorNotify(t *testing.T) { method TestClientMix (line 782) | func (s) TestClientMix(t *testing.T) { method TestLargeMessage (line 796) | func (s) TestLargeMessage(t *testing.T) { method TestLargeMessageWithDelayRead (line 831) | func (s) TestLargeMessageWithDelayRead(t *testing.T) { method TestGracefulClose (line 935) | func (s) TestGracefulClose(t *testing.T) { method TestLargeMessageSuspension (line 1005) | func (s) TestLargeMessageSuspension(t *testing.T) { method TestMaxStreams (line 1039) | func (s) TestMaxStreams(t *testing.T) { method TestServerContextCanceledOnClosedConnection (line 1116) | func (s) TestServerContextCanceledOnClosedConnection(t *testing.T) { method TestClientConnDecoupledFromApplicationRead (line 1182) | func (s) TestClientConnDecoupledFromApplicationRead(t *testing.T) { method TestServerConnDecoupledFromApplicationRead (line 1273) | func (s) TestServerConnDecoupledFromApplicationRead(t *testing.T) { method TestServerWithMisbehavedClient (line 1348) | func (s) TestServerWithMisbehavedClient(t *testing.T) { method TestClientHonorsConnectContext (line 1448) | func (s) TestClientHonorsConnectContext(t *testing.T) { method TestClientWithMisbehavedServer (line 1506) | func (s) TestClientWithMisbehavedServer(t *testing.T) { method TestEncodingRequiredStatus (line 1611) | func (s) TestEncodingRequiredStatus(t *testing.T) { method TestInvalidHeaderField (line 1641) | func (s) TestInvalidHeaderField(t *testing.T) { method TestHeaderChanClosedAfterReceivingAnInvalidHeader (line 1663) | func (s) TestHeaderChanClosedAfterReceivingAnInvalidHeader(t *testing.... method TestIsReservedHeader (line 1683) | func (s) TestIsReservedHeader(t *testing.T) { method TestContextErr (line 1708) | func (s) TestContextErr(t *testing.T) { method TestAccountCheckWindowSizeWithLargeWindow (line 1732) | func (s) TestAccountCheckWindowSizeWithLargeWindow(t *testing.T) { method TestAccountCheckWindowSizeWithSmallWindow (line 1742) | func (s) TestAccountCheckWindowSizeWithSmallWindow(t *testing.T) { method TestAccountCheckDynamicWindowSmallMessage (line 1754) | func (s) TestAccountCheckDynamicWindowSmallMessage(t *testing.T) { method TestAccountCheckDynamicWindowLargeMessage (line 1758) | func (s) TestAccountCheckDynamicWindowLargeMessage(t *testing.T) { method TestReadGivesSameErrorAfterAnyErrorOccurs (line 1921) | func (s) TestReadGivesSameErrorAfterAnyErrorOccurs(t *testing.T) { method TestHeadersCausingStreamError (line 1971) | func (s) TestHeadersCausingStreamError(t *testing.T) { method TestHeadersHTTPStatusGRPCStatus (line 2097) | func (s) TestHeadersHTTPStatusGRPCStatus(t *testing.T) { method TestWriteHeaderConnectionError (line 2319) | func (s) TestWriteHeaderConnectionError(t *testing.T) { method TestPingPong1B (line 2383) | func (s) TestPingPong1B(t *testing.T) { method TestPingPong1KB (line 2387) | func (s) TestPingPong1KB(t *testing.T) { method TestPingPong64KB (line 2391) | func (s) TestPingPong64KB(t *testing.T) { method TestPingPong1MB (line 2395) | func (s) TestPingPong1MB(t *testing.T) { method TestHeaderTblSize (line 2471) | func (s) TestHeaderTblSize(t *testing.T) { method TestClientHandshakeInfo (line 2584) | func (s) TestClientHandshakeInfo(t *testing.T) { method TestClientHandshakeInfoDialer (line 2620) | func (s) TestClientHandshakeInfoDialer(t *testing.T) { method TestClientDecodeHeader (line 2683) | func (s) TestClientDecodeHeader(t *testing.T) { method TestClientDecodeTrailer (line 2817) | func (s) TestClientDecodeTrailer(t *testing.T) { method TestClientSendsAGoAwayFrame (line 2935) | func (s) TestClientSendsAGoAwayFrame(t *testing.T) { method TestClientCloseReturnsAfterReaderCompletes (line 3049) | func (s) TestClientCloseReturnsAfterReaderCompletes(t *testing.T) { method TestClientCloseReturnsEarlyWhenGoAwayWriteHangs (line 3131) | func (s) TestClientCloseReturnsEarlyWhenGoAwayWriteHangs(t *testing.T) { method TestCloseSetsConnectionDeadlines (line 3208) | func (s) TestCloseSetsConnectionDeadlines(t *testing.T) { method TestReadMessageHeaderMultipleBuffers (line 3240) | func (s) TestReadMessageHeaderMultipleBuffers(t *testing.T) { method TestServerSendsRSTAfterDeadlineToMisbehavedClient (line 3275) | func (s) TestServerSendsRSTAfterDeadlineToMisbehavedClient(t *testing.... method TestServerSendsResetStreamOnEarlyTrailer (line 3362) | func (s) TestServerSendsResetStreamOnEarlyTrailer(t *testing.T) { method TestClientSendsRSTStream_InHeaders (line 3585) | func (s) TestClientSendsRSTStream_InHeaders(t *testing.T) { method TestClientSendsRSTStream_InTrailers (line 3618) | func (s) TestClientSendsRSTStream_InTrailers(t *testing.T) { method TestClientSendsRSTStream_ReadUnreadData (line 3663) | func (s) TestClientSendsRSTStream_ReadUnreadData(t *testing.T) { method TestClientTransport_Handle1xxHeaders (line 3712) | func (s) TestClientTransport_Handle1xxHeaders(t *testing.T) { method TestDeleteStreamMetricsIncrementedOnlyOnce (line 3789) | func (s) TestDeleteStreamMetricsIncrementedOnlyOnce(t *testing.T) { function Test (line 61) | func Test(t *testing.T) { function init (line 73) | func init() { function newBufferSlice (line 80) | func newBufferSlice(b []byte) mem.BufferSlice { method readTo (line 84) | func (s *Stream) readTo(p []byte) (int, error) { type testStreamHandler (line 100) | type testStreamHandler struct method handleStreamAndNotify (line 119) | func (h *testStreamHandler) handleStreamAndNotify(*ServerStream) { method handleStream (line 132) | func (h *testStreamHandler) handleStream(t *testing.T, s *ServerStream) { method handleStreamPingPong (line 155) | func (h *testStreamHandler) handleStreamPingPong(t *testing.T, s *Serv... method handleStreamMisbehave (line 182) | func (h *testStreamHandler) handleStreamMisbehave(t *testing.T, s *Ser... method handleStreamEncodingRequiredStatus (line 216) | func (h *testStreamHandler) handleStreamEncodingRequiredStatus(s *Serv... method handleStreamInvalidHeaderField (line 223) | func (h *testStreamHandler) handleStreamInvalidHeaderField(s *ServerSt... method handleStreamDelayRead (line 237) | func (h *testStreamHandler) handleStreamDelayRead(t *testing.T, s *Ser... type hType (line 106) | type hType constant normal (line 109) | normal hType = iota constant suspended (line 110) | suspended constant notifyCall (line 111) | notifyCall constant misbehaved (line 112) | misbehaved constant encodingRequiredStatus (line 113) | encodingRequiredStatus constant invalidHeaderField (line 114) | invalidHeaderField constant delayRead (line 115) | delayRead constant pingpong (line 116) | pingpong type server (line 322) | type server struct method start (line 344) | func (s *server) start(t *testing.T, port int, serverConfig *ServerCon... method wait (line 481) | func (s *server) wait(t *testing.T, timeout time.Duration) { method stop (line 492) | func (s *server) stop() { method addr (line 503) | func (s *server) addr() string { function newTestServer (line 334) | func newTestServer() *server { function setUpServerOnly (line 510) | func setUpServerOnly(t *testing.T, port int, sc *ServerConfig, ht hType)... function setUp (line 518) | func setUp(t *testing.T, port int, ht hType) (*server, *http2Client, fun... function setUpWithOptions (line 525) | func setUpWithOptions(t *testing.T, port int, sc *ServerConfig, ht hType... type controllablePingServer (line 541) | type controllablePingServer struct method setPingAck (line 545) | func (s *controllablePingServer) setPingAck(ack bool) { method serve (line 549) | func (s *controllablePingServer) serve(t *testing.T, conn net.Conn) { function setUpControllablePingServer (line 576) | func setUpControllablePingServer(t *testing.T, copts ConnectOptions, con... function performOneRPC (line 757) | func performOneRPC(ct ClientTransport) { type windowSizeConfig (line 1725) | type windowSizeConfig struct function testFlowControlAccountCheck (line 1762) | func testFlowControlAccountCheck(t *testing.T, msgSize int, wc windowSiz... function waitWhileTrue (line 1895) | func waitWhileTrue(t *testing.T, condition func() (bool, error)) { function runPingPongTest (line 2400) | func runPingPongTest(t *testing.T, msgSize int) { type tableSizeLimit (line 2448) | type tableSizeLimit struct method add (line 2453) | func (t *tableSizeLimit) add(limit uint32) { method getLen (line 2459) | func (t *tableSizeLimit) getLen() int { method getIndex (line 2465) | func (t *tableSizeLimit) getIndex(i int) uint32 { type attrTransportCreds (line 2564) | type attrTransportCreds struct method ClientHandshake (line 2569) | func (ac *attrTransportCreds) ClientHandshake(ctx context.Context, _ s... method Info (line 2574) | func (ac *attrTransportCreds) Info() credentials.ProtocolInfo { method Clone (line 2577) | func (ac *attrTransportCreds) Clone() credentials.TransportCredentials { function newTestClientStream (line 2659) | func newTestClientStream() *ClientStream { function newTestHTTP2Client (line 2671) | func newTestHTTP2Client(cs *ClientStream) *http2Client { function TestConnectionError_Unwrap (line 2925) | func TestConnectionError_Unwrap(t *testing.T) { type readHangingConn (line 3028) | type readHangingConn struct method Read (line 3034) | func (hc *readHangingConn) Read(b []byte) (n int, err error) { method Close (line 3042) | func (hc *readHangingConn) Close() error { type hangingConn (line 3113) | type hangingConn struct method Write (line 3119) | func (hc *hangingConn) Write(b []byte) (n int, err error) { type deadlineTestConn (line 3180) | type deadlineTestConn struct method SetReadDeadline (line 3196) | func (c *deadlineTestConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 3201) | func (c *deadlineTestConn) SetWriteDeadline(t time.Time) error { function setupRSTStreamOnEOSTest (line 3446) | func setupRSTStreamOnEOSTest(ctx context.Context, t *testing.T, sendServ... type fakeReadRequester (line 3913) | type fakeReadRequester struct method requestRead (line 3916) | func (f *fakeReadRequester) requestRead(int) {} type mockWindowUpdater (line 3918) | type mockWindowUpdater struct method updateWindow (line 3922) | func (m *mockWindowUpdater) updateWindow(n int) { FILE: internal/wrr/edf.go type edfWrr (line 26) | type edfWrr struct method Add (line 68) | func (edf *edfWrr) Add(item any, weight int64) { method Next (line 81) | func (edf *edfWrr) Next() any { function NewEDF (line 37) | func NewEDF() WRR { type edfEntry (line 42) | type edfEntry struct type edfPriorityQueue (line 50) | type edfPriorityQueue method Len (line 52) | func (pq edfPriorityQueue) Len() int { return len(pq) } method Less (line 53) | func (pq edfPriorityQueue) Less(i, j int) bool { method Swap (line 56) | func (pq edfPriorityQueue) Swap(i, j int) { pq[i], pq[j] = pq[j], pq[i] } method Push (line 58) | func (pq *edfPriorityQueue) Push(x any) { method Pop (line 62) | func (pq *edfPriorityQueue) Pop() any { FILE: internal/wrr/edf_test.go method TestEDFOnEndpointsWithSameWeight (line 23) | func (s) TestEDFOnEndpointsWithSameWeight(t *testing.T) { FILE: internal/wrr/random.go type weightedItem (line 27) | type weightedItem struct method String (line 33) | func (w *weightedItem) String() string { type randomWRR (line 38) | type randomWRR struct method Next (line 51) | func (rw *randomWRR) Next() (item any) { method Add (line 69) | func (rw *randomWRR) Add(item any, weight int64) { method String (line 82) | func (rw *randomWRR) String() string { function NewRandom (line 45) | func NewRandom() WRR { FILE: internal/wrr/wrr.go type WRR (line 23) | type WRR interface FILE: internal/wrr/wrr_test.go type s (line 31) | type s struct method TestRandomWRRNext (line 118) | func (s) TestRandomWRRNext(t *testing.T) { method TestEdfWrrNext (line 122) | func (s) TestEdfWrrNext(t *testing.T) { function Test (line 35) | func Test(t *testing.T) { constant iterCount (line 39) | iterCount = 10000 function equalApproximate (line 41) | func equalApproximate(a, b float64) error { function testWRRNext (line 53) | func testWRRNext(t *testing.T, newWRR func() WRR) { function BenchmarkRandomWRRNext (line 126) | func BenchmarkRandomWRRNext(b *testing.B) { function init (line 190) | func init() { FILE: internal/xds/balancer/cdsbalancer/aggregate_cluster_test.go function makeAggregateClusterResource (line 52) | func makeAggregateClusterResource(name string, childNames []string) *v3c... function makeLogicalDNSClusterResource (line 62) | func makeLogicalDNSClusterResource(name, dnsHost string, dnsPort uint32)... method TestAggregateClusterSuccess_LeafNode (line 76) | func (s) TestAggregateClusterSuccess_LeafNode(t *testing.T) { method TestAggregateClusterSuccess_ThenUpdateChildClusters (line 169) | func (s) TestAggregateClusterSuccess_ThenUpdateChildClusters(t *testing.... method TestAggregateClusterSuccess_ThenChangeRootToEDS (line 262) | func (s) TestAggregateClusterSuccess_ThenChangeRootToEDS(t *testing.T) { method TestAggregatedClusterSuccess_SwitchBetweenLeafAndAggregate (line 332) | func (s) TestAggregatedClusterSuccess_SwitchBetweenLeafAndAggregate(t *t... method TestAggregatedClusterFailure_ExceedsMaxStackDepth (line 422) | func (s) TestAggregatedClusterFailure_ExceedsMaxStackDepth(t *testing.T) { method TestAggregatedClusterSuccess_DiamondDependency (line 513) | func (s) TestAggregatedClusterSuccess_DiamondDependency(t *testing.T) { method TestAggregatedClusterSuccess_IgnoreDups (line 580) | func (s) TestAggregatedClusterSuccess_IgnoreDups(t *testing.T) { method TestAggregatedCluster_NodeChildOfItself (line 655) | func (s) TestAggregatedCluster_NodeChildOfItself(t *testing.T) { method TestAggregatedCluster_CycleWithNoLeafNode (line 742) | func (s) TestAggregatedCluster_CycleWithNoLeafNode(t *testing.T) { method TestAggregatedCluster_CycleWithLeafNode (line 792) | func (s) TestAggregatedCluster_CycleWithLeafNode(t *testing.T) { method TestWatchers (line 850) | func (s) TestWatchers(t *testing.T) { FILE: internal/xds/balancer/cdsbalancer/cdsbalancer.go constant cdsName (line 41) | cdsName = "cds_experimental" function init (line 57) | func init() { type bb (line 64) | type bb struct method Build (line 67) | func (bb) Build(cc balancer.ClientConn, opts balancer.BuildOptions) ba... method Name (line 95) | func (bb) Name() string { method ParseConfig (line 109) | func (bb) ParseConfig(c json.RawMessage) (serviceconfig.LoadBalancingC... type lbConfig (line 101) | type lbConfig struct type cdsBalancer (line 122) | type cdsBalancer struct method UpdateClientConnState (line 158) | func (b *cdsBalancer) UpdateClientConnState(state balancer.ClientConnS... method handleXDSConfigUpdate (line 200) | func (b *cdsBalancer) handleXDSConfigUpdate() error { method handleClusterUpdate (line 231) | func (b *cdsBalancer) handleClusterUpdate() error { method updateChildConfig (line 269) | func (b *cdsBalancer) updateChildConfig() error { method updatePriorityConfig (line 316) | func (b *cdsBalancer) updatePriorityConfig(clusterName string, cluster... method updateOutlierDetection (line 334) | func (b *cdsBalancer) updateOutlierDetection() error { method ResolverError (line 372) | func (b *cdsBalancer) ResolverError(err error) { method UpdateSubConnState (line 388) | func (b *cdsBalancer) UpdateSubConnState(sc balancer.SubConn, state ba... method closeChildPolicyAndReportTF (line 395) | func (b *cdsBalancer) closeChildPolicyAndReportTF(err error) { method Close (line 408) | func (b *cdsBalancer) Close() { method ExitIdle (line 419) | func (b *cdsBalancer) ExitIdle() { method annotateErrorWithNodeID (line 441) | func (b *cdsBalancer) annotateErrorWithNodeID(err error) error { method onClusterAmbientError (line 448) | func (b *cdsBalancer) onClusterAmbientError(name string, err error) { method onClusterResourceError (line 461) | func (b *cdsBalancer) onClusterResourceError(name string, err error) { method onClusterError (line 466) | func (b *cdsBalancer) onClusterError(name string, err error) { FILE: internal/xds/balancer/cdsbalancer/cdsbalancer_test.go constant target (line 74) | target = "test.service" constant routeName (line 75) | routeName = "test_route" constant clusterName (line 76) | clusterName = "cluster1" constant edsClusterName (line 77) | edsClusterName = clusterName + "-eds" constant dnsClusterName (line 78) | dnsClusterName = clusterName + "-dns" constant serviceName (line 79) | serviceName = "service1" constant dnsHostName (line 80) | dnsHostName = "dns_host" constant host (line 81) | host = "localhost" constant port (line 82) | port = 8080 constant dnsPort (line 83) | dnsPort = uint32(8080) constant defaultTestTimeout (line 84) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 85) | defaultTestShortTimeout = 10 * time.Millisecond type s (line 88) | type s struct method TestConfigurationUpdate_EmptyCluster (line 274) | func (s) TestConfigurationUpdate_EmptyCluster(t *testing.T) { method TestConfigurationUpdate_MissingXdsClient (line 333) | func (s) TestConfigurationUpdate_MissingXdsClient(t *testing.T) { method TestClusterUpdate_Success (line 372) | func (s) TestClusterUpdate_Success(t *testing.T) { method TestClusterUpdate_Failure (line 623) | func (s) TestClusterUpdate_Failure(t *testing.T) { method TestResolverError (line 731) | func (s) TestResolverError(t *testing.T) { method TestResourceNotFoundResolverError (line 821) | func (s) TestResourceNotFoundResolverError(t *testing.T) { method TestClusterUpdate_ResourceNotFound (line 894) | func (s) TestClusterUpdate_ResourceNotFound(t *testing.T) { method TestClose (line 974) | func (s) TestClose(t *testing.T) { method TestExitIdle (line 1014) | func (s) TestExitIdle(t *testing.T) { method TestParseConfig (line 1053) | func (s) TestParseConfig(t *testing.T) { function Test (line 92) | func Test(t *testing.T) { function waitForResourceNames (line 96) | func waitForResourceNames(ctx context.Context, resourceNamesCh chan []st... function registerWrappedPriorityPolicy (line 123) | func registerWrappedPriorityPolicy(t *testing.T) (chan serviceconfig.Loa... function setupWithManagementServer (line 178) | func setupWithManagementServer(t *testing.T, lis net.Listener, onStreamR... function compareLoadBalancingConfig (line 213) | func compareLoadBalancingConfig(ctx context.Context, lbCfgCh chan servic... function verifyRPCError (line 233) | func verifyRPCError(gotErr error, wantCode codes.Code, wantErr, wantNode... function createPriorityConfig (line 250) | func createPriorityConfig(cluster string) *iserviceconfig.BalancerConfig { function newUint32 (line 1112) | func newUint32(i uint32) *uint32 { FILE: internal/xds/balancer/cdsbalancer/configbuilder.go constant million (line 41) | million = 1000000 type priorityConfig (line 48) | type priorityConfig struct function hostName (line 64) | func hostName(clusterName string, update xdsresource.ClusterUpdate) stri... function buildPriorityConfigJSON (line 94) | func buildPriorityConfigJSON(priorities []*priorityConfig, xdsLBPolicy *... function buildPriorityConfig (line 106) | func buildPriorityConfig(priorities []*priorityConfig, xdsLBPolicy *inte... function convertClusterImplMapToOutlierDetection (line 147) | func convertClusterImplMapToOutlierDetection(ciCfgs map[string]*clusteri... function makeClusterImplOutlierDetectionChild (line 155) | func makeClusterImplOutlierDetectionChild(ciCfg *clusterimpl.LBConfig, o... function buildClusterImplConfigForDNS (line 161) | func buildClusterImplConfigForDNS(g *nameGenerator, config *xdsresource.... function buildClusterImplConfigForEDS (line 201) | func buildClusterImplConfigForEDS(g *nameGenerator, config *xdsresource.... function groupLocalitiesByPriority (line 237) | func groupLocalitiesByPriority(localities []xdsresource.Locality) [][]xd... function priorityLocalitiesToClusterImpl (line 258) | func priorityLocalitiesToClusterImpl(localities []xdsresource.Locality, ... constant fixedPointFractionalBits (line 340) | fixedPointFractionalBits = 31 function fractionToFixedPoint (line 349) | func fractionToFixedPoint(numerator, denominator uint64) uint32 { function fixedPointMultiply (line 353) | func fixedPointMultiply(a, b uint32) uint32 { FILE: internal/xds/balancer/cdsbalancer/configbuilder_childname.go type nameGenerator (line 33) | type nameGenerator struct method generate (line 55) | func (ng *nameGenerator) generate(priorities [][]xdsresource.Locality)... function newNameGenerator (line 39) | func newNameGenerator(prefix uint64) *nameGenerator { FILE: internal/xds/balancer/cdsbalancer/configbuilder_childname_test.go method Test_nameGenerator_generate (line 28) | func (s) Test_nameGenerator_generate(t *testing.T) { FILE: internal/xds/balancer/cdsbalancer/configbuilder_test.go constant testClusterName (line 53) | testClusterName = "test-cluster-name" constant testClusterName2 (line 54) | testClusterName2 = "google_cfe_some-name" constant testMaxRequests (line 55) | testMaxRequests = 314 constant testEDSServiceName (line 56) | testEDSServiceName = "service-name-from-parent" constant testDropCategory (line 57) | testDropCategory = "test-drops" constant testDropOverMillion (line 58) | testDropOverMillion = 1 function makeLocalityID (line 83) | func makeLocalityID(idx int) clients.Locality { function makeEndpoint (line 92) | func makeEndpoint(localityIdx, endpointIdx int, endpointWeight uint32) x... function makeResolverEndpoint (line 109) | func makeResolverEndpoint(localityIdx, endpointIdx int) resolver.Endpoint { function makeLocality (line 119) | func makeLocality(localityIdx int, localityWeight, priority uint32, endp... method TestBuildPriorityConfigJSON (line 134) | func (s) TestBuildPriorityConfigJSON(t *testing.T) { method TestBuildPriorityConfig (line 203) | func (s) TestBuildPriorityConfig(t *testing.T) { function testEndpointForDNS (line 309) | func testEndpointForDNS(endpoints []resolver.Endpoint, localityWeight ui... method TestBuildClusterImplConfigForDNS (line 319) | func (s) TestBuildClusterImplConfigForDNS(t *testing.T) { method TestBuildClusterImplConfigForEDS_PickFirstWeightedShuffling_Disabled (line 392) | func (s) TestBuildClusterImplConfigForEDS_PickFirstWeightedShuffling_Dis... method TestBuildClusterImplConfigForEDS_PickFirstWeightedShuffling_Enabled (line 467) | func (s) TestBuildClusterImplConfigForEDS_PickFirstWeightedShuffling_Ena... method TestGroupLocalitiesByPriority (line 559) | func (s) TestGroupLocalitiesByPriority(t *testing.T) { method TestPriorityLocalitiesToClusterImpl_PickFirstWeightedShuffling_Disabled (line 627) | func (s) TestPriorityLocalitiesToClusterImpl_PickFirstWeightedShuffling_... method TestPriorityLocalitiesToClusterImpl_PickFirstWeightedShuffling_Enabled (line 765) | func (s) TestPriorityLocalitiesToClusterImpl_PickFirstWeightedShuffling_... function testEndpointWithAttrs (line 944) | func testEndpointWithAttrs(endpoint resolver.Endpoint, localityWeight, e... method TestConvertClusterImplMapToOutlierDetection (line 956) | func (s) TestConvertClusterImplMapToOutlierDetection(t *testing.T) { FILE: internal/xds/balancer/cdsbalancer/e2e_test/aggregate_cluster_test.go function makeAggregateClusterResource (line 62) | func makeAggregateClusterResource(name string, childNames []string) *v3c... function makeLogicalDNSClusterResource (line 72) | func makeLogicalDNSClusterResource(name, dnsHost string, dnsPort uint32)... function setupDNS (line 89) | func setupDNS(t *testing.T) (chan resolver.Target, *manual.Resolver) { method TestAggregateCluster_WithTwoEDSClusters (line 107) | func (s) TestAggregateCluster_WithTwoEDSClusters(t *testing.T) { method TestAggregateCluster_WithTwoEDSClusters_PrioritiesChange (line 214) | func (s) TestAggregateCluster_WithTwoEDSClusters_PrioritiesChange(t *tes... function hostAndPortFromAddress (line 294) | func hostAndPortFromAddress(t *testing.T, addr string) (string, uint32) { method TestAggregateCluster_WithOneDNSCluster (line 312) | func (s) TestAggregateCluster_WithOneDNSCluster(t *testing.T) { method TestAggregateCluster_WithOneDNSCluster_ParseFailure (line 363) | func (s) TestAggregateCluster_WithOneDNSCluster_ParseFailure(t *testing.... method TestAggregateCluster_WithOneDNSCluster_HostnameChange (line 406) | func (s) TestAggregateCluster_WithOneDNSCluster_HostnameChange(t *testin... method TestAggregateCluster_WithEDSAndDNS (line 488) | func (s) TestAggregateCluster_WithEDSAndDNS(t *testing.T) { method TestAggregateCluster_SwitchEDSAndDNS (line 605) | func (s) TestAggregateCluster_SwitchEDSAndDNS(t *testing.T) { method TestAggregateCluster_BadEDS_GoodToBadDNS (line 689) | func (s) TestAggregateCluster_BadEDS_GoodToBadDNS(t *testing.T) { method TestAggregateCluster_BadEDSFromError_GoodToBadDNS (line 797) | func (s) TestAggregateCluster_BadEDSFromError_GoodToBadDNS(t *testing.T) { method TestAggregateCluster_BadDNS_GoodEDS (line 857) | func (s) TestAggregateCluster_BadDNS_GoodEDS(t *testing.T) { method TestAggregateCluster_BadEDS_BadDNS (line 934) | func (s) TestAggregateCluster_BadEDS_BadDNS(t *testing.T) { method TestAggregateCluster_NoFallback_EDSNackedWithPreviousGoodUpdate (line 1014) | func (s) TestAggregateCluster_NoFallback_EDSNackedWithPreviousGoodUpdate... method TestAggregateCluster_Fallback_EDSNackedWithoutPreviousGoodUpdate (line 1095) | func (s) TestAggregateCluster_Fallback_EDSNackedWithoutPreviousGoodUpdat... method TestAggregateCluster_Fallback_EDS_ResourceNotFound (line 1160) | func (s) TestAggregateCluster_Fallback_EDS_ResourceNotFound(t *testing.T) { function addrsToEndpoints (line 1242) | func addrsToEndpoints(addrs []resolver.Address) []resolver.Endpoint { FILE: internal/xds/balancer/cdsbalancer/e2e_test/balancer_test.go function setupAndDial (line 73) | func setupAndDial(t *testing.T, bootstrapContents []byte) (*grpc.ClientC... method TestErrorFromParentLB_ConnectionError (line 97) | func (s) TestErrorFromParentLB_ConnectionError(t *testing.T) { method TestErrorFromParentLB_ResourceNotFound (line 169) | func (s) TestErrorFromParentLB_ResourceNotFound(t *testing.T) { method TestOutlierDetectionConfigPropagationToChildPolicy (line 305) | func (s) TestOutlierDetectionConfigPropagationToChildPolicy(t *testing.T) { FILE: internal/xds/balancer/cdsbalancer/e2e_test/dns_impl_test.go method TestLogicalDNS_MultipleEndpoints (line 51) | func (s) TestLogicalDNS_MultipleEndpoints(t *testing.T) { FILE: internal/xds/balancer/cdsbalancer/e2e_test/eds_impl_test.go constant serviceName (line 64) | serviceName = "listener-my-service-client-side-xds" constant routeName (line 65) | routeName = "route-my-service-client-side-xds" constant clusterName (line 66) | clusterName = "cluster-my-service-client-side-xds" constant edsServiceName (line 67) | edsServiceName = "endpoints-my-service-client-side-xds" constant localityName1 (line 68) | localityName1 = "my-locality-1" constant localityName2 (line 69) | localityName2 = "my-locality-2" constant localityName3 (line 70) | localityName3 = "my-locality-3" constant defaultTestTimeout (line 72) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 73) | defaultTestShortTimeout = 10 * time.Millisecond constant defaultTestWatchExpiryTimeout (line 74) | defaultTestWatchExpiryTimeout = 500 * time.Millisecond type s (line 77) | type s struct method TestEDS_OneLocality (line 135) | func (s) TestEDS_OneLocality(t *testing.T) { method TestEDS_MultipleLocalities (line 230) | func (s) TestEDS_MultipleLocalities(t *testing.T) { method TestEDS_EndpointsHealth (line 349) | func (s) TestEDS_EndpointsHealth(t *testing.T) { method TestEDS_EmptyUpdate (line 411) | func (s) TestEDS_EmptyUpdate(t *testing.T) { method TestEDS_ResourceRemoved (line 474) | func (s) TestEDS_ResourceRemoved(t *testing.T) { method TestEDS_ClusterResourceDoesNotContainEDSServiceName (line 562) | func (s) TestEDS_ClusterResourceDoesNotContainEDSServiceName(t *testin... method TestEDS_ClusterResourceUpdates (line 634) | func (s) TestEDS_ClusterResourceUpdates(t *testing.T) { method TestEDS_BadUpdateWithoutPreviousGoodUpdate (line 770) | func (s) TestEDS_BadUpdateWithoutPreviousGoodUpdate(t *testing.T) { method TestEDS_BadUpdateWithPreviousGoodUpdate (line 812) | func (s) TestEDS_BadUpdateWithPreviousGoodUpdate(t *testing.T) { method TestEDS_ResourceNotFound (line 869) | func (s) TestEDS_ResourceNotFound(t *testing.T) { method TestEDS_EndpointWithMultipleAddresses (line 953) | func (s) TestEDS_EndpointWithMultipleAddresses(t *testing.T) { function Test (line 81) | func Test(t *testing.T) { function backendAddressesAndPorts (line 88) | func backendAddressesAndPorts(t *testing.T, servers []*stubserver.StubSe... function startTestServiceBackends (line 98) | func startTestServiceBackends(t *testing.T, numBackends int) ([]*stubser... function clientResources (line 114) | func clientResources(nodeID, edsServiceName string, localities []e2e.Loc... function waitForProducedZeroAddressesError (line 929) | func waitForProducedZeroAddressesError(ctx context.Context, t *testing.T... FILE: internal/xds/balancer/cdsbalancer/logging.go constant prefix (line 28) | prefix = "[cds-lb %p] " function prefixLogger (line 32) | func prefixLogger(p *cdsBalancer) *internalgrpclog.PrefixLogger { FILE: internal/xds/balancer/clusterimpl/balancer_test.go constant defaultTestTimeout (line 43) | defaultTestTimeout = 5 * time.Second constant defaultShortTestTimeout (line 44) | defaultShortTestTimeout = 100 * time.Microsecond constant testClusterName (line 46) | testClusterName = "test-cluster" constant testServiceName (line 47) | testServiceName = "test-eds-service" type s (line 54) | type s struct method TestPickerUpdateAfterClose (line 70) | func (s) TestPickerUpdateAfterClose(t *testing.T) { method TestClusterNameInAddressAttributes (line 152) | func (s) TestClusterNameInAddressAttributes(t *testing.T) { method TestPickerUpdatedSynchronouslyOnConfigUpdate (line 253) | func (s) TestPickerUpdatedSynchronouslyOnConfigUpdate(t *testing.T) { function Test (line 58) | func Test(t *testing.T) { function init (line 62) | func init() { FILE: internal/xds/balancer/clusterimpl/clusterimpl.go constant Name (line 59) | Name = "xds_cluster_impl_experimental" constant defaultRequestCountMax (line 60) | defaultRequestCountMax = 1024 constant loadStoreStopTimeout (line 61) | loadStoreStopTimeout = 1 * time.Second function init (line 72) | func init() { type bb (line 76) | type bb struct method Build (line 78) | func (bb) Build(cc balancer.ClientConn, bOpts balancer.BuildOptions) b... method Name (line 103) | func (bb) Name() string { method ParseConfig (line 107) | func (bb) ParseConfig(c json.RawMessage) (serviceconfig.LoadBalancingC... type clusterImplBalancer (line 111) | type clusterImplBalancer struct method handleDropAndRequestCountLocked (line 155) | func (b *clusterImplBalancer) handleDropAndRequestCountLocked(clusterC... method newPickerLocked (line 197) | func (b *clusterImplBalancer) newPickerLocked() *picker { method updateLoadStore (line 211) | func (b *clusterImplBalancer) updateLoadStore(clusterUpdate *xdsresour... method handleSecurityConfig (line 310) | func (b *clusterImplBalancer) handleSecurityConfig(config *xdsresource... method UpdateClientConnState (line 366) | func (b *clusterImplBalancer) UpdateClientConnState(s balancer.ClientC... method ResolverError (line 457) | func (b *clusterImplBalancer) ResolverError(err error) { method updateSubConnState (line 461) | func (b *clusterImplBalancer) updateSubConnState(_ balancer.SubConn, s... method UpdateSubConnState (line 478) | func (b *clusterImplBalancer) UpdateSubConnState(sc balancer.SubConn, ... method Close (line 482) | func (b *clusterImplBalancer) Close() { method ExitIdle (line 501) | func (b *clusterImplBalancer) ExitIdle() { method UpdateState (line 507) | func (b *clusterImplBalancer) UpdateState(state balancer.State) { method setClusterName (line 530) | func (b *clusterImplBalancer) setClusterName(n string) { method getClusterName (line 536) | func (b *clusterImplBalancer) getClusterName() string { method NewSubConn (line 561) | func (b *clusterImplBalancer) NewSubConn(addrs []resolver.Address, opt... method RemoveSubConn (line 586) | func (b *clusterImplBalancer) RemoveSubConn(sc balancer.SubConn) { method UpdateAddresses (line 590) | func (b *clusterImplBalancer) UpdateAddresses(sc balancer.SubConn, _ [... function buildProviderFunc (line 289) | func buildProviderFunc(configs map[string]*certprovider.BuildableConfig,... type scWrapper (line 553) | type scWrapper struct type systemRootCertsProvider (line 596) | type systemRootCertsProvider struct method Close (line 598) | func (systemRootCertsProvider) Close() {} method KeyMaterial (line 600) | func (systemRootCertsProvider) KeyMaterial(context.Context) (*certprov... FILE: internal/xds/balancer/clusterimpl/config.go type DropConfig (line 29) | type DropConfig struct type LBConfig (line 35) | type LBConfig struct function parseConfig (line 42) | func parseConfig(c json.RawMessage) (*LBConfig, error) { FILE: internal/xds/balancer/clusterimpl/config_test.go constant testJSONConfig (line 32) | testJSONConfig = `{ constant wtName (line 68) | wtName = "weighted_target_experimental" method TestParseConfig (line 89) | func (s) TestParseConfig(t *testing.T) { FILE: internal/xds/balancer/clusterimpl/logging.go constant prefix (line 28) | prefix = "[xds-cluster-impl-lb %p] " function prefixLogger (line 32) | func prefixLogger(p *clusterImplBalancer) *internalgrpclog.PrefixLogger { FILE: internal/xds/balancer/clusterimpl/picker.go constant million (line 42) | million = 1000000 type dropper (line 44) | type dropper struct method drop (line 72) | func (d *dropper) drop() (ret bool) { function gcd (line 50) | func gcd(a, b uint32) uint32 { function newDropper (line 59) | func newDropper(c DropConfig) *dropper { type loadReporter (line 77) | type loadReporter interface type picker (line 85) | type picker struct method Pick (line 106) | func (d *picker) Pick(info balancer.PickInfo) (balancer.PickResult, er... function telemetryLabels (line 95) | func telemetryLabels(ctx context.Context) map[string]string { type autoHostRewriteKey (line 209) | type autoHostRewriteKey struct function autoHostRewriteEnabled (line 212) | func autoHostRewriteEnabled(ctx context.Context) bool { function AutoHostRewriteEnabledForTesting (line 219) | func AutoHostRewriteEnabledForTesting(ctx context.Context) bool { function EnableAutoHostRewrite (line 225) | func EnableAutoHostRewrite(ctx context.Context) context.Context { FILE: internal/xds/balancer/clusterimpl/tests/balancer_test.go constant defaultTestTimeout (line 78) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 79) | defaultTestShortTimeout = 100 * time.Millisecond type s (line 82) | type s struct method TestConfigUpdateWithSameLoadReportingServerConfig (line 95) | func (s) TestConfigUpdateWithSameLoadReportingServerConfig(t *testing.... method TestLoadReportingPickFirstMultiLocality (line 200) | func (s) TestLoadReportingPickFirstMultiLocality(t *testing.T) { method TestCircuitBreaking (line 370) | func (s) TestCircuitBreaking(t *testing.T) { method TestDropByCategory (line 563) | func (s) TestDropByCategory(t *testing.T) { method TestCircuitBreakingLogicalDNS (line 702) | func (s) TestCircuitBreakingLogicalDNS(t *testing.T) { method TestLRSLogicalDNS (line 817) | func (s) TestLRSLogicalDNS(t *testing.T) { method TestReResolutionAfterTransientFailure (line 904) | func (s) TestReResolutionAfterTransientFailure(t *testing.T) { method TestUpdateLRSServerToNil (line 1020) | func (s) TestUpdateLRSServerToNil(t *testing.T) { method TestChildPolicyChangeOnConfigUpdate (line 1101) | func (s) TestChildPolicyChangeOnConfigUpdate(t *testing.T) { method TestFailedToParseChildPolicyConfig (line 1222) | func (s) TestFailedToParseChildPolicyConfig(t *testing.T) { method TestAuthorityOverriding (line 1353) | func (s) TestAuthorityOverriding(t *testing.T) { method TestAuthorityOverridingWithTLS (line 1441) | func (s) TestAuthorityOverridingWithTLS(t *testing.T) { function Test (line 86) | func Test(t *testing.T) { function waitForSuccessfulLoadReport (line 351) | func waitForSuccessfulLoadReport(ctx context.Context, lrsServer *fakeser... function computeIdealNumRpcs (line 504) | func computeIdealNumRpcs(p, errorTolerance float64) uint64 { function verifyDropRateByCategory (line 508) | func verifyDropRateByCategory(ctx context.Context, client testgrpc.TestS... function hostAndPortFromAddress (line 802) | func hostAndPortFromAddress(t *testing.T, addr string) (string, uint32) { function setupManagementServerAndResolver (line 1287) | func setupManagementServerAndResolver(t *testing.T) (*e2e.ManagementServ... function configureXDSResources (line 1305) | func configureXDSResources(ctx context.Context, t *testing.T, mgmtServer... FILE: internal/xds/balancer/clusterimpl/tests/clusterimpl_security_test.go function setupForSecurityTests (line 69) | func setupForSecurityTests(t *testing.T, bootstrapContents []byte, clien... function xdsClientCredsWithInsecureFallback (line 99) | func xdsClientCredsWithInsecureFallback(t *testing.T) credentials.Transp... function tlsServerCreds (line 113) | func tlsServerCreds(t *testing.T) credentials.TransportCredentials { function verifySecurityInformationFromPeer (line 136) | func verifySecurityInformationFromPeer(t *testing.T, pr *peer.Peer, want... function makeAggregateClusterResource (line 172) | func makeAggregateClusterResource(name string, childNames []string) *v3c... method TestSecurityConfigWithoutXDSCreds (line 183) | func (s) TestSecurityConfigWithoutXDSCreds(t *testing.T) { method TestNoSecurityConfigWithXDSCreds (line 223) | func (s) TestNoSecurityConfigWithXDSCreds(t *testing.T) { method TestSecurityConfigNotFoundInBootstrap (line 261) | func (s) TestSecurityConfigNotFoundInBootstrap(t *testing.T) { type errCertProviderBuilder (line 303) | type errCertProviderBuilder struct method ParseConfig (line 307) | func (e errCertProviderBuilder) ParseConfig(any) (*certprovider.Builda... method Name (line 314) | func (e errCertProviderBuilder) Name() string { constant errCertProviderName (line 305) | errCertProviderName = "err-cert-provider" function init (line 318) | func init() { method TestCertproviderStoreError (line 325) | func (s) TestCertproviderStoreError(t *testing.T) { method TestGoodSecurityConfig (line 374) | func (s) TestGoodSecurityConfig(t *testing.T) { method TestSecurityConfigUpdate_BadToGood (line 418) | func (s) TestSecurityConfigUpdate_BadToGood(t *testing.T) { method TestSecurityConfigUpdate_GoodToFallback (line 498) | func (s) TestSecurityConfigUpdate_GoodToFallback(t *testing.T) { method TestSecurityConfigUpdate_GoodToBad (line 575) | func (s) TestSecurityConfigUpdate_GoodToBad(t *testing.T) { method TestSystemRootCertsSecurityConfig (line 641) | func (s) TestSystemRootCertsSecurityConfig(t *testing.T) { method TestAggregateClusterSecurityConfig (line 709) | func (s) TestAggregateClusterSecurityConfig(t *testing.T) { FILE: internal/xds/balancer/clustermanager/balancerstateaggregator.go type subBalancerState (line 31) | type subBalancerState struct method String (line 41) | func (s *subBalancerState) String() string { type balancerStateAggregator (line 45) | type balancerStateAggregator struct method close (line 73) | func (bsa *balancerStateAggregator) close() { method add (line 82) | func (bsa *balancerStateAggregator) add(id string) { method remove (line 104) | func (bsa *balancerStateAggregator) remove(id string) { method pauseStateUpdates (line 124) | func (bsa *balancerStateAggregator) pauseStateUpdates() { method resumeStateUpdates (line 133) | func (bsa *balancerStateAggregator) resumeStateUpdates() { method UpdateState (line 146) | func (bsa *balancerStateAggregator) UpdateState(id string, state balan... method buildAndUpdateLocked (line 171) | func (bsa *balancerStateAggregator) buildAndUpdateLocked() { method buildLocked (line 185) | func (bsa *balancerStateAggregator) buildLocked() balancer.State { function newBalancerStateAggregator (line 64) | func newBalancerStateAggregator(cc balancer.ClientConn, logger *grpclog.... FILE: internal/xds/balancer/clustermanager/clustermanager.go constant balancerName (line 39) | balancerName = "xds_cluster_manager_experimental" function init (line 41) | func init() { type bb (line 45) | type bb struct method Build (line 47) | func (bb) Build(cc balancer.ClientConn, opts balancer.BuildOptions) ba... method Name (line 62) | func (bb) Name() string { method ParseConfig (line 66) | func (bb) ParseConfig(c json.RawMessage) (serviceconfig.LoadBalancingC... type bal (line 70) | type bal struct method setErrorPickerForChild (line 78) | func (b *bal) setErrorPickerForChild(childName string, err error) { method updateChildren (line 85) | func (b *bal) updateChildren(s balancer.ClientConnState, newConfig *lb... method UpdateClientConnState (line 166) | func (b *bal) UpdateClientConnState(s balancer.ClientConnState) error { method ResolverError (line 181) | func (b *bal) ResolverError(err error) { method UpdateSubConnState (line 185) | func (b *bal) UpdateSubConnState(sc balancer.SubConn, state balancer.S... method Close (line 189) | func (b *bal) Close() { method ExitIdle (line 195) | func (b *bal) ExitIdle() { constant prefix (line 199) | prefix = "[xds-cluster-manager-lb %p] " function prefixLogger (line 203) | func prefixLogger(p *bal) *internalgrpclog.PrefixLogger { FILE: internal/xds/balancer/clustermanager/clustermanager_test.go type s (line 41) | type s struct method TestClusterPicks (line 75) | func (s) TestClusterPicks(t *testing.T) { method TestConfigUpdateAddCluster (line 152) | func (s) TestConfigUpdateAddCluster(t *testing.T) { method TestRoutingConfigUpdateDeleteAll (line 305) | func (s) TestRoutingConfigUpdateDeleteAll(t *testing.T) { method TestClusterManagerForwardsBalancerBuildOptions (line 462) | func (s) TestClusterManagerForwardsBalancerBuildOptions(t *testing.T) { method TestInitialIdle (line 546) | func (s) TestInitialIdle(t *testing.T) { method TestClusterGracefulSwitch (line 593) | func (s) TestClusterGracefulSwitch(t *testing.T) { method TestUpdateStatePauses (line 709) | func (s) TestUpdateStatePauses(t *testing.T) { function Test (line 45) | func Test(t *testing.T) { constant defaultTestTimeout (line 50) | defaultTestTimeout = 5 * time.Second constant testBackendAddrsCount (line 51) | testBackendAddrsCount = 12 function init (line 56) | func init() { function testPick (line 62) | func testPick(t *testing.T, p balancer.Picker, info balancer.PickInfo, w... constant initIdleBalancerName (line 516) | initIdleBalancerName = "test-init-Idle-balancer" function init (line 520) | func init() { type tcc (line 699) | type tcc struct method UpdateState (line 704) | func (t *tcc) UpdateState(bs balancer.State) { FILE: internal/xds/balancer/clustermanager/config.go type childConfig (line 28) | type childConfig struct type lbConfig (line 34) | type lbConfig struct function parseConfig (line 39) | func parseConfig(c json.RawMessage) (*lbConfig, error) { FILE: internal/xds/balancer/clustermanager/config_test.go constant testJSONConfig (line 32) | testJSONConfig = `{ constant cdsName (line 75) | cdsName = "cds_experimental" constant wtName (line 76) | wtName = "weighted_target_experimental" method Test_parseConfig (line 99) | func (s) Test_parseConfig(t *testing.T) { FILE: internal/xds/balancer/clustermanager/e2e_test/clustermanager_test.go type s (line 60) | type s struct method TestConfigUpdate_ChildPolicyChange (line 95) | func (s) TestConfigUpdate_ChildPolicyChange(t *testing.T) { function Test (line 64) | func Test(t *testing.T) { constant defaultTestTimeout (line 69) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 70) | defaultTestShortTimeout = 10 * time.Millisecond function makeEmptyCallRPCAndVerifyPeer (line 73) | func makeEmptyCallRPCAndVerifyPeer(ctx context.Context, client testgrpc.... function makeUnaryCallRPCAndVerifyPeer (line 84) | func makeUnaryCallRPCAndVerifyPeer(ctx context.Context, client testgrpc.... FILE: internal/xds/balancer/clustermanager/picker.go type pickerGroup (line 31) | type pickerGroup struct method Pick (line 45) | func (pg *pickerGroup) Pick(info balancer.PickInfo) (balancer.PickResu... function newPickerGroup (line 35) | func newPickerGroup(idToPickerState map[string]*subBalancerState) *picke... type clusterKey (line 53) | type clusterKey struct function getPickedCluster (line 55) | func getPickedCluster(ctx context.Context) string { function GetPickedClusterForTesting (line 62) | func GetPickedClusterForTesting(ctx context.Context) string { function SetPickedCluster (line 68) | func SetPickedCluster(ctx context.Context, cluster string) context.Conte... FILE: internal/xds/balancer/loadstore/load_store_wrapper.go function NewWrapper (line 30) | func NewWrapper() *Wrapper { type Wrapper (line 50) | type Wrapper struct method UpdateClusterAndService (line 64) | func (lsw *Wrapper) UpdateClusterAndService(cluster, edsService string) { method UpdateLoadStore (line 80) | func (lsw *Wrapper) UpdateLoadStore(store *lrsclient.LoadStore) { method CallStarted (line 95) | func (lsw *Wrapper) CallStarted(locality clients.Locality) { method CallFinished (line 104) | func (lsw *Wrapper) CallFinished(locality clients.Locality, err error) { method CallServerLoad (line 113) | func (lsw *Wrapper) CallServerLoad(locality clients.Locality, name str... method CallDropped (line 122) | func (lsw *Wrapper) CallDropped(category string) { FILE: internal/xds/balancer/outlierdetection/balancer.go constant Name (line 54) | Name = "outlier_detection_experimental" function init (line 74) | func init() { type bb (line 78) | type bb struct method Build (line 80) | func (bb) Build(cc balancer.ClientConn, bOpts balancer.BuildOptions) b... method ParseConfig (line 100) | func (bb) ParseConfig(s json.RawMessage) (serviceconfig.LoadBalancingC... method Name (line 154) | func (bb) Name() string { type scUpdate (line 159) | type scUpdate struct type ejectionUpdate (line 164) | type ejectionUpdate struct type lbCfgUpdate (line 169) | type lbCfgUpdate struct type scHealthUpdate (line 175) | type scHealthUpdate struct type outlierDetectionBalancer (line 180) | type outlierDetectionBalancer struct method noopConfig (line 240) | func (b *outlierDetectionBalancer) noopConfig() bool { method onIntervalConfig (line 250) | func (b *outlierDetectionBalancer) onIntervalConfig() { method onNoopConfig (line 271) | func (b *outlierDetectionBalancer) onNoopConfig() { method UpdateClientConnState (line 287) | func (b *outlierDetectionBalancer) UpdateClientConnState(s balancer.Cl... method ResolverError (line 374) | func (b *outlierDetectionBalancer) ResolverError(err error) { method updateSubConnState (line 378) | func (b *outlierDetectionBalancer) updateSubConnState(scw *subConnWrap... method UpdateSubConnState (line 388) | func (b *outlierDetectionBalancer) UpdateSubConnState(sc balancer.SubC... method Close (line 392) | func (b *outlierDetectionBalancer) Close() { method ExitIdle (line 407) | func (b *outlierDetectionBalancer) ExitIdle() { method UpdateState (line 477) | func (b *outlierDetectionBalancer) UpdateState(s balancer.State) { method NewSubConn (line 481) | func (b *outlierDetectionBalancer) NewSubConn(addrs []resolver.Address... method RemoveSubConn (line 512) | func (b *outlierDetectionBalancer) RemoveSubConn(sc balancer.SubConn) { method removeSubConnFromEndpointMapEntry (line 520) | func (b *outlierDetectionBalancer) removeSubConnFromEndpointMapEntry(s... method UpdateAddresses (line 533) | func (b *outlierDetectionBalancer) UpdateAddresses(sc balancer.SubConn... method handleSubConnUpdate (line 538) | func (b *outlierDetectionBalancer) handleSubConnUpdate(u *scUpdate) { method handleSubConnHealthUpdate (line 549) | func (b *outlierDetectionBalancer) handleSubConnHealthUpdate(u *scHeal... method handleEjectedUpdate (line 555) | func (b *outlierDetectionBalancer) handleEjectedUpdate(u *ejectionUpda... method handleChildStateUpdate (line 561) | func (b *outlierDetectionBalancer) handleChildStateUpdate(u balancer.S... method handleLBConfigUpdate (line 587) | func (b *outlierDetectionBalancer) handleLBConfigUpdate(u lbCfgUpdate) { method run (line 612) | func (b *outlierDetectionBalancer) run() { method intervalTimerAlgorithm (line 655) | func (b *outlierDetectionBalancer) intervalTimerAlgorithm() { method endpointsWithAtLeastRequestVolume (line 702) | func (b *outlierDetectionBalancer) endpointsWithAtLeastRequestVolume(r... method meanAndStdDev (line 718) | func (b *outlierDetectionBalancer) meanAndStdDev(endpoints []*endpoint... method successRateAlgorithm (line 743) | func (b *outlierDetectionBalancer) successRateAlgorithm() { method failurePercentageAlgorithm (line 777) | func (b *outlierDetectionBalancer) failurePercentageAlgorithm() { method ejectEndpoint (line 806) | func (b *outlierDetectionBalancer) ejectEndpoint(epInfo *endpointInfo,... method unejectEndpoint (line 820) | func (b *outlierDetectionBalancer) unejectEndpoint(epInfo *endpointInf... type wrappedPicker (line 416) | type wrappedPicker struct method Pick (line 421) | func (wp *wrappedPicker) Pick(info balancer.PickInfo) (balancer.PickRe... function incrementCounter (line 453) | func incrementCounter(sc balancer.SubConn, info balancer.DoneInfo) { type synchronizingBalancerWrapper (line 833) | type synchronizingBalancerWrapper struct method switchTo (line 840) | func (sbw *synchronizingBalancerWrapper) switchTo(builder balancer.Bui... method updateClientConnState (line 846) | func (sbw *synchronizingBalancerWrapper) updateClientConnState(state b... method resolverError (line 852) | func (sbw *synchronizingBalancerWrapper) resolverError(err error) { method closeLB (line 858) | func (sbw *synchronizingBalancerWrapper) closeLB() { method exitIdle (line 864) | func (sbw *synchronizingBalancerWrapper) exitIdle() { method updateSubConnHealthState (line 870) | func (sbw *synchronizingBalancerWrapper) updateSubConnHealthState(scw ... method updateSubConnState (line 876) | func (sbw *synchronizingBalancerWrapper) updateSubConnState(scw *subCo... method handleEjectionUpdate (line 882) | func (sbw *synchronizingBalancerWrapper) handleEjectionUpdate(u *eject... type endpointInfo (line 898) | type endpointInfo struct method String (line 913) | func (a *endpointInfo) String() string { function newEndpointInfo (line 923) | func newEndpointInfo() *endpointInfo { FILE: internal/xds/balancer/outlierdetection/balancer_ext_test.go type s (line 38) | type s struct method TestParseConfig (line 48) | func (s) TestParseConfig(t *testing.T) { function Test (line 42) | func Test(t *testing.T) { FILE: internal/xds/balancer/outlierdetection/balancer_test.go type s (line 64) | type s struct method TestChildBasicOperations (line 112) | func (s) TestChildBasicOperations(t *testing.T) { method TestDurationOfInterval (line 234) | func (s) TestDurationOfInterval(t *testing.T) { method TestEjectUnejectSuccessRate (line 346) | func (s) TestEjectUnejectSuccessRate(t *testing.T) { method TestEjectFailureRate (line 688) | func (s) TestEjectFailureRate(t *testing.T) { method TestConcurrentOperations (line 918) | func (s) TestConcurrentOperations(t *testing.T) { method TestPickFirstHealthListenerDisabled (line 1116) | func (s) TestPickFirstHealthListenerDisabled(t *testing.T) { method TestMultipleAddressesPerEndpoint (line 1208) | func (s) TestMultipleAddressesPerEndpoint(t *testing.T) { method TestEjectionStateResetsWhenEndpointAddressesChange (line 1384) | func (s) TestEjectionStateResetsWhenEndpointAddressesChange(t *testing... method TestSubConnShutdownRemovesFromEndpointMap (line 1524) | func (s) TestSubConnShutdownRemovesFromEndpointMap(t *testing.T) { function Test (line 68) | func Test(t *testing.T) { method Equal (line 72) | func (lbc *LBConfig) Equal(lbc2 *LBConfig) bool { type subConnWithState (line 79) | type subConnWithState struct function setup (line 84) | func setup(t *testing.T) (*outlierDetectionBalancer, *testutils.Balancer... type emptyChildConfig (line 97) | type emptyChildConfig struct function scwsEqual (line 207) | func scwsEqual(gotSCWS subConnWithState, wantSCWS subConnWithState) error { type rrPicker (line 214) | type rrPicker struct method Pick (line 219) | func (rrp *rrPicker) Pick(balancer.PickInfo) (balancer.PickResult, err... FILE: internal/xds/balancer/outlierdetection/callcounter.go type bucket (line 24) | type bucket struct function newCallCounter (line 29) | func newCallCounter() *callCounter { type callCounter (line 41) | type callCounter struct method clear (line 49) | func (cc *callCounter) clear() { method swap (line 58) | func (cc *callCounter) swap() { FILE: internal/xds/balancer/outlierdetection/callcounter_test.go method Equal (line 26) | func (b1 *bucket) Equal(b2 *bucket) bool { method Equal (line 39) | func (cc *callCounter) Equal(cc2 *callCounter) bool { method TestClear (line 56) | func (s) TestClear(t *testing.T) { method TestSwap (line 74) | func (s) TestSwap(t *testing.T) { FILE: internal/xds/balancer/outlierdetection/config.go type SuccessRateEjection (line 31) | type SuccessRateEjection struct method UnmarshalJSON (line 64) | func (sre *SuccessRateEjection) UnmarshalJSON(j []byte) error { method Equal (line 77) | func (sre *SuccessRateEjection) Equal(sre2 *SuccessRateEjection) bool { type successRateEjection (line 60) | type successRateEjection type FailurePercentageEjection (line 99) | type FailurePercentageEjection struct method UnmarshalJSON (line 130) | func (fpe *FailurePercentageEjection) UnmarshalJSON(j []byte) error { method Equal (line 144) | func (fpe *FailurePercentageEjection) Equal(fpe2 *FailurePercentageEje... type failurePercentageEjection (line 125) | type failurePercentageEjection type LBConfig (line 164) | type LBConfig struct method UnmarshalJSON (line 201) | func (lbc *LBConfig) UnmarshalJSON(j []byte) error { method EqualIgnoringChildPolicy (line 217) | func (lbc *LBConfig) EqualIgnoringChildPolicy(lbc2 *LBConfig) bool { type lbConfig (line 194) | type lbConfig FILE: internal/xds/balancer/outlierdetection/config_test.go function TestSuccessRateEjection (line 25) | func TestSuccessRateEjection(t *testing.T) { function TestEqualFieldsFailurePercentageEjection (line 40) | func TestEqualFieldsFailurePercentageEjection(t *testing.T) { function TestEqualFieldsLBConfig (line 55) | func TestEqualFieldsLBConfig(t *testing.T) { FILE: internal/xds/balancer/outlierdetection/e2e_test/outlierdetection_test.go type s (line 51) | type s struct method TestOutlierDetectionAlgorithmsE2E (line 154) | func (s) TestOutlierDetectionAlgorithmsE2E(t *testing.T) { method TestNoopConfiguration (line 272) | func (s) TestNoopConfiguration(t *testing.T) { function Test (line 55) | func Test(t *testing.T) { function setupBackends (line 62) | func setupBackends(t *testing.T) ([]string, func()) { function checkRoundRobinRPCs (line 108) | func checkRoundRobinRPCs(ctx context.Context, client testgrpc.TestServic... FILE: internal/xds/balancer/outlierdetection/logging.go constant prefix (line 28) | prefix = "[outlier-detection-lb %p] " function prefixLogger (line 32) | func prefixLogger(p *outlierDetectionBalancer) *internalgrpclog.PrefixLo... FILE: internal/xds/balancer/outlierdetection/subconn_wrapper.go type subConnWrapper (line 33) | type subConnWrapper struct method eject (line 74) | func (scw *subConnWrapper) eject() { method uneject (line 84) | func (scw *subConnWrapper) uneject() { method String (line 91) | func (scw *subConnWrapper) String() string { method RegisterHealthListener (line 95) | func (scw *subConnWrapper) RegisterHealthListener(listener func(balanc... method updateSubConnHealthState (line 126) | func (scw *subConnWrapper) updateSubConnHealthState(scs balancer.SubCo... method updateSubConnConnectivityState (line 140) | func (scw *subConnWrapper) updateSubConnConnectivityState(scs balancer... method clearHealthListener (line 146) | func (scw *subConnWrapper) clearHealthListener() { method handleUnejection (line 152) | func (scw *subConnWrapper) handleUnejection() { method handleEjection (line 159) | func (scw *subConnWrapper) handleEjection() { method setLatestConnectivityState (line 171) | func (scw *subConnWrapper) setLatestConnectivityState(state connectivi... FILE: internal/xds/balancer/priority/balancer.go constant Name (line 46) | Name = "priority_experimental" function init (line 52) | func init() { type bb (line 56) | type bb struct method Build (line 58) | func (bb) Build(cc balancer.ClientConn, bOpts balancer.BuildOptions) b... method ParseConfig (line 79) | func (b bb) ParseConfig(s json.RawMessage) (serviceconfig.LoadBalancin... method Name (line 83) | func (bb) Name() string { type timerWrapper (line 89) | type timerWrapper struct type priorityBalancer (line 94) | type priorityBalancer struct method UpdateClientConnState (line 116) | func (b *priorityBalancer) UpdateClientConnState(s balancer.ClientConn... method ResolverError (line 209) | func (b *priorityBalancer) ResolverError(err error) { method UpdateSubConnState (line 216) | func (b *priorityBalancer) UpdateSubConnState(sc balancer.SubConn, sta... method Close (line 220) | func (b *priorityBalancer) Close() { method ExitIdle (line 237) | func (b *priorityBalancer) ExitIdle() { method UpdateState (line 243) | func (b *priorityBalancer) UpdateState(childName string, state balance... method run (line 262) | func (b *priorityBalancer) run() { type childBalancerState (line 250) | type childBalancerState struct type resumePickerUpdates (line 255) | type resumePickerUpdates struct FILE: internal/xds/balancer/priority/balancer_child.go type childBalancer (line 33) | type childBalancer struct method updateBalancerName (line 82) | func (cb *childBalancer) updateBalancerName(balancerName string) { method updateConfig (line 89) | func (cb *childBalancer) updateConfig(child *Child, rState resolver.St... method start (line 101) | func (cb *childBalancer) start() { method sendUpdate (line 112) | func (cb *childBalancer) sendUpdate() { method stop (line 136) | func (cb *childBalancer) stop() { method startInitTimer (line 152) | func (cb *childBalancer) startInitTimer() { method stopInitTimer (line 174) | func (cb *childBalancer) stopInitTimer() { function newChildBalancer (line 60) | func newChildBalancer(name string, parent *priorityBalancer, balancerNam... FILE: internal/xds/balancer/priority/balancer_priority.go method syncPriority (line 84) | func (b *priorityBalancer) syncPriority(childUpdating string) { method stopSubBalancersLowerThanPriority (line 123) | func (b *priorityBalancer) stopSubBalancersLowerThanPriority(p int) { method switchToChild (line 152) | func (b *priorityBalancer) switchToChild(child *childBalancer, priority ... method handleChildStateUpdate (line 177) | func (b *priorityBalancer) handleChildStateUpdate(childName string, newS... FILE: internal/xds/balancer/priority/balancer_test.go constant defaultTestTimeout (line 40) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 41) | defaultTestShortTimeout = 100 * time.Millisecond type s (line 44) | type s struct method TestPriority_HighPriorityReady (line 87) | func (s) TestPriority_HighPriorityReady(t *testing.T) { method TestPriority_SwitchPriority (line 201) | func (s) TestPriority_SwitchPriority(t *testing.T) { method TestPriority_HighPriorityToConnectingFromReady (line 377) | func (s) TestPriority_HighPriorityToConnectingFromReady(t *testing.T) { method TestPriority_HigherDownWhileAddingLower (line 467) | func (s) TestPriority_HigherDownWhileAddingLower(t *testing.T) { method TestPriority_HigherReadyCloseAllLower (line 575) | func (s) TestPriority_HigherReadyCloseAllLower(t *testing.T) { method TestPriority_InitTimeout (line 678) | func (s) TestPriority_InitTimeout(t *testing.T) { method TestPriority_RemovesAllPriorities (line 743) | func (s) TestPriority_RemovesAllPriorities(t *testing.T) { method TestPriority_HighPriorityNoEndpoints (line 917) | func (s) TestPriority_HighPriorityNoEndpoints(t *testing.T) { method TestPriority_FirstPriorityUnavailable (line 1006) | func (s) TestPriority_FirstPriorityUnavailable(t *testing.T) { method TestPriority_MoveChildToHigherPriority (line 1052) | func (s) TestPriority_MoveChildToHigherPriority(t *testing.T) { method TestPriority_MoveReadyChildToHigherPriority (line 1155) | func (s) TestPriority_MoveReadyChildToHigherPriority(t *testing.T) { method TestPriority_RemoveReadyLowestChild (line 1257) | func (s) TestPriority_RemoveReadyLowestChild(t *testing.T) { method TestPriority_ReadyChildRemovedButInCache (line 1361) | func (s) TestPriority_ReadyChildRemovedButInCache(t *testing.T) { method TestPriority_ChildPolicyChange (line 1469) | func (s) TestPriority_ChildPolicyChange(t *testing.T) { method TestPriority_ChildPolicyUpdatePickerInline (line 1574) | func (s) TestPriority_ChildPolicyUpdatePickerInline(t *testing.T) { method TestPriority_IgnoreReresolutionRequest (line 1609) | func (s) TestPriority_IgnoreReresolutionRequest(t *testing.T) { method TestPriority_IgnoreReresolutionRequestTwoChildren (line 1703) | func (s) TestPriority_IgnoreReresolutionRequestTwoChildren(t *testing.... method TestPriority_HighPriorityInitIdle (line 1837) | func (s) TestPriority_HighPriorityInitIdle(t *testing.T) { method TestPriority_AddLowPriorityWhenHighIsInIdle (line 1903) | func (s) TestPriority_AddLowPriorityWhenHighIsInIdle(t *testing.T) { method TestPriority_HighPriorityUpdatesWhenLowInUse (line 1984) | func (s) TestPriority_HighPriorityUpdatesWhenLowInUse(t *testing.T) { method TestPriority_InitTimerNotRestarted_OnConnectingToConnecting (line 2104) | func (s) TestPriority_InitTimerNotRestarted_OnConnectingToConnecting(t... function Test (line 48) | func Test(t *testing.T) { constant testBackendAddrsCount (line 55) | testBackendAddrsCount = 12 constant testRRBalancerName (line 56) | testRRBalancerName = "another-round-robin" type anotherRR (line 59) | type anotherRR struct method Name (line 63) | func (*anotherRR) Name() string { function init (line 67) | func init() { function overrideInitTimeout (line 77) | func overrideInitTimeout(t *testing.T, val time.Duration) { constant inlineUpdateBalancerName (line 1555) | inlineUpdateBalancerName = "test-inline-update-balancer" function init (line 1559) | func init() { constant initIdleBalancerName (line 1794) | initIdleBalancerName = "test-init-Idle-balancer" function init (line 1801) | func init() { FILE: internal/xds/balancer/priority/config.go type Child (line 30) | type Child struct type LBConfig (line 36) | type LBConfig struct function parseConfig (line 48) | func parseConfig(c json.RawMessage) (*LBConfig, error) { FILE: internal/xds/balancer/priority/config_test.go function TestParseConfig (line 29) | func TestParseConfig(t *testing.T) { FILE: internal/xds/balancer/priority/ignore_resolve_now.go type ignoreResolveNowClientConn (line 30) | type ignoreResolveNowClientConn struct method updateIgnoreResolveNow (line 41) | func (i *ignoreResolveNowClientConn) updateIgnoreResolveNow(b bool) { method ResolveNow (line 45) | func (i *ignoreResolveNowClientConn) ResolveNow(o resolver.ResolveNowO... function newIgnoreResolveNowClientConn (line 35) | func newIgnoreResolveNowClientConn(cc balancer.ClientConn, ignore bool) ... FILE: internal/xds/balancer/priority/ignore_resolve_now_test.go method TestIgnoreResolveNowClientConn (line 30) | func (s) TestIgnoreResolveNowClientConn(t *testing.T) { FILE: internal/xds/balancer/priority/logging.go constant prefix (line 28) | prefix = "[priority-lb %p] " function prefixLogger (line 32) | func prefixLogger(p *priorityBalancer) *internalgrpclog.PrefixLogger { FILE: internal/xds/balancer/wrrlocality/balancer.go constant Name (line 40) | Name = "xds_wrr_locality_experimental" function init (line 42) | func init() { type bb (line 46) | type bb struct method Name (line 48) | func (bb) Name() string { method Build (line 62) | func (bb) Build(cc balancer.ClientConn, bOpts balancer.BuildOptions) b... method ParseConfig (line 92) | func (bb) ParseConfig(s json.RawMessage) (serviceconfig.LoadBalancingC... type LBConfig (line 53) | type LBConfig struct type attributeKey (line 103) | type attributeKey struct type AddrInfo (line 112) | type AddrInfo struct method Equal (line 106) | func (a AddrInfo) Equal(o any) bool { method String (line 123) | func (a AddrInfo) String() string { function SetAddrInfo (line 118) | func SetAddrInfo(endpoint resolver.Endpoint, addrInfo AddrInfo) resolver... function getAddrInfo (line 129) | func getAddrInfo(ep resolver.Endpoint) (AddrInfo, bool) { type wrrLocalityBalancer (line 139) | type wrrLocalityBalancer struct method ExitIdle (line 150) | func (b *wrrLocalityBalancer) ExitIdle() { method UpdateClientConnState (line 154) | func (b *wrrLocalityBalancer) UpdateClientConnState(s balancer.ClientC... method ResolverError (line 191) | func (b *wrrLocalityBalancer) ResolverError(err error) { method UpdateSubConnState (line 195) | func (b *wrrLocalityBalancer) UpdateSubConnState(sc balancer.SubConn, ... method Close (line 199) | func (b *wrrLocalityBalancer) Close() { FILE: internal/xds/balancer/wrrlocality/balancer_test.go constant defaultTestTimeout (line 44) | defaultTestTimeout = 5 * time.Second type s (line 47) | type s struct method TestParseConfig (line 55) | func (s) TestParseConfig(t *testing.T) { method TestUpdateClientConnState (line 140) | func (s) TestUpdateClientConnState(t *testing.T) { function Test (line 51) | func Test(t *testing.T) { FILE: internal/xds/balancer/wrrlocality/logging.go constant prefix (line 28) | prefix = "[wrrlocality-lb %p] " function prefixLogger (line 32) | func prefixLogger(p *wrrLocalityBalancer) *internalgrpclog.PrefixLogger { FILE: internal/xds/bootstrap/bootstrap.go constant serverFeaturesIgnoreResourceDeletion (line 46) | serverFeaturesIgnoreResourceDeletion = "ignore_resource_deletion" constant serverFeaturesTrustedXDSServer (line 47) | serverFeaturesTrustedXDSServer = "trusted_xds_server" constant gRPCUserAgentName (line 48) | gRPCUserAgentName = "gRPC Go" constant clientFeatureNoOverprovisioning (line 49) | clientFeatureNoOverprovisioning = "envoy.lb.does_not_support_overpr... constant clientFeatureResourceWrapper (line 50) | clientFeatureResourceWrapper = "xds.config.resource-in-sotw" type ChannelCreds (line 61) | type ChannelCreds struct method Equal (line 70) | func (cc ChannelCreds) Equal(other ChannelCreds) bool { method String (line 76) | func (cc ChannelCreds) String() string { type CallCredsConfig (line 90) | type CallCredsConfig struct method Equal (line 99) | func (cc CallCredsConfig) Equal(other CallCredsConfig) bool { method String (line 103) | func (cc CallCredsConfig) String() string { type CallCredsConfigs (line 113) | type CallCredsConfigs method String (line 115) | func (ccs CallCredsConfigs) String() string { type ServerConfigs (line 124) | type ServerConfigs method Equal (line 127) | func (scs *ServerConfigs) Equal(other *ServerConfigs) bool { method UnmarshalJSON (line 141) | func (scs *ServerConfigs) UnmarshalJSON(data []byte) error { method String (line 152) | func (scs *ServerConfigs) String() string { type Authority (line 167) | type Authority struct method Equal (line 187) | func (a *Authority) Equal(other *Authority) bool { type ServerConfig (line 202) | type ServerConfig struct method ServerURI (line 222) | func (sc *ServerConfig) ServerURI() string { method ChannelCreds (line 228) | func (sc *ServerConfig) ChannelCreds() []ChannelCreds { method ServerFeatures (line 234) | func (sc *ServerConfig) ServerFeatures() []string { method CallCredsConfigs (line 239) | func (sc *ServerConfig) CallCredsConfigs() CallCredsConfigs { method ServerFeaturesIgnoreResourceDeletion (line 251) | func (sc *ServerConfig) ServerFeaturesIgnoreResourceDeletion() bool { method ServerFeaturesTrustedXDSServer (line 263) | func (sc *ServerConfig) ServerFeaturesTrustedXDSServer() bool { method SelectedChannelCreds (line 274) | func (sc *ServerConfig) SelectedChannelCreds() ChannelCreds { method DialOptions (line 280) | func (sc *ServerConfig) DialOptions() []grpc.DialOption { method Cleanups (line 291) | func (sc *ServerConfig) Cleanups() []func() { method Equal (line 296) | func (sc *ServerConfig) Equal(other *ServerConfig) bool { method String (line 315) | func (sc *ServerConfig) String() string { method MarshalJSON (line 332) | func (sc *ServerConfig) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 349) | func (sc *ServerConfig) UnmarshalJSON(data []byte) error { type serverConfigJSON (line 324) | type serverConfigJSON struct type extraDialOptions (line 344) | type extraDialOptions interface type ServerConfigTestingOptions (line 412) | type ServerConfigTestingOptions struct function ServerConfigForTesting (line 429) | func ServerConfigForTesting(opts ServerConfigTestingOptions) (*ServerCon... type Config (line 454) | type Config struct method XDSServers (line 468) | func (c *Config) XDSServers() ServerConfigs { method CertProviderConfigs (line 474) | func (c *Config) CertProviderConfigs() map[string]*certprovider.Builda... method ServerListenerResourceNameTemplate (line 492) | func (c *Config) ServerListenerResourceNameTemplate() string { method ClientDefaultListenerResourceNameTemplate (line 510) | func (c *Config) ClientDefaultListenerResourceNameTemplate() string { method Authorities (line 528) | func (c *Config) Authorities() map[string]*Authority { method Node (line 534) | func (c *Config) Node() *v3corepb.Node { method Equal (line 539) | func (c *Config) Equal(other *Config) bool { method String (line 562) | func (c *Config) String() string { method MarshalJSON (line 578) | func (c *Config) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 592) | func (c *Config) UnmarshalJSON(data []byte) error { type configJSON (line 568) | type configJSON struct function GetConfiguration (line 662) | func GetConfiguration() (*Config, error) { function NewConfigFromContents (line 689) | func NewConfigFromContents(data []byte) (*Config, error) { type ConfigOptionsForTesting (line 709) | type ConfigOptionsForTesting struct function NewContentsForTesting (line 732) | func NewContentsForTesting(opts ConfigOptionsForTesting) ([]byte, error) { type certproviderNameAndConfig (line 774) | type certproviderNameAndConfig struct type locality (line 780) | type locality struct method Equal (line 786) | func (l locality) Equal(other locality) bool { method isEmpty (line 790) | func (l locality) isEmpty() bool { type userAgentVersion (line 794) | type userAgentVersion struct type node (line 800) | type node struct method Equal (line 823) | func (n node) Equal(other node) bool { method toProto (line 854) | func (n node) toProto() *v3corepb.Node { function newNode (line 815) | func newNode() node { FILE: internal/xds/bootstrap/bootstrap_test.go function fileReadFromFileMap (line 414) | func fileReadFromFileMap(bootstrapFileMap map[string]string, name string... function setupBootstrapOverride (line 421) | func setupBootstrapOverride(bootstrapFileMap map[string]string) func() { function testGetConfigurationWithFileNameEnv (line 431) | func testGetConfigurationWithFileNameEnv(t *testing.T, fileName string, ... function testGetConfigurationWithFileContentEnv (line 450) | func testGetConfigurationWithFileContentEnv(t *testing.T, fileName strin... function init (line 706) | func init() { constant fakeCertProviderName (line 710) | fakeCertProviderName = "fake-certificate-provider" type fakeCertProviderBuilder (line 714) | type fakeCertProviderBuilder struct method ParseConfig (line 718) | func (b *fakeCertProviderBuilder) ParseConfig(cfg any) (*certprovider.... method Name (line 736) | func (b *fakeCertProviderBuilder) Name() string { type fakeStableConfig (line 740) | type fakeStableConfig struct method canonical (line 744) | func (c *fakeStableConfig) canonical() []byte { type fakeCertProvider (line 753) | type fakeCertProvider struct type s (line 1224) | type s struct method TestGetConfiguration_Failure (line 474) | func (s) TestGetConfiguration_Failure(t *testing.T) { method TestGetConfiguration_Success (line 537) | func (s) TestGetConfiguration_Success(t *testing.T) { method TestGetConfiguration_IstioStyleWithCallCreds (line 581) | func (s) TestGetConfiguration_IstioStyleWithCallCreds(t *testing.T) { method TestGetConfiguration_BootstrapEnvPriority (line 646) | func (s) TestGetConfiguration_BootstrapEnvPriority(t *testing.T) { method TestGetConfiguration_CertificateProviders (line 757) | func (s) TestGetConfiguration_CertificateProviders(t *testing.T) { method TestGetConfiguration_ServerListenerResourceNameTemplate (line 915) | func (s) TestGetConfiguration_ServerListenerResourceNameTemplate(t *te... method TestGetConfiguration_Federation (line 984) | func (s) TestGetConfiguration_Federation(t *testing.T) { method TestServerConfigMarshalAndUnmarshal (line 1193) | func (s) TestServerConfigMarshalAndUnmarshal(t *testing.T) { method TestDefaultBundles (line 1212) | func (s) TestDefaultBundles(t *testing.T) { method TestCallCreds_Equal (line 1232) | func (s) TestCallCreds_Equal(t *testing.T) { method TestServerConfig_UnmarshalJSON_WithCallCreds (line 1280) | func (s) TestServerConfig_UnmarshalJSON_WithCallCreds(t *testing.T) { method TestServerConfig_Equal_WithCallCreds (line 1352) | func (s) TestServerConfig_Equal_WithCallCreds(t *testing.T) { method TestServerConfig_MarshalJSON_WithCallCreds (line 1384) | func (s) TestServerConfig_MarshalJSON_WithCallCreds(t *testing.T) { method TestNode_MarshalAndUnmarshal (line 1421) | func (s) TestNode_MarshalAndUnmarshal(t *testing.T) { method TestNode_ToProto (line 1512) | func (s) TestNode_ToProto(t *testing.T) { method TestBootstrap_SelectedChannelCredsAndCallCreds (line 1580) | func (s) TestBootstrap_SelectedChannelCredsAndCallCreds(t *testing.T) { method TestBootstrap_SelectedCallCreds_WhenNotCCNotEnabled (line 1682) | func (s) TestBootstrap_SelectedCallCreds_WhenNotCCNotEnabled(t *testin... function Test (line 1228) | func Test(t *testing.T) { function newStructProtoFromMap (line 1411) | func newStructProtoFromMap(t *testing.T, input map[string]any) *structpb... FILE: internal/xds/bootstrap/jwtcreds/call_creds.go function NewCallCredentials (line 37) | func NewCallCredentials(configJSON json.RawMessage) (c credentials.PerRP... FILE: internal/xds/bootstrap/jwtcreds/call_creds_test.go type s (line 34) | type s struct method TestNewCallCredentialsWithInvalidConfig (line 42) | func (s) TestNewCallCredentialsWithInvalidConfig(t *testing.T) { method TestNewCallCredentialsWithValidConfig (line 77) | func (s) TestNewCallCredentialsWithValidConfig(t *testing.T) { method TestCallCredentials_Cleanup (line 117) | func (s) TestCallCredentials_Cleanup(t *testing.T) { function Test (line 38) | func Test(t *testing.T) { type testAuthInfo (line 135) | type testAuthInfo struct method AuthType (line 139) | func (t *testAuthInfo) AuthType() string { method GetCommonAuthInfo (line 143) | func (t *testAuthInfo) GetCommonAuthInfo() credentials.CommonAuthInfo { function createTestJWT (line 148) | func createTestJWT(t *testing.T) string { function writeTempFile (line 160) | func writeTempFile(t *testing.T, content string) string { FILE: internal/xds/bootstrap/logging.go constant prefix (line 26) | prefix = "[xds-bootstrap] " FILE: internal/xds/bootstrap/template.go function PopulateResourceTemplate (line 30) | func PopulateResourceTemplate(template, target string) string { function percentEncode (line 41) | func percentEncode(t string) string { FILE: internal/xds/bootstrap/template_test.go function Test_percentEncode (line 22) | func Test_percentEncode(t *testing.T) { function TestPopulateResourceTemplate (line 58) | func TestPopulateResourceTemplate(t *testing.T) { FILE: internal/xds/bootstrap/tlscreds/bundle.go type bundle (line 44) | type bundle struct method TransportCredentials (line 98) | func (t *bundle) TransportCredentials() credentials.TransportCredentia... method PerRPCCredentials (line 102) | func (t *bundle) PerRPCCredentials() credentials.PerRPCCredentials { method NewWithMode (line 108) | func (t *bundle) NewWithMode(string) (credentials.Bundle, error) { function NewBundle (line 54) | func NewBundle(jd json.RawMessage) (credentials.Bundle, func(), error) { type reloadingCreds (line 119) | type reloadingCreds struct method ClientHandshake (line 123) | func (c *reloadingCreds) ClientHandshake(ctx context.Context, authorit... method Info (line 144) | func (c *reloadingCreds) Info() credentials.ProtocolInfo { method Clone (line 148) | func (c *reloadingCreds) Clone() credentials.TransportCredentials { method OverrideServerName (line 152) | func (c *reloadingCreds) OverrideServerName(string) error { method ServerHandshake (line 156) | func (c *reloadingCreds) ServerHandshake(net.Conn) (net.Conn, credenti... function buildSPIFFEVerifyFunc (line 160) | func buildSPIFFEVerifyFunc(spiffeBundleMap map[string]*spiffebundle.Bund... FILE: internal/xds/bootstrap/tlscreds/bundle_ext_test.go constant defaultTestTimeout (line 44) | defaultTestTimeout = 5 * time.Second type s (line 46) | type s struct method TestValidTlsBuilder (line 58) | func (s) TestValidTlsBuilder(t *testing.T) { method TestInvalidTlsBuilder (line 124) | func (s) TestInvalidTlsBuilder(t *testing.T) { method TestCaReloading (line 153) | func (s) TestCaReloading(t *testing.T) { method Test_SPIFFE_Reloading (line 240) | func (s) Test_SPIFFE_Reloading(t *testing.T) { method TestMTLS (line 328) | func (s) TestMTLS(t *testing.T) { method Test_MTLS_SPIFFE (line 361) | func (s) Test_MTLS_SPIFFE(t *testing.T) { method Test_MTLS_SPIFFE_FlagDisabled (line 413) | func (s) Test_MTLS_SPIFFE_FlagDisabled(t *testing.T) { method Test_MTLS_SPIFFE_Failure (line 445) | func (s) Test_MTLS_SPIFFE_Failure(t *testing.T) { function Test (line 50) | func Test(t *testing.T) { type Closable (line 54) | type Closable interface FILE: internal/xds/bootstrap/tlscreds/bundle_test.go constant defaultTestTimeout (line 45) | defaultTestTimeout = 5 * time.Second type s (line 47) | type s struct method TestFailingProvider (line 63) | func (s) TestFailingProvider(t *testing.T) { method TestSPIFFEVerifyFuncMismatchedCert (line 119) | func (s) TestSPIFFEVerifyFuncMismatchedCert(t *testing.T) { function Test (line 51) | func Test(t *testing.T) { type failingProvider (line 55) | type failingProvider struct method KeyMaterial (line 57) | func (f failingProvider) KeyMaterial(context.Context) (*certprovider.K... method Close (line 61) | func (f failingProvider) Close() {} function rawCertsFromFile (line 106) | func rawCertsFromFile(t *testing.T, filePath string) [][]byte { FILE: internal/xds/clients/config.go type ServerIdentifier (line 47) | type ServerIdentifier struct type Node (line 77) | type Node struct type Locality (line 95) | type Locality struct type MetricsReporter (line 105) | type MetricsReporter interface FILE: internal/xds/clients/grpctransport/examples_test.go function ExampleServerIdentifierExtension (line 35) | func ExampleServerIdentifierExtension() { FILE: internal/xds/clients/grpctransport/grpc_transport.go type ServerIdentifierExtension (line 45) | type ServerIdentifierExtension struct type Builder (line 53) | type Builder struct method Build (line 89) | func (b *Builder) Build(si clients.ServerIdentifier) (clients.Transpor... method cleanupFunc (line 156) | func (b *Builder) cleanupFunc(si clients.ServerIdentifier, tr *grpcTra... type Config (line 67) | type Config struct function NewBuilder (line 78) | func NewBuilder(configs map[string]Config) *Builder { type grpcTransport (line 173) | type grpcTransport struct method NewStream (line 182) | func (g *grpcTransport) NewStream(ctx context.Context, method string) ... method Close (line 191) | func (g *grpcTransport) Close() { type stream (line 195) | type stream struct method Send (line 200) | func (s *stream) Send(msg []byte) error { method Recv (line 205) | func (s *stream) Recv() ([]byte, error) { type byteCodec (line 216) | type byteCodec struct method Marshal (line 218) | func (c *byteCodec) Marshal(v any) ([]byte, error) { method Unmarshal (line 225) | func (c *byteCodec) Unmarshal(data []byte, v any) error { method Name (line 233) | func (c *byteCodec) Name() string { FILE: internal/xds/clients/grpctransport/grpc_transport_ext_test.go constant defaultTestTimeout (line 38) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 39) | defaultTestShortTimeout = 10 * time.Millisecond type s (line 42) | type s struct method TestBuild_Single (line 66) | func (s) TestBuild_Single(t *testing.T) { method TestBuild_Multiple (line 167) | func (s) TestBuild_Multiple(t *testing.T) { function Test (line 46) | func Test(t *testing.T) { type testCredentials (line 50) | type testCredentials struct method TransportCredentials (line 55) | func (tc *testCredentials) TransportCredentials() credentials.Transpor... method PerRPCCredentials (line 58) | func (tc *testCredentials) PerRPCCredentials() credentials.PerRPCCrede... FILE: internal/xds/clients/grpctransport/grpc_transport_test.go constant defaultTestTimeout (line 43) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 44) | defaultTestShortTimeout = 10 * time.Millisecond type s (line 47) | type s struct method TestBuild_Success (line 139) | func (s) TestBuild_Success(t *testing.T) { method TestBuild_Failure (line 185) | func (s) TestBuild_Failure(t *testing.T) { method TestNewStream_Success (line 258) | func (s) TestNewStream_Success(t *testing.T) { method TestNewStream_Success_WithCustomGRPCNewClient (line 286) | func (s) TestNewStream_Success_WithCustomGRPCNewClient(t *testing.T) { method TestNewStream_Error (line 332) | func (s) TestNewStream_Error(t *testing.T) { method TestStream_SendAndRecv (line 362) | func (s) TestStream_SendAndRecv(t *testing.T) { function Test (line 51) | func Test(t *testing.T) { type testServer (line 57) | type testServer struct method StreamAggregatedResources (line 96) | func (s *testServer) StreamAggregatedResources(stream v3discoverygrpc.... function setupTestServer (line 68) | func setupTestServer(t *testing.T, response *v3discoverypb.DiscoveryResp... type testCredentials (line 124) | type testCredentials struct method TransportCredentials (line 129) | func (tc *testCredentials) TransportCredentials() credentials.Transpor... method PerRPCCredentials (line 132) | func (tc *testCredentials) PerRPCCredentials() credentials.PerRPCCrede... FILE: internal/xds/clients/internal/backoff/backoff.go type config (line 33) | type config struct type exponential (line 64) | type exponential struct method Backoff (line 71) | func (bc exponential) Backoff(retries int) time.Duration { function RunF (line 101) | func RunF(ctx context.Context, f func() error, backoff func(int) time.Du... FILE: internal/xds/clients/internal/buffer/unbounded.go type Unbounded (line 39) | type Unbounded struct method Put (line 55) | func (b *Unbounded) Put(t any) error { method Load (line 75) | func (b *Unbounded) Load() { method Get (line 99) | func (b *Unbounded) Get() <-chan any { method Close (line 106) | func (b *Unbounded) Close() { function NewUnbounded (line 48) | func NewUnbounded() *Unbounded { FILE: internal/xds/clients/internal/buffer/unbounded_test.go constant numWriters (line 30) | numWriters = 10 constant numWrites (line 31) | numWrites = 10 type s (line 34) | type s struct method TestSingleWriter (line 56) | func (s) TestSingleWriter(t *testing.T) { method TestMultipleWriters (line 90) | func (s) TestMultipleWriters(t *testing.T) { method TestClose (line 125) | func (s) TestClose(t *testing.T) { function Test (line 38) | func Test(t *testing.T) { function init (line 46) | func init() { FILE: internal/xds/clients/internal/internal.go function NodeProto (line 34) | func NodeProto(n clients.Node) *v3corepb.Node { function isLocalityEmpty (line 63) | func isLocalityEmpty(l clients.Locality) bool { function isLocalityEqual (line 69) | func isLocalityEqual(l1, l2 clients.Locality) bool { FILE: internal/xds/clients/internal/internal_test.go type s (line 33) | type s struct method TestIsLocalityEmpty (line 51) | func (s) TestIsLocalityEmpty(t *testing.T) { method TestIsLocalityEqual (line 92) | func (s) TestIsLocalityEqual(t *testing.T) { method TestNodeProto (line 147) | func (s) TestNodeProto(t *testing.T) { function Test (line 37) | func Test(t *testing.T) { function newStructProtoFromMap (line 41) | func newStructProtoFromMap(t *testing.T, input map[string]any) *structpb... FILE: internal/xds/clients/internal/pretty/pretty.go constant jsonIndent (line 31) | jsonIndent = " " function ToJSON (line 36) | func ToJSON(e any) string { function FormatJSON (line 66) | func FormatJSON(b []byte) string { FILE: internal/xds/clients/internal/syncutil/callback_serializer.go type CallbackSerializer (line 33) | type CallbackSerializer struct method TrySchedule (line 63) | func (cs *CallbackSerializer) TrySchedule(f func(ctx context.Context)) { method ScheduleOr (line 74) | func (cs *CallbackSerializer) ScheduleOr(f func(ctx context.Context), ... method run (line 80) | func (cs *CallbackSerializer) run(ctx context.Context) { method Done (line 96) | func (cs *CallbackSerializer) Done() <-chan struct{} { function NewCallbackSerializer (line 47) | func NewCallbackSerializer(ctx context.Context) *CallbackSerializer { FILE: internal/xds/clients/internal/syncutil/callback_serializer_test.go constant defaultTestTimeout (line 31) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 32) | defaultTestShortTimeout = 10 * time.Millisecond method TestCallbackSerializer_Schedule_FIFO (line 37) | func (s) TestCallbackSerializer_Schedule_FIFO(t *testing.T) { method TestCallbackSerializer_Schedule_Concurrent (line 105) | func (s) TestCallbackSerializer_Schedule_Concurrent(t *testing.T) { method TestCallbackSerializer_Schedule_Close (line 141) | func (s) TestCallbackSerializer_Schedule_Close(t *testing.T) { FILE: internal/xds/clients/internal/syncutil/event.go type Event (line 29) | type Event struct method Fire (line 38) | func (e *Event) Fire() bool { method Done (line 49) | func (e *Event) Done() <-chan struct{} { method HasFired (line 54) | func (e *Event) HasFired() bool { function NewEvent (line 59) | func NewEvent() *Event { FILE: internal/xds/clients/internal/syncutil/event_test.go type s (line 27) | type s struct method TestEventHasFired (line 35) | func (s) TestEventHasFired(t *testing.T) { method TestEventDoneChannel (line 48) | func (s) TestEventDoneChannel(t *testing.T) { method TestEventMultipleFires (line 65) | func (s) TestEventMultipleFires(t *testing.T) { function Test (line 31) | func Test(t *testing.T) { FILE: internal/xds/clients/internal/testutils/channel.go type Channel (line 24) | type Channel struct method Send (line 32) | func (c *Channel) Send(value any) { method Receive (line 38) | func (c *Channel) Receive(ctx context.Context) (any, error) { method Replace (line 52) | func (c *Channel) Replace(value any) { method SendContext (line 64) | func (c *Channel) SendContext(ctx context.Context, value any) error { method Drain (line 74) | func (c *Channel) Drain() { function NewChannelWithSize (line 85) | func NewChannelWithSize(bufSize int) *Channel { FILE: internal/xds/clients/internal/testutils/e2e/clientresources.go constant ClientSideCertProviderInstance (line 36) | ClientSideCertProviderInstance = "client-side-certificate-provider-insta... function DefaultClientListener (line 44) | func DefaultClientListener(target, routeName string) *v3listenerpb.Liste... function marshalAny (line 59) | func marshalAny(m proto.Message) *anypb.Any { function HTTPFilter (line 68) | func HTTPFilter(name string, config proto.Message) *v3httppb.HttpFilter { FILE: internal/xds/clients/internal/testutils/e2e/logging.go type serverLogger (line 23) | type serverLogger struct method Debugf (line 29) | func (l serverLogger) Debugf(format string, args ...any) { method Infof (line 32) | func (l serverLogger) Infof(format string, args ...any) { method Warnf (line 35) | func (l serverLogger) Warnf(format string, args ...any) { method Errorf (line 38) | func (l serverLogger) Errorf(format string, args ...any) { FILE: internal/xds/clients/internal/testutils/e2e/server.go type ManagementServer (line 50) | type ManagementServer struct method Update (line 210) | func (s *ManagementServer) Update(ctx context.Context, opts UpdateOpti... method Stop (line 241) | func (s *ManagementServer) Stop() { type ManagementServerOptions (line 74) | type ManagementServerOptions struct function StartManagementServer (line 133) | func StartManagementServer(t *testing.T, opts ManagementServerOptions) *... type UpdateOptions (line 193) | type UpdateOptions struct function resourceSlice (line 250) | func resourceSlice(i any) []types.Resource { FILE: internal/xds/clients/internal/testutils/fakeserver/server.go constant defaultChannelBufferSize (line 47) | defaultChannelBufferSize = 50 constant defaultDialTimeout (line 48) | defaultDialTimeout = 5 * time.Second type Request (line 53) | type Request struct type Response (line 60) | type Response struct type Server (line 72) | type Server struct type wrappedListener (line 103) | type wrappedListener struct method Accept (line 108) | func (wl *wrappedListener) Accept() (net.Conn, error) { function StartServer (line 121) | func StartServer(lis net.Listener) (*Server, func(), error) { function NewServer (line 148) | func NewServer(addr string) *Server { type xdsServer (line 164) | type xdsServer struct method StreamAggregatedResources (line 169) | func (xdsS *xdsServer) StreamAggregatedResources(s v3discoverygrpc.Agg... method DeltaAggregatedResources (line 211) | func (xdsS *xdsServer) DeltaAggregatedResources(v3discoverygrpc.Aggreg... type lrsServer (line 215) | type lrsServer struct method StreamLoadStats (line 222) | func (lrsS *lrsServer) StreamLoadStats(s v3lrsgrpc.LoadReportingServic... FILE: internal/xds/clients/internal/testutils/faketransport/xds_fake_transport.go type Builder (line 42) | type Builder struct method Build (line 57) | func (b *Builder) Build(serverIdentifier clients.ServerIdentifier) (cl... method Close (line 77) | func (b *Builder) Close(serverURI string) { method Transport (line 87) | func (b *Builder) Transport(ctx context.Context, serverURI string) (*S... function NewBuilder (line 49) | func NewBuilder() *Builder { type transport (line 112) | type transport struct method serverHandle (line 128) | func (t *transport) serverHandle() *ServerHandle { method NewStream (line 138) | func (t *transport) NewStream(ctx context.Context, _ string) (clients.... method Close (line 153) | func (t *transport) Close() { function newTransport (line 119) | func newTransport(streamReady chan struct{}) *transport { type stream (line 164) | type stream struct method Send (line 184) | func (s *stream) Send(data []byte) error { method Recv (line 195) | func (s *stream) Recv() ([]byte, error) { method close (line 205) | func (s *stream) close() { function newStream (line 172) | func newStream(ctx context.Context) *stream { type ServerHandle (line 211) | type ServerHandle struct method Recv (line 218) | func (h *ServerHandle) Recv(ctx context.Context) (*v3discoverypb.Disco... method Send (line 234) | func (h *ServerHandle) Send(ctx context.Context, resp *v3discoverypb.D... FILE: internal/xds/clients/internal/testutils/marshal_any.go function MarshalAny (line 29) | func MarshalAny(t *testing.T, m proto.Message) *anypb.Any { FILE: internal/xds/clients/internal/testutils/restartable_listener.go type tempError (line 30) | type tempError struct method Error (line 32) | func (*tempError) Error() string { method Temporary (line 35) | func (*tempError) Temporary() bool { type RestartableListener (line 41) | type RestartableListener struct method Accept (line 59) | func (l *RestartableListener) Accept() (net.Conn, error) { method Close (line 76) | func (l *RestartableListener) Close() error { method Addr (line 81) | func (l *RestartableListener) Addr() net.Addr { method Stop (line 87) | func (l *RestartableListener) Stop() { method Restart (line 100) | func (l *RestartableListener) Restart() { function NewRestartableListener (line 50) | func NewRestartableListener(l net.Listener) *RestartableListener { FILE: internal/xds/clients/internal/testutils/wrappers.go type ConnWrapper (line 27) | type ConnWrapper struct method Close (line 33) | func (cw *ConnWrapper) Close() error { type ListenerWrapper (line 42) | type ListenerWrapper struct method Accept (line 49) | func (l *ListenerWrapper) Accept() (net.Conn, error) { function NewListenerWrapper (line 61) | func NewListenerWrapper(t *testing.T, lis net.Listener) *ListenerWrapper { FILE: internal/xds/clients/lrsclient/load_store.go type LoadStore (line 38) | type LoadStore struct method Stop (line 77) | func (ls *LoadStore) Stop(ctx context.Context) { method ReporterForCluster (line 83) | func (ls *LoadStore) ReporterForCluster(clusterName, serviceName strin... method stats (line 112) | func (ls *LoadStore) stats(clusterNames []string) []*loadData { function init (line 56) | func init() { function newLoadStore (line 61) | func newLoadStore() *LoadStore { type PerClusterReporter (line 147) | type PerClusterReporter struct method CallStarted (line 157) | func (p *PerClusterReporter) CallStarted(locality clients.Locality) { method CallFinished (line 168) | func (p *PerClusterReporter) CallFinished(locality clients.Locality, e... method CallServerLoad (line 184) | func (p *PerClusterReporter) CallServerLoad(locality clients.Locality,... method CallDropped (line 195) | func (p *PerClusterReporter) CallDropped(category string) { method stats (line 208) | func (p *PerClusterReporter) stats() *loadData { type loadData (line 271) | type loadData struct type localityData (line 288) | type localityData struct type requestData (line 297) | type requestData struct type serverLoadData (line 309) | type serverLoadData struct function appendClusterStats (line 320) | func appendClusterStats(ret []*loadData, clusters map[string]*PerCluster... function newLoadData (line 332) | func newLoadData(cluster, service string) *loadData { type rpcCountData (line 341) | type rpcCountData struct method incrSucceeded (line 365) | func (rcd *rpcCountData) incrSucceeded() { method loadAndClearSucceeded (line 369) | func (rcd *rpcCountData) loadAndClearSucceeded() uint64 { method incrErrored (line 373) | func (rcd *rpcCountData) incrErrored() { method loadAndClearErrored (line 377) | func (rcd *rpcCountData) loadAndClearErrored() uint64 { method incrInProgress (line 381) | func (rcd *rpcCountData) incrInProgress() { method decrInProgress (line 385) | func (rcd *rpcCountData) decrInProgress() { method loadInProgress (line 389) | func (rcd *rpcCountData) loadInProgress() uint64 { method incrIssued (line 393) | func (rcd *rpcCountData) incrIssued() { method loadAndClearIssued (line 397) | func (rcd *rpcCountData) loadAndClearIssued() uint64 { method addServerLoad (line 401) | func (rcd *rpcCountData) addServerLoad(name string, d float64) { function newRPCCountData (line 356) | func newRPCCountData() *rpcCountData { type rpcLoadData (line 415) | type rpcLoadData struct method add (line 425) | func (rld *rpcLoadData) add(v float64) { method loadAndClear (line 432) | func (rld *rpcLoadData) loadAndClear() (s float64, c uint64) { function newRPCLoadData (line 421) | func newRPCLoadData() *rpcLoadData { FILE: internal/xds/clients/lrsclient/load_store_test.go type rpcData (line 40) | type rpcData struct function verifyLoadStoreData (line 45) | func verifyLoadStoreData(wantStoreData, gotStoreData []*loadData) error { function TestDrops (line 55) | func TestDrops(t *testing.T) { function TestLocalityStats (line 93) | func TestLocalityStats(t *testing.T) { function TestResetAfterStats (line 183) | func TestResetAfterStats(t *testing.T) { function TestStoreStats (line 310) | func TestStoreStats(t *testing.T) { function TestStoreStatsEmptyDataNotReported (line 406) | func TestStoreStatsEmptyDataNotReported(t *testing.T) { function TestStoreReportInterval (line 481) | func TestStoreReportInterval(t *testing.T) { FILE: internal/xds/clients/lrsclient/loadreport_test.go type s (line 49) | type s struct method TestReportLoad_ConnectionCreation (line 98) | func (s) TestReportLoad_ConnectionCreation(t *testing.T) { method TestReportLoad_StreamCreation (line 269) | func (s) TestReportLoad_StreamCreation(t *testing.T) { method TestReportLoad_StopWithContext (line 464) | func (s) TestReportLoad_StopWithContext(t *testing.T) { method TestReportLoad_LoadReportInterval (line 619) | func (s) TestReportLoad_LoadReportInterval(t *testing.T) { function Test (line 53) | func Test(t *testing.T) { constant testKey1 (line 58) | testKey1 = "test-key1" constant testKey2 (line 59) | testKey2 = "test-key2" constant defaultTestWatchExpiryTimeout (line 60) | defaultTestWatchExpiryTimeout = 100 * time.Millisecond constant defaultTestTimeout (line 61) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 62) | defaultTestShortTimeout = 10 * time.Millisecond type wrappedListener (line 76) | type wrappedListener struct method Accept (line 81) | func (wl *wrappedListener) Accept() (net.Conn, error) { FILE: internal/xds/clients/lrsclient/logging.go function prefixLogger (line 30) | func prefixLogger(c *LRSClient) *internalgrpclog.PrefixLogger { function clientPrefix (line 34) | func clientPrefix(c *LRSClient) string { FILE: internal/xds/clients/lrsclient/lrs_stream.go constant perRPCVerbosityLevel (line 42) | perRPCVerbosityLevel = 9 type streamImpl (line 50) | type streamImpl struct method runner (line 103) | func (lrs *streamImpl) runner(ctx context.Context) { method sendLoads (line 149) | func (lrs *streamImpl) sendLoads(ctx context.Context, stream clients.S... method sendFirstLoadStatsRequest (line 180) | func (lrs *streamImpl) sendFirstLoadStatsRequest(stream clients.Stream... method recvFirstLoadStatsResponse (line 203) | func (lrs *streamImpl) recvFirstLoadStatsResponse(stream clients.Strea... method sendLoadStatsRequest (line 234) | func (lrs *streamImpl) sendLoadStatsRequest(stream clients.Stream, loa... type streamOpts (line 67) | type streamOpts struct function newStreamImpl (line 78) | func newStreamImpl(opts streamOpts) *streamImpl { function getStreamError (line 297) | func getStreamError(stream clients.Stream) error { FILE: internal/xds/clients/lrsclient/lrsclient.go constant clientFeatureNoOverprovisioning (line 38) | clientFeatureNoOverprovisioning = "envoy.lb.does_not_support_overprovisi... constant clientFeatureResourceWrapper (line 39) | clientFeatureResourceWrapper = "xds.config.resource-in-sotw" type LRSClient (line 47) | type LRSClient struct method ReportLoad (line 83) | func (c *LRSClient) ReportLoad(si clients.ServerIdentifier) (*LoadStor... method getOrCreateLRSStream (line 95) | func (c *LRSClient) getOrCreateLRSStream(serverIdentifier clients.Serv... function New (line 62) | func New(config Config) (*LRSClient, error) { FILE: internal/xds/clients/lrsclient/lrsconfig.go type Config (line 28) | type Config struct FILE: internal/xds/clients/transport_builder.go type TransportBuilder (line 27) | type TransportBuilder interface type Transport (line 35) | type Transport interface type Stream (line 47) | type Stream interface FILE: internal/xds/clients/xdsclient/ads_stream.go constant perRPCVerbosityLevel (line 47) | perRPCVerbosityLevel = 9 type request (line 52) | type request struct type response (line 59) | type response struct type dataAndErrTuple (line 67) | type dataAndErrTuple struct type adsStreamEventHandler (line 75) | type adsStreamEventHandler interface type resourceTypeState (line 82) | type resourceTypeState struct type adsStreamImpl (line 92) | type adsStreamImpl struct method Stop (line 156) | func (s *adsStreamImpl) Stop() { method subscribe (line 167) | func (s *adsStreamImpl) subscribe(typ ResourceType, name string) { method unsubscribe (line 199) | func (s *adsStreamImpl) unsubscribe(typ ResourceType, name string) { method runner (line 235) | func (s *adsStreamImpl) runner(ctx context.Context) { method send (line 277) | func (s *adsStreamImpl) send(ctx context.Context) { method sendNewLocked (line 320) | func (s *adsStreamImpl) sendNewLocked(stream clients.Stream, requests ... method sendExisting (line 335) | func (s *adsStreamImpl) sendExisting(stream clients.Stream) error { method sendMessageLocked (line 375) | func (s *adsStreamImpl) sendMessageLocked(stream clients.Stream, names... method recv (line 427) | func (s *adsStreamImpl) recv(stream clients.Stream) bool { method recvMessage (line 475) | func (s *adsStreamImpl) recvMessage(stream clients.Stream) (resources ... method onRecv (line 500) | func (s *adsStreamImpl) onRecv(stream clients.Stream, names []string, ... method onError (line 566) | func (s *adsStreamImpl) onError(err error, msgReceived bool) { method startWatchTimersLocked (line 606) | func (s *adsStreamImpl) startWatchTimersLocked(typ ResourceType, names... method adsResourceWatchStateForTesting (line 629) | func (s *adsStreamImpl) adsResourceWatchStateForTesting(rType Resource... type adsStreamOpts (line 119) | type adsStreamOpts struct function newADSStreamImpl (line 131) | func newADSStreamImpl(opts adsStreamOpts) *adsStreamImpl { function resourceNames (line 644) | func resourceNames(m map[string]*xdsresource.ResourceWatchState) []string { type adsFlowControl (line 662) | type adsFlowControl struct method stop (line 681) | func (fc *adsFlowControl) stop() { method setPending (line 692) | func (fc *adsFlowControl) setPending(pending bool) { method wait (line 708) | func (fc *adsFlowControl) wait() bool { function newADSFlowControl (line 673) | func newADSFlowControl() *adsFlowControl { FILE: internal/xds/clients/xdsclient/authority.go type resourceState (line 41) | type resourceState struct type xdsChannelForADS (line 60) | type xdsChannelForADS type xdsChannelWithConfig (line 64) | type xdsChannelWithConfig struct type authority (line 83) | type authority struct method adsStreamFailure (line 174) | func (a *authority) adsStreamFailure(serverConfig *ServerConfig, err e... method handleADSStreamFailure (line 184) | func (a *authority) handleADSStreamFailure(serverConfig *ServerConfig,... method propagateConnectivityErrorToAllWatchers (line 238) | func (a *authority) propagateConnectivityErrorToAllWatchers(err error) { method serverIndexForConfig (line 259) | func (a *authority) serverIndexForConfig(sc *ServerConfig) int { method fallbackToServer (line 273) | func (a *authority) fallbackToServer(xc *xdsChannelWithConfig) bool { method adsResourceUpdate (line 317) | func (a *authority) adsResourceUpdate(serverConfig *ServerConfig, rTyp... method handleADSResourceUpdate (line 333) | func (a *authority) handleADSResourceUpdate(serverConfig *ServerConfig... method adsResourceDoesNotExist (line 507) | func (a *authority) adsResourceDoesNotExist(rType ResourceType, resour... method handleADSResourceDoesNotExist (line 517) | func (a *authority) handleADSResourceDoesNotExist(rType ResourceType, ... method handleRevertingToPrimaryOnUpdate (line 558) | func (a *authority) handleRevertingToPrimaryOnUpdate(serverConfig *Ser... method watchResource (line 648) | func (a *authority) watchResource(rType ResourceType, resourceName str... method unwatchResource (line 738) | func (a *authority) unwatchResource(rType ResourceType, resourceName s... method xdsChannelToUse (line 804) | func (a *authority) xdsChannelToUse() (*xdsChannelWithConfig, error) { method closeXDSChannels (line 824) | func (a *authority) closeXDSChannels() { method watcherExistsForUncachedResource (line 839) | func (a *authority) watcherExistsForUncachedResource() bool { method dumpResources (line 852) | func (a *authority) dumpResources() []*v3statuspb.ClientConfig_Generic... method resourceConfig (line 869) | func (a *authority) resourceConfig() []*v3statuspb.ClientConfig_Generi... method close (line 899) | func (a *authority) close() { method resourceWatchStateForTesting (line 924) | func (a *authority) resourceWatchStateForTesting(rType ResourceType, r... type authorityBuildOptions (line 121) | type authorityBuildOptions struct function newAuthority (line 140) | func newAuthority(args authorityBuildOptions) *authority { function serviceStatusToProto (line 907) | func serviceStatusToProto(serviceStatus xdsresource.ServiceStatus) v3adm... FILE: internal/xds/clients/xdsclient/channel.go constant clientFeatureNoOverprovisioning (line 38) | clientFeatureNoOverprovisioning = "envoy.lb.does_not_support_overprovisi... constant clientFeatureResourceWrapper (line 39) | clientFeatureResourceWrapper = "xds.config.resource-in-sotw" type xdsChannelEventHandler (line 46) | type xdsChannelEventHandler interface type xdsChannelOpts (line 66) | type xdsChannelOpts struct function newXDSChannel (line 79) | func newXDSChannel(opts xdsChannelOpts) (*xdsChannel, error) { type xdsChannel (line 127) | type xdsChannel struct method close (line 139) | func (xc *xdsChannel) close() { method subscribe (line 148) | func (xc *xdsChannel) subscribe(typ ResourceType, name string) { method unsubscribe (line 160) | func (xc *xdsChannel) unsubscribe(typ ResourceType, name string) { method onStreamError (line 175) | func (xc *xdsChannel) onStreamError(err error) { method onWatchExpiry (line 187) | func (xc *xdsChannel) onWatchExpiry(typ ResourceType, name string) { method onResponse (line 203) | func (xc *xdsChannel) onResponse(resp response, onDone func()) ([]stri... method decodeResponse (line 241) | func (xc *xdsChannel) decodeResponse(rType *ResourceType, resp respons... function combineErrors (line 306) | func combineErrors(rType string, topLevelErrors []error, perResourceErro... FILE: internal/xds/clients/xdsclient/channel_test.go function xdsChannelForTest (line 53) | func xdsChannelForTest(t *testing.T, serverURI, nodeID string, watchExpi... function verifyUpdateAndMetadata (line 95) | func verifyUpdateAndMetadata(ctx context.Context, t *testing.T, eh *test... method TestChannel_New_FailureCases (line 124) | func (s) TestChannel_New_FailureCases(t *testing.T) { method TestChannel_ADS_HandleResponseFromManagementServer (line 176) | func (s) TestChannel_ADS_HandleResponseFromManagementServer(t *testing.T) { method TestChannel_ADS_HandleResponseWatchExpiry (line 471) | func (s) TestChannel_ADS_HandleResponseWatchExpiry(t *testing.T) { method TestChannel_ADS_StreamFailure (line 508) | func (s) TestChannel_ADS_StreamFailure(t *testing.T) { method TestChannel_ADS_ResourceUnsubscribe (line 587) | func (s) TestChannel_ADS_ResourceUnsubscribe(t *testing.T) { function waitForResourceNames (line 665) | func waitForResourceNames(ctx context.Context, namesCh chan []string, wa... function newTestEventHandler (line 682) | func newTestEventHandler() *testEventHandler { type testEventHandler (line 695) | type testEventHandler struct method adsStreamFailure (line 704) | func (ta *testEventHandler) adsStreamFailure(err error) { method waitForStreamFailure (line 708) | func (ta *testEventHandler) waitForStreamFailure(ctx context.Context) ... method adsResourceUpdate (line 717) | func (ta *testEventHandler) adsResourceUpdate(typ ResourceType, update... method waitForUpdate (line 727) | func (ta *testEventHandler) waitForUpdate(ctx context.Context) (Resour... method adsResourceDoesNotExist (line 752) | func (ta *testEventHandler) adsResourceDoesNotExist(typ ResourceType, ... method waitForResourceDoesNotExist (line 760) | func (ta *testEventHandler) waitForResourceDoesNotExist(ctx context.Co... type panicDecoder (line 778) | type panicDecoder struct method Decode (line 780) | func (panicDecoder) Decode(*AnyProto, DecodeOptions) (*DecodeResult, e... method TestDecodeResponse_PanicRecoveryEnabled (line 788) | func (s) TestDecodeResponse_PanicRecoveryEnabled(t *testing.T) { method TestDecodeResponse_PanicRecoveryDisabled (line 805) | func (s) TestDecodeResponse_PanicRecoveryDisabled(t *testing.T) { FILE: internal/xds/clients/xdsclient/clientimpl_watchers.go type wrappingWatcher (line 30) | type wrappingWatcher struct method AmbientError (line 35) | func (w *wrappingWatcher) AmbientError(err error, done func()) { method ResourceError (line 39) | func (w *wrappingWatcher) ResourceError(err error, done func()) { method WatchResource (line 53) | func (c *XDSClient) WatchResource(typeURL, resourceName string, watcher ... method getAuthorityForResource (line 95) | func (c *XDSClient) getAuthorityForResource(name *xdsresource.Name) *aut... FILE: internal/xds/clients/xdsclient/helpers_test.go type s (line 39) | type s struct function Test (line 43) | func Test(t *testing.T) { constant defaultTestTimeout (line 48) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 49) | defaultTestShortTimeout = 10 * time.Millisecond constant listenerResourceTypeName (line 52) | listenerResourceTypeName = "ListenerResource" function unmarshalListenerResource (line 65) | func unmarshalListenerResource(rProto *anypb.Any) (string, listenerUpdat... function processListener (line 86) | func processListener(lis *v3listenerpb.Listener) (*listenerUpdate, error) { function processClientSideListener (line 95) | func processClientSideListener(lis *v3listenerpb.Listener) (*listenerUpd... function processServerSideListener (line 135) | func processServerSideListener(lis *v3listenerpb.Listener) (*listenerUpd... type listenerDecoder (line 160) | type listenerDecoder struct method Decode (line 164) | func (listenerDecoder) Decode(resource *AnyProto, _ DecodeOptions) (*D... type listenerResourceData (line 183) | type listenerResourceData struct method Equal (line 190) | func (l *listenerResourceData) Equal(other ResourceData) bool { method ToJSON (line 201) | func (l *listenerResourceData) ToJSON() string { method Bytes (line 206) | func (l *listenerResourceData) Bytes() []byte { type listenerUpdate (line 212) | type listenerUpdate struct type inboundListenerConfig (line 226) | type inboundListenerConfig struct FILE: internal/xds/clients/xdsclient/internal/xdsresource/ads_stream.go type WatchState (line 24) | type WatchState constant ResourceWatchStateStarted (line 30) | ResourceWatchStateStarted WatchState = iota constant ResourceWatchStateRequested (line 33) | ResourceWatchStateRequested constant ResourceWatchStateReceived (line 36) | ResourceWatchStateReceived constant ResourceWatchStateTimeout (line 39) | ResourceWatchStateTimeout type ResourceWatchState (line 43) | type ResourceWatchState struct FILE: internal/xds/clients/xdsclient/internal/xdsresource/errors.go type ErrorType (line 27) | type ErrorType constant ErrorTypeUnknown (line 32) | ErrorTypeUnknown ErrorType = iota constant ErrorTypeConnection (line 34) | ErrorTypeConnection constant ErrorTypeResourceNotFound (line 38) | ErrorTypeResourceNotFound constant ErrorTypeResourceTypeUnsupported (line 41) | ErrorTypeResourceTypeUnsupported constant ErrTypeStreamFailedAfterRecv (line 44) | ErrTypeStreamFailedAfterRecv constant ErrorTypeNACKed (line 47) | ErrorTypeNACKed type xdsClientError (line 50) | type xdsClientError struct method Error (line 55) | func (e *xdsClientError) Error() string { function NewErrorf (line 61) | func NewErrorf(t ErrorType, format string, args ...any) error { function NewError (line 67) | func NewError(t ErrorType, message string) error { function ErrType (line 72) | func ErrType(e error) ErrorType { FILE: internal/xds/clients/xdsclient/internal/xdsresource/name.go constant FederationScheme (line 27) | FederationScheme = "xdstp" type Name (line 37) | type Name struct method String (line 97) | func (n *Name) String() string { function ParseName (line 56) | func ParseName(name string) *Name { FILE: internal/xds/clients/xdsclient/internal/xdsresource/type.go type UpdateMetadata (line 31) | type UpdateMetadata struct function IsListenerResource (line 47) | func IsListenerResource(url string) bool { function IsHTTPConnManagerResource (line 53) | func IsHTTPConnManagerResource(url string) bool { function UnwrapResource (line 59) | func UnwrapResource(r *anypb.Any) (*anypb.Any, error) { type ServiceStatus (line 73) | type ServiceStatus constant ServiceStatusUnknown (line 78) | ServiceStatusUnknown ServiceStatus = iota constant ServiceStatusRequested (line 81) | ServiceStatusRequested constant ServiceStatusNotExist (line 85) | ServiceStatusNotExist constant ServiceStatusACKed (line 87) | ServiceStatusACKed constant ServiceStatusNACKed (line 89) | ServiceStatusNACKed type UpdateErrorMetadata (line 94) | type UpdateErrorMetadata struct FILE: internal/xds/clients/xdsclient/internal/xdsresource/version.go constant googleapiPrefix (line 26) | googleapiPrefix = "type.googleapis.com/" constant V3ListenerURL (line 28) | V3ListenerURL = googleapiPrefix + "envoy.config.listener.v3.Liste... constant V3HTTPConnManagerURL (line 29) | V3HTTPConnManagerURL = googleapiPrefix + "envoy.extensions.filters.netwo... constant V3ResourceWrapperURL (line 30) | V3ResourceWrapperURL = googleapiPrefix + "envoy.service.discovery.v3.Res... FILE: internal/xds/clients/xdsclient/logging.go function prefixLogger (line 30) | func prefixLogger(p *XDSClient) *internalgrpclog.PrefixLogger { function clientPrefix (line 34) | func clientPrefix(p *XDSClient) string { FILE: internal/xds/clients/xdsclient/metrics/metrics.go type ResourceUpdateValid (line 26) | type ResourceUpdateValid struct type ResourceUpdateInvalid (line 33) | type ResourceUpdateInvalid struct type ServerFailure (line 40) | type ServerFailure struct FILE: internal/xds/clients/xdsclient/resource_type.go type ResourceType (line 25) | type ResourceType struct type Decoder (line 52) | type Decoder interface type AnyProto (line 68) | type AnyProto struct method ToAny (line 83) | func (a *AnyProto) ToAny() *anypb.Any { function NewAnyProto (line 75) | func NewAnyProto(a *anypb.Any) *AnyProto { type DecodeOptions (line 92) | type DecodeOptions struct type DecodeResult (line 103) | type DecodeResult struct type ResourceData (line 116) | type ResourceData interface FILE: internal/xds/clients/xdsclient/resource_watcher.go type ResourceWatcher (line 33) | type ResourceWatcher interface FILE: internal/xds/clients/xdsclient/test/ads_stream_ack_nack_test.go function createXDSClient (line 47) | func createXDSClient(t *testing.T, mgmtServerAddress string, nodeID stri... method TestADS_ACK_NACK_Simple (line 89) | func (s) TestADS_ACK_NACK_Simple(t *testing.T) { method TestADS_NACK_InvalidFirstResponse (line 270) | func (s) TestADS_NACK_InvalidFirstResponse(t *testing.T) { method TestADS_ACK_NACK_ResourceIsNotRequestedAnymore (line 375) | func (s) TestADS_ACK_NACK_ResourceIsNotRequestedAnymore(t *testing.T) { FILE: internal/xds/clients/xdsclient/test/ads_stream_backoff_test.go function overrideStreamBackOff (line 47) | func overrideStreamBackOff(t *testing.T, streamBackOff func(int) time.Du... function createXDSClientWithBackoff (line 54) | func createXDSClientWithBackoff(t *testing.T, mgmtServerAddress string, ... method TestADS_BackoffAfterStreamFailure (line 65) | func (s) TestADS_BackoffAfterStreamFailure(t *testing.T) { method TestADS_RetriesAfterBrokenStream (line 162) | func (s) TestADS_RetriesAfterBrokenStream(t *testing.T) { method TestADS_ResourceRequestedBeforeStreamCreation (line 331) | func (s) TestADS_ResourceRequestedBeforeStreamCreation(t *testing.T) { function waitForResourceNames (line 429) | func waitForResourceNames(ctx context.Context, t *testing.T, namesCh cha... FILE: internal/xds/clients/xdsclient/test/ads_stream_flow_control_test.go type blockingListenerWatcher (line 45) | type blockingListenerWatcher struct method ResourceChanged (line 61) | func (lw *blockingListenerWatcher) ResourceChanged(_ xdsclient.Resourc... method ResourceError (line 74) | func (lw *blockingListenerWatcher) ResourceError(_ error, done func()) { method AmbientError (line 87) | func (lw *blockingListenerWatcher) AmbientError(_ error, done func()) { function newBLockingListenerWatcher (line 52) | func newBLockingListenerWatcher() *blockingListenerWatcher { type transportBuilder (line 100) | type transportBuilder struct method Build (line 104) | func (b *transportBuilder) Build(si clients.ServerIdentifier) (clients... type transport (line 113) | type transport struct method NewStream (line 118) | func (t *transport) NewStream(ctx context.Context, method string) (cli... method Close (line 133) | func (t *transport) Close() { type stream (line 137) | type stream struct method Send (line 142) | func (s *stream) Send(msg []byte) error { method Recv (line 146) | func (s *stream) Recv() ([]byte, error) { type byteCodec (line 160) | type byteCodec struct method Marshal (line 162) | func (c *byteCodec) Marshal(v any) ([]byte, error) { method Unmarshal (line 169) | func (c *byteCodec) Unmarshal(data []byte, v any) error { method Name (line 177) | func (c *byteCodec) Name() string { method TestADSFlowControl_ResourceUpdates_SingleResource (line 193) | func (s) TestADSFlowControl_ResourceUpdates_SingleResource(t *testing.T) { method TestADSFlowControl_ResourceUpdates_MultipleResources (line 316) | func (s) TestADSFlowControl_ResourceUpdates_MultipleResources(t *testing... method TestADSFlowControl_ResourceErrors (line 452) | func (s) TestADSFlowControl_ResourceErrors(t *testing.T) { method TestADSFlowControl_ResourceDoesNotExist (line 529) | func (s) TestADSFlowControl_ResourceDoesNotExist(t *testing.T) { FILE: internal/xds/clients/xdsclient/test/ads_stream_restart_test.go method TestADS_ResourcesAreRequestedAfterStreamRestart (line 42) | func (s) TestADS_ResourcesAreRequestedAfterStreamRestart(t *testing.T) { FILE: internal/xds/clients/xdsclient/test/ads_stream_watch_test.go function waitForResourceWatchState (line 41) | func waitForResourceWatchState(ctx context.Context, client *xdsclient.XD... function verifyResourceWatchState (line 56) | func verifyResourceWatchState(client *xdsclient.XDSClient, resourceName ... method TestADS_WatchState_StreamBreaks (line 74) | func (s) TestADS_WatchState_StreamBreaks(t *testing.T) { method TestADS_WatchState_TimerFires (line 168) | func (s) TestADS_WatchState_TimerFires(t *testing.T) { FILE: internal/xds/clients/xdsclient/test/authority_test.go constant testAuthority1 (line 39) | testAuthority1 = "test-authority1" constant testAuthority2 (line 40) | testAuthority2 = "test-authority2" constant testAuthority3 (line 41) | testAuthority3 = "test-authority3" function setupForAuthorityTests (line 64) | func setupForAuthorityTests(ctx context.Context, t *testing.T) (*testuti... method TestAuthority_XDSChannelSharing (line 140) | func (s) TestAuthority_XDSChannelSharing(t *testing.T) { method TestAuthority_XDSChannelClose (line 184) | func (s) TestAuthority_XDSChannelClose(t *testing.T) { method TestAuthority_Fallback (line 220) | func (s) TestAuthority_Fallback(t *testing.T) { FILE: internal/xds/clients/xdsclient/test/custom_resource_watch_test.go type customTestDecoder (line 48) | type customTestDecoder struct method Decode (line 50) | func (customTestDecoder) Decode(resource *xdsclient.AnyProto, _ xdscli... type customTestResourceData (line 74) | type customTestResourceData struct method Equal (line 78) | func (c *customTestResourceData) Equal(other xdsclient.ResourceData) b... method Bytes (line 92) | func (c *customTestResourceData) Bytes() []byte { type customTestWatcher (line 97) | type customTestWatcher struct method ResourceChanged (line 109) | func (w *customTestWatcher) ResourceChanged(update xdsclient.ResourceD... method ResourceError (line 114) | func (w *customTestWatcher) ResourceError(err error, onDone func()) { method AmbientError (line 119) | func (w *customTestWatcher) AmbientError(err error, onDone func()) { function newCustomTestWatcher (line 102) | func newCustomTestWatcher() *customTestWatcher { method TestCustomResourceWatch (line 126) | func (s) TestCustomResourceWatch(t *testing.T) { FILE: internal/xds/clients/xdsclient/test/dump_test.go function makeGenericXdsConfig (line 50) | func makeGenericXdsConfig(typeURL, name, version string, status v3adminp... function checkResourceDump (line 61) | func checkResourceDump(ctx context.Context, want *v3statuspb.ClientStatu... method TestDumpResources_ManyToOne (line 107) | func (s) TestDumpResources_ManyToOne(t *testing.T) { method TestDumpResources_ManyToMany (line 273) | func (s) TestDumpResources_ManyToMany(t *testing.T) { FILE: internal/xds/clients/xdsclient/test/helpers_test.go type s (line 44) | type s struct function Test (line 48) | func Test(t *testing.T) { constant defaultTestWatchExpiryTimeout (line 53) | defaultTestWatchExpiryTimeout = 500 * time.Millisecond constant defaultTestTimeout (line 54) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 55) | defaultTestShortTimeout = 10 * time.Millisecond constant listenerResourceTypeName (line 59) | listenerResourceTypeName = "ListenerResource" constant ldsName (line 61) | ldsName = "xdsclient-test-lds-resource" constant rdsName (line 62) | rdsName = "xdsclient-test-rds-resource" constant ldsNameNewStyle (line 63) | ldsNameNewStyle = "xdstp:///envoy.config.listener.v3.Listener/xdsclient-... constant rdsNameNewStyle (line 64) | rdsNameNewStyle = "xdstp:///envoy.config.route.v3.RouteConfiguration/xds... function unmarshalListenerResource (line 77) | func unmarshalListenerResource(rProto *anypb.Any) (string, listenerUpdat... function processListener (line 98) | func processListener(lis *v3listenerpb.Listener) (*listenerUpdate, error) { function processClientSideListener (line 107) | func processClientSideListener(lis *v3listenerpb.Listener) (*listenerUpd... function processServerSideListener (line 147) | func processServerSideListener(lis *v3listenerpb.Listener) (*listenerUpd... type listenerDecoder (line 172) | type listenerDecoder struct method Decode (line 176) | func (listenerDecoder) Decode(resource *xdsclient.AnyProto, _ xdsclien... type listenerResourceData (line 195) | type listenerResourceData struct method Equal (line 202) | func (l *listenerResourceData) Equal(other xdsclient.ResourceData) bool { method ToJSON (line 213) | func (l *listenerResourceData) ToJSON() string { method Bytes (line 218) | func (l *listenerResourceData) Bytes() []byte { type listenerUpdate (line 224) | type listenerUpdate struct type inboundListenerConfig (line 238) | type inboundListenerConfig struct function makeAuthorityName (line 247) | func makeAuthorityName(name string) string { function makeNewStyleLDSName (line 252) | func makeNewStyleLDSName(authority string) string { function buildResourceName (line 258) | func buildResourceName(typeName, auth, id string, ctxParams map[string]s... type testMetricsReporter (line 280) | type testMetricsReporter struct method waitForMetric (line 294) | func (r *testMetricsReporter) waitForMetric(ctx context.Context, metri... method ReportMetric (line 306) | func (r *testMetricsReporter) ReportMetric(m any) { function newTestMetricsReporter (line 285) | func newTestMetricsReporter() *testMetricsReporter { FILE: internal/xds/clients/xdsclient/test/lds_watchers_test.go type noopListenerWatcher (line 45) | type noopListenerWatcher struct method ResourceChanged (line 47) | func (noopListenerWatcher) ResourceChanged(_ xdsclient.ResourceData, o... method ResourceError (line 50) | func (noopListenerWatcher) ResourceError(_ error, onDone func()) { method AmbientError (line 53) | func (noopListenerWatcher) AmbientError(_ error, onDone func()) { type listenerUpdateErrTuple (line 57) | type listenerUpdateErrTuple struct type listenerWatcher (line 63) | type listenerWatcher struct method ResourceChanged (line 77) | func (lw *listenerWatcher) ResourceChanged(update xdsclient.ResourceDa... method AmbientError (line 92) | func (lw *listenerWatcher) AmbientError(err error, onDone func()) { method ResourceError (line 101) | func (lw *listenerWatcher) ResourceError(err error, onDone func()) { function newListenerWatcher (line 69) | func newListenerWatcher() *listenerWatcher { function badListenerResource (line 109) | func badListenerResource(t *testing.T, name string) *v3listenerpb.Listen... function verifyNoListenerUpdate (line 122) | func verifyNoListenerUpdate(ctx context.Context, updateCh *testutils.Cha... function verifyListenerUpdate (line 145) | func verifyListenerUpdate(ctx context.Context, updateCh *testutils.Chann... function verifyListenerResourceError (line 171) | func verifyListenerResourceError(ctx context.Context, updateCh *testutil... function verifyListenerError (line 180) | func verifyListenerError(_ context.Context, gotErr error, wantErr, wantN... function verifyAmbientErrorType (line 190) | func verifyAmbientErrorType(ctx context.Context, updateCh *testutils.Cha... function verifyResourceErrorType (line 199) | func verifyResourceErrorType(ctx context.Context, updateCh *testutils.Ch... function verifyErrorType (line 208) | func verifyErrorType(gotErr error, wantErrType xdsresource.ErrorType, wa... method TestLDSWatch (line 229) | func (s) TestLDSWatch(t *testing.T) { method TestLDSWatch_TwoWatchesForSameResourceName (line 367) | func (s) TestLDSWatch_TwoWatchesForSameResourceName(t *testing.T) { method TestLDSWatch_ThreeWatchesForDifferentResourceNames (line 515) | func (s) TestLDSWatch_ThreeWatchesForDifferentResourceNames(t *testing.T) { method TestLDSWatch_ResourceCaching (line 603) | func (s) TestLDSWatch_ResourceCaching(t *testing.T) { method TestLDSWatch_ExpiryTimerFiresBeforeResponse (line 705) | func (s) TestLDSWatch_ExpiryTimerFiresBeforeResponse(t *testing.T) { method TestLDSWatch_ValidResponseCancelsExpiryTimerBehavior (line 755) | func (s) TestLDSWatch_ValidResponseCancelsExpiryTimerBehavior(t *testing... method TestLDSWatch_ResourceRemoved (line 831) | func (s) TestLDSWatch_ResourceRemoved(t *testing.T) { method TestLDSWatch_NewWatcherForRemovedResource (line 961) | func (s) TestLDSWatch_NewWatcherForRemovedResource(t *testing.T) { method TestLDSWatch_NACKError (line 1047) | func (s) TestLDSWatch_NACKError(t *testing.T) { method TestLDSWatch_ResourceCaching_NACKError (line 1115) | func (s) TestLDSWatch_ResourceCaching_NACKError(t *testing.T) { method TestLDSWatch_PartialValid (line 1207) | func (s) TestLDSWatch_PartialValid(t *testing.T) { method TestLDSWatch_PartialResponse (line 1297) | func (s) TestLDSWatch_PartialResponse(t *testing.T) { FILE: internal/xds/clients/xdsclient/test/metrics_test.go method TestResourceUpdateMetrics (line 44) | func (s) TestResourceUpdateMetrics(t *testing.T) { method TestServerFailureMetrics_BeforeResponseRecv (line 129) | func (s) TestServerFailureMetrics_BeforeResponseRecv(t *testing.T) { method TestServerFailureMetrics_AfterResponseRecv (line 214) | func (s) TestServerFailureMetrics_AfterResponseRecv(t *testing.T) { FILE: internal/xds/clients/xdsclient/test/misc_watchers_test.go type testLDSWatcher (line 45) | type testLDSWatcher struct method ResourceChanged (line 64) | func (lw *testLDSWatcher) ResourceChanged(update xdsclient.ResourceDat... method AmbientError (line 78) | func (lw *testLDSWatcher) AmbientError(err error, onDone func()) { method ResourceError (line 87) | func (lw *testLDSWatcher) ResourceError(_ error, onDone func()) { method cancel (line 92) | func (lw *testLDSWatcher) cancel() { function newTestLDSWatcher (line 53) | func newTestLDSWatcher(client *xdsclient.XDSClient, name1, name2 string)... method TestWatchCallAnotherWatch (line 100) | func (s) TestWatchCallAnotherWatch(t *testing.T) { method TestNodeProtoSentOnlyInFirstRequest (line 196) | func (s) TestNodeProtoSentOnlyInFirstRequest(t *testing.T) { function readDiscoveryResponseAndCheckForEmptyNodeProto (line 341) | func readDiscoveryResponseAndCheckForEmptyNodeProto(ctx context.Context,... function readDiscoveryResponseAndCheckForNonEmptyNodeProto (line 357) | func readDiscoveryResponseAndCheckForNonEmptyNodeProto(ctx context.Conte... method TestWatchErrorsContainNodeID (line 378) | func (s) TestWatchErrorsContainNodeID(t *testing.T) { type erroringTransportBuilder (line 468) | type erroringTransportBuilder struct method Build (line 470) | func (*erroringTransportBuilder) Build(_ clients.ServerIdentifier) (cl... method TestWatchErrorsContainNodeID_ChannelCreationFailure (line 476) | func (s) TestWatchErrorsContainNodeID_ChannelCreationFailure(t *testing.... FILE: internal/xds/clients/xdsclient/xdsclient.go constant defaultWatchExpiryTimeout (line 55) | defaultWatchExpiryTimeout = 15 * time.Second constant name (line 56) | name = "xds-client" function init (line 63) | func init() { type XDSClient (line 71) | type XDSClient struct method Close (line 170) | func (c *XDSClient) Close() { method getChannelForADS (line 214) | func (c *XDSClient) getChannelForADS(serverConfig *ServerConfig, calli... method getOrCreateChannel (line 256) | func (c *XDSClient) getOrCreateChannel(serverConfig *ServerConfig, ini... method releaseChannel (line 317) | func (c *XDSClient) releaseChannel(serverConfig *ServerConfig, state *... method DumpResources (line 348) | func (c *XDSClient) DumpResources() ([]byte, error) { function New (line 101) | func New(config Config) (*XDSClient, error) { function newClient (line 121) | func newClient(config *Config, target string) (*XDSClient, error) { type channelState (line 370) | type channelState struct method adsStreamFailure (line 380) | func (cs *channelState) adsStreamFailure(err error) { method adsResourceUpdate (line 398) | func (cs *channelState) adsResourceUpdate(typ ResourceType, updates ma... method adsResourceDoesNotExist (line 423) | func (cs *channelState) adsResourceDoesNotExist(typ ResourceType, reso... function resourceWatchStateForTesting (line 435) | func resourceWatchStateForTesting(c *XDSClient, rType ResourceType, reso... FILE: internal/xds/clients/xdsclient/xdsclient_test.go method TestXDSClient_New (line 31) | func (s) TestXDSClient_New(t *testing.T) { method TestXDSClient_Close (line 113) | func (s) TestXDSClient_Close(t *testing.T) { FILE: internal/xds/clients/xdsclient/xdsconfig.go type ServerFeature (line 28) | type ServerFeature constant ServerFeatureIgnoreResourceDeletion (line 34) | ServerFeatureIgnoreResourceDeletion ServerFeature = 1 << iota constant ServerFeatureTrustedXDSServer (line 38) | ServerFeatureTrustedXDSServer type Config (line 44) | type Config struct type ServerConfig (line 89) | type ServerConfig struct method SupportsServerFeature (line 110) | func (s *ServerConfig) SupportsServerFeature(feature ServerFeature) bo... type Authority (line 97) | type Authority struct function isServerConfigEqual (line 104) | func isServerConfigEqual(a, b *ServerConfig) bool { FILE: internal/xds/clusterspecifier/cluster_specifier.go type BalancerConfig (line 29) | type BalancerConfig type ClusterSpecifier (line 32) | type ClusterSpecifier interface function Register (line 56) | func Register(cs ClusterSpecifier) { function Get (line 65) | func Get(typeURL string) ClusterSpecifier { function UnregisterForTesting (line 70) | func UnregisterForTesting(typeURL string) { FILE: internal/xds/clusterspecifier/rls/rls.go function init (line 35) | func init() { type rls (line 39) | type rls struct method TypeURLs (line 41) | func (rls) TypeURLs() []string { method ParseClusterSpecifierConfig (line 54) | func (rls) ParseClusterSpecifierConfig(cfg proto.Message) (clusterspec... type lbConfigJSON (line 48) | type lbConfigJSON struct FILE: internal/xds/clusterspecifier/rls/rls_test.go function init (line 38) | func init() { type s (line 42) | type s struct method TestParseClusterSpecifierConfig (line 52) | func (s) TestParseClusterSpecifierConfig(t *testing.T) { function Test (line 46) | func Test(t *testing.T) { FILE: internal/xds/httpfilter/fault/fault.go constant headerAbortHTTPStatus (line 45) | headerAbortHTTPStatus = "x-envoy-fault-abort-request" constant headerAbortGRPCStatus (line 46) | headerAbortGRPCStatus = "x-envoy-fault-abort-grpc-request" constant headerAbortPercentage (line 47) | headerAbortPercentage = "x-envoy-fault-abort-request-percentage" constant headerDelayPercentage (line 49) | headerDelayPercentage = "x-envoy-fault-delay-request-percentage" constant headerDelayDuration (line 50) | headerDelayDuration = "x-envoy-fault-delay-request" function init (line 63) | func init() { type builder (line 67) | type builder struct method TypeURLs (line 75) | func (builder) TypeURLs() []string { method ParseFilterConfig (line 95) | func (builder) ParseFilterConfig(cfg proto.Message) (httpfilter.Filter... method ParseFilterConfigOverride (line 99) | func (builder) ParseFilterConfigOverride(override proto.Message) (http... method IsTerminal (line 103) | func (builder) IsTerminal() bool { method BuildClientFilter (line 107) | func (builder) BuildClientFilter() httpfilter.ClientFilter { type config (line 70) | type config struct function parseConfig (line 80) | func parseConfig(cfg proto.Message) (httpfilter.FilterConfig, error) { type clientFilter (line 113) | type clientFilter struct method Close (line 115) | func (clientFilter) Close() {} method BuildClientInterceptor (line 117) | func (clientFilter) BuildClientInterceptor(cfg, override httpfilter.Fi... type interceptor (line 144) | type interceptor struct method NewStream (line 150) | func (i *interceptor) NewStream(ctx context.Context, _ iresolver.RPCIn... method Close (line 172) | func (i *interceptor) Close() {} function injectDelay (line 178) | func injectDelay(ctx context.Context, delayCfg *cpb.FaultDelay) error { function injectAbort (line 216) | func injectAbort(ctx context.Context, abortCfg *fpb.FaultAbort) error { function parseIntFromMD (line 256) | func parseIntFromMD(header []string) (int, bool) { function splitPct (line 264) | func splitPct(fp *tpb.FractionalPercent) (num int, den int) { function grpcFromHTTP (line 280) | func grpcFromHTTP(httpStatus int) (codes.Code, bool) { function sanitizeGRPCCode (line 294) | func sanitizeGRPCCode(c codes.Code) codes.Code { type okStream (line 301) | type okStream struct method Header (line 305) | func (*okStream) Header() (metadata.MD, error) { return nil, nil } method Trailer (line 306) | func (*okStream) Trailer() metadata.MD { return nil } method CloseSend (line 307) | func (*okStream) CloseSend() error { return nil } method Context (line 308) | func (o *okStream) Context() context.Context { return o.ctx } method SendMsg (line 309) | func (*okStream) SendMsg(any) error { return io.EOF } method RecvMsg (line 310) | func (*okStream) RecvMsg(any) error { return io.EOF } FILE: internal/xds/httpfilter/fault/fault_test.go constant defaultTestTimeout (line 63) | defaultTestTimeout = 10 * time.Second type s (line 65) | type s struct method TestFaultInjection_Unary (line 123) | func (s) TestFaultInjection_Unary(t *testing.T) { method TestFaultInjection_MaxActiveFaults (line 548) | func (s) TestFaultInjection_MaxActiveFaults(t *testing.T) { function Test (line 69) | func Test(t *testing.T) { function clientSetup (line 85) | func clientSetup(t *testing.T) (*e2e.ManagementServer, string, uint32, [... FILE: internal/xds/httpfilter/httpfilter.go type FilterConfig (line 30) | type FilterConfig interface type Builder (line 38) | type Builder interface type ClientFilterBuilder (line 61) | type ClientFilterBuilder interface type ClientFilter (line 70) | type ClientFilter interface type ServerFilterBuilder (line 85) | type ServerFilterBuilder interface type ServerFilter (line 94) | type ServerFilter interface function Register (line 118) | func Register(b Builder) { function UnregisterForTesting (line 125) | func UnregisterForTesting(typeURL string) { function Get (line 132) | func Get(typeURL string) Builder { FILE: internal/xds/httpfilter/rbac/rbac.go function init (line 38) | func init() { type builder (line 42) | type builder struct method TypeURLs (line 50) | func (builder) TypeURLs() []string { method ParseFilterConfig (line 129) | func (builder) ParseFilterConfig(cfg proto.Message) (httpfilter.Filter... method ParseFilterConfigOverride (line 144) | func (builder) ParseFilterConfigOverride(override proto.Message) (http... method IsTerminal (line 159) | func (builder) IsTerminal() bool { method BuildServerFilter (line 163) | func (builder) BuildServerFilter() httpfilter.ServerFilter { type config (line 45) | type config struct function parseConfig (line 58) | func parseConfig(rbacCfg *rpb.RBAC) (httpfilter.FilterConfig, error) { type serverFilter (line 169) | type serverFilter struct method Close (line 171) | func (serverFilter) Close() {} method BuildServerInterceptor (line 173) | func (serverFilter) BuildServerInterceptor(cfg httpfilter.FilterConfig... type interceptor (line 203) | type interceptor struct method AllowRPC (line 207) | func (i *interceptor) AllowRPC(ctx context.Context) error { method Close (line 211) | func (i *interceptor) Close() {} FILE: internal/xds/httpfilter/router/router.go constant TypeURL (line 34) | TypeURL = "type.googleapis.com/envoy.extensions.filters.http.router.v3.R... function init (line 36) | func init() { function IsRouterFilter (line 41) | func IsRouterFilter(b httpfilter.Builder) bool { type builder (line 46) | type builder struct method TypeURLs (line 49) | func (builder) TypeURLs() []string { return []string{TypeURL} } method ParseFilterConfig (line 51) | func (builder) ParseFilterConfig(cfg proto.Message) (httpfilter.Filter... method ParseFilterConfigOverride (line 68) | func (builder) ParseFilterConfigOverride(override proto.Message) (http... method IsTerminal (line 75) | func (builder) IsTerminal() bool { method BuildClientFilter (line 79) | func (builder) BuildClientFilter() httpfilter.ClientFilter { method BuildServerFilter (line 83) | func (builder) BuildServerFilter() httpfilter.ServerFilter { type filter (line 90) | type filter struct method Close (line 92) | func (filter) Close() {} method BuildClientInterceptor (line 94) | func (filter) BuildClientInterceptor(cfg, override httpfilter.FilterCo... method BuildServerInterceptor (line 107) | func (filter) BuildServerInterceptor(cfg, override httpfilter.FilterCo... type config (line 121) | type config struct FILE: internal/xds/matcher/matcher_header.go type HeaderMatcher (line 34) | type HeaderMatcher interface function valueFromMD (line 43) | func valueFromMD(md metadata.MD, key string) (string, bool) { type HeaderExactMatcher (line 52) | type HeaderExactMatcher struct method Match (line 65) | func (hem *HeaderExactMatcher) Match(md metadata.MD) bool { method String (line 73) | func (hem *HeaderExactMatcher) String() string { function NewHeaderExactMatcher (line 59) | func NewHeaderExactMatcher(key, exact string, invert bool) *HeaderExactM... type HeaderRegexMatcher (line 79) | type HeaderRegexMatcher struct method Match (line 92) | func (hrm *HeaderRegexMatcher) Match(md metadata.MD) bool { method String (line 100) | func (hrm *HeaderRegexMatcher) String() string { function NewHeaderRegexMatcher (line 86) | func NewHeaderRegexMatcher(key string, re *regexp.Regexp, invert bool) *... type HeaderRangeMatcher (line 106) | type HeaderRangeMatcher struct method Match (line 119) | func (hrm *HeaderRangeMatcher) Match(md metadata.MD) bool { method String (line 130) | func (hrm *HeaderRangeMatcher) String() string { function NewHeaderRangeMatcher (line 113) | func NewHeaderRangeMatcher(key string, start, end int64, invert bool) *H... type HeaderPresentMatcher (line 136) | type HeaderPresentMatcher struct method Match (line 151) | func (hpm *HeaderPresentMatcher) Match(md metadata.MD) bool { method String (line 157) | func (hpm *HeaderPresentMatcher) String() string { function NewHeaderPresentMatcher (line 142) | func NewHeaderPresentMatcher(key string, present bool, invert bool) *Hea... type HeaderPrefixMatcher (line 163) | type HeaderPrefixMatcher struct method Match (line 176) | func (hpm *HeaderPrefixMatcher) Match(md metadata.MD) bool { method String (line 184) | func (hpm *HeaderPrefixMatcher) String() string { function NewHeaderPrefixMatcher (line 170) | func NewHeaderPrefixMatcher(key string, prefix string, invert bool) *Hea... type HeaderSuffixMatcher (line 190) | type HeaderSuffixMatcher struct method Match (line 203) | func (hsm *HeaderSuffixMatcher) Match(md metadata.MD) bool { method String (line 211) | func (hsm *HeaderSuffixMatcher) String() string { function NewHeaderSuffixMatcher (line 197) | func NewHeaderSuffixMatcher(key string, suffix string, invert bool) *Hea... type HeaderContainsMatcher (line 217) | type HeaderContainsMatcher struct method Match (line 233) | func (hcm *HeaderContainsMatcher) Match(md metadata.MD) bool { method String (line 241) | func (hcm *HeaderContainsMatcher) String() string { function NewHeaderContainsMatcher (line 227) | func NewHeaderContainsMatcher(key string, contains string, invert bool) ... type HeaderStringMatcher (line 247) | type HeaderStringMatcher struct method Match (line 264) | func (hsm *HeaderStringMatcher) Match(md metadata.MD) bool { method String (line 272) | func (hsm *HeaderStringMatcher) String() string { function NewHeaderStringMatcher (line 254) | func NewHeaderStringMatcher(key string, sm StringMatcher, invert bool) *... FILE: internal/xds/matcher/matcher_header_test.go function TestHeaderExactMatcherMatch (line 28) | func TestHeaderExactMatcherMatch(t *testing.T) { function TestHeaderRegexMatcherMatch (line 100) | func TestHeaderRegexMatcherMatch(t *testing.T) { function TestHeaderRangeMatcherMatch (line 185) | func TestHeaderRangeMatcherMatch(t *testing.T) { function TestHeaderPresentMatcherMatch (line 257) | func TestHeaderPresentMatcherMatch(t *testing.T) { function TestHeaderPrefixMatcherMatch (line 329) | func TestHeaderPrefixMatcherMatch(t *testing.T) { function TestHeaderSuffixMatcherMatch (line 400) | func TestHeaderSuffixMatcherMatch(t *testing.T) { function TestHeaderStringMatch (line 471) | func TestHeaderStringMatch(t *testing.T) { FILE: internal/xds/matcher/string_matcher.go type StringMatcher (line 36) | type StringMatcher struct method Match (line 50) | func (sm StringMatcher) Match(input string) bool { method ExactMatch (line 185) | func (sm StringMatcher) ExactMatch() string { method Equal (line 193) | func (sm StringMatcher) Equal(other StringMatcher) bool { function newStrPtr (line 80) | func newStrPtr(input *string, ignoreCase bool) *string { function StringMatcherFromProto (line 98) | func StringMatcherFromProto(matcherProto *v3matcherpb.StringMatcher) (St... function NewExactStringMatcher (line 138) | func NewExactStringMatcher(pattern string, ignoreCase bool) StringMatcher { function NewPrefixStringMatcher (line 148) | func NewPrefixStringMatcher(prefix string, ignoreCase bool) StringMatcher { function NewSuffixStringMatcher (line 158) | func NewSuffixStringMatcher(suffix string, ignoreCase bool) StringMatcher { function NewContainsStringMatcher (line 168) | func NewContainsStringMatcher(pattern string, ignoreCase bool) StringMat... function NewRegexStringMatcher (line 177) | func NewRegexStringMatcher(regex *regexp.Regexp) StringMatcher { FILE: internal/xds/matcher/string_matcher_test.go function TestStringMatcherFromProto (line 29) | func TestStringMatcherFromProto(t *testing.T) { function TestMatch (line 179) | func TestMatch(t *testing.T) { function newStringP (line 314) | func newStringP(s string) *string { FILE: internal/xds/rbac/converter.go function buildLogger (line 35) | func buildLogger(loggerConfig *v3rbacpb.RBAC_AuditLoggingOptions_AuditLo... function getCustomConfig (line 61) | func getCustomConfig(config *anypb.Any) (json.RawMessage, string, error) { function convertStdoutConfig (line 77) | func convertStdoutConfig(config *v3auditloggersstreampb.StdoutAuditLog) ... function convertCustomConfig (line 82) | func convertCustomConfig(typeURL string, s *structpb.Struct) (json.RawMe... FILE: internal/xds/rbac/converter_test.go method TestBuildLoggerErrors (line 33) | func (s) TestBuildLoggerErrors(t *testing.T) { method TestBuildLoggerKnownTypes (line 118) | func (s) TestBuildLoggerKnownTypes(t *testing.T) { function createStdoutPb (line 162) | func createStdoutPb(t *testing.T) *anypb.Any { FILE: internal/xds/rbac/matchers.go type matcher (line 34) | type matcher interface type policyMatcher (line 46) | type policyMatcher struct method match (line 66) | func (pm *policyMatcher) match(data *rpcData) bool { function newPolicyMatcher (line 51) | func newPolicyMatcher(policy *v3rbacpb.Policy) (*policyMatcher, error) { function matchersFromPermissions (line 78) | func matchersFromPermissions(permissions []*v3rbacpb.Permission) ([]matc... function matchersFromPrincipals (line 138) | func matchersFromPrincipals(principals []*v3rbacpb.Principal) ([]matcher... type orMatcher (line 211) | type orMatcher struct method match (line 215) | func (om *orMatcher) match(data *rpcData) bool { type andMatcher (line 228) | type andMatcher struct method match (line 232) | func (am *andMatcher) match(data *rpcData) bool { type alwaysMatcher (line 244) | type alwaysMatcher struct method match (line 247) | func (am *alwaysMatcher) match(*rpcData) bool { type notMatcher (line 253) | type notMatcher struct method match (line 257) | func (nm *notMatcher) match(data *rpcData) bool { type headerMatcher (line 263) | type headerMatcher struct method match (line 300) | func (hm *headerMatcher) match(data *rpcData) bool { function newHeaderMatcher (line 267) | func newHeaderMatcher(headerMatcherConfig *v3route_componentspb.HeaderMa... type urlPathMatcher (line 307) | type urlPathMatcher struct method match (line 319) | func (upm *urlPathMatcher) match(data *rpcData) bool { function newURLPathMatcher (line 311) | func newURLPathMatcher(pathMatcher *v3matcherpb.PathMatcher) (*urlPathMa... type remoteIPMatcher (line 329) | type remoteIPMatcher struct method match (line 346) | func (sim *remoteIPMatcher) match(data *rpcData) bool { function newRemoteIPMatcher (line 335) | func newRemoteIPMatcher(cidrRange *v3corepb.CidrRange) (*remoteIPMatcher... type localIPMatcher (line 351) | type localIPMatcher struct method match (line 364) | func (dim *localIPMatcher) match(data *rpcData) bool { function newLocalIPMatcher (line 355) | func newLocalIPMatcher(cidrRange *v3corepb.CidrRange) (*localIPMatcher, ... type portMatcher (line 372) | type portMatcher struct method match (line 380) | func (pm *portMatcher) match(data *rpcData) bool { function newPortMatcher (line 376) | func newPortMatcher(destinationPort uint32) *portMatcher { type authenticatedMatcher (line 388) | type authenticatedMatcher struct method match (line 405) | func (am *authenticatedMatcher) match(data *rpcData) bool { function newAuthenticatedMatcher (line 392) | func newAuthenticatedMatcher(authenticatedMatcherConfig *v3rbacpb.Princi... FILE: internal/xds/rbac/rbac_engine.go type ChainEngine (line 50) | type ChainEngine struct method logRequestDetails (line 68) | func (cre *ChainEngine) logRequestDetails(rpcData *rpcData) { method IsAuthorized (line 82) | func (cre *ChainEngine) IsAuthorized(ctx context.Context) error { function NewChainEngine (line 56) | func NewChainEngine(policies []*v3rbacpb.RBAC, policyName string) (*Chai... type engine (line 117) | type engine struct method findMatchingPolicy (line 182) | func (e *engine) findMatchingPolicy(rpcData *rpcData) (string, bool) { method doAuditLogging (line 280) | func (e *engine) doAuditLogging(rpcData *rpcData, rule string, authori... function newEngine (line 129) | func newEngine(config *v3rbacpb.RBAC, policyName string) (*engine, error) { function parseAuditOptions (line 157) | func parseAuditOptions(opts *v3rbacpb.RBAC_AuditLoggingOptions) ([]audit... function newRPCData (line 197) | func newRPCData(ctx context.Context) (*rpcData, error) { type rpcData (line 261) | type rpcData struct constant typeURLPrefix (line 319) | typeURLPrefix = "grpc.authz.audit_logging/" FILE: internal/xds/rbac/rbac_engine_test.go constant defaultTestTimeout (line 52) | defaultTestTimeout = 10 * time.Second type s (line 54) | type s struct method TestNewChainEngine (line 74) | func (s) TestNewChainEngine(t *testing.T) { method TestChainEngine (line 695) | func (s) TestChainEngine(t *testing.T) { function Test (line 58) | func Test(t *testing.T) { type addr (line 62) | type addr struct method Network (line 66) | func (addr) Network() string { return "" } method String (line 67) | func (a *addr) String() string { return a.ipAddress } type rbacQuery (line 684) | type rbacQuery struct type ServerTransportStreamWithMethod (line 1807) | type ServerTransportStreamWithMethod struct method Method (line 1811) | func (sts *ServerTransportStreamWithMethod) Method() string { method SetHeader (line 1815) | func (sts *ServerTransportStreamWithMethod) SetHeader(metadata.MD) err... method SendHeader (line 1819) | func (sts *ServerTransportStreamWithMethod) SendHeader(metadata.MD) er... method SetTrailer (line 1823) | func (sts *ServerTransportStreamWithMethod) SetTrailer(metadata.MD) er... type TestAuditLoggerBuffer (line 1828) | type TestAuditLoggerBuffer struct method Log (line 1832) | func (logger *TestAuditLoggerBuffer) Log(e *audit.Event) { type TestAuditLoggerBufferBuilder (line 1837) | type TestAuditLoggerBufferBuilder struct method ParseLoggerConfig (line 1847) | func (b *TestAuditLoggerBufferBuilder) ParseLoggerConfig(json.RawMessa... method Build (line 1851) | func (b *TestAuditLoggerBufferBuilder) Build(audit.LoggerConfig) audit... method Name (line 1855) | func (b *TestAuditLoggerBufferBuilder) Name() string { type TestAuditLoggerBufferConfig (line 1843) | type TestAuditLoggerBufferConfig struct type TestAuditLoggerCustomConfig (line 1860) | type TestAuditLoggerCustomConfig struct method Log (line 1862) | func (logger *TestAuditLoggerCustomConfig) Log(*audit.Event) {} type TestAuditLoggerCustomConfigBuilder (line 1866) | type TestAuditLoggerCustomConfigBuilder struct method ParseLoggerConfig (line 1879) | func (b TestAuditLoggerCustomConfigBuilder) ParseLoggerConfig(configJS... method Build (line 1888) | func (b *TestAuditLoggerCustomConfigBuilder) Build(audit.LoggerConfig)... method Name (line 1892) | func (b *TestAuditLoggerCustomConfigBuilder) Name() string { type TestAuditLoggerCustomConfigConfig (line 1871) | type TestAuditLoggerCustomConfigConfig struct function createUDPATypedStruct (line 1897) | func createUDPATypedStruct(t *testing.T, in map[string]any, name string)... function createXDSTypedStruct (line 1919) | func createXDSTypedStruct(t *testing.T, in map[string]any, name string) ... FILE: internal/xds/resolver/cluster_specifier_plugin_test.go function init (line 44) | func init() { type cspBalancerBuilder (line 51) | type cspBalancerBuilder struct method Build (line 53) | func (cspBalancerBuilder) Build(balancer.ClientConn, balancer.BuildOpt... method Name (line 57) | func (cspBalancerBuilder) Name() string { method ParseConfig (line 66) | func (cspBalancerBuilder) ParseConfig(lbCfg json.RawMessage) (servicec... type cspBalancerConfig (line 61) | type cspBalancerConfig struct type testClusterSpecifierPlugin (line 77) | type testClusterSpecifierPlugin struct method TypeURLs (line 80) | func (testClusterSpecifierPlugin) TypeURLs() []string { method ParseClusterSpecifierConfig (line 90) | func (testClusterSpecifierPlugin) ParseClusterSpecifierConfig(cfg prot... method TestResolverClusterSpecifierPlugin (line 113) | func (s) TestResolverClusterSpecifierPlugin(t *testing.T) { method TestXDSResolverDelayedOnCommittedCSP (line 203) | func (s) TestXDSResolverDelayedOnCommittedCSP(t *testing.T) { FILE: internal/xds/resolver/helpers_test.go type s (line 50) | type s struct function Test (line 54) | func Test(t *testing.T) { constant defaultTestTimeout (line 59) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 60) | defaultTestShortTimeout = 100 * time.Microsecond constant defaultTestServiceName (line 62) | defaultTestServiceName = "service-name" constant defaultTestRouteConfigName (line 63) | defaultTestRouteConfigName = "route-config-name" constant defaultTestClusterName (line 64) | defaultTestClusterName = "cluster-name" constant defaultTestEndpointName (line 65) | defaultTestEndpointName = "endpoint-name" constant defaultTestHostname (line 66) | defaultTestHostname = "test-host" function wantServiceConfig (line 74) | func wantServiceConfig(clusterName string) string { function buildResolverForTarget (line 100) | func buildResolverForTarget(t *testing.T, target resolver.Target, bootst... function verifyUpdateFromResolver (line 150) | func verifyUpdateFromResolver(ctx context.Context, t *testing.T, stateCh... function verifyNoUpdateFromResolver (line 179) | func verifyNoUpdateFromResolver(ctx context.Context, t *testing.T, state... function verifyResolverError (line 191) | func verifyResolverError(gotErr error, wantCode codes.Code, wantErr, wan... function setupManagementServerForTest (line 216) | func setupManagementServerForTest(t *testing.T, nodeID string) (*e2e.Man... function configureResources (line 258) | func configureResources(ctx context.Context, t *testing.T, mgmtServer *e... function waitForResourceNames (line 274) | func waitForResourceNames(ctx context.Context, t *testing.T, namesCh cha... FILE: internal/xds/resolver/logging.go constant prefix (line 28) | prefix = "[xds-resolver %p] " function prefixLogger (line 32) | func prefixLogger(p *xdsResolver) *internalgrpclog.PrefixLogger { FILE: internal/xds/resolver/serviceconfig.go constant cdsName (line 45) | cdsName = "cds_experimental" constant xdsClusterManagerName (line 46) | xdsClusterManagerName = "xds_cluster_manager_experimental" constant clusterPrefix (line 47) | clusterPrefix = "cluster:" constant clusterSpecifierPluginPrefix (line 48) | clusterSpecifierPluginPrefix = "cluster_specifier_plugin:" type serviceConfig (line 51) | type serviceConfig struct type balancerConfig (line 55) | type balancerConfig function newBalancerConfig (line 57) | func newBalancerConfig(name string, config any) balancerConfig { type cdsBalancerConfig (line 61) | type cdsBalancerConfig struct type xdsChildConfig (line 65) | type xdsChildConfig struct type xdsClusterManagerConfig (line 69) | type xdsClusterManagerConfig struct function serviceConfigJSON (line 76) | func serviceConfigJSON(activeClusters map[string]*clusterInfo, activePlu... type virtualHost (line 101) | type virtualHost struct type routeCluster (line 107) | type routeCluster struct type route (line 112) | type route struct method String (line 123) | func (r route) String() string { type stoppableConfigSelector (line 131) | type stoppableConfigSelector interface type erroringConfigSelector (line 139) | type erroringConfigSelector struct method SelectConfig (line 147) | func (cs *erroringConfigSelector) SelectConfig(iresolver.RPCInfo) (*ir... method stop (line 150) | func (cs *erroringConfigSelector) stop() {} function newErroringConfigSelector (line 143) | func newErroringConfigSelector(err error, xdsNodeID string) *erroringCon... type configSelector (line 152) | type configSelector struct method SelectConfig (line 175) | func (cs *configSelector) SelectConfig(rpcInfo iresolver.RPCInfo) (*ir... method generateHash (line 267) | func (cs *configSelector) generateHash(rpcInfo iresolver.RPCInfo, hash... method stop (line 333) | func (cs *configSelector) stop() { function annotateErrorWithNodeID (line 171) | func annotateErrorWithNodeID(err error, nodeID string) error { function retryConfigToPolicy (line 257) | func retryConfigToPolicy(config *xdsresource.RetryConfig) *serviceconfig... FILE: internal/xds/resolver/serviceconfig_test.go type s (line 40) | type s struct method TestPruneActiveClusters (line 48) | func (s) TestPruneActiveClusters(t *testing.T) { method TestGenerateRequestHash (line 80) | func (s) TestGenerateRequestHash(t *testing.T) { function Test (line 44) | func Test(t *testing.T) { FILE: internal/xds/resolver/watch_service_test.go method TestServiceWatch_ListenerPointsToNewRouteConfiguration (line 44) | func (s) TestServiceWatch_ListenerPointsToNewRouteConfiguration(t *testi... method TestServiceWatch_ListenerPointsToInlineRouteConfiguration (line 114) | func (s) TestServiceWatch_ListenerPointsToInlineRouteConfiguration(t *te... FILE: internal/xds/resolver/xds_http_filters_test.go constant filterCfgPathFieldName (line 63) | filterCfgPathFieldName = "path" constant filterCfgErrorFieldName (line 64) | filterCfgErrorFieldName = "new_stream_error" constant filterCfgMetadataKey (line 65) | filterCfgMetadataKey = "test-filter-config" type testFilterCfg (line 70) | type testFilterCfg struct function filterConfigFromProto (line 78) | func filterConfigFromProto(cfg proto.Message) (httpfilter.FilterConfig, ... type logger (line 97) | type logger interface type testHTTPFilterWithRPCMetadata (line 109) | type testHTTPFilterWithRPCMetadata struct method TypeURLs (line 115) | func (fb *testHTTPFilterWithRPCMetadata) TypeURLs() []string { return ... method ParseFilterConfig (line 117) | func (*testHTTPFilterWithRPCMetadata) ParseFilterConfig(cfg proto.Mess... method ParseFilterConfigOverride (line 121) | func (*testHTTPFilterWithRPCMetadata) ParseFilterConfigOverride(overri... method IsTerminal (line 125) | func (*testHTTPFilterWithRPCMetadata) IsTerminal() bool { return false } method BuildClientFilter (line 127) | func (fb *testHTTPFilterWithRPCMetadata) BuildClientFilter() httpfilte... method Close (line 131) | func (fb *testHTTPFilterWithRPCMetadata) Close() {} method BuildClientInterceptor (line 137) | func (fb *testHTTPFilterWithRPCMetadata) BuildClientInterceptor(config... type overallFilterConfig (line 170) | type overallFilterConfig struct type testFilterInterceptor (line 178) | type testFilterInterceptor struct method NewStream (line 184) | func (fi *testFilterInterceptor) NewStream(ctx context.Context, _ ires... method Close (line 208) | func (fi *testFilterInterceptor) Close() {} function newHTTPFilter (line 210) | func newHTTPFilter(t *testing.T, name, typeURL, path, err string) *v3htt... function newStubServer (line 229) | func newStubServer(metadataCh chan []string) *stubserver.StubServer { method TestXDSResolverHTTPFilters_AllOverrides (line 261) | func (s) TestXDSResolverHTTPFilters_AllOverrides(t *testing.T) { method TestXDSResolverHTTPFilters_NewStreamError (line 516) | func (s) TestXDSResolverHTTPFilters_NewStreamError(t *testing.T) { type trackingHTTPFilterBuilder (line 667) | type trackingHTTPFilterBuilder struct method IsTerminal (line 677) | func (t *trackingHTTPFilterBuilder) IsTerminal() bool { return false } method TypeURLs (line 679) | func (t *trackingHTTPFilterBuilder) TypeURLs() []string { return []str... method ParseFilterConfig (line 681) | func (*trackingHTTPFilterBuilder) ParseFilterConfig(cfg proto.Message)... method BuildClientFilter (line 685) | func (t *trackingHTTPFilterBuilder) BuildClientFilter() httpfilter.Cli... method Close (line 690) | func (t *trackingHTTPFilterBuilder) Close() { method BuildClientInterceptor (line 696) | func (t *trackingHTTPFilterBuilder) BuildClientInterceptor(config, _ h... type trackingInterceptor (line 712) | type trackingInterceptor struct method NewStream (line 718) | func (i *trackingInterceptor) NewStream(ctx context.Context, _ iresolv... method Close (line 723) | func (i *trackingInterceptor) Close() { method TestXDSResolverHTTPFilters_FilterInstanceRetained (line 731) | func (s) TestXDSResolverHTTPFilters_FilterInstanceRetained(t *testing.T) { FILE: internal/xds/resolver/xds_resolver.go constant Scheme (line 49) | Scheme = "xds" function newBuilderWithConfigForTesting (line 55) | func newBuilderWithConfigForTesting(config []byte) (resolver.Builder, er... function newBuilderWithPoolForTesting (line 74) | func newBuilderWithPoolForTesting(pool *xdsclient.Pool) (resolver.Builde... function newBuilderWithClientForTesting (line 88) | func newBuilderWithClientForTesting(client xdsclient.XDSClient) (resolve... function init (line 98) | func init() { type xdsResolverBuilder (line 108) | type xdsResolverBuilder struct method Build (line 116) | func (b *xdsResolverBuilder) Build(target resolver.Target, cc resolver... method Scheme (line 217) | func (*xdsResolverBuilder) Scheme() string { function sanityChecksOnBootstrapConfig (line 185) | func sanityChecksOnBootstrapConfig(target resolver.Target, client xdscli... type xdsResolver (line 225) | type xdsResolver struct method ResolveNow (line 270) | func (r *xdsResolver) ResolveNow(opts resolver.ResolveNowOptions) { method Close (line 276) | func (r *xdsResolver) Close() { method Update (line 306) | func (r *xdsResolver) Update(config *xdsresource.XDSConfig) { method Error (line 329) | func (r *xdsResolver) Error(err error) { method sendNewServiceConfig (line 341) | func (r *xdsResolver) sendNewServiceConfig(cs stoppableConfigSelector)... method newConfigSelector (line 387) | func (r *xdsResolver) newConfigSelector() (_ *configSelector, err erro... method pruneActiveClustersAndPlugins (line 496) | func (r *xdsResolver) pruneActiveClustersAndPlugins() { method addOrGetActiveClusterInfo (line 519) | func (r *xdsResolver) addOrGetActiveClusterInfo(key string, name strin... method onResourceError (line 555) | func (r *xdsResolver) onResourceError(err error) { method newInterceptor (line 579) | func (r *xdsResolver) newInterceptor(filters []xdsresource.HTTPFilter,... method getOrCreateClientFilter (line 646) | func (r *xdsResolver) getOrCreateClientFilter(builder httpfilter.Clien... type clusterInfo (line 536) | type clusterInfo struct type interceptorList (line 619) | type interceptorList struct method NewStream (line 623) | func (il *interceptorList) NewStream(ctx context.Context, ri iresolver... method Close (line 634) | func (il *interceptorList) Close() { function newClientFilterKey (line 659) | func newClientFilterKey(f *xdsresource.HTTPFilter) clientFilterKey { type clientFilterKey (line 672) | type clientFilterKey struct method String (line 668) | func (f *clientFilterKey) String() string { FILE: internal/xds/resolver/xds_resolver_test.go method TestResolverBuilder_ClientCreationFails_NoBootstrap (line 72) | func (s) TestResolverBuilder_ClientCreationFails_NoBootstrap(t *testing.... method TestResolverBuilder_AuthorityNotDefinedInBootstrap (line 94) | func (s) TestResolverBuilder_AuthorityNotDefinedInBootstrap(t *testing.T) { method TestResolverResourceName (line 119) | func (s) TestResolverResourceName(t *testing.T) { method TestResolverWatchCallbackAfterClose (line 201) | func (s) TestResolverWatchCallbackAfterClose(t *testing.T) { method TestResolverCloseClosesXDSClient (line 252) | func (s) TestResolverCloseClosesXDSClient(t *testing.T) { method TestNoMatchingVirtualHost (line 289) | func (s) TestNoMatchingVirtualHost(t *testing.T) { method TestResolverBadServiceUpdate_NACKedWithoutCache (line 346) | func (s) TestResolverBadServiceUpdate_NACKedWithoutCache(t *testing.T) { method TestResolverBadServiceUpdate_NACKedWithCache (line 416) | func (s) TestResolverBadServiceUpdate_NACKedWithCache(t *testing.T) { method TestResolverGoodServiceUpdate (line 478) | func (s) TestResolverGoodServiceUpdate(t *testing.T) { method TestResolverRequestHash (line 582) | func (s) TestResolverRequestHash(t *testing.T) { method TestResolverRemovedWithRPCs (line 649) | func (s) TestResolverRemovedWithRPCs(t *testing.T) { method TestResolverRemovedResource (line 724) | func (s) TestResolverRemovedResource(t *testing.T) { method TestResolverMaxStreamDuration (line 794) | func (s) TestResolverMaxStreamDuration(t *testing.T) { method TestResolverDelayedOnCommitted (line 937) | func (s) TestResolverDelayedOnCommitted(t *testing.T) { method TestResolverMultipleLDSUpdates (line 1061) | func (s) TestResolverMultipleLDSUpdates(t *testing.T) { method TestResolverWRR (line 1115) | func (s) TestResolverWRR(t *testing.T) { method TestConfigSelector_FailureCases (line 1165) | func (s) TestConfigSelector_FailureCases(t *testing.T) { function newDurationP (line 1252) | func newDurationP(d time.Duration) *time.Duration { method TestResolver_AutoHostRewrite (line 1262) | func (s) TestResolver_AutoHostRewrite(t *testing.T) { method TestResolverKeepWatchOpen_ActiveRPCs (line 1410) | func (s) TestResolverKeepWatchOpen_ActiveRPCs(t *testing.T) { FILE: internal/xds/server/conn_wrapper.go type connWrapper (line 43) | type connWrapper struct method SetDeadline (line 74) | func (c *connWrapper) SetDeadline(t time.Time) error { method GetDeadline (line 84) | func (c *connWrapper) GetDeadline() time.Time { method XDSHandshakeInfo (line 94) | func (c *connWrapper) XDSHandshakeInfo() (*xdsinternal.HandshakeInfo, ... method PassServerTransport (line 127) | func (c *connWrapper) PassServerTransport(st transport.ServerTransport) { method Drain (line 139) | func (c *connWrapper) Drain() { method Close (line 150) | func (c *connWrapper) Close() error { function buildProviderFunc (line 161) | func buildProviderFunc(configs map[string]*certprovider.BuildableConfig,... FILE: internal/xds/server/filter_chain_manager.go constant noPrefixMatch (line 46) | noPrefixMatch = -2 constant unspecifiedPrefixMatch (line 47) | unspecifiedPrefixMatch = -1 type filterChainManager (line 58) | type filterChainManager struct method filterChainFromConfig (line 111) | func (fcm *filterChainManager) filterChainFromConfig(config *xdsresour... method stop (line 123) | func (fcm *filterChainManager) stop() { method lookup (line 216) | func (fcm *filterChainManager) lookup(params lookupParams) (*filterCha... function newFilterChainManager (line 65) | func newFilterChainManager(filterChainConfigs *xdsresource.NetworkFilter... type destPrefixEntry (line 142) | type destPrefixEntry struct type sourceTypesArray (line 148) | type sourceTypesArray type sourceType (line 151) | type sourceType constant sourceTypeAny (line 154) | sourceTypeAny sourceType = iota constant sourceTypeSameOrLoopback (line 155) | sourceTypeSameOrLoopback constant sourceTypeExternal (line 156) | sourceTypeExternal type sourcePrefixes (line 160) | type sourcePrefixes struct type sourcePrefixEntry (line 166) | type sourcePrefixEntry struct type filterChain (line 174) | type filterChain struct method stop (line 385) | func (fc *filterChain) stop() { method constructUsableRouteConfiguration (line 402) | func (fc *filterChain) constructUsableRouteConfiguration(config xdsres... method convertVirtualHost (line 428) | func (fc *filterChain) convertVirtualHost(virtualHost *xdsresource.Vir... method newInterceptor (line 458) | func (fc *filterChain) newInterceptor(routeOverride, virtualHostOverri... type usableRouteConfiguration (line 185) | type usableRouteConfiguration struct method statusErrWithNodeID (line 454) | func (rc *usableRouteConfiguration) statusErrWithNodeID(c codes.Code, ... type virtualHostWithInterceptors (line 193) | type virtualHostWithInterceptors struct type routeWithInterceptors (line 200) | type routeWithInterceptors struct type lookupParams (line 206) | type lookupParams struct function filterByDestinationPrefixes (line 253) | func filterByDestinationPrefixes(dstPrefixes []*destPrefixEntry, isUnspe... function filterBySourceType (line 291) | func filterBySourceType(dstPrefixes []*destPrefixEntry, srcType sourceTy... function filterBySourcePrefixes (line 322) | func filterBySourcePrefixes(srcPrefixes []*sourcePrefixes, srcAddr net.I... function filterBySourcePorts (line 367) | func filterBySourcePorts(spe *sourcePrefixEntry, srcPort int) *filterCha... type serverFilterProvider (line 398) | type serverFilterProvider type interceptorList (line 498) | type interceptorList struct method AllowRPC (line 502) | func (il *interceptorList) AllowRPC(ctx context.Context) error { method Close (line 511) | func (il *interceptorList) Close() { type refCountedServerFilter (line 520) | type refCountedServerFilter struct method incRef (line 525) | func (rsf *refCountedServerFilter) incRef() { method Close (line 529) | func (rsf *refCountedServerFilter) Close() { function newServerFilterKey (line 537) | func newServerFilterKey(f *xdsresource.HTTPFilter) serverFilterKey { type serverFilterKey (line 546) | type serverFilterKey struct method String (line 551) | func (f *serverFilterKey) String() string { FILE: internal/xds/server/filter_chain_manager_test.go constant topLevel (line 52) | topLevel = "top level" constant vhLevel (line 53) | vhLevel = "virtual host level" constant rLevel (line 54) | rLevel = "route level" function init (line 57) | func init() { type testCertProviderBuilder (line 61) | type testCertProviderBuilder struct method ParseConfig (line 63) | func (b *testCertProviderBuilder) ParseConfig(any) (*certprovider.Buil... method Name (line 69) | func (b *testCertProviderBuilder) Name() string { function newFilterChainManagerForTesting (line 76) | func newFilterChainManagerForTesting(t *testing.T, lis *v3listenerpb.Lis... function emptyValidNetworkFilters (line 155) | func emptyValidNetworkFilters(t *testing.T) []*v3listenerpb.Filter { function newStringP (line 189) | func newStringP(s string) *string { function makeRouterFilterList (line 193) | func makeRouterFilterList(t *testing.T) []xdsresource.HTTPFilter { method TestLookup_Failures (line 203) | func (s) TestLookup_Failures(t *testing.T) { method TestLookup_Successes (line 322) | func (s) TestLookup_Successes(t *testing.T) { type filterCfg (line 551) | type filterCfg struct type filterBuilder (line 558) | type filterBuilder struct method TypeURLs (line 562) | func (fb *filterBuilder) TypeURLs() []string { return []string{"custom... method BuildServerFilter (line 564) | func (fb *filterBuilder) BuildServerFilter() httpfilter.ServerFilter { method Close (line 568) | func (fb *filterBuilder) Close() {} method BuildServerInterceptor (line 572) | func (fb *filterBuilder) BuildServerInterceptor(config httpfilter.Filt... type serverInterceptor (line 582) | type serverInterceptor struct method AllowRPC (line 586) | func (si *serverInterceptor) AllowRPC(context.Context) error { method Close (line 590) | func (si *serverInterceptor) Close() {} method TestHTTPFilterInstantiation (line 592) | func (s) TestHTTPFilterInstantiation(t *testing.T) { function transportSocketWithInstanceName (line 737) | func transportSocketWithInstanceName(t *testing.T, name string) *v3corep... function cidrRangeFromAddressAndPrefixLen (line 750) | func cidrRangeFromAddressAndPrefixLen(address string, prefixLen int) *v3... method TestLookup_DroppedChainFallback (line 759) | func (s) TestLookup_DroppedChainFallback(t *testing.T) { FILE: internal/xds/server/listener_wrapper.go type ServingModeCallback (line 58) | type ServingModeCallback type XDSClient (line 62) | type XDSClient interface type ListenerWrapperParams (line 68) | type ListenerWrapperParams struct function NewListenerWrapper (line 84) | func NewListenerWrapper(params ListenerWrapperParams) net.Listener { type listenerWrapper (line 116) | type listenerWrapper struct method maybeUpdateFilterChains (line 149) | func (l *listenerWrapper) maybeUpdateFilterChains() { method handleRDSUpdate (line 203) | func (l *listenerWrapper) handleRDSUpdate(routeName string, rcu rdsWat... method instantiateFilterChainRoutingConfigurationsLocked (line 234) | func (l *listenerWrapper) instantiateFilterChainRoutingConfigurationsL... method Accept (line 257) | func (l *listenerWrapper) Accept() (net.Conn, error) { method removeConn (line 340) | func (l *listenerWrapper) removeConn(conn *connWrapper) { method Close (line 349) | func (l *listenerWrapper) Close() error { method switchModeLocked (line 371) | func (l *listenerWrapper) switchModeLocked(newMode connectivity.Servin... method getOrCreateServerFilterLocked (line 406) | func (l *listenerWrapper) getOrCreateServerFilterLocked(filter xdsreso... function getOrCreateServerFilterWithMap (line 416) | func getOrCreateServerFilterWithMap(httpFilters map[serverFilterKey]*ref... type ldsWatcher (line 432) | type ldsWatcher struct method ResourceChanged (line 438) | func (lw *ldsWatcher) ResourceChanged(update *xdsresource.ListenerUpda... method ResourceError (line 480) | func (lw *ldsWatcher) ResourceError(err error, onDone func()) { method AmbientError (line 505) | func (lw *ldsWatcher) AmbientError(err error, onDone func()) { FILE: internal/xds/server/rds_handler.go type rdsHandler (line 32) | type rdsHandler struct method updateRouteNamesToWatch (line 70) | func (rh *rdsHandler) updateRouteNamesToWatch(routeNamesToWatch map[st... method determineRouteConfigurationReady (line 105) | func (rh *rdsHandler) determineRouteConfigurationReady() bool { method close (line 114) | func (rh *rdsHandler) close() { function newRDSHandler (line 53) | func newRDSHandler(cb func(string, rdsWatcherUpdate), xdsC XDSClient, lo... type rdsWatcherUpdate (line 122) | type rdsWatcherUpdate struct type rdsWatcher (line 129) | type rdsWatcher struct method ResourceChanged (line 138) | func (rw *rdsWatcher) ResourceChanged(update *xdsresource.RouteConfigU... method ResourceError (line 156) | func (rw *rdsWatcher) ResourceError(err error, onDone func()) { method AmbientError (line 174) | func (rw *rdsWatcher) AmbientError(err error, onDone func()) { FILE: internal/xds/server/rds_handler_test.go type s (line 40) | type s struct method TestRDSHandler (line 191) | func (s) TestRDSHandler(t *testing.T) { function Test (line 44) | func Test(t *testing.T) { constant defaultTestTimeout (line 49) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 50) | defaultTestShortTimeout = 10 * time.Millisecond constant listenerName (line 54) | listenerName = "listener" constant clusterName (line 55) | clusterName = "cluster" constant route1 (line 57) | route1 = "route1" constant route2 (line 58) | route2 = "route2" constant route3 (line 59) | route3 = "route3" constant route4 (line 60) | route4 = "route4" function xdsSetupForTests (line 74) | func xdsSetupForTests(t *testing.T) (*e2e.ManagementServer, string, chan... function waitForResourceNames (line 133) | func waitForResourceNames(ctx context.Context, t *testing.T, namesCh cha... function routeConfigResourceForName (line 149) | func routeConfigResourceForName(name string) *v3routepb.RouteConfigurati... type testCallbackVerify (line 158) | type testCallbackVerify struct method testCallback (line 167) | func (tcv *testCallbackVerify) testCallback(routeName string, rwu rdsW... type callbackStruct (line 162) | type callbackStruct struct function verifyRouteName (line 171) | func verifyRouteName(ctx context.Context, t *testing.T, ch chan callback... FILE: internal/xds/server/routing.go function RouteAndProcess (line 39) | func RouteAndProcess(ctx context.Context) error { function findBestMatchingVirtualHostServer (line 119) | func findBestMatchingVirtualHostServer(authority string, vHosts []virtua... type domainMatchType (line 145) | type domainMatchType method betterThan (line 156) | func (t domainMatchType) betterThan(b domainMatchType) bool { constant domainMatchTypeInvalid (line 148) | domainMatchTypeInvalid domainMatchType = iota constant domainMatchTypeUniversal (line 149) | domainMatchTypeUniversal constant domainMatchTypePrefix (line 150) | domainMatchTypePrefix constant domainMatchTypeSuffix (line 151) | domainMatchTypeSuffix constant domainMatchTypeExact (line 152) | domainMatchTypeExact function matchTypeForDomain (line 160) | func matchTypeForDomain(d string) domainMatchType { function match (line 179) | func match(domain, host string) (domainMatchType, bool) { FILE: internal/xds/server/routing_test.go method TestMatchTypeForDomain (line 27) | func (s) TestMatchTypeForDomain(t *testing.T) { method TestMatch (line 46) | func (s) TestMatch(t *testing.T) { method TestFindBestMatchingVirtualHost (line 73) | func (s) TestFindBestMatchingVirtualHost(t *testing.T) { FILE: internal/xds/test/e2e/controlplane.go type controlPlane (line 27) | type controlPlane struct function newControlPlane (line 33) | func newControlPlane(t *testing.T) (*controlPlane, error) { FILE: internal/xds/test/e2e/e2e.go function cmd (line 36) | func cmd(path string, logger io.Writer, args []string, env []string) *ex... constant clientStatsPort (line 45) | clientStatsPort = 60363 type client (line 48) | type client struct method clientStats (line 85) | func (c *client) clientStats(ctx context.Context) (*testpb.LoadBalance... method configRPCs (line 93) | func (c *client) configRPCs(ctx context.Context, req *testpb.ClientCon... method channelzSubChannels (line 99) | func (c *client) channelzSubChannels(ctx context.Context) ([]*channelz... method stop (line 122) | func (c *client) stop() { function newClient (line 56) | func newClient(target, binaryPath, bootstrap string, logger io.Writer, f... constant serverPort (line 128) | serverPort = 50051 type server (line 131) | type server struct method stop (line 170) | func (s *server) stop() { function newServers (line 140) | func newServers(hostnamePrefix, binaryPath, bootstrap string, logger io.... FILE: internal/xds/test/e2e/e2e_test.go type testOpts (line 43) | type testOpts struct function setup (line 49) | func setup(t *testing.T, opts testOpts) (*controlPlane, *client, []*serv... function TestPingPong (line 92) | func TestPingPong(t *testing.T) { function TestAffinity (line 128) | func TestAffinity(t *testing.T) { FILE: internal/xds/test/e2e/e2e_utils.go function verifySubConnStates (line 27) | func verifySubConnStates(t *testing.T, scs []*channelzpb.Subchannel, wan... FILE: internal/xds/testutils/balancer_test.go function TestIsRoundRobin (line 28) | func TestIsRoundRobin(t *testing.T) { type testClosure (line 138) | type testClosure struct method next (line 143) | func (tc *testClosure) next() balancer.SubConn { FILE: internal/xds/testutils/fakeclient/client.go type Client (line 34) | type Client struct method ReportLoad (line 83) | func (xdsC *Client) ReportLoad(server *bootstrap.ServerConfig) (loadSt... method WaitForCancelReportLoad (line 97) | func (xdsC *Client) WaitForCancelReportLoad(ctx context.Context) error { method LoadStore (line 103) | func (xdsC *Client) LoadStore() *lrsclient.LoadStore { method WaitForReportLoad (line 109) | func (xdsC *Client) WaitForReportLoad(ctx context.Context) (ReportLoad... method BootstrapConfig (line 118) | func (xdsC *Client) BootstrapConfig() *bootstrap.Config { method SetBootstrapConfig (line 123) | func (xdsC *Client) SetBootstrapConfig(cfg *bootstrap.Config) { method Name (line 128) | func (xdsC *Client) Name() string { type ReportLoadArgs (line 48) | type ReportLoadArgs struct type transportBuilder (line 53) | type transportBuilder struct method Build (line 56) | func (*transportBuilder) Build(clients.ServerIdentifier) (clients.Tran... type transport (line 60) | type transport struct method NewStream (line 63) | func (*transport) NewStream(context.Context, string) (clients.Stream, ... method Close (line 67) | func (*transport) Close() { type stream (line 70) | type stream struct method Send (line 73) | func (*stream) Send([]byte) error { method Recv (line 77) | func (*stream) Recv() ([]byte, error) { function NewClient (line 133) | func NewClient() *Client { function NewClientWithName (line 140) | func NewClientWithName(name string) *Client { FILE: internal/xds/testutils/resource_watcher.go type TestResourceWatcher (line 29) | type TestResourceWatcher struct method ResourceChanged (line 41) | func (w *TestResourceWatcher) ResourceChanged(data xdsresource.Resourc... method ResourceError (line 53) | func (w *TestResourceWatcher) ResourceError(err error, onDone func()) { method AmbientError (line 66) | func (w *TestResourceWatcher) AmbientError(err error, onDone func()) { function NewTestResourceWatcher (line 77) | func NewTestResourceWatcher() *TestResourceWatcher { FILE: internal/xds/testutils/testutils.go function BuildResourceName (line 28) | func BuildResourceName(typeName, auth, id string, ctxParams map[string]s... FILE: internal/xds/xds.go type handshakeClusterNameKey (line 34) | type handshakeClusterNameKey struct function SetXDSHandshakeClusterName (line 38) | func SetXDSHandshakeClusterName(addr resolver.Address, clusterName strin... function GetXDSHandshakeClusterName (line 44) | func GetXDSHandshakeClusterName(attr *attributes.Attributes) (string, bo... function addressToTelemetryLabels (line 52) | func addressToTelemetryLabels(addr resolver.Address) map[string]string { function LocalityString (line 63) | func LocalityString(l clients.Locality) string { function IsLocalityEqual (line 68) | func IsLocalityEqual(l clients.Locality, o any) bool { function LocalityFromString (line 78) | func LocalityFromString(s string) (ret clients.Locality, _ error) { type localityKeyType (line 86) | type localityKeyType constant localityKey (line 88) | localityKey = localityKeyType("grpc.xds.internal.address.locality") function GetLocalityID (line 91) | func GetLocalityID(addr resolver.Address) clients.Locality { function SetLocalityID (line 97) | func SetLocalityID(addr resolver.Address, l clients.Locality) resolver.A... function SetLocalityIDInEndpoint (line 103) | func SetLocalityIDInEndpoint(endpoint resolver.Endpoint, l clients.Local... function LocalityIDFromEndpoint (line 109) | func LocalityIDFromEndpoint(ep resolver.Endpoint) clients.Locality { function init (line 121) | func init() { FILE: internal/xds/xds_test.go constant ignorePrefix (line 32) | ignorePrefix = "XXX_" type s (line 34) | type s struct method TestLocalityMatchProtoMessage (line 51) | func (s) TestLocalityMatchProtoMessage(t *testing.T) { function Test (line 38) | func Test(t *testing.T) { function ignore (line 42) | func ignore(name string) bool { function TestLocalityToAndFromString (line 75) | func TestLocalityToAndFromString(t *testing.T) { FILE: internal/xds/xdsclient/attributes.go type clientKeyType (line 22) | type clientKeyType constant clientKey (line 24) | clientKey = clientKeyType("grpc.xds.internal.client.Client") function FromResolverState (line 27) | func FromResolverState(state resolver.State) XDSClient { function SetClient (line 33) | func SetClient(state resolver.State, c XDSClient) resolver.State { FILE: internal/xds/xdsclient/client.go type XDSClient (line 36) | type XDSClient interface function DumpResources (line 60) | func DumpResources() *v3statuspb.ClientStatusResponse { FILE: internal/xds/xdsclient/client_refcounted_test.go method TestClientNew_Single (line 36) | func (s) TestClientNew_Single(t *testing.T) { method TestClientNew_Multiple (line 131) | func (s) TestClientNew_Multiple(t *testing.T) { FILE: internal/xds/xdsclient/client_test.go type s (line 28) | type s struct function Test (line 32) | func Test(t *testing.T) { constant defaultTestWatchExpiryTimeout (line 37) | defaultTestWatchExpiryTimeout = 100 * time.Millisecond constant defaultTestTimeout (line 38) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 39) | defaultTestShortTimeout = 10 * time.Millisecond FILE: internal/xds/xdsclient/clientimpl.go constant NameForServer (line 44) | NameForServer = "#server" constant defaultWatchExpiryTimeout (line 46) | defaultWatchExpiryTimeout = 15 * time.Second type clientImpl (line 83) | type clientImpl struct method BootstrapConfig (line 153) | func (c *clientImpl) BootstrapConfig() *bootstrap.Config { method incrRef (line 157) | func (c *clientImpl) incrRef() int32 { method decrRef (line 161) | func (c *clientImpl) decrRef() int32 { type metricsReporter (line 100) | type metricsReporter struct method ReportMetric (line 108) | func (mr *metricsReporter) ReportMetric(metric any) { function newClientImpl (line 123) | func newClientImpl(config *bootstrap.Config, metricsRecorder estats.Metr... function buildServerConfigs (line 165) | func buildServerConfigs(bootstrapSC []*bootstrap.ServerConfig, grpcTrans... function buildXDSClientConfig (line 192) | func buildXDSClientConfig(config *bootstrap.Config, metricsRecorder esta... function populateGRPCTransportConfigsFromServerConfig (line 246) | func populateGRPCTransportConfigsFromServerConfig(sc *bootstrap.ServerCo... FILE: internal/xds/xdsclient/clientimpl_loadreport.go method ReportLoad (line 34) | func (c *clientImpl) ReportLoad(server *bootstrap.ServerConfig) (*lrscli... FILE: internal/xds/xdsclient/clientimpl_test.go constant testXDSServerURL (line 45) | testXDSServerURL = "xds.example.com:8080" constant testXDSServerURL2 (line 46) | testXDSServerURL2 = "xds.example.com:8081" constant testNodeID (line 47) | testNodeID = "test-node-id" constant testClusterName (line 48) | testClusterName = "test-cluster" constant testUserAgentName (line 49) | testUserAgentName = "test-ua-name" constant testUserAgentVer (line 50) | testUserAgentVer = "test-ua-ver" constant testLocalityRegion (line 51) | testLocalityRegion = "test-region" constant testLocalityZone (line 52) | testLocalityZone = "test-zone" constant testLocalitySubZone (line 53) | testLocalitySubZone = "test-sub-zone" constant testTargetName (line 54) | testTargetName = "test-target" method TestBuildXDSClientConfig_Success (line 61) | func (s) TestBuildXDSClientConfig_Success(t *testing.T) { method TestServerConfigCallCredsIntegration (line 336) | func (s) TestServerConfigCallCredsIntegration(t *testing.T) { FILE: internal/xds/xdsclient/logging.go function prefixLogger (line 30) | func prefixLogger(p *clientImpl) *internalgrpclog.PrefixLogger { function clientPrefix (line 34) | func clientPrefix(p *clientImpl) string { FILE: internal/xds/xdsclient/metrics_test.go type noopListenerWatcher (line 41) | type noopListenerWatcher struct method ResourceChanged (line 43) | func (noopListenerWatcher) ResourceChanged(_ *xdsresource.ListenerUpda... method ResourceError (line 47) | func (noopListenerWatcher) ResourceError(_ error, onDone func()) { method AmbientError (line 51) | func (noopListenerWatcher) AmbientError(_ error, onDone func()) { method TestResourceUpdateMetrics (line 58) | func (s) TestResourceUpdateMetrics(t *testing.T) { method TestServerFailureMetrics_BeforeResponseRecv (line 158) | func (s) TestServerFailureMetrics_BeforeResponseRecv(t *testing.T) { method TestServerFailureMetrics_AfterResponseRecv (line 249) | func (s) TestServerFailureMetrics_AfterResponseRecv(t *testing.T) { FILE: internal/xds/xdsclient/pool.go type Pool (line 46) | type Pool struct method NewClientWithConfig (line 106) | func (p *Pool) NewClientWithConfig(name string, metricsRecorder estats... method NewClient (line 117) | func (p *Pool) NewClient(name string, metricsRecorder estats.MetricsRe... method NewClientForTesting (line 132) | func (p *Pool) NewClientForTesting(opts OptionsForTesting) (XDSClient,... method GetClientForTesting (line 163) | func (p *Pool) GetClientForTesting(name string) (XDSClient, func(), er... method SetFallbackBootstrapConfig (line 179) | func (p *Pool) SetFallbackBootstrapConfig(config *bootstrap.Config) { method DumpResources (line 186) | func (p *Pool) DumpResources() *v3statuspb.ClientStatusResponse { method BootstrapConfigForTesting (line 211) | func (p *Pool) BootstrapConfigForTesting() *bootstrap.Config { method UnsetBootstrapConfigForTesting (line 225) | func (p *Pool) UnsetBootstrapConfigForTesting() { method clientRefCountedClose (line 232) | func (p *Pool) clientRefCountedClose(name string) { method newRefCounted (line 271) | func (p *Pool) newRefCounted(name string, metricsRecorder estats.Metri... type OptionsForTesting (line 60) | type OptionsForTesting struct function NewPool (line 90) | func NewPool(config *bootstrap.Config) *Pool { FILE: internal/xds/xdsclient/pool/pool_ext_test.go constant defaultTestTimeout (line 48) | defaultTestTimeout = 10 * time.Second type s (line 50) | type s struct method TestDefaultPool_LazyLoadBootstrapConfig (line 67) | func (s) TestDefaultPool_LazyLoadBootstrapConfig(t *testing.T) { method TestNestedXDSChannel (line 119) | func (s) TestNestedXDSChannel(t *testing.T) { function Test (line 54) | func Test(t *testing.T) { FILE: internal/xds/xdsclient/requests_counter.go type clusterNameAndServiceName (line 27) | type clusterNameAndServiceName struct type clusterRequestsCounter (line 31) | type clusterRequestsCounter struct type ClusterRequestsCounter (line 42) | type ClusterRequestsCounter struct method StartRequest (line 67) | func (c *ClusterRequestsCounter) StartRequest(max uint32) error { method EndRequest (line 81) | func (c *ClusterRequestsCounter) EndRequest() { function GetClusterRequestsCounter (line 50) | func GetClusterRequestsCounter(clusterName, edsServiceName string) *Clus... FILE: internal/xds/xdsclient/requests_counter_test.go constant testService (line 27) | testService = "test-service-name" type counterTest (line 29) | type counterTest struct function resetClusterRequestsCounter (line 54) | func resetClusterRequestsCounter() { function testCounter (line 60) | func testCounter(t *testing.T, test counterTest) { method TestRequestsCounter (line 105) | func (s) TestRequestsCounter(t *testing.T) { method TestGetClusterRequestsCounter (line 114) | func (s) TestGetClusterRequestsCounter(t *testing.T) { function startRequests (line 125) | func startRequests(t *testing.T, n uint32, max uint32, counter *ClusterR... method TestSetMaxRequestsIncreased (line 133) | func (s) TestSetMaxRequestsIncreased(t *testing.T) { method TestSetMaxRequestsDecreased (line 150) | func (s) TestSetMaxRequestsDecreased(t *testing.T) { FILE: internal/xds/xdsclient/resource_types.go function supportedResourceTypes (line 27) | func supportedResourceTypes(config *bootstrap.Config, gServerCfgMap map[... FILE: internal/xds/xdsclient/tests/ads_stream_ack_nack_test.go function createXDSClient (line 45) | func createXDSClient(t *testing.T, bootstrapContents []byte) xdsclient.X... method TestADS_ACK_NACK_Simple (line 72) | func (s) TestADS_ACK_NACK_Simple(t *testing.T) { method TestADS_NACK_InvalidFirstResponse (line 258) | func (s) TestADS_NACK_InvalidFirstResponse(t *testing.T) { method TestADS_ACK_NACK_ResourceIsNotRequestedAnymore (line 363) | func (s) TestADS_ACK_NACK_ResourceIsNotRequestedAnymore(t *testing.T) { FILE: internal/xds/xdsclient/tests/ads_stream_restart_test.go method TestADS_ResourcesAreRequestedAfterStreamRestart (line 43) | func (s) TestADS_ResourcesAreRequestedAfterStreamRestart(t *testing.T) { FILE: internal/xds/xdsclient/tests/authority_test.go constant testAuthority1 (line 41) | testAuthority1 = "test-authority1" constant testAuthority2 (line 42) | testAuthority2 = "test-authority2" constant testAuthority3 (line 43) | testAuthority3 = "test-authority3" function setupForAuthorityTests (line 69) | func setupForAuthorityTests(ctx context.Context, t *testing.T) (*testuti... method TestAuthority_XDSChannelSharing (line 141) | func (s) TestAuthority_XDSChannelSharing(t *testing.T) { method TestAuthority_XDSChannelClose (line 185) | func (s) TestAuthority_XDSChannelClose(t *testing.T) { method TestAuthority_Fallback (line 221) | func (s) TestAuthority_Fallback(t *testing.T) { type clusterWatcherV2 (line 340) | type clusterWatcherV2 struct method ResourceChanged (line 354) | func (cw *clusterWatcherV2) ResourceChanged(update *xdsresource.Cluste... method AmbientError (line 359) | func (cw *clusterWatcherV2) AmbientError(err error, onDone func()) { method ResourceError (line 368) | func (cw *clusterWatcherV2) ResourceError(err error, onDone func()) { function newClusterWatcherV2 (line 346) | func newClusterWatcherV2() *clusterWatcherV2 { FILE: internal/xds/xdsclient/tests/cds_watchers_test.go type noopClusterWatcher (line 45) | type noopClusterWatcher struct method ResourceChanged (line 47) | func (noopClusterWatcher) ResourceChanged(_ *xdsresource.ClusterUpdate... method ResourceError (line 50) | func (noopClusterWatcher) ResourceError(_ error, onDone func()) { method AmbientError (line 53) | func (noopClusterWatcher) AmbientError(_ error, onDone func()) { type clusterUpdateErrTuple (line 57) | type clusterUpdateErrTuple struct type clusterWatcher (line 62) | type clusterWatcher struct method ResourceChanged (line 70) | func (cw *clusterWatcher) ResourceChanged(update *xdsresource.ClusterU... method ResourceError (line 75) | func (cw *clusterWatcher) ResourceError(err error, onDone func()) { method AmbientError (line 84) | func (cw *clusterWatcher) AmbientError(err error, onDone func()) { function newClusterWatcher (line 66) | func newClusterWatcher() *clusterWatcher { function badClusterResource (line 92) | func badClusterResource(clusterName, edsServiceName string, secLevel e2e... constant wantClusterNACKErr (line 100) | wantClusterNACKErr = "unsupported config_source_specifier" function verifyClusterUpdate (line 107) | func verifyClusterUpdate(ctx context.Context, updateCh *testutils.Channe... function verifyNoClusterUpdate (line 130) | func verifyNoClusterUpdate(ctx context.Context, updateCh *testutils.Chan... method TestCDSWatch (line 150) | func (s) TestCDSWatch(t *testing.T) { method TestCDSWatch_TwoWatchesForSameResourceName (line 293) | func (s) TestCDSWatch_TwoWatchesForSameResourceName(t *testing.T) { method TestCDSWatch_ThreeWatchesForDifferentResourceNames (line 447) | func (s) TestCDSWatch_ThreeWatchesForDifferentResourceNames(t *testing.T) { method TestCDSWatch_ResourceCaching (line 544) | func (s) TestCDSWatch_ResourceCaching(t *testing.T) { method TestCDSWatch_ExpiryTimerFiresBeforeResponse (line 641) | func (s) TestCDSWatch_ExpiryTimerFiresBeforeResponse(t *testing.T) { method TestCDSWatch_ValidResponseCancelsExpiryTimerBehavior (line 683) | func (s) TestCDSWatch_ValidResponseCancelsExpiryTimerBehavior(t *testing... method TestCDSWatch_ResourceRemoved (line 752) | func (s) TestCDSWatch_ResourceRemoved(t *testing.T) { method TestCDSWatch_NACKError (line 884) | func (s) TestCDSWatch_NACKError(t *testing.T) { method TestCDSWatch_PartialValid (line 939) | func (s) TestCDSWatch_PartialValid(t *testing.T) { method TestCDSWatch_PartialResponse (line 1034) | func (s) TestCDSWatch_PartialResponse(t *testing.T) { FILE: internal/xds/xdsclient/tests/client_custom_dialopts_test.go type nopDialOption (line 45) | type nopDialOption struct type testCredsBundle (line 51) | type testCredsBundle struct method DialOptions (line 56) | func (t *testCredsBundle) DialOptions() []grpc.DialOption { type testCredsBuilder (line 64) | type testCredsBuilder struct method Build (line 68) | func (t *testCredsBuilder) Build(json.RawMessage) (credentials.Bundle,... method Name (line 75) | func (t *testCredsBuilder) Name() string { method TestClientCustomDialOptsFromCredentialsBundle (line 79) | func (s) TestClientCustomDialOptsFromCredentialsBundle(t *testing.T) { FILE: internal/xds/xdsclient/tests/dump_test.go function makeGenericXdsConfig (line 54) | func makeGenericXdsConfig(typeURL, name, version string, status v3adminp... function checkResourceDump (line 65) | func checkResourceDump(ctx context.Context, want *v3statuspb.ClientStatu... method TestDumpResources_ManyToOne (line 101) | func (s) TestDumpResources_ManyToOne(t *testing.T) { method TestDumpResources_ManyToMany (line 333) | func (s) TestDumpResources_ManyToMany(t *testing.T) { FILE: internal/xds/xdsclient/tests/eds_watchers_test.go constant edsHost1 (line 47) | edsHost1 = "1.foo.bar.com" constant edsHost2 (line 48) | edsHost2 = "2.foo.bar.com" constant edsHost3 (line 49) | edsHost3 = "3.foo.bar.com" constant edsPort1 (line 50) | edsPort1 = 1 constant edsPort2 (line 51) | edsPort2 = 2 constant edsPort3 (line 52) | edsPort3 = 3 type noopEndpointsWatcher (line 55) | type noopEndpointsWatcher struct method ResourceChanged (line 57) | func (noopEndpointsWatcher) ResourceChanged(_ *xdsresource.EndpointsUp... method ResourceError (line 60) | func (noopEndpointsWatcher) ResourceError(_ error, onDone func()) { method AmbientError (line 63) | func (noopEndpointsWatcher) AmbientError(_ error, onDone func()) { type endpointsUpdateErrTuple (line 67) | type endpointsUpdateErrTuple struct type endpointsWatcher (line 72) | type endpointsWatcher struct method ResourceChanged (line 80) | func (ew *endpointsWatcher) ResourceChanged(update *xdsresource.Endpoi... method ResourceError (line 85) | func (ew *endpointsWatcher) ResourceError(err error, onDone func()) { method AmbientError (line 94) | func (ew *endpointsWatcher) AmbientError(err error, onDone func()) { function newEndpointsWatcher (line 76) | func newEndpointsWatcher() *endpointsWatcher { function badEndpointsResource (line 102) | func badEndpointsResource(edsServiceName string, host string, ports []ui... constant wantEndpointsNACKErr (line 111) | wantEndpointsNACKErr = "EDS response contains an endpoint with zero weight" function verifyEndpointsUpdate (line 118) | func verifyEndpointsUpdate(ctx context.Context, updateCh *testutils.Chan... function verifyNoEndpointsUpdate (line 141) | func verifyNoEndpointsUpdate(ctx context.Context, updateCh *testutils.Ch... method TestEDSWatch (line 161) | func (s) TestEDSWatch(t *testing.T) { method TestEDSWatch_TwoWatchesForSameResourceName (line 334) | func (s) TestEDSWatch_TwoWatchesForSameResourceName(t *testing.T) { method TestEDSWatch_ThreeWatchesForDifferentResourceNames (line 549) | func (s) TestEDSWatch_ThreeWatchesForDifferentResourceNames(t *testing.T) { method TestEDSWatch_ResourceCaching (line 656) | func (s) TestEDSWatch_ResourceCaching(t *testing.T) { method TestEDSWatch_ExpiryTimerFiresBeforeResponse (line 769) | func (s) TestEDSWatch_ExpiryTimerFiresBeforeResponse(t *testing.T) { method TestEDSWatch_ValidResponseCancelsExpiryTimerBehavior (line 811) | func (s) TestEDSWatch_ValidResponseCancelsExpiryTimerBehavior(t *testing... method TestEDSWatch_NACKError (line 889) | func (s) TestEDSWatch_NACKError(t *testing.T) { method TestEDSWatch_PartialValid (line 944) | func (s) TestEDSWatch_PartialValid(t *testing.T) { FILE: internal/xds/xdsclient/tests/fallback/fallback_test.go type s (line 56) | type s struct method TestFallback_OnStartup (line 93) | func (s) TestFallback_OnStartup(t *testing.T) { method TestFallback_MidUpdate (line 257) | func (s) TestFallback_MidUpdate(t *testing.T) { method TestFallback_MidStartup (line 458) | func (s) TestFallback_MidStartup(t *testing.T) { method TestFallback_OnStartup_RPCSuccess (line 620) | func (s) TestFallback_OnStartup_RPCSuccess(t *testing.T) { method TestFallback_ThreeServerPromotion (line 751) | func (s) TestFallback_ThreeServerPromotion(t *testing.T) { function Test (line 60) | func Test(t *testing.T) { constant defaultFallbackTestTimeout (line 66) | defaultFallbackTestTimeout = 20 * time.Second constant defaultTestShortTimeout (line 67) | defaultTestShortTimeout = 10 * time.Millisecond function waitForRPCsToReachBackend (line 69) | func waitForRPCsToReachBackend(ctx context.Context, client testgrpc.Test... FILE: internal/xds/xdsclient/tests/federation_watchers_test.go constant testNonDefaultAuthority (line 40) | testNonDefaultAuthority = "non-default-authority" function setupForFederationWatchersTest (line 47) | func setupForFederationWatchersTest(t *testing.T) (*e2e.ManagementServer... method TestFederation_ListenerResourceContextParamOrder (line 94) | func (s) TestFederation_ListenerResourceContextParamOrder(t *testing.T) { method TestFederation_RouteConfigResourceContextParamOrder (line 148) | func (s) TestFederation_RouteConfigResourceContextParamOrder(t *testing.... method TestFederation_ClusterResourceContextParamOrder (line 210) | func (s) TestFederation_ClusterResourceContextParamOrder(t *testing.T) { method TestFederation_EndpointsResourceContextParamOrder (line 262) | func (s) TestFederation_EndpointsResourceContextParamOrder(t *testing.T) { function newStringP (line 322) | func newStringP(s string) *string { FILE: internal/xds/xdsclient/tests/helpers_test.go type s (line 30) | type s struct function Test (line 34) | func Test(t *testing.T) { constant defaultTestWatchExpiryTimeout (line 39) | defaultTestWatchExpiryTimeout = 500 * time.Millisecond constant defaultTestTimeout (line 40) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 41) | defaultTestShortTimeout = 10 * time.Millisecond constant ldsName (line 43) | ldsName = "xdsclient-test-lds-resource" constant rdsName (line 44) | rdsName = "xdsclient-test-rds-resource" constant cdsName (line 45) | cdsName = "xdsclient-test-cds-resource" constant edsName (line 46) | edsName = "xdsclient-test-eds-resource" constant ldsNameNewStyle (line 47) | ldsNameNewStyle = "xdstp:///envoy.config.listener.v3.Listener/xdsclient-... constant rdsNameNewStyle (line 48) | rdsNameNewStyle = "xdstp:///envoy.config.route.v3.RouteConfiguration/xds... constant cdsNameNewStyle (line 49) | cdsNameNewStyle = "xdstp:///envoy.config.cluster.v3.Cluster/xdsclient-te... constant edsNameNewStyle (line 50) | edsNameNewStyle = "xdstp:///envoy.config.endpoint.v3.ClusterLoadAssignme... function makeAuthorityName (line 53) | func makeAuthorityName(name string) string { function makeNewStyleLDSName (line 58) | func makeNewStyleLDSName(authority string) string { function makeNewStyleRDSName (line 62) | func makeNewStyleRDSName(authority string) string { function makeNewStyleCDSName (line 66) | func makeNewStyleCDSName(authority string) string { function makeNewStyleEDSName (line 70) | func makeNewStyleEDSName(authority string) string { FILE: internal/xds/xdsclient/tests/lds_watchers_test.go type noopListenerWatcher (line 49) | type noopListenerWatcher struct method ResourceChanged (line 51) | func (noopListenerWatcher) ResourceChanged(_ *xdsresource.ListenerUpda... method ResourceError (line 54) | func (noopListenerWatcher) ResourceError(_ error, onDone func()) { method AmbientError (line 57) | func (noopListenerWatcher) AmbientError(_ error, onDone func()) { type listenerUpdateErrTuple (line 61) | type listenerUpdateErrTuple struct type listenerWatcher (line 66) | type listenerWatcher struct method ResourceChanged (line 74) | func (lw *listenerWatcher) ResourceChanged(update *xdsresource.Listene... method ResourceError (line 79) | func (lw *listenerWatcher) ResourceError(err error, onDone func()) { method AmbientError (line 88) | func (lw *listenerWatcher) AmbientError(err error, onDone func()) { function newListenerWatcher (line 70) | func newListenerWatcher() *listenerWatcher { type listenerWatcherMultiple (line 93) | type listenerWatcherMultiple struct method ResourceChanged (line 103) | func (lw *listenerWatcherMultiple) ResourceChanged(update *xdsresource... method ResourceError (line 108) | func (lw *listenerWatcherMultiple) ResourceError(err error, onDone fun... method AmbientError (line 113) | func (lw *listenerWatcherMultiple) AmbientError(err error, onDone func... function newListenerWatcherMultiple (line 99) | func newListenerWatcherMultiple(size int) *listenerWatcherMultiple { function badListenerResource (line 121) | func badListenerResource(t *testing.T, name string) *v3listenerpb.Listen... function verifyNoListenerUpdate (line 143) | func verifyNoListenerUpdate(ctx context.Context, updateCh *testutils.Cha... function verifyListenerUpdate (line 157) | func verifyListenerUpdate(ctx context.Context, updateCh *testutils.Chann... function verifyErrorType (line 179) | func verifyErrorType(ctx context.Context, updateCh *testutils.Channel, w... method TestLDSWatch (line 205) | func (s) TestLDSWatch(t *testing.T) { method TestLDSWatch_TwoWatchesForSameResourceName (line 352) | func (s) TestLDSWatch_TwoWatchesForSameResourceName(t *testing.T) { method TestLDSWatch_ThreeWatchesForDifferentResourceNames (line 515) | func (s) TestLDSWatch_ThreeWatchesForDifferentResourceNames(t *testing.T) { method TestLDSWatch_ResourceCaching (line 609) | func (s) TestLDSWatch_ResourceCaching(t *testing.T) { method TestLDSWatch_ExpiryTimerFiresBeforeResponse (line 708) | func (s) TestLDSWatch_ExpiryTimerFiresBeforeResponse(t *testing.T) { method TestLDSWatch_ValidResponseCancelsExpiryTimerBehavior (line 751) | func (s) TestLDSWatch_ValidResponseCancelsExpiryTimerBehavior(t *testing... method TestLDSWatch_ResourceRemoved (line 823) | func (s) TestLDSWatch_ResourceRemoved(t *testing.T) { method TestLDSWatch_NewWatcherForRemovedResource (line 962) | func (s) TestLDSWatch_NewWatcherForRemovedResource(t *testing.T) { method TestLDSWatch_NACKError (line 1044) | func (s) TestLDSWatch_NACKError(t *testing.T) { method TestLDSWatch_ResourceCaching_NACKError (line 1102) | func (s) TestLDSWatch_ResourceCaching_NACKError(t *testing.T) { method TestLDSWatch_PartialValid (line 1189) | func (s) TestLDSWatch_PartialValid(t *testing.T) { method TestLDSWatch_PartialResponse (line 1283) | func (s) TestLDSWatch_PartialResponse(t *testing.T) { FILE: internal/xds/xdsclient/tests/loadreport_test.go constant testKey1 (line 56) | testKey1 = "test-key1" constant testKey2 (line 57) | testKey2 = "test-key2" type wrappedListener (line 71) | type wrappedListener struct method Accept (line 76) | func (wl *wrappedListener) Accept() (net.Conn, error) { method TestReportLoad_ConnectionCreation (line 93) | func (s) TestReportLoad_ConnectionCreation(t *testing.T) { method TestReportLoad_StreamCreation (line 274) | func (s) TestReportLoad_StreamCreation(t *testing.T) { method TestConcurrentReportLoad (line 454) | func (s) TestConcurrentReportLoad(t *testing.T) { method TestConcurrentChannels (line 494) | func (s) TestConcurrentChannels(t *testing.T) { FILE: internal/xds/xdsclient/tests/rds_watchers_test.go type noopRouteConfigWatcher (line 44) | type noopRouteConfigWatcher struct method ResourceChanged (line 46) | func (noopRouteConfigWatcher) ResourceChanged(_ *xdsresource.RouteConf... method ResourceError (line 49) | func (noopRouteConfigWatcher) ResourceError(_ error, onDone func()) { method AmbientError (line 52) | func (noopRouteConfigWatcher) AmbientError(_ error, onDone func()) { type routeConfigUpdateErrTuple (line 56) | type routeConfigUpdateErrTuple struct type routeConfigWatcher (line 61) | type routeConfigWatcher struct method ResourceChanged (line 69) | func (rw *routeConfigWatcher) ResourceChanged(update *xdsresource.Rout... method ResourceError (line 74) | func (rw *routeConfigWatcher) ResourceError(err error, onDone func()) { method AmbientError (line 83) | func (rw *routeConfigWatcher) AmbientError(err error, onDone func()) { function newRouteConfigWatcher (line 65) | func newRouteConfigWatcher() *routeConfigWatcher { function badRouteConfigResource (line 91) | func badRouteConfigResource(routeName, ldsTarget, clusterName string) *v... constant wantRouteConfigNACKErr (line 111) | wantRouteConfigNACKErr = "received route is invalid: retry_policy.num_re... function verifyRouteConfigUpdate (line 118) | func verifyRouteConfigUpdate(ctx context.Context, updateCh *testutils.Ch... function verifyNoRouteConfigUpdate (line 142) | func verifyNoRouteConfigUpdate(ctx context.Context, updateCh *testutils.... method TestRDSWatch (line 162) | func (s) TestRDSWatch(t *testing.T) { method TestRDSWatch_TwoWatchesForSameResourceName (line 325) | func (s) TestRDSWatch_TwoWatchesForSameResourceName(t *testing.T) { method TestRDSWatch_ThreeWatchesForDifferentResourceNames (line 520) | func (s) TestRDSWatch_ThreeWatchesForDifferentResourceNames(t *testing.T) { method TestRDSWatch_ResourceCaching (line 622) | func (s) TestRDSWatch_ResourceCaching(t *testing.T) { method TestRDSWatch_ExpiryTimerFiresBeforeResponse (line 729) | func (s) TestRDSWatch_ExpiryTimerFiresBeforeResponse(t *testing.T) { method TestRDSWatch_ValidResponseCancelsExpiryTimerBehavior (line 772) | func (s) TestRDSWatch_ValidResponseCancelsExpiryTimerBehavior(t *testing... method TestRDSWatch_NACKError (line 844) | func (s) TestRDSWatch_NACKError(t *testing.T) { method TestRDSWatch_PartialValid (line 899) | func (s) TestRDSWatch_PartialValid(t *testing.T) { FILE: internal/xds/xdsclient/tests/resource_update_test.go function startFakeManagementServer (line 60) | func startFakeManagementServer(t *testing.T) *fakeserver.Server { function compareUpdateMetadata (line 71) | func compareUpdateMetadata(ctx context.Context, dumpFunc func() *v3statu... method TestHandleListenerResponseFromManagementServer (line 114) | func (s) TestHandleListenerResponseFromManagementServer(t *testing.T) { method TestHandleRouteConfigResponseFromManagementServer (line 372) | func (s) TestHandleRouteConfigResponseFromManagementServer(t *testing.T) { method TestHandleClusterResponseFromManagementServer (line 651) | func (s) TestHandleClusterResponseFromManagementServer(t *testing.T) { method TestHandleEndpointsResponseFromManagementServer (line 906) | func (s) TestHandleEndpointsResponseFromManagementServer(t *testing.T) { FILE: internal/xds/xdsclient/xdsclient_test.go type s (line 27) | type s struct function Test (line 31) | func Test(t *testing.T) { FILE: internal/xds/xdsclient/xdslbregistry/converter/converter.go function init (line 52) | func init() { constant defaultRingHashMinSize (line 64) | defaultRingHashMinSize = 1024 constant defaultRingHashMaxSize (line 65) | defaultRingHashMaxSize = 8 * 1024 * 1024 constant defaultLeastRequestChoiceCount (line 66) | defaultLeastRequestChoiceCount = 2 function convertRingHashProtoToServiceConfig (line 69) | func convertRingHashProtoToServiceConfig(rawProto []byte, _ int) (json.R... type pfConfig (line 98) | type pfConfig struct function convertPickFirstProtoToServiceConfig (line 102) | func convertPickFirstProtoToServiceConfig(rawProto []byte, _ int) (json.... function convertRoundRobinProtoToServiceConfig (line 116) | func convertRoundRobinProtoToServiceConfig([]byte, int) (json.RawMessage... type wrrLocalityLBConfig (line 120) | type wrrLocalityLBConfig struct function convertWRRLocalityProtoToServiceConfig (line 124) | func convertWRRLocalityProtoToServiceConfig(rawProto []byte, depth int) ... function convertWeightedRoundRobinProtoToServiceConfig (line 144) | func convertWeightedRoundRobinProtoToServiceConfig(rawProto []byte, _ in... function convertLeastRequestProtoToServiceConfig (line 178) | func convertLeastRequestProtoToServiceConfig(rawProto []byte, _ int) (js... function convertV1TypedStructToServiceConfig (line 198) | func convertV1TypedStructToServiceConfig(rawProto []byte, _ int) (json.R... function convertV3TypedStructToServiceConfig (line 206) | func convertV3TypedStructToServiceConfig(rawProto []byte, _ int) (json.R... function convertCustomPolicy (line 220) | func convertCustomPolicy(typeURL string, s *structpb.Struct) (json.RawMe... type wrrLBConfig (line 241) | type wrrLBConfig struct function makeBalancerConfigJSON (line 250) | func makeBalancerConfigJSON(name string, value json.RawMessage) []byte { FILE: internal/xds/xdsclient/xdslbregistry/xdslbregistry.go function Register (line 38) | func Register(protoType string, c Converter) { function SetRegistry (line 44) | func SetRegistry(registry map[string]Converter) { type Converter (line 51) | type Converter function ConvertToServiceConfig (line 58) | func ConvertToServiceConfig(lbPolicy *v3clusterpb.LoadBalancingPolicy, d... FILE: internal/xds/xdsclient/xdslbregistry/xdslbregistry_test.go type s (line 57) | type s struct method TestConvertToServiceConfigSuccess (line 74) | func (s) TestConvertToServiceConfigSuccess(t *testing.T) { method TestConvertToServiceConfigFailure (line 362) | func (s) TestConvertToServiceConfigFailure(t *testing.T) { function Test (line 61) | func Test(t *testing.T) { function wrrLocalityBalancerConfig (line 65) | func wrrLocalityBalancerConfig(childPolicy *internalserviceconfig.Balanc... function jsonMarshal (line 351) | func jsonMarshal(t *testing.T, x any) string { function wrrLocality (line 441) | func wrrLocality(t *testing.T, m proto.Message) *v3wrrlocalitypb.WrrLoca... function wrrLocalityAny (line 457) | func wrrLocalityAny(t *testing.T, m proto.Message) *anypb.Any { FILE: internal/xds/xdsclient/xdsresource/cluster_resource_type.go constant ClusterResourceTypeName (line 32) | ClusterResourceTypeName = "ClusterResource" type clusterResourceDecoder (line 37) | type clusterResourceDecoder struct method Decode (line 42) | func (d *clusterResourceDecoder) Decode(resource *xdsclient.AnyProto, ... type ClusterResourceData (line 76) | type ClusterResourceData struct method Equal (line 81) | func (c *ClusterResourceData) Equal(other xdsclient.ResourceData) bool { method Bytes (line 89) | func (c *ClusterResourceData) Bytes() []byte { type ClusterWatcher (line 96) | type ClusterWatcher interface type delegatingClusterWatcher (line 113) | type delegatingClusterWatcher struct method ResourceChanged (line 117) | func (d *delegatingClusterWatcher) ResourceChanged(data xdsclient.Reso... method ResourceError (line 122) | func (d *delegatingClusterWatcher) ResourceError(err error, onDone fun... method AmbientError (line 126) | func (d *delegatingClusterWatcher) AmbientError(err error, onDone func... function WatchCluster (line 132) | func WatchCluster(p Producer, name string, w ClusterWatcher) (cancel fun... function NewClusterResourceTypeDecoder (line 138) | func NewClusterResourceTypeDecoder(bc *bootstrap.Config, gServerCfgMap m... FILE: internal/xds/xdsclient/xdsresource/endpoints_resource_type.go constant EndpointsResourceTypeName (line 31) | EndpointsResourceTypeName = "EndpointsResource" type endpointsResourceDecoder (line 36) | type endpointsResourceDecoder struct method Decode (line 40) | func (d *endpointsResourceDecoder) Decode(resource *xdsclient.AnyProto... type EndpointsResourceData (line 62) | type EndpointsResourceData struct method Equal (line 67) | func (e *EndpointsResourceData) Equal(other xdsclient.ResourceData) bo... method Bytes (line 75) | func (e *EndpointsResourceData) Bytes() []byte { type EndpointsWatcher (line 82) | type EndpointsWatcher interface type delegatingEndpointsWatcher (line 99) | type delegatingEndpointsWatcher struct method ResourceChanged (line 103) | func (d *delegatingEndpointsWatcher) ResourceChanged(data xdsclient.Re... method ResourceError (line 108) | func (d *delegatingEndpointsWatcher) ResourceError(err error, onDone f... method AmbientError (line 112) | func (d *delegatingEndpointsWatcher) AmbientError(err error, onDone fu... function WatchEndpoints (line 118) | func WatchEndpoints(p Producer, name string, w EndpointsWatcher) (cancel... function NewEndpointsResourceTypeDecoder (line 124) | func NewEndpointsResourceTypeDecoder(bc *bootstrap.Config) xdsclient.Dec... FILE: internal/xds/xdsclient/xdsresource/errors.go type ErrorType (line 28) | type ErrorType constant ErrorTypeUnknown (line 33) | ErrorTypeUnknown ErrorType = iota constant ErrorTypeConnection (line 35) | ErrorTypeConnection constant ErrorTypeResourceNotFound (line 39) | ErrorTypeResourceNotFound constant ErrorTypeResourceTypeUnsupported (line 42) | ErrorTypeResourceTypeUnsupported constant ErrTypeStreamFailedAfterRecv (line 45) | ErrTypeStreamFailedAfterRecv constant ErrorTypeNACKed (line 48) | ErrorTypeNACKed type xdsClientError (line 51) | type xdsClientError struct method Error (line 56) | func (e *xdsClientError) Error() string { function NewErrorf (line 62) | func NewErrorf(t ErrorType, format string, args ...any) error { function NewError (line 68) | func NewError(t ErrorType, message string) error { function ErrType (line 73) | func ErrType(err error) ErrorType { FILE: internal/xds/xdsclient/xdsresource/filter_chain.go type NetworkFilterChainMap (line 34) | type NetworkFilterChainMap struct type DestinationPrefixEntry (line 41) | type DestinationPrefixEntry struct type SourcePrefixes (line 53) | type SourcePrefixes struct type SourcePrefixEntry (line 60) | type SourcePrefixEntry struct type NetworkFilterChainConfig (line 70) | type NetworkFilterChainConfig struct method IsEmpty (line 79) | func (n NetworkFilterChainConfig) IsEmpty() bool { function processNetworkFilters (line 83) | func processNetworkFilters(filters []*v3listenerpb.Filter) (*HTTPConnect... FILE: internal/xds/xdsclient/xdsresource/filter_chain_test.go method TestUnmarshalListener_ServerSide_DroppedFilterChains (line 53) | func (s) TestUnmarshalListener_ServerSide_DroppedFilterChains(t *testing... method TestUnmarshalListener_ServerSide_FilterChains_FailureCases (line 131) | func (s) TestUnmarshalListener_ServerSide_FilterChains_FailureCases(t *t... method TestUnmarshalListener_ServerSide_OverlappingMatchingRules (line 207) | func (s) TestUnmarshalListener_ServerSide_OverlappingMatchingRules(t *te... method TestUnmarshalListener_ServerSide_BadSecurityConfig (line 314) | func (s) TestUnmarshalListener_ServerSide_BadSecurityConfig(t *testing.T) { method TestUnmarshalListener_ServerSide_GoodRouteUpdate (line 627) | func (s) TestUnmarshalListener_ServerSide_GoodRouteUpdate(t *testing.T) { method TestUnmarshalListener_ServerSide_BadRouteUpdate (line 874) | func (s) TestUnmarshalListener_ServerSide_BadRouteUpdate(t *testing.T) { method TestUnmarshalListener_ServerSide_BadHTTPFilters (line 1012) | func (s) TestUnmarshalListener_ServerSide_BadHTTPFilters(t *testing.T) { method TestUnmarshalListener_ServerSide_GoodHTTPFilters (line 1087) | func (s) TestUnmarshalListener_ServerSide_GoodHTTPFilters(t *testing.T) { method TestUnmarshalListener_ServerSide_GoodSecurityConfig (line 1429) | func (s) TestUnmarshalListener_ServerSide_GoodSecurityConfig(t *testing.... method TestUnmarshalListener_ServerSide_Success_UnsupportedMatchFields (line 1790) | func (s) TestUnmarshalListener_ServerSide_Success_UnsupportedMatchFields... method TestUnmarshalListener_ServerSide_Success_AllCombinations (line 2014) | func (s) TestUnmarshalListener_ServerSide_Success_AllCombinations(t *tes... function listenerProtoToAny (line 2544) | func listenerProtoToAny(t *testing.T, lis *v3listenerpb.Listener) *anypb... function ipNetFromCIDR (line 2556) | func ipNetFromCIDR(cidr string) *net.IPNet { function cidrRangeFromAddressAndPrefixLen (line 2564) | func cidrRangeFromAddressAndPrefixLen(address string, len int) *v3corepb... FILE: internal/xds/xdsclient/xdsresource/listener_resource_type.go constant ListenerResourceTypeName (line 30) | ListenerResourceTypeName = "ListenerResource" type listenerResourceDecoder (line 34) | type listenerResourceDecoder struct method Decode (line 38) | func (d *listenerResourceDecoder) Decode(resource *xdsclient.AnyProto,... function securityConfigValidator (line 66) | func securityConfigValidator(bc *bootstrap.Config, sc *SecurityConfig) e... function listenerValidator (line 83) | func listenerValidator(bc *bootstrap.Config, lis ListenerUpdate) error { type ListenerResourceData (line 117) | type ListenerResourceData struct method Equal (line 122) | func (l *ListenerResourceData) Equal(other xdsclient.ResourceData) bool { method Bytes (line 130) | func (l *ListenerResourceData) Bytes() []byte { type ListenerWatcher (line 137) | type ListenerWatcher interface type delegatingListenerWatcher (line 154) | type delegatingListenerWatcher struct method ResourceChanged (line 158) | func (d *delegatingListenerWatcher) ResourceChanged(data xdsclient.Res... method ResourceError (line 162) | func (d *delegatingListenerWatcher) ResourceError(err error, onDone fu... method AmbientError (line 166) | func (d *delegatingListenerWatcher) AmbientError(err error, onDone fun... function WatchListener (line 172) | func WatchListener(p Producer, name string, w ListenerWatcher) (cancel f... function NewListenerResourceTypeDecoder (line 178) | func NewListenerResourceTypeDecoder(bc *bootstrap.Config) xdsclient.Deco... FILE: internal/xds/xdsclient/xdsresource/logging.go constant prefix (line 26) | prefix = "[xds-resource] " FILE: internal/xds/xdsclient/xdsresource/matcher.go function RouteToMatcher (line 35) | func RouteToMatcher(r *Route) *CompositeMatcher { type CompositeMatcher (line 82) | type CompositeMatcher struct method Match (line 93) | func (a *CompositeMatcher) Match(info iresolver.RPCInfo) bool { method String (line 126) | func (a *CompositeMatcher) String() string { function newCompositeMatcher (line 88) | func newCompositeMatcher(pm pathMatcher, hms []matcher.HeaderMatcher, fm... type fractionMatcher (line 140) | type fractionMatcher struct method match (line 151) | func (fm *fractionMatcher) match() bool { method String (line 156) | func (fm *fractionMatcher) String() string { function newFractionMatcher (line 144) | func newFractionMatcher(fraction uint32) *fractionMatcher { type domainMatchType (line 160) | type domainMatchType method betterThan (line 171) | func (t domainMatchType) betterThan(b domainMatchType) bool { constant domainMatchTypeInvalid (line 163) | domainMatchTypeInvalid domainMatchType = iota constant domainMatchTypeUniversal (line 164) | domainMatchTypeUniversal constant domainMatchTypePrefix (line 165) | domainMatchTypePrefix constant domainMatchTypeSuffix (line 166) | domainMatchTypeSuffix constant domainMatchTypeExact (line 167) | domainMatchTypeExact function matchTypeForDomain (line 175) | func matchTypeForDomain(d string) domainMatchType { function match (line 194) | func match(domain, host string) (domainMatchType, bool) { function FindBestMatchingVirtualHost (line 231) | func FindBestMatchingVirtualHost(host string, vHosts []*VirtualHost) *Vi... FILE: internal/xds/xdsclient/xdsresource/matcher_path.go type pathMatcher (line 27) | type pathMatcher interface type pathExactMatcher (line 32) | type pathExactMatcher struct method match (line 49) | func (pem *pathExactMatcher) match(path string) bool { method String (line 56) | func (pem *pathExactMatcher) String() string { function newPathExactMatcher (line 38) | func newPathExactMatcher(p string, caseInsensitive bool) *pathExactMatch... type pathPrefixMatcher (line 60) | type pathPrefixMatcher struct method match (line 77) | func (ppm *pathPrefixMatcher) match(path string) bool { method String (line 84) | func (ppm *pathPrefixMatcher) String() string { function newPathPrefixMatcher (line 66) | func newPathPrefixMatcher(p string, caseInsensitive bool) *pathPrefixMat... type pathRegexMatcher (line 88) | type pathRegexMatcher struct method match (line 96) | func (prm *pathRegexMatcher) match(path string) bool { method String (line 100) | func (prm *pathRegexMatcher) String() string { function newPathRegexMatcher (line 92) | func newPathRegexMatcher(re *regexp.Regexp) *pathRegexMatcher { FILE: internal/xds/xdsclient/xdsresource/matcher_path_test.go method TestPathFullMatcherMatch (line 25) | func (s) TestPathFullMatcherMatch(t *testing.T) { method TestPathPrefixMatcherMatch (line 49) | func (s) TestPathPrefixMatcherMatch(t *testing.T) { method TestPathRegexMatcherMatch (line 73) | func (s) TestPathRegexMatcherMatch(t *testing.T) { FILE: internal/xds/xdsclient/xdsresource/matcher_test.go method TestAndMatcherMatch (line 33) | func (s) TestAndMatcherMatch(t *testing.T) { method TestFractionMatcherMatch (line 120) | func (s) TestFractionMatcherMatch(t *testing.T) { method TestMatchTypeForDomain (line 152) | func (s) TestMatchTypeForDomain(t *testing.T) { method TestMatch (line 171) | func (s) TestMatch(t *testing.T) { method TestFindBestMatchingVirtualHost (line 198) | func (s) TestFindBestMatchingVirtualHost(t *testing.T) { FILE: internal/xds/xdsclient/xdsresource/metadata.go function init (line 29) | func init() { type metadataConverter (line 43) | type metadataConverter interface function registerMetadataConverter (line 50) | func registerMetadataConverter(protoType string, c metadataConverter) { function metadataConverterForType (line 55) | func metadataConverterForType(typeURL string) metadataConverter { function unregisterMetadataConverterForTesting (line 61) | func unregisterMetadataConverterForTesting(typeURL string) { type StructMetadataValue (line 67) | type StructMetadataValue struct type ProxyAddressMetadataValue (line 74) | type ProxyAddressMetadataValue struct type proxyAddressConvertor (line 83) | type proxyAddressConvertor struct method convert (line 85) | func (proxyAddressConvertor) convert(anyProto *anypb.Any) (any, error) { FILE: internal/xds/xdsclient/xdsresource/metadata_test.go constant proxyAddressTypeURL (line 27) | proxyAddressTypeURL = "type.googleapis.com/envoy.config.core.v3.Address" function setupProxyAddressConverter (line 29) | func setupProxyAddressConverter(t *testing.T) { method TestProxyAddressConverterSuccess (line 36) | func (s) TestProxyAddressConverterSuccess(t *testing.T) { method TestProxyAddressConverterFailure (line 143) | func (s) TestProxyAddressConverterFailure(t *testing.T) { FILE: internal/xds/xdsclient/xdsresource/name.go constant FederationScheme (line 27) | FederationScheme = "xdstp" type Name (line 37) | type Name struct method String (line 97) | func (n *Name) String() string { function ParseName (line 56) | func ParseName(name string) *Name { FILE: internal/xds/xdsclient/xdsresource/name_test.go function TestParseName (line 27) | func TestParseName(t *testing.T) { function TestNameStringCtxParamsOrder (line 92) | func TestNameStringCtxParamsOrder(t *testing.T) { FILE: internal/xds/xdsclient/xdsresource/resource_type.go type Producer (line 37) | type Producer interface type ResourceWatcher (line 55) | type ResourceWatcher interface type Type (line 77) | type Type interface type ResourceData (line 109) | type ResourceData interface type DecodeOptions (line 122) | type DecodeOptions struct type DecodeResult (line 133) | type DecodeResult struct FILE: internal/xds/xdsclient/xdsresource/route_config_resource_type.go constant RouteConfigTypeName (line 31) | RouteConfigTypeName = "RouteConfigResource" type routeConfigResourceDecoder (line 36) | type routeConfigResourceDecoder struct method Decode (line 40) | func (d *routeConfigResourceDecoder) Decode(resource *xdsclient.AnyPro... type RouteConfigResourceData (line 62) | type RouteConfigResourceData struct method Equal (line 67) | func (r *RouteConfigResourceData) Equal(other xdsclient.ResourceData) ... method Bytes (line 75) | func (r *RouteConfigResourceData) Bytes() []byte { type RouteConfigWatcher (line 83) | type RouteConfigWatcher interface type delegatingRouteConfigWatcher (line 100) | type delegatingRouteConfigWatcher struct method ResourceChanged (line 104) | func (d *delegatingRouteConfigWatcher) ResourceChanged(data xdsclient.... method ResourceError (line 109) | func (d *delegatingRouteConfigWatcher) ResourceError(err error, onDone... method AmbientError (line 113) | func (d *delegatingRouteConfigWatcher) AmbientError(err error, onDone ... function WatchRouteConfig (line 119) | func WatchRouteConfig(p Producer, name string, w RouteConfigWatcher) (ca... function NewRouteConfigResourceTypeDecoder (line 125) | func NewRouteConfigResourceTypeDecoder(bc *bootstrap.Config) xdsclient.D... FILE: internal/xds/xdsclient/xdsresource/test_utils_test.go type s (line 40) | type s struct function Test (line 44) | func Test(t *testing.T) { constant defaultTestTimeout (line 48) | defaultTestTimeout = 10 * time.Second function makeRouterFilter (line 94) | func makeRouterFilter(t *testing.T) HTTPFilter { function makeRouterFilterList (line 104) | func makeRouterFilterList(t *testing.T) []HTTPFilter { function emptyValidNetworkFilters (line 108) | func emptyValidNetworkFilters(t *testing.T) []*v3listenerpb.Filter { FILE: internal/xds/xdsclient/xdsresource/tests/unmarshal_cds_test.go type s (line 58) | type s struct method TestValidateCluster_Success (line 95) | func (s) TestValidateCluster_Success(t *testing.T) { function Test (line 62) | func Test(t *testing.T) { constant clusterName (line 67) | clusterName = "clusterName" constant serviceName (line 68) | serviceName = "service" function wrrLocality (line 71) | func wrrLocality(t *testing.T, m proto.Message) *v3wrrlocalitypb.WrrLoca... function wrrLocalityAny (line 85) | func wrrLocalityAny(t *testing.T, m proto.Message) *anypb.Any { type customLBConfig (line 89) | type customLBConfig struct FILE: internal/xds/xdsclient/xdsresource/type.go type UpdateValidatorFunc (line 33) | type UpdateValidatorFunc type UpdateMetadata (line 37) | type UpdateMetadata struct function IsListenerResource (line 53) | func IsListenerResource(url string) bool { function IsHTTPConnManagerResource (line 59) | func IsHTTPConnManagerResource(url string) bool { function IsRouteConfigResource (line 65) | func IsRouteConfigResource(url string) bool { function IsClusterResource (line 71) | func IsClusterResource(url string) bool { function IsEndpointsResource (line 77) | func IsEndpointsResource(url string) bool { function UnwrapResource (line 83) | func UnwrapResource(r *anypb.Any) (*anypb.Any, error) { type ServiceStatus (line 97) | type ServiceStatus constant ServiceStatusUnknown (line 102) | ServiceStatusUnknown ServiceStatus = iota constant ServiceStatusRequested (line 105) | ServiceStatusRequested constant ServiceStatusNotExist (line 109) | ServiceStatusNotExist constant ServiceStatusACKed (line 111) | ServiceStatusACKed constant ServiceStatusNACKed (line 113) | ServiceStatusNACKed type UpdateErrorMetadata (line 118) | type UpdateErrorMetadata struct type UpdateWithMD (line 132) | type UpdateWithMD struct FILE: internal/xds/xdsclient/xdsresource/type_cds.go type ClusterType (line 29) | type ClusterType constant ClusterTypeEDS (line 34) | ClusterTypeEDS ClusterType = iota constant ClusterTypeLogicalDNS (line 37) | ClusterTypeLogicalDNS constant ClusterTypeAggregate (line 41) | ClusterTypeAggregate type ClusterUpdate (line 46) | type ClusterUpdate struct type SecurityConfig (line 87) | type SecurityConfig struct method Equal (line 140) | func (sc *SecurityConfig) Equal(other *SecurityConfig) bool { FILE: internal/xds/xdsclient/xdsresource/type_eds.go type OverloadDropConfig (line 27) | type OverloadDropConfig struct type EndpointHealthStatus (line 34) | type EndpointHealthStatus constant EndpointHealthStatusUnknown (line 38) | EndpointHealthStatusUnknown EndpointHealthStatus = iota constant EndpointHealthStatusHealthy (line 40) | EndpointHealthStatusHealthy constant EndpointHealthStatusUnhealthy (line 42) | EndpointHealthStatusUnhealthy constant EndpointHealthStatusDraining (line 44) | EndpointHealthStatusDraining constant EndpointHealthStatusTimeout (line 46) | EndpointHealthStatusTimeout constant EndpointHealthStatusDegraded (line 48) | EndpointHealthStatusDegraded type Endpoint (line 53) | type Endpoint struct type Locality (line 61) | type Locality struct type EndpointsUpdate (line 70) | type EndpointsUpdate struct FILE: internal/xds/xdsclient/xdsresource/type_lds.go type ListenerUpdate (line 29) | type ListenerUpdate struct type HTTPConnectionManagerConfig (line 40) | type HTTPConnectionManagerConfig struct type HTTPFilter (line 63) | type HTTPFilter struct type InboundListenerConfig (line 76) | type InboundListenerConfig struct FILE: internal/xds/xdsclient/xdsresource/type_rds.go type RouteConfigUpdate (line 33) | type RouteConfigUpdate struct type VirtualHost (line 46) | type VirtualHost struct type RetryConfig (line 61) | type RetryConfig struct type RetryBackoff (line 71) | type RetryBackoff struct type HashPolicyType (line 77) | type HashPolicyType constant HashPolicyTypeHeader (line 81) | HashPolicyTypeHeader HashPolicyType = iota constant HashPolicyTypeChannelID (line 84) | HashPolicyTypeChannelID type HashPolicy (line 89) | type HashPolicy struct type RouteActionType (line 99) | type RouteActionType constant RouteActionUnsupported (line 105) | RouteActionUnsupported RouteActionType = iota constant RouteActionRoute (line 110) | RouteActionRoute constant RouteActionNonForwardingAction (line 114) | RouteActionNonForwardingAction type Route (line 119) | type Route struct type WeightedCluster (line 159) | type WeightedCluster struct type HeaderMatcher (line 170) | type HeaderMatcher struct type Int64Range (line 183) | type Int64Range struct FILE: internal/xds/xdsclient/xdsresource/unmarshal_cds.go constant maxSNILength (line 51) | maxSNILength = 255 constant transportSocketName (line 54) | transportSocketName = "envoy.transport_sockets.tls" function unmarshalClusterResource (line 57) | func unmarshalClusterResource(r *anypb.Any, serverCfg *bootstrap.ServerC... constant defaultRingHashMinSize (line 85) | defaultRingHashMinSize = 1024 constant defaultRingHashMaxSize (line 86) | defaultRingHashMaxSize = 8 * 1024 * 1024 constant ringHashSizeUpperBound (line 87) | ringHashSizeUpperBound = 8 * 1024 * 1024 constant defaultLeastRequestChoiceCount (line 89) | defaultLeastRequestChoiceCount = 2 function validateClusterAndConstructClusterUpdate (line 92) | func validateClusterAndConstructClusterUpdate(cluster *v3clusterpb.Clust... function dnsHostNameFromCluster (line 246) | func dnsHostNameFromCluster(cluster *v3clusterpb.Cluster) (string, error) { function securityConfigFromCluster (line 282) | func securityConfigFromCluster(cluster *v3clusterpb.Cluster) (*SecurityC... function securityConfigFromCommonTLSContext (line 330) | func securityConfigFromCommonTLSContext(common *v3tlspb.CommonTlsContext... function securityConfigFromCommonTLSContextWithDeprecatedFields (line 366) | func securityConfigFromCommonTLSContextWithDeprecatedFields(common *v3tl... function securityConfigFromCommonTLSContextUsingNewFields (line 428) | func securityConfigFromCommonTLSContextUsingNewFields(common *v3tlspb.Co... function circuitBreakersFromCluster (line 556) | func circuitBreakersFromCluster(cluster *v3clusterpb.Cluster) *uint32 { function idurationp (line 573) | func idurationp(d time.Duration) *iserviceconfig.Duration { function uint32p (line 578) | func uint32p(i uint32) *uint32 { type successRateEjection (line 584) | type successRateEjection struct type failurePercentageEjection (line 591) | type failurePercentageEjection struct type odLBConfig (line 598) | type odLBConfig struct function outlierConfigFromCluster (line 611) | func outlierConfigFromCluster(cluster *v3clusterpb.Cluster) (json.RawMes... FILE: internal/xds/xdsclient/xdsresource/unmarshal_cds_test.go constant clusterName (line 52) | clusterName = "clusterName" constant serviceName (line 53) | serviceName = "service" method TestValidateCluster_Failure (line 56) | func (s) TestValidateCluster_Failure(t *testing.T) { method TestSecurityConfigFromCommonTLSContextUsingNewFields_ErrorCases (line 271) | func (s) TestSecurityConfigFromCommonTLSContextUsingNewFields_ErrorCases... method TestValidateClusterWithSecurityConfig (line 496) | func (s) TestValidateClusterWithSecurityConfig(t *testing.T) { method TestUnmarshalCluster (line 1469) | func (s) TestUnmarshalCluster(t *testing.T) { method TestValidateClusterWithOutlierDetection (line 1765) | func (s) TestValidateClusterWithOutlierDetection(t *testing.T) { method TestValidateClusterWithSecurityConfig_SNITooLong (line 1944) | func (s) TestValidateClusterWithSecurityConfig_SNITooLong(t *testing.T) { FILE: internal/xds/xdsclient/xdsresource/unmarshal_eds.go type hostnameKeyType (line 41) | type hostnameKeyType struct function SetHostname (line 45) | func SetHostname(endpoint resolver.Endpoint, hostname string) resolver.E... function Hostname (line 57) | func Hostname(addr resolver.Address) string { function unmarshalEndpointsResource (line 62) | func unmarshalEndpointsResource(r *anypb.Any) (string, EndpointsUpdate, ... function parseAddress (line 90) | func parseAddress(socketAddress *v3corepb.SocketAddress) string { function parseDropPolicy (line 94) | func parseDropPolicy(dropPolicy *v3endpointpb.ClusterLoadAssignment_Poli... function parseEndpoints (line 115) | func parseEndpoints(lbEndpoints []*v3endpointpb.LbEndpoint, uniqueEndpoi... function hashKeyFromMetadata (line 183) | func hashKeyFromMetadata(metadata map[string]any) string { function parseEDSRespProto (line 193) | func parseEDSRespProto(m *v3endpointpb.ClusterLoadAssignment) (Endpoints... function validateAndConstructMetadata (line 271) | func validateAndConstructMetadata(metadataProto *v3corepb.Metadata) (map... FILE: internal/xds/xdsclient/xdsresource/unmarshal_eds_test.go function enableA86 (line 49) | func enableA86(t *testing.T) { function disableA86 (line 60) | func disableA86(t *testing.T) { function buildResolverEndpoint (line 65) | func buildResolverEndpoint(addr []string, hostname string) resolver.Endp... method TestEDSParseRespProto (line 75) | func (s) TestEDSParseRespProto(t *testing.T) { method TestEDSParseRespProtoAdditionalAddrs (line 283) | func (s) TestEDSParseRespProtoAdditionalAddrs(t *testing.T) { method TestUnmarshalEndpointHashKey (line 397) | func (s) TestUnmarshalEndpointHashKey(t *testing.T) { method TestUnmarshalEndpoints (line 527) | func (s) TestUnmarshalEndpoints(t *testing.T) { method TestEDSParseRespProto_HTTP_Connect_CustomMetadata_EnvVarOn (line 669) | func (s) TestEDSParseRespProto_HTTP_Connect_CustomMetadata_EnvVarOn(t *t... method TestEDSParseRespProto_HTTP_Connect_CustomMetadata_EnvVarOff (line 1079) | func (s) TestEDSParseRespProto_HTTP_Connect_CustomMetadata_EnvVarOff(t *... method TestEDSParseRespProto_HTTP_Connect_CustomMetadata_ConverterFailure (line 1398) | func (s) TestEDSParseRespProto_HTTP_Connect_CustomMetadata_ConverterFail... method TestEDSParseRespProto_HTTP_Connect_On_HashKeyBackwardCompat_On (line 1462) | func (s) TestEDSParseRespProto_HTTP_Connect_On_HashKeyBackwardCompat_On(... method TestEDSParseRespProto_HTTP_Connect_Off_HashKeyBackwardCompat_Off_InvalidTypedMetadata (line 1537) | func (s) TestEDSParseRespProto_HTTP_Connect_Off_HashKeyBackwardCompat_Of... type claBuilder (line 1582) | type claBuilder struct method addLocality (line 1645) | func (clab *claBuilder) addLocality(subzone string, weight uint32, pri... method Build (line 1697) | func (clab *claBuilder) Build() *v3endpointpb.ClusterLoadAssignment { function newClaBuilder (line 1587) | func newClaBuilder(clusterName string, dropPercents []uint32) *claBuilder { type addLocalityOptions (line 1610) | type addLocalityOptions struct type endpointOpts (line 1616) | type endpointOpts struct function addressFromStr (line 1623) | func addressFromStr(addrWithPort string) *v3corepb.Address { FILE: internal/xds/xdsclient/xdsresource/unmarshal_lds.go function unmarshalListenerResource (line 40) | func unmarshalListenerResource(r *anypb.Any, opts *xdsclient.DecodeOptio... function processListener (line 67) | func processListener(lis *v3listenerpb.Listener, opts *xdsclient.DecodeO... function processClientSideListener (line 76) | func processClientSideListener(lis *v3listenerpb.Listener, opts *xdsclie... function unwrapHTTPFilterConfig (line 130) | func unwrapHTTPFilterConfig(config *anypb.Any) (proto.Message, string, e... function validateHTTPFilterConfig (line 151) | func validateHTTPFilterConfig(cfg *anypb.Any, lds, optional bool) (httpf... function processHTTPFilterOverrides (line 174) | func processHTTPFilterOverrides(cfgs map[string]*anypb.Any) (map[string]... function processHTTPFilters (line 203) | func processHTTPFilters(filters []*v3httppb.HttpFilter, server bool) ([]... function processServerSideListener (line 258) | func processServerSideListener(lis *v3listenerpb.Listener) (*ListenerUpd... function filterChainFromProto (line 305) | func filterChainFromProto(fc *v3listenerpb.FilterChain) (NetworkFilterCh... type dstPrefixEntry (line 357) | type dstPrefixEntry struct function buildFilterChainMap (line 362) | func buildFilterChainMap(fcs []*v3listenerpb.FilterChain) (NetworkFilter... function addFilterChainsForDestPrefixes (line 402) | func addFilterChainsForDestPrefixes(dstPrefixEntries []*dstPrefixEntry, ... function getOrCreateDestPrefixEntry (line 437) | func getOrCreateDestPrefixEntry(dstPrefixEntries []*dstPrefixEntry, pref... function addFilterChainsForServerNames (line 448) | func addFilterChainsForServerNames(dstEntry *dstPrefixEntry, fc *v3liste... function addFilterChainsForTransportProtocols (line 459) | func addFilterChainsForTransportProtocols(dstEntry *dstPrefixEntry, fc *... function addFilterChainsForApplicationProtocols (line 483) | func addFilterChainsForApplicationProtocols(dstEntry *dstPrefixEntry, fc... type sourceType (line 492) | type sourceType constant sourceTypeAny (line 496) | sourceTypeAny sourceType = iota constant sourceTypeSameOrLoopback (line 498) | sourceTypeSameOrLoopback constant sourceTypeExternal (line 500) | sourceTypeExternal function addFilterChainsForSourceType (line 503) | func addFilterChainsForSourceType(entry *DestinationPrefixEntry, fc *v3l... function addFilterChainsForSourcePrefixes (line 519) | func addFilterChainsForSourcePrefixes(srcPrefixes *SourcePrefixes, fc *v... function getOrCreateSourcePrefixEntry (line 549) | func getOrCreateSourcePrefixEntry(srcPrefixes *SourcePrefixes, prefix *n... function addFilterChainsForSourcePorts (line 564) | func addFilterChainsForSourcePorts(entry *SourcePrefixEntry, fc *v3liste... function ipNetEqual (line 595) | func ipNetEqual(a, b *net.IPNet) bool { FILE: internal/xds/xdsclient/xdsresource/unmarshal_lds_test.go method TestUnmarshalListener_ClientSide (line 55) | func (s) TestUnmarshalListener_ClientSide(t *testing.T) { method TestUnmarshalListener_ServerSide (line 650) | func (s) TestUnmarshalListener_ServerSide(t *testing.T) { type filterConfig (line 1746) | type filterConfig struct type httpFilter (line 1753) | type httpFilter struct method TypeURLs (line 1758) | func (httpFilter) TypeURLs() []string { return []string{"custom.filter... method ParseFilterConfig (line 1760) | func (httpFilter) ParseFilterConfig(cfg proto.Message) (httpfilter.Fil... method ParseFilterConfigOverride (line 1764) | func (httpFilter) ParseFilterConfigOverride(override proto.Message) (h... method IsTerminal (line 1768) | func (httpFilter) IsTerminal() bool { type errHTTPFilter (line 1773) | type errHTTPFilter struct method TypeURLs (line 1777) | func (errHTTPFilter) TypeURLs() []string { return []string{"err.custom... method ParseFilterConfig (line 1779) | func (errHTTPFilter) ParseFilterConfig(proto.Message) (httpfilter.Filt... method ParseFilterConfigOverride (line 1783) | func (errHTTPFilter) ParseFilterConfigOverride(proto.Message) (httpfil... method IsTerminal (line 1787) | func (errHTTPFilter) IsTerminal() bool { function init (line 1791) | func init() { type serverOnlyHTTPFilter (line 1799) | type serverOnlyHTTPFilter struct method TypeURLs (line 1803) | func (serverOnlyHTTPFilter) TypeURLs() []string { return []string{"ser... method ParseFilterConfig (line 1805) | func (serverOnlyHTTPFilter) ParseFilterConfig(cfg proto.Message) (http... method ParseFilterConfigOverride (line 1809) | func (serverOnlyHTTPFilter) ParseFilterConfigOverride(override proto.M... method IsTerminal (line 1813) | func (serverOnlyHTTPFilter) IsTerminal() bool { type clientOnlyHTTPFilter (line 1818) | type clientOnlyHTTPFilter struct method TypeURLs (line 1822) | func (clientOnlyHTTPFilter) TypeURLs() []string { return []string{"cli... method ParseFilterConfig (line 1824) | func (clientOnlyHTTPFilter) ParseFilterConfig(cfg proto.Message) (http... method ParseFilterConfigOverride (line 1828) | func (clientOnlyHTTPFilter) ParseFilterConfigOverride(override proto.M... method IsTerminal (line 1832) | func (clientOnlyHTTPFilter) IsTerminal() bool { function wrappedOptionalFilter (line 1881) | func wrappedOptionalFilter(t *testing.T, name string) *anypb.Any { FILE: internal/xds/xdsclient/xdsresource/unmarshal_rds.go function unmarshalRouteConfigResource (line 39) | func unmarshalRouteConfigResource(r *anypb.Any, opts *xdsclient.DecodeOp... function generateRDSUpdateFromRouteConfiguration (line 82) | func generateRDSUpdateFromRouteConfiguration(rc *v3routepb.RouteConfigur... function processClusterSpecifierPlugins (line 129) | func processClusterSpecifierPlugins(csps []*v3routepb.ClusterSpecifierPl... function generateRetryConfig (line 162) | func generateRetryConfig(rp *v3routepb.RetryPolicy) (*RetryConfig, error) { function routesProtoToSlice (line 216) | func routesProtoToSlice(routes []*v3routepb.Route, csps map[string]clust... function hashPoliciesProtoToSlice (line 417) | func hashPoliciesProtoToSlice(policies []*v3routepb.RouteAction_HashPoli... FILE: internal/xds/xdsclient/xdsresource/unmarshal_rds_test.go method TestRDSGenerateRDSUpdateFromRouteConfiguration (line 53) | func (s) TestRDSGenerateRDSUpdateFromRouteConfiguration(t *testing.T) { method TestGenerateRDSUpdateFromRouteConfigurationWithAutoHostRewrite (line 727) | func (s) TestGenerateRDSUpdateFromRouteConfigurationWithAutoHostRewrite(... function init (line 831) | func init() { type mockClusterSpecifierPlugin (line 836) | type mockClusterSpecifierPlugin struct method TypeURLs (line 839) | func (mockClusterSpecifierPlugin) TypeURLs() []string { method ParseClusterSpecifierConfig (line 843) | func (mockClusterSpecifierPlugin) ParseClusterSpecifierConfig(proto.Me... type errorClusterSpecifierPlugin (line 847) | type errorClusterSpecifierPlugin struct method TypeURLs (line 849) | func (errorClusterSpecifierPlugin) TypeURLs() []string { method ParseClusterSpecifierConfig (line 853) | func (errorClusterSpecifierPlugin) ParseClusterSpecifierConfig(proto.M... method TestUnmarshalRouteConfig (line 857) | func (s) TestUnmarshalRouteConfig(t *testing.T) { method TestRoutesProtoToSlice (line 991) | func (s) TestRoutesProtoToSlice(t *testing.T) { method TestHashPoliciesProtoToSlice (line 1619) | func (s) TestHashPoliciesProtoToSlice(t *testing.T) { function newStringP (line 1729) | func newStringP(s string) *string { function newUInt32P (line 1733) | func newUInt32P(i uint32) *uint32 { function newBoolP (line 1737) | func newBoolP(b bool) *bool { function newDurationP (line 1741) | func newDurationP(d time.Duration) *time.Duration { FILE: internal/xds/xdsclient/xdsresource/version/version.go constant googleapiPrefix (line 26) | googleapiPrefix = "type.googleapis.com/" constant V3ListenerType (line 28) | V3ListenerType = "envoy.config.listener.v3.Listener" constant V3RouteConfigType (line 29) | V3RouteConfigType = "envoy.config.route.v3.RouteConfiguration" constant V3ClusterType (line 30) | V3ClusterType = "envoy.config.cluster.v3.Cluster" constant V3EndpointsType (line 31) | V3EndpointsType = "envoy.config.endpoint.v3.ClusterLoadAssignment" constant V3ResourceWrapperURL (line 33) | V3ResourceWrapperURL = googleapiPrefix + "envoy.service.discovery.v... constant V3ListenerURL (line 34) | V3ListenerURL = googleapiPrefix + V3ListenerType constant V3RouteConfigURL (line 35) | V3RouteConfigURL = googleapiPrefix + V3RouteConfigType constant V3ClusterURL (line 36) | V3ClusterURL = googleapiPrefix + V3ClusterType constant V3EndpointsURL (line 37) | V3EndpointsURL = googleapiPrefix + V3EndpointsType constant V3HTTPConnManagerURL (line 38) | V3HTTPConnManagerURL = googleapiPrefix + "envoy.extensions.filters.... constant V3UpstreamTLSContextURL (line 39) | V3UpstreamTLSContextURL = googleapiPrefix + "envoy.extensions.transpor... constant V3DownstreamTLSContextURL (line 40) | V3DownstreamTLSContextURL = googleapiPrefix + "envoy.extensions.transpor... FILE: internal/xds/xdsclient/xdsresource/xdsconfig.go type XDSConfig (line 24) | type XDSConfig struct type ClusterResult (line 48) | type ClusterResult struct type ClusterConfig (line 54) | type ClusterConfig struct type AggregateConfig (line 67) | type AggregateConfig struct type EndpointConfig (line 76) | type EndpointConfig struct type DNSUpdate (line 91) | type DNSUpdate struct type xdsConfigkey (line 98) | type xdsConfigkey struct function SetXDSConfig (line 102) | func SetXDSConfig(state resolver.State, config *XDSConfig) resolver.State { function XDSConfigFromResolverState (line 109) | func XDSConfigFromResolverState(state resolver.State) *XDSConfig { FILE: internal/xds/xdsdepmgr/xds_dependency_manager.go constant prefix (line 37) | prefix = "[xdsdepmgr %p] " function prefixLogger (line 41) | func prefixLogger(p *DependencyManager) *internalgrpclog.PrefixLogger { type ConfigWatcher (line 48) | type ConfigWatcher interface type xdsResourceState (line 67) | type xdsResourceState struct method setLastUpdate (line 75) | func (x *xdsResourceState[T, U]) setLastUpdate(update *T) { method setLastError (line 81) | func (x *xdsResourceState[T, U]) setLastError(err error) { type dnsExtras (line 87) | type dnsExtras struct type routeExtras (line 91) | type routeExtras struct type DependencyManager (line 98) | type DependencyManager struct method Close (line 176) | func (m *DependencyManager) Close() { method annotateErrorWithNodeID (line 210) | func (m *DependencyManager) annotateErrorWithNodeID(err error) error { method maybeSendUpdateLocked (line 216) | func (m *DependencyManager) maybeSendUpdateLocked() { method populateClusterConfigLocked (line 309) | func (m *DependencyManager) populateClusterConfigLocked(clusterName st... method populateEDSClusterLocked (line 361) | func (m *DependencyManager) populateEDSClusterLocked(clusterName strin... method populateLogicalDNSClusterLocked (line 388) | func (m *DependencyManager) populateLogicalDNSClusterLocked(clusterNam... method populateAggregateClusterLocked (line 415) | func (m *DependencyManager) populateAggregateClusterLocked(clusterName... method applyRouteConfigUpdateLocked (line 442) | func (m *DependencyManager) applyRouteConfigUpdateLocked(update *xdsre... method onListenerResourceUpdate (line 500) | func (m *DependencyManager) onListenerResourceUpdate(update *xdsresour... method onListenerResourceError (line 567) | func (m *DependencyManager) onListenerResourceError(err error, onDone ... method onListenerResourceAmbientError (line 591) | func (m *DependencyManager) onListenerResourceAmbientError(err error, ... method onRouteConfigResourceUpdate (line 603) | func (m *DependencyManager) onRouteConfigResourceUpdate(resourceName s... method onRouteConfigResourceError (line 618) | func (m *DependencyManager) onRouteConfigResourceError(resourceName st... method onRouteConfigResourceAmbientError (line 635) | func (m *DependencyManager) onRouteConfigResourceAmbientError(resource... method onClusterResourceUpdate (line 665) | func (m *DependencyManager) onClusterResourceUpdate(resourceName strin... method onClusterResourceError (line 683) | func (m *DependencyManager) onClusterResourceError(resourceName string... method onClusterAmbientError (line 698) | func (m *DependencyManager) onClusterAmbientError(resourceName string,... method onEndpointUpdate (line 728) | func (m *DependencyManager) onEndpointUpdate(resourceName string, upda... method onEndpointResourceError (line 746) | func (m *DependencyManager) onEndpointResourceError(resourceName strin... method onEndpointAmbientError (line 766) | func (m *DependencyManager) onEndpointAmbientError(resourceName string... method onDNSUpdate (line 780) | func (m *DependencyManager) onDNSUpdate(resourceName string, update *r... method onDNSError (line 801) | func (m *DependencyManager) onDNSError(resourceName string, err error) { method RequestDNSReresolution (line 826) | func (m *DependencyManager) RequestDNSReresolution(opt resolver.Resolv... method newDNSResolver (line 862) | func (m *DependencyManager) newDNSResolver(target string) *xdsResource... method SubscribeToCluster (line 968) | func (m *DependencyManager) SubscribeToCluster(name string) func() { method unsubscribeFromCluster (line 993) | func (m *DependencyManager) unsubscribeFromCluster(name string) { function New (line 137) | func New(listenerName, dataplaneAuthority string, xdsClient xdsclient.XD... function newClusterWatcher (line 647) | func newClusterWatcher(resourceName string, depMgr *DependencyManager) *... function newEndpointWatcher (line 709) | func newEndpointWatcher(resourceName string, depMgr *DependencyManager) ... type resolverClientConn (line 836) | type resolverClientConn struct method UpdateState (line 841) | func (rcc *resolverClientConn) UpdateState(state resolver.State) error { method ReportError (line 848) | func (rcc *resolverClientConn) ReportError(err error) { method NewAddress (line 854) | func (rcc *resolverClientConn) NewAddress(addresses []resolver.Address) { method ParseServiceConfig (line 858) | func (rcc *resolverClientConn) ParseServiceConfig(string) *serviceconf... type xdsResourceWatcher (line 895) | type xdsResourceWatcher struct method ResourceChanged (line 901) | func (x *xdsResourceWatcher[T]) ResourceChanged(update *T, onDone func()) { method ResourceError (line 905) | func (x *xdsResourceWatcher[T]) ResourceError(err error, onDone func()) { method AmbientError (line 909) | func (x *xdsResourceWatcher[T]) AmbientError(err error, onDone func()) { type xdsClusterSubscriberKey (line 915) | type xdsClusterSubscriberKey struct function SetXDSClusterSubscriber (line 919) | func SetXDSClusterSubscriber(state resolver.State, subs ClusterSubscribe... function XDSClusterSubscriberFromResolverState (line 926) | func XDSClusterSubscriberFromResolverState(state resolver.State) Cluster... type ClusterSubscriber (line 939) | type ClusterSubscriber interface type clusterRef (line 949) | type clusterRef struct FILE: internal/xds/xdsdepmgr/xds_dependency_manager_test.go type s (line 57) | type s struct method TestHappyCase (line 346) | func (s) TestHappyCase(t *testing.T) { method TestInlineRouteConfig (line 376) | func (s) TestInlineRouteConfig(t *testing.T) { method TestNoRouteConfigResource (line 429) | func (s) TestNoRouteConfigResource(t *testing.T) { method TestListenerResourceNotFoundError (line 463) | func (s) TestListenerResourceNotFoundError(t *testing.T) { method TestRouteConfigResourceError (line 507) | func (s) TestRouteConfigResourceError(t *testing.T) { method TestNoVirtualHost (line 548) | func (s) TestNoVirtualHost(t *testing.T) { method TestNoVirtualHost_ExistingResource (line 583) | func (s) TestNoVirtualHost_ExistingResource(t *testing.T) { method TestAmbientError (line 630) | func (s) TestAmbientError(t *testing.T) { method TestRouteResourceUpdate (line 717) | func (s) TestRouteResourceUpdate(t *testing.T) { method TestRouteResourceChangeToInline (line 802) | func (s) TestRouteResourceChangeToInline(t *testing.T) { method TestClusterResourceError (line 940) | func (s) TestClusterResourceError(t *testing.T) { method TestClusterAmbientError (line 985) | func (s) TestClusterAmbientError(t *testing.T) { method TestAggregateCluster (line 1053) | func (s) TestAggregateCluster(t *testing.T) { method TestAggregateClusterChildError (line 1198) | func (s) TestAggregateClusterChildError(t *testing.T) { method TestAggregateClusterNoLeafCluster (line 1318) | func (s) TestAggregateClusterNoLeafCluster(t *testing.T) { method TestAggregateClusterMaxDepth (line 1391) | func (s) TestAggregateClusterMaxDepth(t *testing.T) { method TestEndpointAmbientError (line 1474) | func (s) TestEndpointAmbientError(t *testing.T) { method TestClusterSubscription_Lifecycle (line 1541) | func (s) TestClusterSubscription_Lifecycle(t *testing.T) { method TestUpdateWithUnresolvedDynamicSubscription (line 1716) | func (s) TestUpdateWithUnresolvedDynamicSubscription(t *testing.T) { function Test (line 61) | func Test(t *testing.T) { constant defaultTestTimeout (line 66) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 67) | defaultTestShortTimeout = 10 * time.Millisecond constant defaultTestServiceName (line 69) | defaultTestServiceName = "service-name" constant defaultTestRouteConfigName (line 70) | defaultTestRouteConfigName = "route-config-name" constant defaultTestClusterName (line 71) | defaultTestClusterName = "cluster-name" constant defaultTestEDSServiceName (line 72) | defaultTestEDSServiceName = "eds-service-name" function newStringP (line 75) | func newStringP(s string) *string { type testWatcher (line 82) | type testWatcher struct method Update (line 101) | func (w *testWatcher) Update(cfg *xdsresource.XDSConfig) { method Error (line 110) | func (w *testWatcher) Error(err error) { method close (line 123) | func (w *testWatcher) close() { function newTestWatcher (line 88) | func newTestWatcher() *testWatcher { function verifyError (line 127) | func verifyError(ctx context.Context, errCh chan error, wantErr, wantNod... function lessEndpoint (line 147) | func lessEndpoint(a, b resolver.Endpoint) bool { function getHash (line 151) | func getHash(e resolver.Endpoint) uint64 { function verifyXDSConfig (line 164) | func verifyXDSConfig(ctx context.Context, xdsCh chan *xdsresource.XDSCon... function makeXDSConfig (line 202) | func makeXDSConfig(routeConfigName, clusterName, edsServiceName, addr st... function setupManagementServerAndClient (line 265) | func setupManagementServerAndClient(t *testing.T, allowResourceSubset bo... function createXDSClient (line 273) | func createXDSClient(t *testing.T, bootstrapContents []byte) xdsclient.X... function setupManagementServerForTest (line 297) | func setupManagementServerForTest(t *testing.T, nodeID string, allowReso... function makeAggregateClusterResource (line 311) | func makeAggregateClusterResource(name string, childNames []string) *v3c... function makeLogicalDNSClusterResource (line 321) | func makeLogicalDNSClusterResource(name, dnsHost string, dnsPort uint32)... function replaceDNSResolver (line 333) | func replaceDNSResolver(t *testing.T) *manual.Resolver { FILE: interop/alts/client/client.go function main (line 42) | func main() { FILE: interop/alts/server/server.go constant udsAddrPrefix (line 38) | udsAddrPrefix = "unix:" function main (line 48) | func main() { function authz (line 74) | func authz(ctx context.Context, info *tap.Info) (context.Context, error) { FILE: interop/client/client.go constant googleDefaultCredsName (line 59) | googleDefaultCredsName = "google_default_credentials" constant computeEngineCredsName (line 60) | computeEngineCredsName = "compute_engine_channel_creds" type credsMode (line 117) | type credsMode constant credsNone (line 120) | credsNone credsMode = iota constant credsTLS (line 121) | credsTLS constant credsALTS (line 122) | credsALTS constant credsGoogleDefaultCreds (line 123) | credsGoogleDefaultCreds constant credsComputeEngineCreds (line 124) | credsComputeEngineCreds function parseAdditionalMetadataFlag (line 130) | func parseAdditionalMetadataFlag() []string { function createBaseSoakConfig (line 156) | func createBaseSoakConfig(serverAddr string) interop.SoakTestConfig { function main (line 170) | func main() { FILE: interop/fake_grpclb/fake_grpclb.go function main (line 47) | func main() { FILE: interop/grpc_testing/benchmark_service.pb.go constant _ (line 35) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 37) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant file_grpc_testing_benchmark_service_proto_rawDesc (line 42) | file_grpc_testing_benchmark_service_proto_rawDesc = "" + function init (line 75) | func init() { file_grpc_testing_benchmark_service_proto_init() } function file_grpc_testing_benchmark_service_proto_init (line 76) | func file_grpc_testing_benchmark_service_proto_init() { FILE: interop/grpc_testing/benchmark_service_grpc.pb.go constant _ (line 36) | _ = grpc.SupportPackageIsVersion9 constant BenchmarkService_UnaryCall_FullMethodName (line 39) | BenchmarkService_UnaryCall_FullMethodName = "/grpc.testing.Ben... constant BenchmarkService_StreamingCall_FullMethodName (line 40) | BenchmarkService_StreamingCall_FullMethodName = "/grpc.testing.Ben... constant BenchmarkService_StreamingFromClient_FullMethodName (line 41) | BenchmarkService_StreamingFromClient_FullMethodName = "/grpc.testing.Ben... constant BenchmarkService_StreamingFromServer_FullMethodName (line 42) | BenchmarkService_StreamingFromServer_FullMethodName = "/grpc.testing.Ben... constant BenchmarkService_StreamingBothWays_FullMethodName (line 43) | BenchmarkService_StreamingBothWays_FullMethodName = "/grpc.testing.Ben... type BenchmarkServiceClient (line 49) | type BenchmarkServiceClient interface type benchmarkServiceClient (line 68) | type benchmarkServiceClient struct method UnaryCall (line 76) | func (c *benchmarkServiceClient) UnaryCall(ctx context.Context, in *Si... method StreamingCall (line 86) | func (c *benchmarkServiceClient) StreamingCall(ctx context.Context, op... method StreamingFromClient (line 99) | func (c *benchmarkServiceClient) StreamingFromClient(ctx context.Conte... method StreamingFromServer (line 112) | func (c *benchmarkServiceClient) StreamingFromServer(ctx context.Conte... method StreamingBothWays (line 131) | func (c *benchmarkServiceClient) StreamingBothWays(ctx context.Context... function NewBenchmarkServiceClient (line 72) | func NewBenchmarkServiceClient(cc grpc.ClientConnInterface) BenchmarkSer... type BenchmarkServiceServer (line 147) | type BenchmarkServiceServer interface type UnimplementedBenchmarkServiceServer (line 172) | type UnimplementedBenchmarkServiceServer struct method UnaryCall (line 174) | func (UnimplementedBenchmarkServiceServer) UnaryCall(context.Context, ... method StreamingCall (line 177) | func (UnimplementedBenchmarkServiceServer) StreamingCall(grpc.BidiStre... method StreamingFromClient (line 180) | func (UnimplementedBenchmarkServiceServer) StreamingFromClient(grpc.Cl... method StreamingFromServer (line 183) | func (UnimplementedBenchmarkServiceServer) StreamingFromServer(*Simple... method StreamingBothWays (line 186) | func (UnimplementedBenchmarkServiceServer) StreamingBothWays(grpc.Bidi... method mustEmbedUnimplementedBenchmarkServiceServer (line 189) | func (UnimplementedBenchmarkServiceServer) mustEmbedUnimplementedBench... method testEmbeddedByValue (line 190) | func (UnimplementedBenchmarkServiceServer) testEmbeddedByValue() ... type UnsafeBenchmarkServiceServer (line 195) | type UnsafeBenchmarkServiceServer interface function RegisterBenchmarkServiceServer (line 199) | func RegisterBenchmarkServiceServer(s grpc.ServiceRegistrar, srv Benchma... function _BenchmarkService_UnaryCall_Handler (line 210) | func _BenchmarkService_UnaryCall_Handler(srv interface{}, ctx context.Co... function _BenchmarkService_StreamingCall_Handler (line 228) | func _BenchmarkService_StreamingCall_Handler(srv interface{}, stream grp... function _BenchmarkService_StreamingFromClient_Handler (line 235) | func _BenchmarkService_StreamingFromClient_Handler(srv interface{}, stre... function _BenchmarkService_StreamingFromServer_Handler (line 242) | func _BenchmarkService_StreamingFromServer_Handler(srv interface{}, stre... function _BenchmarkService_StreamingBothWays_Handler (line 253) | func _BenchmarkService_StreamingBothWays_Handler(srv interface{}, stream... FILE: interop/grpc_testing/control.pb.go constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ClientType (line 39) | type ClientType method Enum (line 66) | func (x ClientType) Enum() *ClientType { method String (line 72) | func (x ClientType) String() string { method Descriptor (line 76) | func (ClientType) Descriptor() protoreflect.EnumDescriptor { method Type (line 80) | func (ClientType) Type() protoreflect.EnumType { method Number (line 84) | func (x ClientType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 89) | func (ClientType) EnumDescriptor() ([]byte, []int) { constant ClientType_SYNC_CLIENT (line 44) | ClientType_SYNC_CLIENT ClientType = 0 constant ClientType_ASYNC_CLIENT (line 45) | ClientType_ASYNC_CLIENT ClientType = 1 constant ClientType_OTHER_CLIENT (line 46) | ClientType_OTHER_CLIENT ClientType = 2 constant ClientType_CALLBACK_CLIENT (line 47) | ClientType_CALLBACK_CLIENT ClientType = 3 type ServerType (line 93) | type ServerType method Enum (line 121) | func (x ServerType) Enum() *ServerType { method String (line 127) | func (x ServerType) String() string { method Descriptor (line 131) | func (ServerType) Descriptor() protoreflect.EnumDescriptor { method Type (line 135) | func (ServerType) Type() protoreflect.EnumType { method Number (line 139) | func (x ServerType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 144) | func (ServerType) EnumDescriptor() ([]byte, []int) { constant ServerType_SYNC_SERVER (line 96) | ServerType_SYNC_SERVER ServerType = 0 constant ServerType_ASYNC_SERVER (line 97) | ServerType_ASYNC_SERVER ServerType = 1 constant ServerType_ASYNC_GENERIC_SERVER (line 98) | ServerType_ASYNC_GENERIC_SERVER ServerType = 2 constant ServerType_OTHER_SERVER (line 99) | ServerType_OTHER_SERVER ServerType = 3 constant ServerType_CALLBACK_SERVER (line 100) | ServerType_CALLBACK_SERVER ServerType = 4 type RpcType (line 148) | type RpcType method Enum (line 176) | func (x RpcType) Enum() *RpcType { method String (line 182) | func (x RpcType) String() string { method Descriptor (line 186) | func (RpcType) Descriptor() protoreflect.EnumDescriptor { method Type (line 190) | func (RpcType) Type() protoreflect.EnumType { method Number (line 194) | func (x RpcType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 199) | func (RpcType) EnumDescriptor() ([]byte, []int) { constant RpcType_UNARY (line 151) | RpcType_UNARY RpcType = 0 constant RpcType_STREAMING (line 152) | RpcType_STREAMING RpcType = 1 constant RpcType_STREAMING_FROM_CLIENT (line 153) | RpcType_STREAMING_FROM_CLIENT RpcType = 2 constant RpcType_STREAMING_FROM_SERVER (line 154) | RpcType_STREAMING_FROM_SERVER RpcType = 3 constant RpcType_STREAMING_BOTH_WAYS (line 155) | RpcType_STREAMING_BOTH_WAYS RpcType = 4 type PoissonParams (line 205) | type PoissonParams struct method Reset (line 213) | func (x *PoissonParams) Reset() { method String (line 220) | func (x *PoissonParams) String() string { method ProtoMessage (line 224) | func (*PoissonParams) ProtoMessage() {} method ProtoReflect (line 226) | func (x *PoissonParams) ProtoReflect() protoreflect.Message { method Descriptor (line 239) | func (*PoissonParams) Descriptor() ([]byte, []int) { method GetOfferedLoad (line 243) | func (x *PoissonParams) GetOfferedLoad() float64 { type ClosedLoopParams (line 252) | type ClosedLoopParams struct method Reset (line 258) | func (x *ClosedLoopParams) Reset() { method String (line 265) | func (x *ClosedLoopParams) String() string { method ProtoMessage (line 269) | func (*ClosedLoopParams) ProtoMessage() {} method ProtoReflect (line 271) | func (x *ClosedLoopParams) ProtoReflect() protoreflect.Message { method Descriptor (line 284) | func (*ClosedLoopParams) Descriptor() ([]byte, []int) { type LoadParams (line 288) | type LoadParams struct method Reset (line 299) | func (x *LoadParams) Reset() { method String (line 306) | func (x *LoadParams) String() string { method ProtoMessage (line 310) | func (*LoadParams) ProtoMessage() {} method ProtoReflect (line 312) | func (x *LoadParams) ProtoReflect() protoreflect.Message { method Descriptor (line 325) | func (*LoadParams) Descriptor() ([]byte, []int) { method GetLoad (line 329) | func (x *LoadParams) GetLoad() isLoadParams_Load { method GetClosedLoop (line 336) | func (x *LoadParams) GetClosedLoop() *ClosedLoopParams { method GetPoisson (line 345) | func (x *LoadParams) GetPoisson() *PoissonParams { type isLoadParams_Load (line 354) | type isLoadParams_Load interface type LoadParams_ClosedLoop (line 358) | type LoadParams_ClosedLoop struct method isLoadParams_Load (line 366) | func (*LoadParams_ClosedLoop) isLoadParams_Load() {} type LoadParams_Poisson (line 362) | type LoadParams_Poisson struct method isLoadParams_Load (line 368) | func (*LoadParams_Poisson) isLoadParams_Load() {} type SecurityParams (line 371) | type SecurityParams struct method Reset (line 380) | func (x *SecurityParams) Reset() { method String (line 387) | func (x *SecurityParams) String() string { method ProtoMessage (line 391) | func (*SecurityParams) ProtoMessage() {} method ProtoReflect (line 393) | func (x *SecurityParams) ProtoReflect() protoreflect.Message { method Descriptor (line 406) | func (*SecurityParams) Descriptor() ([]byte, []int) { method GetUseTestCa (line 410) | func (x *SecurityParams) GetUseTestCa() bool { method GetServerHostOverride (line 417) | func (x *SecurityParams) GetServerHostOverride() string { method GetCredType (line 424) | func (x *SecurityParams) GetCredType() string { type ChannelArg (line 431) | type ChannelArg struct method Reset (line 443) | func (x *ChannelArg) Reset() { method String (line 450) | func (x *ChannelArg) String() string { method ProtoMessage (line 454) | func (*ChannelArg) ProtoMessage() {} method ProtoReflect (line 456) | func (x *ChannelArg) ProtoReflect() protoreflect.Message { method Descriptor (line 469) | func (*ChannelArg) Descriptor() ([]byte, []int) { method GetName (line 473) | func (x *ChannelArg) GetName() string { method GetValue (line 480) | func (x *ChannelArg) GetValue() isChannelArg_Value { method GetStrValue (line 487) | func (x *ChannelArg) GetStrValue() string { method GetIntValue (line 496) | func (x *ChannelArg) GetIntValue() int32 { type isChannelArg_Value (line 505) | type isChannelArg_Value interface type ChannelArg_StrValue (line 509) | type ChannelArg_StrValue struct method isChannelArg_Value (line 517) | func (*ChannelArg_StrValue) isChannelArg_Value() {} type ChannelArg_IntValue (line 513) | type ChannelArg_IntValue struct method isChannelArg_Value (line 519) | func (*ChannelArg_IntValue) isChannelArg_Value() {} type ClientConfig (line 521) | type ClientConfig struct method Reset (line 561) | func (x *ClientConfig) Reset() { method String (line 568) | func (x *ClientConfig) String() string { method ProtoMessage (line 572) | func (*ClientConfig) ProtoMessage() {} method ProtoReflect (line 574) | func (x *ClientConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 587) | func (*ClientConfig) Descriptor() ([]byte, []int) { method GetServerTargets (line 591) | func (x *ClientConfig) GetServerTargets() []string { method GetClientType (line 598) | func (x *ClientConfig) GetClientType() ClientType { method GetSecurityParams (line 605) | func (x *ClientConfig) GetSecurityParams() *SecurityParams { method GetOutstandingRpcsPerChannel (line 612) | func (x *ClientConfig) GetOutstandingRpcsPerChannel() int32 { method GetClientChannels (line 619) | func (x *ClientConfig) GetClientChannels() int32 { method GetAsyncClientThreads (line 626) | func (x *ClientConfig) GetAsyncClientThreads() int32 { method GetRpcType (line 633) | func (x *ClientConfig) GetRpcType() RpcType { method GetLoadParams (line 640) | func (x *ClientConfig) GetLoadParams() *LoadParams { method GetPayloadConfig (line 647) | func (x *ClientConfig) GetPayloadConfig() *PayloadConfig { method GetHistogramParams (line 654) | func (x *ClientConfig) GetHistogramParams() *HistogramParams { method GetCoreList (line 661) | func (x *ClientConfig) GetCoreList() []int32 { method GetCoreLimit (line 668) | func (x *ClientConfig) GetCoreLimit() int32 { method GetOtherClientApi (line 675) | func (x *ClientConfig) GetOtherClientApi() string { method GetChannelArgs (line 682) | func (x *ClientConfig) GetChannelArgs() []*ChannelArg { method GetThreadsPerCq (line 689) | func (x *ClientConfig) GetThreadsPerCq() int32 { method GetMessagesPerStream (line 696) | func (x *ClientConfig) GetMessagesPerStream() int32 { method GetUseCoalesceApi (line 703) | func (x *ClientConfig) GetUseCoalesceApi() bool { method GetMedianLatencyCollectionIntervalMillis (line 710) | func (x *ClientConfig) GetMedianLatencyCollectionIntervalMillis() int32 { method GetClientProcesses (line 717) | func (x *ClientConfig) GetClientProcesses() int32 { type ClientStatus (line 724) | type ClientStatus struct method Reset (line 731) | func (x *ClientStatus) Reset() { method String (line 738) | func (x *ClientStatus) String() string { method ProtoMessage (line 742) | func (*ClientStatus) ProtoMessage() {} method ProtoReflect (line 744) | func (x *ClientStatus) ProtoReflect() protoreflect.Message { method Descriptor (line 757) | func (*ClientStatus) Descriptor() ([]byte, []int) { method GetStats (line 761) | func (x *ClientStatus) GetStats() *ClientStats { type Mark (line 769) | type Mark struct method Reset (line 777) | func (x *Mark) Reset() { method String (line 784) | func (x *Mark) String() string { method ProtoMessage (line 788) | func (*Mark) ProtoMessage() {} method ProtoReflect (line 790) | func (x *Mark) ProtoReflect() protoreflect.Message { method Descriptor (line 803) | func (*Mark) Descriptor() ([]byte, []int) { method GetReset_ (line 807) | func (x *Mark) GetReset_() bool { type ClientArgs (line 814) | type ClientArgs struct method Reset (line 825) | func (x *ClientArgs) Reset() { method String (line 832) | func (x *ClientArgs) String() string { method ProtoMessage (line 836) | func (*ClientArgs) ProtoMessage() {} method ProtoReflect (line 838) | func (x *ClientArgs) ProtoReflect() protoreflect.Message { method Descriptor (line 851) | func (*ClientArgs) Descriptor() ([]byte, []int) { method GetArgtype (line 855) | func (x *ClientArgs) GetArgtype() isClientArgs_Argtype { method GetSetup (line 862) | func (x *ClientArgs) GetSetup() *ClientConfig { method GetMark (line 871) | func (x *ClientArgs) GetMark() *Mark { type isClientArgs_Argtype (line 880) | type isClientArgs_Argtype interface type ClientArgs_Setup (line 884) | type ClientArgs_Setup struct method isClientArgs_Argtype (line 892) | func (*ClientArgs_Setup) isClientArgs_Argtype() {} type ClientArgs_Mark (line 888) | type ClientArgs_Mark struct method isClientArgs_Argtype (line 894) | func (*ClientArgs_Mark) isClientArgs_Argtype() {} type ServerConfig (line 896) | type ServerConfig struct method Reset (line 926) | func (x *ServerConfig) Reset() { method String (line 933) | func (x *ServerConfig) String() string { method ProtoMessage (line 937) | func (*ServerConfig) ProtoMessage() {} method ProtoReflect (line 939) | func (x *ServerConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 952) | func (*ServerConfig) Descriptor() ([]byte, []int) { method GetServerType (line 956) | func (x *ServerConfig) GetServerType() ServerType { method GetSecurityParams (line 963) | func (x *ServerConfig) GetSecurityParams() *SecurityParams { method GetPort (line 970) | func (x *ServerConfig) GetPort() int32 { method GetAsyncServerThreads (line 977) | func (x *ServerConfig) GetAsyncServerThreads() int32 { method GetCoreLimit (line 984) | func (x *ServerConfig) GetCoreLimit() int32 { method GetPayloadConfig (line 991) | func (x *ServerConfig) GetPayloadConfig() *PayloadConfig { method GetCoreList (line 998) | func (x *ServerConfig) GetCoreList() []int32 { method GetOtherServerApi (line 1005) | func (x *ServerConfig) GetOtherServerApi() string { method GetThreadsPerCq (line 1012) | func (x *ServerConfig) GetThreadsPerCq() int32 { method GetResourceQuotaSize (line 1019) | func (x *ServerConfig) GetResourceQuotaSize() int32 { method GetChannelArgs (line 1026) | func (x *ServerConfig) GetChannelArgs() []*ChannelArg { method GetServerProcesses (line 1033) | func (x *ServerConfig) GetServerProcesses() int32 { type ServerArgs (line 1040) | type ServerArgs struct method Reset (line 1051) | func (x *ServerArgs) Reset() { method String (line 1058) | func (x *ServerArgs) String() string { method ProtoMessage (line 1062) | func (*ServerArgs) ProtoMessage() {} method ProtoReflect (line 1064) | func (x *ServerArgs) ProtoReflect() protoreflect.Message { method Descriptor (line 1077) | func (*ServerArgs) Descriptor() ([]byte, []int) { method GetArgtype (line 1081) | func (x *ServerArgs) GetArgtype() isServerArgs_Argtype { method GetSetup (line 1088) | func (x *ServerArgs) GetSetup() *ServerConfig { method GetMark (line 1097) | func (x *ServerArgs) GetMark() *Mark { type isServerArgs_Argtype (line 1106) | type isServerArgs_Argtype interface type ServerArgs_Setup (line 1110) | type ServerArgs_Setup struct method isServerArgs_Argtype (line 1118) | func (*ServerArgs_Setup) isServerArgs_Argtype() {} type ServerArgs_Mark (line 1114) | type ServerArgs_Mark struct method isServerArgs_Argtype (line 1120) | func (*ServerArgs_Mark) isServerArgs_Argtype() {} type ServerStatus (line 1122) | type ServerStatus struct method Reset (line 1133) | func (x *ServerStatus) Reset() { method String (line 1140) | func (x *ServerStatus) String() string { method ProtoMessage (line 1144) | func (*ServerStatus) ProtoMessage() {} method ProtoReflect (line 1146) | func (x *ServerStatus) ProtoReflect() protoreflect.Message { method Descriptor (line 1159) | func (*ServerStatus) Descriptor() ([]byte, []int) { method GetStats (line 1163) | func (x *ServerStatus) GetStats() *ServerStats { method GetPort (line 1170) | func (x *ServerStatus) GetPort() int32 { method GetCores (line 1177) | func (x *ServerStatus) GetCores() int32 { type CoreRequest (line 1184) | type CoreRequest struct method Reset (line 1190) | func (x *CoreRequest) Reset() { method String (line 1197) | func (x *CoreRequest) String() string { method ProtoMessage (line 1201) | func (*CoreRequest) ProtoMessage() {} method ProtoReflect (line 1203) | func (x *CoreRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1216) | func (*CoreRequest) Descriptor() ([]byte, []int) { type CoreResponse (line 1220) | type CoreResponse struct method Reset (line 1228) | func (x *CoreResponse) Reset() { method String (line 1235) | func (x *CoreResponse) String() string { method ProtoMessage (line 1239) | func (*CoreResponse) ProtoMessage() {} method ProtoReflect (line 1241) | func (x *CoreResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1254) | func (*CoreResponse) Descriptor() ([]byte, []int) { method GetCores (line 1258) | func (x *CoreResponse) GetCores() int32 { type Void (line 1265) | type Void struct method Reset (line 1271) | func (x *Void) Reset() { method String (line 1278) | func (x *Void) String() string { method ProtoMessage (line 1282) | func (*Void) ProtoMessage() {} method ProtoReflect (line 1284) | func (x *Void) ProtoReflect() protoreflect.Message { method Descriptor (line 1297) | func (*Void) Descriptor() ([]byte, []int) { type Scenario (line 1302) | type Scenario struct method Reset (line 1324) | func (x *Scenario) Reset() { method String (line 1331) | func (x *Scenario) String() string { method ProtoMessage (line 1335) | func (*Scenario) ProtoMessage() {} method ProtoReflect (line 1337) | func (x *Scenario) ProtoReflect() protoreflect.Message { method Descriptor (line 1350) | func (*Scenario) Descriptor() ([]byte, []int) { method GetName (line 1354) | func (x *Scenario) GetName() string { method GetClientConfig (line 1361) | func (x *Scenario) GetClientConfig() *ClientConfig { method GetNumClients (line 1368) | func (x *Scenario) GetNumClients() int32 { method GetServerConfig (line 1375) | func (x *Scenario) GetServerConfig() *ServerConfig { method GetNumServers (line 1382) | func (x *Scenario) GetNumServers() int32 { method GetWarmupSeconds (line 1389) | func (x *Scenario) GetWarmupSeconds() int32 { method GetBenchmarkSeconds (line 1396) | func (x *Scenario) GetBenchmarkSeconds() int32 { method GetSpawnLocalWorkerCount (line 1403) | func (x *Scenario) GetSpawnLocalWorkerCount() int32 { type Scenarios (line 1411) | type Scenarios struct method Reset (line 1418) | func (x *Scenarios) Reset() { method String (line 1425) | func (x *Scenarios) String() string { method ProtoMessage (line 1429) | func (*Scenarios) ProtoMessage() {} method ProtoReflect (line 1431) | func (x *Scenarios) ProtoReflect() protoreflect.Message { method Descriptor (line 1444) | func (*Scenarios) Descriptor() ([]byte, []int) { method GetScenarios (line 1448) | func (x *Scenarios) GetScenarios() []*Scenario { type ScenarioResultSummary (line 1457) | type ScenarioResultSummary struct method Reset (line 1500) | func (x *ScenarioResultSummary) Reset() { method String (line 1507) | func (x *ScenarioResultSummary) String() string { method ProtoMessage (line 1511) | func (*ScenarioResultSummary) ProtoMessage() {} method ProtoReflect (line 1513) | func (x *ScenarioResultSummary) ProtoReflect() protoreflect.Message { method Descriptor (line 1526) | func (*ScenarioResultSummary) Descriptor() ([]byte, []int) { method GetQps (line 1530) | func (x *ScenarioResultSummary) GetQps() float64 { method GetQpsPerServerCore (line 1537) | func (x *ScenarioResultSummary) GetQpsPerServerCore() float64 { method GetServerSystemTime (line 1544) | func (x *ScenarioResultSummary) GetServerSystemTime() float64 { method GetServerUserTime (line 1551) | func (x *ScenarioResultSummary) GetServerUserTime() float64 { method GetClientSystemTime (line 1558) | func (x *ScenarioResultSummary) GetClientSystemTime() float64 { method GetClientUserTime (line 1565) | func (x *ScenarioResultSummary) GetClientUserTime() float64 { method GetLatency_50 (line 1572) | func (x *ScenarioResultSummary) GetLatency_50() float64 { method GetLatency_90 (line 1579) | func (x *ScenarioResultSummary) GetLatency_90() float64 { method GetLatency_95 (line 1586) | func (x *ScenarioResultSummary) GetLatency_95() float64 { method GetLatency_99 (line 1593) | func (x *ScenarioResultSummary) GetLatency_99() float64 { method GetLatency_999 (line 1600) | func (x *ScenarioResultSummary) GetLatency_999() float64 { method GetServerCpuUsage (line 1607) | func (x *ScenarioResultSummary) GetServerCpuUsage() float64 { method GetSuccessfulRequestsPerSecond (line 1614) | func (x *ScenarioResultSummary) GetSuccessfulRequestsPerSecond() float... method GetFailedRequestsPerSecond (line 1621) | func (x *ScenarioResultSummary) GetFailedRequestsPerSecond() float64 { method GetClientPollsPerRequest (line 1628) | func (x *ScenarioResultSummary) GetClientPollsPerRequest() float64 { method GetServerPollsPerRequest (line 1635) | func (x *ScenarioResultSummary) GetServerPollsPerRequest() float64 { method GetServerQueriesPerCpuSec (line 1642) | func (x *ScenarioResultSummary) GetServerQueriesPerCpuSec() float64 { method GetClientQueriesPerCpuSec (line 1649) | func (x *ScenarioResultSummary) GetClientQueriesPerCpuSec() float64 { method GetStartTime (line 1656) | func (x *ScenarioResultSummary) GetStartTime() *timestamppb.Timestamp { method GetEndTime (line 1663) | func (x *ScenarioResultSummary) GetEndTime() *timestamppb.Timestamp { type ScenarioResult (line 1671) | type ScenarioResult struct method Reset (line 1694) | func (x *ScenarioResult) Reset() { method String (line 1701) | func (x *ScenarioResult) String() string { method ProtoMessage (line 1705) | func (*ScenarioResult) ProtoMessage() {} method ProtoReflect (line 1707) | func (x *ScenarioResult) ProtoReflect() protoreflect.Message { method Descriptor (line 1720) | func (*ScenarioResult) Descriptor() ([]byte, []int) { method GetScenario (line 1724) | func (x *ScenarioResult) GetScenario() *Scenario { method GetLatencies (line 1731) | func (x *ScenarioResult) GetLatencies() *HistogramData { method GetClientStats (line 1738) | func (x *ScenarioResult) GetClientStats() []*ClientStats { method GetServerStats (line 1745) | func (x *ScenarioResult) GetServerStats() []*ServerStats { method GetServerCores (line 1752) | func (x *ScenarioResult) GetServerCores() []int32 { method GetSummary (line 1759) | func (x *ScenarioResult) GetSummary() *ScenarioResultSummary { method GetClientSuccess (line 1766) | func (x *ScenarioResult) GetClientSuccess() []bool { method GetServerSuccess (line 1773) | func (x *ScenarioResult) GetServerSuccess() []bool { method GetRequestResults (line 1780) | func (x *ScenarioResult) GetRequestResults() []*RequestResultCount { constant file_grpc_testing_control_proto_rawDesc (line 1789) | file_grpc_testing_control_proto_rawDesc = "" + function file_grpc_testing_control_proto_rawDescGZIP (line 1950) | func file_grpc_testing_control_proto_rawDescGZIP() []byte { function init (line 2028) | func init() { file_grpc_testing_control_proto_init() } function file_grpc_testing_control_proto_init (line 2029) | func file_grpc_testing_control_proto_init() { FILE: interop/grpc_testing/core/stats.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Bucket (line 38) | type Bucket struct method Reset (line 46) | func (x *Bucket) Reset() { method String (line 53) | func (x *Bucket) String() string { method ProtoMessage (line 57) | func (*Bucket) ProtoMessage() {} method ProtoReflect (line 59) | func (x *Bucket) ProtoReflect() protoreflect.Message { method Descriptor (line 72) | func (*Bucket) Descriptor() ([]byte, []int) { method GetStart (line 76) | func (x *Bucket) GetStart() float64 { method GetCount (line 83) | func (x *Bucket) GetCount() uint64 { type Histogram (line 90) | type Histogram struct method Reset (line 97) | func (x *Histogram) Reset() { method String (line 104) | func (x *Histogram) String() string { method ProtoMessage (line 108) | func (*Histogram) ProtoMessage() {} method ProtoReflect (line 110) | func (x *Histogram) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*Histogram) Descriptor() ([]byte, []int) { method GetBuckets (line 127) | func (x *Histogram) GetBuckets() []*Bucket { type Metric (line 134) | type Metric struct method Reset (line 146) | func (x *Metric) Reset() { method String (line 153) | func (x *Metric) String() string { method ProtoMessage (line 157) | func (*Metric) ProtoMessage() {} method ProtoReflect (line 159) | func (x *Metric) ProtoReflect() protoreflect.Message { method Descriptor (line 172) | func (*Metric) Descriptor() ([]byte, []int) { method GetName (line 176) | func (x *Metric) GetName() string { method GetValue (line 183) | func (x *Metric) GetValue() isMetric_Value { method GetCount (line 190) | func (x *Metric) GetCount() uint64 { method GetHistogram (line 199) | func (x *Metric) GetHistogram() *Histogram { type isMetric_Value (line 208) | type isMetric_Value interface type Metric_Count (line 212) | type Metric_Count struct method isMetric_Value (line 220) | func (*Metric_Count) isMetric_Value() {} type Metric_Histogram (line 216) | type Metric_Histogram struct method isMetric_Value (line 222) | func (*Metric_Histogram) isMetric_Value() {} type Stats (line 224) | type Stats struct method Reset (line 231) | func (x *Stats) Reset() { method String (line 238) | func (x *Stats) String() string { method ProtoMessage (line 242) | func (*Stats) ProtoMessage() {} method ProtoReflect (line 244) | func (x *Stats) ProtoReflect() protoreflect.Message { method Descriptor (line 257) | func (*Stats) Descriptor() ([]byte, []int) { method GetMetrics (line 261) | func (x *Stats) GetMetrics() []*Metric { constant file_grpc_core_stats_proto_rawDesc (line 270) | file_grpc_core_stats_proto_rawDesc = "" + function file_grpc_core_stats_proto_rawDescGZIP (line 292) | func file_grpc_core_stats_proto_rawDescGZIP() []byte { function init (line 317) | func init() { file_grpc_core_stats_proto_init() } function file_grpc_core_stats_proto_init (line 318) | func file_grpc_core_stats_proto_init() { FILE: interop/grpc_testing/empty.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Empty (line 45) | type Empty struct method Reset (line 51) | func (x *Empty) Reset() { method String (line 58) | func (x *Empty) String() string { method ProtoMessage (line 62) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 64) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 77) | func (*Empty) Descriptor() ([]byte, []int) { constant file_grpc_testing_empty_proto_rawDesc (line 83) | file_grpc_testing_empty_proto_rawDesc = "" + function file_grpc_testing_empty_proto_rawDescGZIP (line 94) | func file_grpc_testing_empty_proto_rawDescGZIP() []byte { function init (line 113) | func init() { file_grpc_testing_empty_proto_init() } function file_grpc_testing_empty_proto_init (line 114) | func file_grpc_testing_empty_proto_init() { FILE: interop/grpc_testing/messages.pb.go constant _ (line 35) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 37) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type PayloadType (line 41) | type PayloadType method Enum (line 58) | func (x PayloadType) Enum() *PayloadType { method String (line 64) | func (x PayloadType) String() string { method Descriptor (line 68) | func (PayloadType) Descriptor() protoreflect.EnumDescriptor { method Type (line 72) | func (PayloadType) Type() protoreflect.EnumType { method Number (line 76) | func (x PayloadType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 81) | func (PayloadType) EnumDescriptor() ([]byte, []int) { constant PayloadType_COMPRESSABLE (line 45) | PayloadType_COMPRESSABLE PayloadType = 0 type GrpclbRouteType (line 91) | type GrpclbRouteType method Enum (line 116) | func (x GrpclbRouteType) Enum() *GrpclbRouteType { method String (line 122) | func (x GrpclbRouteType) String() string { method Descriptor (line 126) | func (GrpclbRouteType) Descriptor() protoreflect.EnumDescriptor { method Type (line 130) | func (GrpclbRouteType) Type() protoreflect.EnumType { method Number (line 134) | func (x GrpclbRouteType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 139) | func (GrpclbRouteType) EnumDescriptor() ([]byte, []int) { constant GrpclbRouteType_GRPCLB_ROUTE_TYPE_UNKNOWN (line 95) | GrpclbRouteType_GRPCLB_ROUTE_TYPE_UNKNOWN GrpclbRouteType = 0 constant GrpclbRouteType_GRPCLB_ROUTE_TYPE_FALLBACK (line 97) | GrpclbRouteType_GRPCLB_ROUTE_TYPE_FALLBACK GrpclbRouteType = 1 constant GrpclbRouteType_GRPCLB_ROUTE_TYPE_BACKEND (line 99) | GrpclbRouteType_GRPCLB_ROUTE_TYPE_BACKEND GrpclbRouteType = 2 type LoadBalancerStatsResponse_MetadataType (line 143) | type LoadBalancerStatsResponse_MetadataType method Enum (line 165) | func (x LoadBalancerStatsResponse_MetadataType) Enum() *LoadBalancerSt... method String (line 171) | func (x LoadBalancerStatsResponse_MetadataType) String() string { method Descriptor (line 175) | func (LoadBalancerStatsResponse_MetadataType) Descriptor() protoreflec... method Type (line 179) | func (LoadBalancerStatsResponse_MetadataType) Type() protoreflect.Enum... method Number (line 183) | func (x LoadBalancerStatsResponse_MetadataType) Number() protoreflect.... method EnumDescriptor (line 188) | func (LoadBalancerStatsResponse_MetadataType) EnumDescriptor() ([]byte... constant LoadBalancerStatsResponse_UNKNOWN (line 146) | LoadBalancerStatsResponse_UNKNOWN LoadBalancerStatsResponse_MetadataTyp... constant LoadBalancerStatsResponse_INITIAL (line 147) | LoadBalancerStatsResponse_INITIAL LoadBalancerStatsResponse_MetadataTyp... constant LoadBalancerStatsResponse_TRAILING (line 148) | LoadBalancerStatsResponse_TRAILING LoadBalancerStatsResponse_MetadataTyp... type ClientConfigureRequest_RpcType (line 193) | type ClientConfigureRequest_RpcType method Enum (line 212) | func (x ClientConfigureRequest_RpcType) Enum() *ClientConfigureRequest... method String (line 218) | func (x ClientConfigureRequest_RpcType) String() string { method Descriptor (line 222) | func (ClientConfigureRequest_RpcType) Descriptor() protoreflect.EnumDe... method Type (line 226) | func (ClientConfigureRequest_RpcType) Type() protoreflect.EnumType { method Number (line 230) | func (x ClientConfigureRequest_RpcType) Number() protoreflect.EnumNumb... method EnumDescriptor (line 235) | func (ClientConfigureRequest_RpcType) EnumDescriptor() ([]byte, []int) { constant ClientConfigureRequest_EMPTY_CALL (line 196) | ClientConfigureRequest_EMPTY_CALL ClientConfigureRequest_RpcType = 0 constant ClientConfigureRequest_UNARY_CALL (line 197) | ClientConfigureRequest_UNARY_CALL ClientConfigureRequest_RpcType = 1 type HookRequest_HookRequestCommand (line 239) | type HookRequest_HookRequestCommand method Enum (line 268) | func (x HookRequest_HookRequestCommand) Enum() *HookRequest_HookReques... method String (line 274) | func (x HookRequest_HookRequestCommand) String() string { method Descriptor (line 278) | func (HookRequest_HookRequestCommand) Descriptor() protoreflect.EnumDe... method Type (line 282) | func (HookRequest_HookRequestCommand) Type() protoreflect.EnumType { method Number (line 286) | func (x HookRequest_HookRequestCommand) Number() protoreflect.EnumNumb... method EnumDescriptor (line 291) | func (HookRequest_HookRequestCommand) EnumDescriptor() ([]byte, []int) { constant HookRequest_UNSPECIFIED (line 243) | HookRequest_UNSPECIFIED HookRequest_HookRequestCommand = 0 constant HookRequest_START (line 245) | HookRequest_START HookRequest_HookRequestCommand = 1 constant HookRequest_STOP (line 247) | HookRequest_STOP HookRequest_HookRequestCommand = 2 constant HookRequest_RETURN (line 249) | HookRequest_RETURN HookRequest_HookRequestCommand = 3 type BoolValue (line 298) | type BoolValue struct method Reset (line 306) | func (x *BoolValue) Reset() { method String (line 313) | func (x *BoolValue) String() string { method ProtoMessage (line 317) | func (*BoolValue) ProtoMessage() {} method ProtoReflect (line 319) | func (x *BoolValue) ProtoReflect() protoreflect.Message { method Descriptor (line 332) | func (*BoolValue) Descriptor() ([]byte, []int) { method GetValue (line 336) | func (x *BoolValue) GetValue() bool { type Payload (line 344) | type Payload struct method Reset (line 354) | func (x *Payload) Reset() { method String (line 361) | func (x *Payload) String() string { method ProtoMessage (line 365) | func (*Payload) ProtoMessage() {} method ProtoReflect (line 367) | func (x *Payload) ProtoReflect() protoreflect.Message { method Descriptor (line 380) | func (*Payload) Descriptor() ([]byte, []int) { method GetType (line 384) | func (x *Payload) GetType() PayloadType { method GetBody (line 391) | func (x *Payload) GetBody() []byte { type EchoStatus (line 400) | type EchoStatus struct method Reset (line 408) | func (x *EchoStatus) Reset() { method String (line 415) | func (x *EchoStatus) String() string { method ProtoMessage (line 419) | func (*EchoStatus) ProtoMessage() {} method ProtoReflect (line 421) | func (x *EchoStatus) ProtoReflect() protoreflect.Message { method Descriptor (line 434) | func (*EchoStatus) Descriptor() ([]byte, []int) { method GetCode (line 438) | func (x *EchoStatus) GetCode() int32 { method GetMessage (line 445) | func (x *EchoStatus) GetMessage() string { type SimpleRequest (line 453) | type SimpleRequest struct method Reset (line 485) | func (x *SimpleRequest) Reset() { method String (line 492) | func (x *SimpleRequest) String() string { method ProtoMessage (line 496) | func (*SimpleRequest) ProtoMessage() {} method ProtoReflect (line 498) | func (x *SimpleRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 511) | func (*SimpleRequest) Descriptor() ([]byte, []int) { method GetResponseType (line 515) | func (x *SimpleRequest) GetResponseType() PayloadType { method GetResponseSize (line 522) | func (x *SimpleRequest) GetResponseSize() int32 { method GetPayload (line 529) | func (x *SimpleRequest) GetPayload() *Payload { method GetFillUsername (line 536) | func (x *SimpleRequest) GetFillUsername() bool { method GetFillOauthScope (line 543) | func (x *SimpleRequest) GetFillOauthScope() bool { method GetResponseCompressed (line 550) | func (x *SimpleRequest) GetResponseCompressed() *BoolValue { method GetResponseStatus (line 557) | func (x *SimpleRequest) GetResponseStatus() *EchoStatus { method GetExpectCompressed (line 564) | func (x *SimpleRequest) GetExpectCompressed() *BoolValue { method GetFillServerId (line 571) | func (x *SimpleRequest) GetFillServerId() bool { method GetFillGrpclbRouteType (line 578) | func (x *SimpleRequest) GetFillGrpclbRouteType() bool { method GetOrcaPerQueryReport (line 585) | func (x *SimpleRequest) GetOrcaPerQueryReport() *TestOrcaReport { type SimpleResponse (line 593) | type SimpleResponse struct method Reset (line 613) | func (x *SimpleResponse) Reset() { method String (line 620) | func (x *SimpleResponse) String() string { method ProtoMessage (line 624) | func (*SimpleResponse) ProtoMessage() {} method ProtoReflect (line 626) | func (x *SimpleResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 639) | func (*SimpleResponse) Descriptor() ([]byte, []int) { method GetPayload (line 643) | func (x *SimpleResponse) GetPayload() *Payload { method GetUsername (line 650) | func (x *SimpleResponse) GetUsername() string { method GetOauthScope (line 657) | func (x *SimpleResponse) GetOauthScope() string { method GetServerId (line 664) | func (x *SimpleResponse) GetServerId() string { method GetGrpclbRouteType (line 671) | func (x *SimpleResponse) GetGrpclbRouteType() GrpclbRouteType { method GetHostname (line 678) | func (x *SimpleResponse) GetHostname() string { type StreamingInputCallRequest (line 686) | type StreamingInputCallRequest struct method Reset (line 699) | func (x *StreamingInputCallRequest) Reset() { method String (line 706) | func (x *StreamingInputCallRequest) String() string { method ProtoMessage (line 710) | func (*StreamingInputCallRequest) ProtoMessage() {} method ProtoReflect (line 712) | func (x *StreamingInputCallRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 725) | func (*StreamingInputCallRequest) Descriptor() ([]byte, []int) { method GetPayload (line 729) | func (x *StreamingInputCallRequest) GetPayload() *Payload { method GetExpectCompressed (line 736) | func (x *StreamingInputCallRequest) GetExpectCompressed() *BoolValue { type StreamingInputCallResponse (line 744) | type StreamingInputCallResponse struct method Reset (line 752) | func (x *StreamingInputCallResponse) Reset() { method String (line 759) | func (x *StreamingInputCallResponse) String() string { method ProtoMessage (line 763) | func (*StreamingInputCallResponse) ProtoMessage() {} method ProtoReflect (line 765) | func (x *StreamingInputCallResponse) ProtoReflect() protoreflect.Messa... method Descriptor (line 778) | func (*StreamingInputCallResponse) Descriptor() ([]byte, []int) { method GetAggregatedPayloadSize (line 782) | func (x *StreamingInputCallResponse) GetAggregatedPayloadSize() int32 { type ResponseParameters (line 790) | type ResponseParameters struct method Reset (line 806) | func (x *ResponseParameters) Reset() { method String (line 813) | func (x *ResponseParameters) String() string { method ProtoMessage (line 817) | func (*ResponseParameters) ProtoMessage() {} method ProtoReflect (line 819) | func (x *ResponseParameters) ProtoReflect() protoreflect.Message { method Descriptor (line 832) | func (*ResponseParameters) Descriptor() ([]byte, []int) { method GetSize (line 836) | func (x *ResponseParameters) GetSize() int32 { method GetIntervalUs (line 843) | func (x *ResponseParameters) GetIntervalUs() int32 { method GetCompressed (line 850) | func (x *ResponseParameters) GetCompressed() *BoolValue { type StreamingOutputCallRequest (line 858) | type StreamingOutputCallRequest struct method Reset (line 877) | func (x *StreamingOutputCallRequest) Reset() { method String (line 884) | func (x *StreamingOutputCallRequest) String() string { method ProtoMessage (line 888) | func (*StreamingOutputCallRequest) ProtoMessage() {} method ProtoReflect (line 890) | func (x *StreamingOutputCallRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 903) | func (*StreamingOutputCallRequest) Descriptor() ([]byte, []int) { method GetResponseType (line 907) | func (x *StreamingOutputCallRequest) GetResponseType() PayloadType { method GetResponseParameters (line 914) | func (x *StreamingOutputCallRequest) GetResponseParameters() []*Respon... method GetPayload (line 921) | func (x *StreamingOutputCallRequest) GetPayload() *Payload { method GetResponseStatus (line 928) | func (x *StreamingOutputCallRequest) GetResponseStatus() *EchoStatus { method GetOrcaOobReport (line 935) | func (x *StreamingOutputCallRequest) GetOrcaOobReport() *TestOrcaReport { type StreamingOutputCallResponse (line 943) | type StreamingOutputCallResponse struct method Reset (line 951) | func (x *StreamingOutputCallResponse) Reset() { method String (line 958) | func (x *StreamingOutputCallResponse) String() string { method ProtoMessage (line 962) | func (*StreamingOutputCallResponse) ProtoMessage() {} method ProtoReflect (line 964) | func (x *StreamingOutputCallResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 977) | func (*StreamingOutputCallResponse) Descriptor() ([]byte, []int) { method GetPayload (line 981) | func (x *StreamingOutputCallResponse) GetPayload() *Payload { type ReconnectParams (line 990) | type ReconnectParams struct method Reset (line 997) | func (x *ReconnectParams) Reset() { method String (line 1004) | func (x *ReconnectParams) String() string { method ProtoMessage (line 1008) | func (*ReconnectParams) ProtoMessage() {} method ProtoReflect (line 1010) | func (x *ReconnectParams) ProtoReflect() protoreflect.Message { method Descriptor (line 1023) | func (*ReconnectParams) Descriptor() ([]byte, []int) { method GetMaxReconnectBackoffMs (line 1027) | func (x *ReconnectParams) GetMaxReconnectBackoffMs() int32 { type ReconnectInfo (line 1037) | type ReconnectInfo struct method Reset (line 1045) | func (x *ReconnectInfo) Reset() { method String (line 1052) | func (x *ReconnectInfo) String() string { method ProtoMessage (line 1056) | func (*ReconnectInfo) ProtoMessage() {} method ProtoReflect (line 1058) | func (x *ReconnectInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 1071) | func (*ReconnectInfo) Descriptor() ([]byte, []int) { method GetPassed (line 1075) | func (x *ReconnectInfo) GetPassed() bool { method GetBackoffMs (line 1082) | func (x *ReconnectInfo) GetBackoffMs() []int32 { type LoadBalancerStatsRequest (line 1089) | type LoadBalancerStatsRequest struct method Reset (line 1103) | func (x *LoadBalancerStatsRequest) Reset() { method String (line 1110) | func (x *LoadBalancerStatsRequest) String() string { method ProtoMessage (line 1114) | func (*LoadBalancerStatsRequest) ProtoMessage() {} method ProtoReflect (line 1116) | func (x *LoadBalancerStatsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1129) | func (*LoadBalancerStatsRequest) Descriptor() ([]byte, []int) { method GetNumRpcs (line 1133) | func (x *LoadBalancerStatsRequest) GetNumRpcs() int32 { method GetTimeoutSec (line 1140) | func (x *LoadBalancerStatsRequest) GetTimeoutSec() int32 { method GetMetadataKeys (line 1147) | func (x *LoadBalancerStatsRequest) GetMetadataKeys() []string { type LoadBalancerStatsResponse (line 1154) | type LoadBalancerStatsResponse struct method Reset (line 1167) | func (x *LoadBalancerStatsResponse) Reset() { method String (line 1174) | func (x *LoadBalancerStatsResponse) String() string { method ProtoMessage (line 1178) | func (*LoadBalancerStatsResponse) ProtoMessage() {} method ProtoReflect (line 1180) | func (x *LoadBalancerStatsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1193) | func (*LoadBalancerStatsResponse) Descriptor() ([]byte, []int) { method GetRpcsByPeer (line 1197) | func (x *LoadBalancerStatsResponse) GetRpcsByPeer() map[string]int32 { method GetNumFailures (line 1204) | func (x *LoadBalancerStatsResponse) GetNumFailures() int32 { method GetRpcsByMethod (line 1211) | func (x *LoadBalancerStatsResponse) GetRpcsByMethod() map[string]*Load... method GetMetadatasByPeer (line 1218) | func (x *LoadBalancerStatsResponse) GetMetadatasByPeer() map[string]*L... type LoadBalancerAccumulatedStatsRequest (line 1226) | type LoadBalancerAccumulatedStatsRequest struct method Reset (line 1232) | func (x *LoadBalancerAccumulatedStatsRequest) Reset() { method String (line 1239) | func (x *LoadBalancerAccumulatedStatsRequest) String() string { method ProtoMessage (line 1243) | func (*LoadBalancerAccumulatedStatsRequest) ProtoMessage() {} method ProtoReflect (line 1245) | func (x *LoadBalancerAccumulatedStatsRequest) ProtoReflect() protorefl... method Descriptor (line 1258) | func (*LoadBalancerAccumulatedStatsRequest) Descriptor() ([]byte, []in... type LoadBalancerAccumulatedStatsResponse (line 1263) | type LoadBalancerAccumulatedStatsResponse struct method Reset (line 1287) | func (x *LoadBalancerAccumulatedStatsResponse) Reset() { method String (line 1294) | func (x *LoadBalancerAccumulatedStatsResponse) String() string { method ProtoMessage (line 1298) | func (*LoadBalancerAccumulatedStatsResponse) ProtoMessage() {} method ProtoReflect (line 1300) | func (x *LoadBalancerAccumulatedStatsResponse) ProtoReflect() protoref... method Descriptor (line 1313) | func (*LoadBalancerAccumulatedStatsResponse) Descriptor() ([]byte, []i... method GetNumRpcsStartedByMethod (line 1318) | func (x *LoadBalancerAccumulatedStatsResponse) GetNumRpcsStartedByMeth... method GetNumRpcsSucceededByMethod (line 1326) | func (x *LoadBalancerAccumulatedStatsResponse) GetNumRpcsSucceededByMe... method GetNumRpcsFailedByMethod (line 1334) | func (x *LoadBalancerAccumulatedStatsResponse) GetNumRpcsFailedByMetho... method GetStatsPerMethod (line 1341) | func (x *LoadBalancerAccumulatedStatsResponse) GetStatsPerMethod() map... type ClientConfigureRequest (line 1349) | type ClientConfigureRequest struct method Reset (line 1362) | func (x *ClientConfigureRequest) Reset() { method String (line 1369) | func (x *ClientConfigureRequest) String() string { method ProtoMessage (line 1373) | func (*ClientConfigureRequest) ProtoMessage() {} method ProtoReflect (line 1375) | func (x *ClientConfigureRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1388) | func (*ClientConfigureRequest) Descriptor() ([]byte, []int) { method GetTypes (line 1392) | func (x *ClientConfigureRequest) GetTypes() []ClientConfigureRequest_R... method GetMetadata (line 1399) | func (x *ClientConfigureRequest) GetMetadata() []*ClientConfigureReque... method GetTimeoutSec (line 1406) | func (x *ClientConfigureRequest) GetTimeoutSec() int32 { type ClientConfigureResponse (line 1414) | type ClientConfigureResponse struct method Reset (line 1420) | func (x *ClientConfigureResponse) Reset() { method String (line 1427) | func (x *ClientConfigureResponse) String() string { method ProtoMessage (line 1431) | func (*ClientConfigureResponse) ProtoMessage() {} method ProtoReflect (line 1433) | func (x *ClientConfigureResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1446) | func (*ClientConfigureResponse) Descriptor() ([]byte, []int) { type MemorySize (line 1450) | type MemorySize struct method Reset (line 1457) | func (x *MemorySize) Reset() { method String (line 1464) | func (x *MemorySize) String() string { method ProtoMessage (line 1468) | func (*MemorySize) ProtoMessage() {} method ProtoReflect (line 1470) | func (x *MemorySize) ProtoReflect() protoreflect.Message { method Descriptor (line 1483) | func (*MemorySize) Descriptor() ([]byte, []int) { method GetRss (line 1487) | func (x *MemorySize) GetRss() int64 { type TestOrcaReport (line 1497) | type TestOrcaReport struct method Reset (line 1507) | func (x *TestOrcaReport) Reset() { method String (line 1514) | func (x *TestOrcaReport) String() string { method ProtoMessage (line 1518) | func (*TestOrcaReport) ProtoMessage() {} method ProtoReflect (line 1520) | func (x *TestOrcaReport) ProtoReflect() protoreflect.Message { method Descriptor (line 1533) | func (*TestOrcaReport) Descriptor() ([]byte, []int) { method GetCpuUtilization (line 1537) | func (x *TestOrcaReport) GetCpuUtilization() float64 { method GetMemoryUtilization (line 1544) | func (x *TestOrcaReport) GetMemoryUtilization() float64 { method GetRequestCost (line 1551) | func (x *TestOrcaReport) GetRequestCost() map[string]float64 { method GetUtilization (line 1558) | func (x *TestOrcaReport) GetUtilization() map[string]float64 { type SetReturnStatusRequest (line 1566) | type SetReturnStatusRequest struct method Reset (line 1574) | func (x *SetReturnStatusRequest) Reset() { method String (line 1581) | func (x *SetReturnStatusRequest) String() string { method ProtoMessage (line 1585) | func (*SetReturnStatusRequest) ProtoMessage() {} method ProtoReflect (line 1587) | func (x *SetReturnStatusRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1600) | func (*SetReturnStatusRequest) Descriptor() ([]byte, []int) { method GetGrpcCodeToReturn (line 1604) | func (x *SetReturnStatusRequest) GetGrpcCodeToReturn() int32 { method GetGrpcStatusDescription (line 1611) | func (x *SetReturnStatusRequest) GetGrpcStatusDescription() string { type HookRequest (line 1618) | type HookRequest struct method Reset (line 1629) | func (x *HookRequest) Reset() { method String (line 1636) | func (x *HookRequest) String() string { method ProtoMessage (line 1640) | func (*HookRequest) ProtoMessage() {} method ProtoReflect (line 1642) | func (x *HookRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1655) | func (*HookRequest) Descriptor() ([]byte, []int) { method GetCommand (line 1659) | func (x *HookRequest) GetCommand() HookRequest_HookRequestCommand { method GetGrpcCodeToReturn (line 1666) | func (x *HookRequest) GetGrpcCodeToReturn() int32 { method GetGrpcStatusDescription (line 1673) | func (x *HookRequest) GetGrpcStatusDescription() string { method GetServerPort (line 1680) | func (x *HookRequest) GetServerPort() int32 { type HookResponse (line 1687) | type HookResponse struct method Reset (line 1693) | func (x *HookResponse) Reset() { method String (line 1700) | func (x *HookResponse) String() string { method ProtoMessage (line 1704) | func (*HookResponse) ProtoMessage() {} method ProtoReflect (line 1706) | func (x *HookResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1719) | func (*HookResponse) Descriptor() ([]byte, []int) { type LoadBalancerStatsResponse_MetadataEntry (line 1723) | type LoadBalancerStatsResponse_MetadataEntry struct method Reset (line 1736) | func (x *LoadBalancerStatsResponse_MetadataEntry) Reset() { method String (line 1743) | func (x *LoadBalancerStatsResponse_MetadataEntry) String() string { method ProtoMessage (line 1747) | func (*LoadBalancerStatsResponse_MetadataEntry) ProtoMessage() {} method ProtoReflect (line 1749) | func (x *LoadBalancerStatsResponse_MetadataEntry) ProtoReflect() proto... method Descriptor (line 1762) | func (*LoadBalancerStatsResponse_MetadataEntry) Descriptor() ([]byte, ... method GetKey (line 1766) | func (x *LoadBalancerStatsResponse_MetadataEntry) GetKey() string { method GetValue (line 1773) | func (x *LoadBalancerStatsResponse_MetadataEntry) GetValue() string { method GetType (line 1780) | func (x *LoadBalancerStatsResponse_MetadataEntry) GetType() LoadBalanc... type LoadBalancerStatsResponse_RpcMetadata (line 1787) | type LoadBalancerStatsResponse_RpcMetadata struct method Reset (line 1796) | func (x *LoadBalancerStatsResponse_RpcMetadata) Reset() { method String (line 1803) | func (x *LoadBalancerStatsResponse_RpcMetadata) String() string { method ProtoMessage (line 1807) | func (*LoadBalancerStatsResponse_RpcMetadata) ProtoMessage() {} method ProtoReflect (line 1809) | func (x *LoadBalancerStatsResponse_RpcMetadata) ProtoReflect() protore... method Descriptor (line 1822) | func (*LoadBalancerStatsResponse_RpcMetadata) Descriptor() ([]byte, []... method GetMetadata (line 1826) | func (x *LoadBalancerStatsResponse_RpcMetadata) GetMetadata() []*LoadB... type LoadBalancerStatsResponse_MetadataByPeer (line 1833) | type LoadBalancerStatsResponse_MetadataByPeer struct method Reset (line 1841) | func (x *LoadBalancerStatsResponse_MetadataByPeer) Reset() { method String (line 1848) | func (x *LoadBalancerStatsResponse_MetadataByPeer) String() string { method ProtoMessage (line 1852) | func (*LoadBalancerStatsResponse_MetadataByPeer) ProtoMessage() {} method ProtoReflect (line 1854) | func (x *LoadBalancerStatsResponse_MetadataByPeer) ProtoReflect() prot... method Descriptor (line 1867) | func (*LoadBalancerStatsResponse_MetadataByPeer) Descriptor() ([]byte,... method GetRpcMetadata (line 1871) | func (x *LoadBalancerStatsResponse_MetadataByPeer) GetRpcMetadata() []... type LoadBalancerStatsResponse_RpcsByPeer (line 1878) | type LoadBalancerStatsResponse_RpcsByPeer struct method Reset (line 1886) | func (x *LoadBalancerStatsResponse_RpcsByPeer) Reset() { method String (line 1893) | func (x *LoadBalancerStatsResponse_RpcsByPeer) String() string { method ProtoMessage (line 1897) | func (*LoadBalancerStatsResponse_RpcsByPeer) ProtoMessage() {} method ProtoReflect (line 1899) | func (x *LoadBalancerStatsResponse_RpcsByPeer) ProtoReflect() protoref... method Descriptor (line 1912) | func (*LoadBalancerStatsResponse_RpcsByPeer) Descriptor() ([]byte, []i... method GetRpcsByPeer (line 1916) | func (x *LoadBalancerStatsResponse_RpcsByPeer) GetRpcsByPeer() map[str... type LoadBalancerAccumulatedStatsResponse_MethodStats (line 1923) | type LoadBalancerAccumulatedStatsResponse_MethodStats struct method Reset (line 1934) | func (x *LoadBalancerAccumulatedStatsResponse_MethodStats) Reset() { method String (line 1941) | func (x *LoadBalancerAccumulatedStatsResponse_MethodStats) String() st... method ProtoMessage (line 1945) | func (*LoadBalancerAccumulatedStatsResponse_MethodStats) ProtoMessage(... method ProtoReflect (line 1947) | func (x *LoadBalancerAccumulatedStatsResponse_MethodStats) ProtoReflec... method Descriptor (line 1960) | func (*LoadBalancerAccumulatedStatsResponse_MethodStats) Descriptor() ... method GetRpcsStarted (line 1964) | func (x *LoadBalancerAccumulatedStatsResponse_MethodStats) GetRpcsStar... method GetResult (line 1971) | func (x *LoadBalancerAccumulatedStatsResponse_MethodStats) GetResult()... type ClientConfigureRequest_Metadata (line 1979) | type ClientConfigureRequest_Metadata struct method Reset (line 1988) | func (x *ClientConfigureRequest_Metadata) Reset() { method String (line 1995) | func (x *ClientConfigureRequest_Metadata) String() string { method ProtoMessage (line 1999) | func (*ClientConfigureRequest_Metadata) ProtoMessage() {} method ProtoReflect (line 2001) | func (x *ClientConfigureRequest_Metadata) ProtoReflect() protoreflect.... method Descriptor (line 2014) | func (*ClientConfigureRequest_Metadata) Descriptor() ([]byte, []int) { method GetType (line 2018) | func (x *ClientConfigureRequest_Metadata) GetType() ClientConfigureReq... method GetKey (line 2025) | func (x *ClientConfigureRequest_Metadata) GetKey() string { method GetValue (line 2032) | func (x *ClientConfigureRequest_Metadata) GetValue() string { constant file_grpc_testing_messages_proto_rawDesc (line 2041) | file_grpc_testing_messages_proto_rawDesc = "" + function file_grpc_testing_messages_proto_rawDescGZIP (line 2221) | func file_grpc_testing_messages_proto_rawDescGZIP() []byte { function init (line 2324) | func init() { file_grpc_testing_messages_proto_init() } function file_grpc_testing_messages_proto_init (line 2325) | func file_grpc_testing_messages_proto_init() { FILE: interop/grpc_testing/payloads.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ByteBufferParams (line 38) | type ByteBufferParams struct method Reset (line 46) | func (x *ByteBufferParams) Reset() { method String (line 53) | func (x *ByteBufferParams) String() string { method ProtoMessage (line 57) | func (*ByteBufferParams) ProtoMessage() {} method ProtoReflect (line 59) | func (x *ByteBufferParams) ProtoReflect() protoreflect.Message { method Descriptor (line 72) | func (*ByteBufferParams) Descriptor() ([]byte, []int) { method GetReqSize (line 76) | func (x *ByteBufferParams) GetReqSize() int32 { method GetRespSize (line 83) | func (x *ByteBufferParams) GetRespSize() int32 { type SimpleProtoParams (line 90) | type SimpleProtoParams struct method Reset (line 98) | func (x *SimpleProtoParams) Reset() { method String (line 105) | func (x *SimpleProtoParams) String() string { method ProtoMessage (line 109) | func (*SimpleProtoParams) ProtoMessage() {} method ProtoReflect (line 111) | func (x *SimpleProtoParams) ProtoReflect() protoreflect.Message { method Descriptor (line 124) | func (*SimpleProtoParams) Descriptor() ([]byte, []int) { method GetReqSize (line 128) | func (x *SimpleProtoParams) GetReqSize() int32 { method GetRespSize (line 135) | func (x *SimpleProtoParams) GetRespSize() int32 { type ComplexProtoParams (line 142) | type ComplexProtoParams struct method Reset (line 148) | func (x *ComplexProtoParams) Reset() { method String (line 155) | func (x *ComplexProtoParams) String() string { method ProtoMessage (line 159) | func (*ComplexProtoParams) ProtoMessage() {} method ProtoReflect (line 161) | func (x *ComplexProtoParams) ProtoReflect() protoreflect.Message { method Descriptor (line 174) | func (*ComplexProtoParams) Descriptor() ([]byte, []int) { type PayloadConfig (line 178) | type PayloadConfig struct method Reset (line 190) | func (x *PayloadConfig) Reset() { method String (line 197) | func (x *PayloadConfig) String() string { method ProtoMessage (line 201) | func (*PayloadConfig) ProtoMessage() {} method ProtoReflect (line 203) | func (x *PayloadConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 216) | func (*PayloadConfig) Descriptor() ([]byte, []int) { method GetPayload (line 220) | func (x *PayloadConfig) GetPayload() isPayloadConfig_Payload { method GetBytebufParams (line 227) | func (x *PayloadConfig) GetBytebufParams() *ByteBufferParams { method GetSimpleParams (line 236) | func (x *PayloadConfig) GetSimpleParams() *SimpleProtoParams { method GetComplexParams (line 245) | func (x *PayloadConfig) GetComplexParams() *ComplexProtoParams { type isPayloadConfig_Payload (line 254) | type isPayloadConfig_Payload interface type PayloadConfig_BytebufParams (line 258) | type PayloadConfig_BytebufParams struct method isPayloadConfig_Payload (line 270) | func (*PayloadConfig_BytebufParams) isPayloadConfig_Payload() {} type PayloadConfig_SimpleParams (line 262) | type PayloadConfig_SimpleParams struct method isPayloadConfig_Payload (line 272) | func (*PayloadConfig_SimpleParams) isPayloadConfig_Payload() {} type PayloadConfig_ComplexParams (line 266) | type PayloadConfig_ComplexParams struct method isPayloadConfig_Payload (line 274) | func (*PayloadConfig_ComplexParams) isPayloadConfig_Payload() {} constant file_grpc_testing_payloads_proto_rawDesc (line 278) | file_grpc_testing_payloads_proto_rawDesc = "" + function file_grpc_testing_payloads_proto_rawDescGZIP (line 300) | func file_grpc_testing_payloads_proto_rawDescGZIP() []byte { function init (line 325) | func init() { file_grpc_testing_payloads_proto_init() } function file_grpc_testing_payloads_proto_init (line 326) | func file_grpc_testing_payloads_proto_init() { FILE: interop/grpc_testing/report_qps_scenario_service.pb.go constant _ (line 35) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 37) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant file_grpc_testing_report_qps_scenario_service_proto_rawDesc (line 42) | file_grpc_testing_report_qps_scenario_service_proto_rawDesc = "" + function init (line 63) | func init() { file_grpc_testing_report_qps_scenario_service_proto_init() } function file_grpc_testing_report_qps_scenario_service_proto_init (line 64) | func file_grpc_testing_report_qps_scenario_service_proto_init() { FILE: interop/grpc_testing/report_qps_scenario_service_grpc.pb.go constant _ (line 36) | _ = grpc.SupportPackageIsVersion9 constant ReportQpsScenarioService_ReportScenario_FullMethodName (line 39) | ReportQpsScenarioService_ReportScenario_FullMethodName = "/grpc.testing.... type ReportQpsScenarioServiceClient (line 45) | type ReportQpsScenarioServiceClient interface type reportQpsScenarioServiceClient (line 50) | type reportQpsScenarioServiceClient struct method ReportScenario (line 58) | func (c *reportQpsScenarioServiceClient) ReportScenario(ctx context.Co... function NewReportQpsScenarioServiceClient (line 54) | func NewReportQpsScenarioServiceClient(cc grpc.ClientConnInterface) Repo... type ReportQpsScenarioServiceServer (line 71) | type ReportQpsScenarioServiceServer interface type UnimplementedReportQpsScenarioServiceServer (line 82) | type UnimplementedReportQpsScenarioServiceServer struct method ReportScenario (line 84) | func (UnimplementedReportQpsScenarioServiceServer) ReportScenario(cont... method mustEmbedUnimplementedReportQpsScenarioServiceServer (line 87) | func (UnimplementedReportQpsScenarioServiceServer) mustEmbedUnimplemen... method testEmbeddedByValue (line 89) | func (UnimplementedReportQpsScenarioServiceServer) testEmbeddedByValue... type UnsafeReportQpsScenarioServiceServer (line 94) | type UnsafeReportQpsScenarioServiceServer interface function RegisterReportQpsScenarioServiceServer (line 98) | func RegisterReportQpsScenarioServiceServer(s grpc.ServiceRegistrar, srv... function _ReportQpsScenarioService_ReportScenario_Handler (line 109) | func _ReportQpsScenarioService_ReportScenario_Handler(srv interface{}, c... FILE: interop/grpc_testing/stats.pb.go constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ServerStats (line 39) | type ServerStats struct method Reset (line 60) | func (x *ServerStats) Reset() { method String (line 67) | func (x *ServerStats) String() string { method ProtoMessage (line 71) | func (*ServerStats) ProtoMessage() {} method ProtoReflect (line 73) | func (x *ServerStats) ProtoReflect() protoreflect.Message { method Descriptor (line 86) | func (*ServerStats) Descriptor() ([]byte, []int) { method GetTimeElapsed (line 90) | func (x *ServerStats) GetTimeElapsed() float64 { method GetTimeUser (line 97) | func (x *ServerStats) GetTimeUser() float64 { method GetTimeSystem (line 104) | func (x *ServerStats) GetTimeSystem() float64 { method GetTotalCpuTime (line 111) | func (x *ServerStats) GetTotalCpuTime() uint64 { method GetIdleCpuTime (line 118) | func (x *ServerStats) GetIdleCpuTime() uint64 { method GetCqPollCount (line 125) | func (x *ServerStats) GetCqPollCount() uint64 { method GetCoreStats (line 132) | func (x *ServerStats) GetCoreStats() *core.Stats { type HistogramParams (line 140) | type HistogramParams struct method Reset (line 148) | func (x *HistogramParams) Reset() { method String (line 155) | func (x *HistogramParams) String() string { method ProtoMessage (line 159) | func (*HistogramParams) ProtoMessage() {} method ProtoReflect (line 161) | func (x *HistogramParams) ProtoReflect() protoreflect.Message { method Descriptor (line 174) | func (*HistogramParams) Descriptor() ([]byte, []int) { method GetResolution (line 178) | func (x *HistogramParams) GetResolution() float64 { method GetMaxPossible (line 185) | func (x *HistogramParams) GetMaxPossible() float64 { type HistogramData (line 193) | type HistogramData struct method Reset (line 205) | func (x *HistogramData) Reset() { method String (line 212) | func (x *HistogramData) String() string { method ProtoMessage (line 216) | func (*HistogramData) ProtoMessage() {} method ProtoReflect (line 218) | func (x *HistogramData) ProtoReflect() protoreflect.Message { method Descriptor (line 231) | func (*HistogramData) Descriptor() ([]byte, []int) { method GetBucket (line 235) | func (x *HistogramData) GetBucket() []uint32 { method GetMinSeen (line 242) | func (x *HistogramData) GetMinSeen() float64 { method GetMaxSeen (line 249) | func (x *HistogramData) GetMaxSeen() float64 { method GetSum (line 256) | func (x *HistogramData) GetSum() float64 { method GetSumOfSquares (line 263) | func (x *HistogramData) GetSumOfSquares() float64 { method GetCount (line 270) | func (x *HistogramData) GetCount() float64 { type RequestResultCount (line 277) | type RequestResultCount struct method Reset (line 285) | func (x *RequestResultCount) Reset() { method String (line 292) | func (x *RequestResultCount) String() string { method ProtoMessage (line 296) | func (*RequestResultCount) ProtoMessage() {} method ProtoReflect (line 298) | func (x *RequestResultCount) ProtoReflect() protoreflect.Message { method Descriptor (line 311) | func (*RequestResultCount) Descriptor() ([]byte, []int) { method GetStatusCode (line 315) | func (x *RequestResultCount) GetStatusCode() int32 { method GetCount (line 322) | func (x *RequestResultCount) GetCount() int64 { type ClientStats (line 329) | type ClientStats struct method Reset (line 347) | func (x *ClientStats) Reset() { method String (line 354) | func (x *ClientStats) String() string { method ProtoMessage (line 358) | func (*ClientStats) ProtoMessage() {} method ProtoReflect (line 360) | func (x *ClientStats) ProtoReflect() protoreflect.Message { method Descriptor (line 373) | func (*ClientStats) Descriptor() ([]byte, []int) { method GetLatencies (line 377) | func (x *ClientStats) GetLatencies() *HistogramData { method GetTimeElapsed (line 384) | func (x *ClientStats) GetTimeElapsed() float64 { method GetTimeUser (line 391) | func (x *ClientStats) GetTimeUser() float64 { method GetTimeSystem (line 398) | func (x *ClientStats) GetTimeSystem() float64 { method GetRequestResults (line 405) | func (x *ClientStats) GetRequestResults() []*RequestResultCount { method GetCqPollCount (line 412) | func (x *ClientStats) GetCqPollCount() uint64 { method GetCoreStats (line 419) | func (x *ClientStats) GetCoreStats() *core.Stats { constant file_grpc_testing_stats_proto_rawDesc (line 428) | file_grpc_testing_stats_proto_rawDesc = "" + function file_grpc_testing_stats_proto_rawDescGZIP (line 475) | func file_grpc_testing_stats_proto_rawDescGZIP() []byte { function init (line 503) | func init() { file_grpc_testing_stats_proto_init() } function file_grpc_testing_stats_proto_init (line 504) | func file_grpc_testing_stats_proto_init() { FILE: interop/grpc_testing/test.pb.go constant _ (line 35) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 37) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant file_grpc_testing_test_proto_rawDesc (line 42) | file_grpc_testing_test_proto_rawDesc = "" + function init (line 143) | func init() { file_grpc_testing_test_proto_init() } function file_grpc_testing_test_proto_init (line 144) | func file_grpc_testing_test_proto_init() { FILE: interop/grpc_testing/test_grpc.pb.go constant _ (line 36) | _ = grpc.SupportPackageIsVersion9 constant TestService_EmptyCall_FullMethodName (line 39) | TestService_EmptyCall_FullMethodName = "/grpc.testing.TestServ... constant TestService_UnaryCall_FullMethodName (line 40) | TestService_UnaryCall_FullMethodName = "/grpc.testing.TestServ... constant TestService_CacheableUnaryCall_FullMethodName (line 41) | TestService_CacheableUnaryCall_FullMethodName = "/grpc.testing.TestServ... constant TestService_StreamingOutputCall_FullMethodName (line 42) | TestService_StreamingOutputCall_FullMethodName = "/grpc.testing.TestServ... constant TestService_StreamingInputCall_FullMethodName (line 43) | TestService_StreamingInputCall_FullMethodName = "/grpc.testing.TestServ... constant TestService_FullDuplexCall_FullMethodName (line 44) | TestService_FullDuplexCall_FullMethodName = "/grpc.testing.TestServ... constant TestService_HalfDuplexCall_FullMethodName (line 45) | TestService_HalfDuplexCall_FullMethodName = "/grpc.testing.TestServ... constant TestService_UnimplementedCall_FullMethodName (line 46) | TestService_UnimplementedCall_FullMethodName = "/grpc.testing.TestServ... type TestServiceClient (line 55) | type TestServiceClient interface type testServiceClient (line 84) | type testServiceClient struct method EmptyCall (line 92) | func (c *testServiceClient) EmptyCall(ctx context.Context, in *Empty, ... method UnaryCall (line 102) | func (c *testServiceClient) UnaryCall(ctx context.Context, in *SimpleR... method CacheableUnaryCall (line 112) | func (c *testServiceClient) CacheableUnaryCall(ctx context.Context, in... method StreamingOutputCall (line 122) | func (c *testServiceClient) StreamingOutputCall(ctx context.Context, i... method StreamingInputCall (line 141) | func (c *testServiceClient) StreamingInputCall(ctx context.Context, op... method FullDuplexCall (line 154) | func (c *testServiceClient) FullDuplexCall(ctx context.Context, opts .... method HalfDuplexCall (line 167) | func (c *testServiceClient) HalfDuplexCall(ctx context.Context, opts .... method UnimplementedCall (line 180) | func (c *testServiceClient) UnimplementedCall(ctx context.Context, in ... function NewTestServiceClient (line 88) | func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient { type TestServiceServer (line 196) | type TestServiceServer interface type UnimplementedTestServiceServer (line 231) | type UnimplementedTestServiceServer struct method EmptyCall (line 233) | func (UnimplementedTestServiceServer) EmptyCall(context.Context, *Empt... method UnaryCall (line 236) | func (UnimplementedTestServiceServer) UnaryCall(context.Context, *Simp... method CacheableUnaryCall (line 239) | func (UnimplementedTestServiceServer) CacheableUnaryCall(context.Conte... method StreamingOutputCall (line 242) | func (UnimplementedTestServiceServer) StreamingOutputCall(*StreamingOu... method StreamingInputCall (line 245) | func (UnimplementedTestServiceServer) StreamingInputCall(grpc.ClientSt... method FullDuplexCall (line 248) | func (UnimplementedTestServiceServer) FullDuplexCall(grpc.BidiStreamin... method HalfDuplexCall (line 251) | func (UnimplementedTestServiceServer) HalfDuplexCall(grpc.BidiStreamin... method UnimplementedCall (line 254) | func (UnimplementedTestServiceServer) UnimplementedCall(context.Contex... method mustEmbedUnimplementedTestServiceServer (line 257) | func (UnimplementedTestServiceServer) mustEmbedUnimplementedTestServic... method testEmbeddedByValue (line 258) | func (UnimplementedTestServiceServer) testEmbeddedByValue() ... type UnsafeTestServiceServer (line 263) | type UnsafeTestServiceServer interface function RegisterTestServiceServer (line 267) | func RegisterTestServiceServer(s grpc.ServiceRegistrar, srv TestServiceS... function _TestService_EmptyCall_Handler (line 278) | func _TestService_EmptyCall_Handler(srv interface{}, ctx context.Context... function _TestService_UnaryCall_Handler (line 296) | func _TestService_UnaryCall_Handler(srv interface{}, ctx context.Context... function _TestService_CacheableUnaryCall_Handler (line 314) | func _TestService_CacheableUnaryCall_Handler(srv interface{}, ctx contex... function _TestService_StreamingOutputCall_Handler (line 332) | func _TestService_StreamingOutputCall_Handler(srv interface{}, stream gr... function _TestService_StreamingInputCall_Handler (line 343) | func _TestService_StreamingInputCall_Handler(srv interface{}, stream grp... function _TestService_FullDuplexCall_Handler (line 350) | func _TestService_FullDuplexCall_Handler(srv interface{}, stream grpc.Se... function _TestService_HalfDuplexCall_Handler (line 357) | func _TestService_HalfDuplexCall_Handler(srv interface{}, stream grpc.Se... function _TestService_UnimplementedCall_Handler (line 364) | func _TestService_UnimplementedCall_Handler(srv interface{}, ctx context... constant UnimplementedService_UnimplementedCall_FullMethodName (line 434) | UnimplementedService_UnimplementedCall_FullMethodName = "/grpc.testing.U... type UnimplementedServiceClient (line 443) | type UnimplementedServiceClient interface type unimplementedServiceClient (line 448) | type unimplementedServiceClient struct method UnimplementedCall (line 456) | func (c *unimplementedServiceClient) UnimplementedCall(ctx context.Con... function NewUnimplementedServiceClient (line 452) | func NewUnimplementedServiceClient(cc grpc.ClientConnInterface) Unimplem... type UnimplementedServiceServer (line 472) | type UnimplementedServiceServer interface type UnimplementedUnimplementedServiceServer (line 483) | type UnimplementedUnimplementedServiceServer struct method UnimplementedCall (line 485) | func (UnimplementedUnimplementedServiceServer) UnimplementedCall(conte... method mustEmbedUnimplementedUnimplementedServiceServer (line 488) | func (UnimplementedUnimplementedServiceServer) mustEmbedUnimplementedU... method testEmbeddedByValue (line 489) | func (UnimplementedUnimplementedServiceServer) testEmbeddedByValue() ... type UnsafeUnimplementedServiceServer (line 494) | type UnsafeUnimplementedServiceServer interface function RegisterUnimplementedServiceServer (line 498) | func RegisterUnimplementedServiceServer(s grpc.ServiceRegistrar, srv Uni... function _UnimplementedService_UnimplementedCall_Handler (line 509) | func _UnimplementedService_UnimplementedCall_Handler(srv interface{}, ct... constant ReconnectService_Start_FullMethodName (line 544) | ReconnectService_Start_FullMethodName = "/grpc.testing.ReconnectService/... constant ReconnectService_Stop_FullMethodName (line 545) | ReconnectService_Stop_FullMethodName = "/grpc.testing.ReconnectService/... type ReconnectServiceClient (line 553) | type ReconnectServiceClient interface type reconnectServiceClient (line 558) | type reconnectServiceClient struct method Start (line 566) | func (c *reconnectServiceClient) Start(ctx context.Context, in *Reconn... method Stop (line 576) | func (c *reconnectServiceClient) Stop(ctx context.Context, in *Empty, ... function NewReconnectServiceClient (line 562) | func NewReconnectServiceClient(cc grpc.ClientConnInterface) ReconnectSer... type ReconnectServiceServer (line 591) | type ReconnectServiceServer interface type UnimplementedReconnectServiceServer (line 602) | type UnimplementedReconnectServiceServer struct method Start (line 604) | func (UnimplementedReconnectServiceServer) Start(context.Context, *Rec... method Stop (line 607) | func (UnimplementedReconnectServiceServer) Stop(context.Context, *Empt... method mustEmbedUnimplementedReconnectServiceServer (line 610) | func (UnimplementedReconnectServiceServer) mustEmbedUnimplementedRecon... method testEmbeddedByValue (line 611) | func (UnimplementedReconnectServiceServer) testEmbeddedByValue() ... type UnsafeReconnectServiceServer (line 616) | type UnsafeReconnectServiceServer interface function RegisterReconnectServiceServer (line 620) | func RegisterReconnectServiceServer(s grpc.ServiceRegistrar, srv Reconne... function _ReconnectService_Start_Handler (line 631) | func _ReconnectService_Start_Handler(srv interface{}, ctx context.Contex... function _ReconnectService_Stop_Handler (line 649) | func _ReconnectService_Stop_Handler(srv interface{}, ctx context.Context... constant LoadBalancerStatsService_GetClientStats_FullMethodName (line 688) | LoadBalancerStatsService_GetClientStats_FullMethodName = "/gr... constant LoadBalancerStatsService_GetClientAccumulatedStats_FullMethodName (line 689) | LoadBalancerStatsService_GetClientAccumulatedStats_FullMethodName = "/gr... type LoadBalancerStatsServiceClient (line 697) | type LoadBalancerStatsServiceClient interface type loadBalancerStatsServiceClient (line 704) | type loadBalancerStatsServiceClient struct method GetClientStats (line 712) | func (c *loadBalancerStatsServiceClient) GetClientStats(ctx context.Co... method GetClientAccumulatedStats (line 722) | func (c *loadBalancerStatsServiceClient) GetClientAccumulatedStats(ctx... function NewLoadBalancerStatsServiceClient (line 708) | func NewLoadBalancerStatsServiceClient(cc grpc.ClientConnInterface) Load... type LoadBalancerStatsServiceServer (line 737) | type LoadBalancerStatsServiceServer interface type UnimplementedLoadBalancerStatsServiceServer (line 750) | type UnimplementedLoadBalancerStatsServiceServer struct method GetClientStats (line 752) | func (UnimplementedLoadBalancerStatsServiceServer) GetClientStats(cont... method GetClientAccumulatedStats (line 755) | func (UnimplementedLoadBalancerStatsServiceServer) GetClientAccumulate... method mustEmbedUnimplementedLoadBalancerStatsServiceServer (line 758) | func (UnimplementedLoadBalancerStatsServiceServer) mustEmbedUnimplemen... method testEmbeddedByValue (line 760) | func (UnimplementedLoadBalancerStatsServiceServer) testEmbeddedByValue... type UnsafeLoadBalancerStatsServiceServer (line 765) | type UnsafeLoadBalancerStatsServiceServer interface function RegisterLoadBalancerStatsServiceServer (line 769) | func RegisterLoadBalancerStatsServiceServer(s grpc.ServiceRegistrar, srv... function _LoadBalancerStatsService_GetClientStats_Handler (line 780) | func _LoadBalancerStatsService_GetClientStats_Handler(srv interface{}, c... function _LoadBalancerStatsService_GetClientAccumulatedStats_Handler (line 798) | func _LoadBalancerStatsService_GetClientAccumulatedStats_Handler(srv int... constant HookService_Hook_FullMethodName (line 837) | HookService_Hook_FullMethodName = "/grpc.testing.HookServic... constant HookService_SetReturnStatus_FullMethodName (line 838) | HookService_SetReturnStatus_FullMethodName = "/grpc.testing.HookServic... constant HookService_ClearReturnStatus_FullMethodName (line 839) | HookService_ClearReturnStatus_FullMethodName = "/grpc.testing.HookServic... type HookServiceClient (line 847) | type HookServiceClient interface type hookServiceClient (line 857) | type hookServiceClient struct method Hook (line 865) | func (c *hookServiceClient) Hook(ctx context.Context, in *Empty, opts ... method SetReturnStatus (line 875) | func (c *hookServiceClient) SetReturnStatus(ctx context.Context, in *S... method ClearReturnStatus (line 885) | func (c *hookServiceClient) ClearReturnStatus(ctx context.Context, in ... function NewHookServiceClient (line 861) | func NewHookServiceClient(cc grpc.ClientConnInterface) HookServiceClient { type HookServiceServer (line 900) | type HookServiceServer interface type UnimplementedHookServiceServer (line 916) | type UnimplementedHookServiceServer struct method Hook (line 918) | func (UnimplementedHookServiceServer) Hook(context.Context, *Empty) (*... method SetReturnStatus (line 921) | func (UnimplementedHookServiceServer) SetReturnStatus(context.Context,... method ClearReturnStatus (line 924) | func (UnimplementedHookServiceServer) ClearReturnStatus(context.Contex... method mustEmbedUnimplementedHookServiceServer (line 927) | func (UnimplementedHookServiceServer) mustEmbedUnimplementedHookServic... method testEmbeddedByValue (line 928) | func (UnimplementedHookServiceServer) testEmbeddedByValue() ... type UnsafeHookServiceServer (line 933) | type UnsafeHookServiceServer interface function RegisterHookServiceServer (line 937) | func RegisterHookServiceServer(s grpc.ServiceRegistrar, srv HookServiceS... function _HookService_Hook_Handler (line 948) | func _HookService_Hook_Handler(srv interface{}, ctx context.Context, dec... function _HookService_SetReturnStatus_Handler (line 966) | func _HookService_SetReturnStatus_Handler(srv interface{}, ctx context.C... function _HookService_ClearReturnStatus_Handler (line 984) | func _HookService_ClearReturnStatus_Handler(srv interface{}, ctx context... constant XdsUpdateHealthService_SetServing_FullMethodName (line 1027) | XdsUpdateHealthService_SetServing_FullMethodName = "/grpc.testing.X... constant XdsUpdateHealthService_SetNotServing_FullMethodName (line 1028) | XdsUpdateHealthService_SetNotServing_FullMethodName = "/grpc.testing.X... constant XdsUpdateHealthService_SendHookRequest_FullMethodName (line 1029) | XdsUpdateHealthService_SendHookRequest_FullMethodName = "/grpc.testing.X... type XdsUpdateHealthServiceClient (line 1037) | type XdsUpdateHealthServiceClient interface type xdsUpdateHealthServiceClient (line 1043) | type xdsUpdateHealthServiceClient struct method SetServing (line 1051) | func (c *xdsUpdateHealthServiceClient) SetServing(ctx context.Context,... method SetNotServing (line 1061) | func (c *xdsUpdateHealthServiceClient) SetNotServing(ctx context.Conte... method SendHookRequest (line 1071) | func (c *xdsUpdateHealthServiceClient) SendHookRequest(ctx context.Con... function NewXdsUpdateHealthServiceClient (line 1047) | func NewXdsUpdateHealthServiceClient(cc grpc.ClientConnInterface) XdsUpd... type XdsUpdateHealthServiceServer (line 1086) | type XdsUpdateHealthServiceServer interface type UnimplementedXdsUpdateHealthServiceServer (line 1098) | type UnimplementedXdsUpdateHealthServiceServer struct method SetServing (line 1100) | func (UnimplementedXdsUpdateHealthServiceServer) SetServing(context.Co... method SetNotServing (line 1103) | func (UnimplementedXdsUpdateHealthServiceServer) SetNotServing(context... method SendHookRequest (line 1106) | func (UnimplementedXdsUpdateHealthServiceServer) SendHookRequest(conte... method mustEmbedUnimplementedXdsUpdateHealthServiceServer (line 1109) | func (UnimplementedXdsUpdateHealthServiceServer) mustEmbedUnimplemente... method testEmbeddedByValue (line 1111) | func (UnimplementedXdsUpdateHealthServiceServer) testEmbeddedByValue() {} type UnsafeXdsUpdateHealthServiceServer (line 1116) | type UnsafeXdsUpdateHealthServiceServer interface function RegisterXdsUpdateHealthServiceServer (line 1120) | func RegisterXdsUpdateHealthServiceServer(s grpc.ServiceRegistrar, srv X... function _XdsUpdateHealthService_SetServing_Handler (line 1131) | func _XdsUpdateHealthService_SetServing_Handler(srv interface{}, ctx con... function _XdsUpdateHealthService_SetNotServing_Handler (line 1149) | func _XdsUpdateHealthService_SetNotServing_Handler(srv interface{}, ctx ... function _XdsUpdateHealthService_SendHookRequest_Handler (line 1167) | func _XdsUpdateHealthService_SendHookRequest_Handler(srv interface{}, ct... constant XdsUpdateClientConfigureService_Configure_FullMethodName (line 1210) | XdsUpdateClientConfigureService_Configure_FullMethodName = "/grpc.testin... type XdsUpdateClientConfigureServiceClient (line 1218) | type XdsUpdateClientConfigureServiceClient interface type xdsUpdateClientConfigureServiceClient (line 1223) | type xdsUpdateClientConfigureServiceClient struct method Configure (line 1231) | func (c *xdsUpdateClientConfigureServiceClient) Configure(ctx context.... function NewXdsUpdateClientConfigureServiceClient (line 1227) | func NewXdsUpdateClientConfigureServiceClient(cc grpc.ClientConnInterfac... type XdsUpdateClientConfigureServiceServer (line 1246) | type XdsUpdateClientConfigureServiceServer interface type UnimplementedXdsUpdateClientConfigureServiceServer (line 1257) | type UnimplementedXdsUpdateClientConfigureServiceServer struct method Configure (line 1259) | func (UnimplementedXdsUpdateClientConfigureServiceServer) Configure(co... method mustEmbedUnimplementedXdsUpdateClientConfigureServiceServer (line 1262) | func (UnimplementedXdsUpdateClientConfigureServiceServer) mustEmbedUni... method testEmbeddedByValue (line 1264) | func (UnimplementedXdsUpdateClientConfigureServiceServer) testEmbedded... type UnsafeXdsUpdateClientConfigureServiceServer (line 1269) | type UnsafeXdsUpdateClientConfigureServiceServer interface function RegisterXdsUpdateClientConfigureServiceServer (line 1273) | func RegisterXdsUpdateClientConfigureServiceServer(s grpc.ServiceRegistr... function _XdsUpdateClientConfigureService_Configure_Handler (line 1284) | func _XdsUpdateClientConfigureService_Configure_Handler(srv interface{},... FILE: interop/grpc_testing/worker_service.pb.go constant _ (line 35) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 37) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant file_grpc_testing_worker_service_proto_rawDesc (line 42) | file_grpc_testing_worker_service_proto_rawDesc = "" + function init (line 78) | func init() { file_grpc_testing_worker_service_proto_init() } function file_grpc_testing_worker_service_proto_init (line 79) | func file_grpc_testing_worker_service_proto_init() { FILE: interop/grpc_testing/worker_service_grpc.pb.go constant _ (line 36) | _ = grpc.SupportPackageIsVersion9 constant WorkerService_RunServer_FullMethodName (line 39) | WorkerService_RunServer_FullMethodName = "/grpc.testing.WorkerService/R... constant WorkerService_RunClient_FullMethodName (line 40) | WorkerService_RunClient_FullMethodName = "/grpc.testing.WorkerService/R... constant WorkerService_CoreCount_FullMethodName (line 41) | WorkerService_CoreCount_FullMethodName = "/grpc.testing.WorkerService/C... constant WorkerService_QuitWorker_FullMethodName (line 42) | WorkerService_QuitWorker_FullMethodName = "/grpc.testing.WorkerService/Q... type WorkerServiceClient (line 48) | type WorkerServiceClient interface type workerServiceClient (line 69) | type workerServiceClient struct method RunServer (line 77) | func (c *workerServiceClient) RunServer(ctx context.Context, opts ...g... method RunClient (line 90) | func (c *workerServiceClient) RunClient(ctx context.Context, opts ...g... method CoreCount (line 103) | func (c *workerServiceClient) CoreCount(ctx context.Context, in *CoreR... method QuitWorker (line 113) | func (c *workerServiceClient) QuitWorker(ctx context.Context, in *Void... function NewWorkerServiceClient (line 73) | func NewWorkerServiceClient(cc grpc.ClientConnInterface) WorkerServiceCl... type WorkerServiceServer (line 126) | type WorkerServiceServer interface type UnimplementedWorkerServiceServer (line 153) | type UnimplementedWorkerServiceServer struct method RunServer (line 155) | func (UnimplementedWorkerServiceServer) RunServer(grpc.BidiStreamingSe... method RunClient (line 158) | func (UnimplementedWorkerServiceServer) RunClient(grpc.BidiStreamingSe... method CoreCount (line 161) | func (UnimplementedWorkerServiceServer) CoreCount(context.Context, *Co... method QuitWorker (line 164) | func (UnimplementedWorkerServiceServer) QuitWorker(context.Context, *V... method mustEmbedUnimplementedWorkerServiceServer (line 167) | func (UnimplementedWorkerServiceServer) mustEmbedUnimplementedWorkerSe... method testEmbeddedByValue (line 168) | func (UnimplementedWorkerServiceServer) testEmbeddedByValue() ... type UnsafeWorkerServiceServer (line 173) | type UnsafeWorkerServiceServer interface function RegisterWorkerServiceServer (line 177) | func RegisterWorkerServiceServer(s grpc.ServiceRegistrar, srv WorkerServ... function _WorkerService_RunServer_Handler (line 188) | func _WorkerService_RunServer_Handler(srv interface{}, stream grpc.Serve... function _WorkerService_RunClient_Handler (line 195) | func _WorkerService_RunClient_Handler(srv interface{}, stream grpc.Serve... function _WorkerService_CoreCount_Handler (line 202) | func _WorkerService_CoreCount_Handler(srv interface{}, ctx context.Conte... function _WorkerService_QuitWorker_Handler (line 220) | func _WorkerService_QuitWorker_Handler(srv interface{}, ctx context.Cont... FILE: interop/grpclb_fallback/client_linux.go function doRPCAndGetPath (line 57) | func doRPCAndGetPath(client testgrpc.TestServiceClient, timeout time.Dur... function dialTCPUserTimeout (line 77) | func dialTCPUserTimeout(ctx context.Context, addr string) (net.Conn, err... function createTestConn (line 97) | func createTestConn() *grpc.ClientConn { function runCmd (line 122) | func runCmd(command string) { function waitForFallbackAndDoRPCs (line 129) | func waitForFallbackAndDoRPCs(client testgrpc.TestServiceClient, fallbac... function doFallbackBeforeStartup (line 156) | func doFallbackBeforeStartup() { function doFallbackAfterStartup (line 165) | func doFallbackAfterStartup() { function main (line 177) | func main() { FILE: interop/http2/negative_http2_client.go function largeSimpleRequest (line 62) | func largeSimpleRequest() *testpb.SimpleRequest { function goaway (line 72) | func goaway(ctx context.Context, tc testgrpc.TestServiceClient) { function rstAfterHeader (line 80) | func rstAfterHeader(tc testgrpc.TestServiceClient) { function rstDuringData (line 91) | func rstDuringData(tc testgrpc.TestServiceClient) { function rstAfterData (line 102) | func rstAfterData(tc testgrpc.TestServiceClient) { function ping (line 113) | func ping(ctx context.Context, tc testgrpc.TestServiceClient) { function maxStreams (line 118) | func maxStreams(ctx context.Context, tc testgrpc.TestServiceClient) { function main (line 131) | func main() { FILE: interop/observability/client/client.go function main (line 49) | func main() { FILE: interop/observability/server/server.go function main (line 44) | func main() { FILE: interop/orcalb.go function init (line 35) | func init() { type orcabb (line 39) | type orcabb struct method Build (line 41) | func (orcabb) Build(cc balancer.ClientConn, _ balancer.BuildOptions) b... method Name (line 45) | func (orcabb) Name() string { type orcab (line 49) | type orcab struct method ExitIdle (line 57) | func (o *orcab) ExitIdle() { method UpdateClientConnState (line 78) | func (o *orcab) UpdateClientConnState(s balancer.ClientConnState) error { method ResolverError (line 99) | func (o *orcab) ResolverError(err error) { method UpdateSubConnState (line 105) | func (o *orcab) UpdateSubConnState(sc balancer.SubConn, state balancer... method updateSubConnState (line 109) | func (o *orcab) updateSubConnState(state balancer.SubConnState) { method Close (line 126) | func (o *orcab) Close() {} method OnLoadReport (line 128) | func (o *orcab) OnLoadReport(r *v3orcapb.OrcaLoadReport) { function endpointsToAddrs (line 67) | func endpointsToAddrs(eps []resolver.Endpoint) []resolver.Address { type orcaPicker (line 135) | type orcaPicker struct method Pick (line 139) | func (p *orcaPicker) Pick(info balancer.PickInfo) (balancer.PickResult... function setContextCMR (line 158) | func setContextCMR(ctx context.Context, lr *v3orcapb.OrcaLoadReport) { type orcaKey (line 164) | type orcaKey function contextWithORCAResult (line 175) | func contextWithORCAResult(ctx context.Context, result **v3orcapb.OrcaLo... function orcaResultFromContext (line 182) | func orcaResultFromContext(ctx context.Context) **v3orcapb.OrcaLoadReport { FILE: interop/server/server.go function main (line 55) | func main() { FILE: interop/soak_tests.go type SoakWorkerResults (line 38) | type SoakWorkerResults struct type SoakIterationConfig (line 45) | type SoakIterationConfig struct type SoakTestConfig (line 53) | type SoakTestConfig struct function doOneSoakIteration (line 66) | func doOneSoakIteration(ctx context.Context, config SoakIterationConfig)... function executeSoakTestInWorker (line 95) | func executeSoakTestInWorker(ctx context.Context, config SoakTestConfig,... function DoSoakTest (line 151) | func DoSoakTest(ctx context.Context, soakConfig SoakTestConfig) { FILE: interop/stress/client/main.go constant googleDefaultCredsName (line 53) | googleDefaultCredsName = "google_default_credentials" constant computeEngineCredsName (line 54) | computeEngineCredsName = "compute_engine_channel_creds" type testCaseWithWeight (line 75) | type testCaseWithWeight struct function parseTestCases (line 81) | func parseTestCases(testCaseString string) []testCaseWithWeight { type weightedRandomTestSelector (line 118) | type weightedRandomTestSelector struct method getNextTest (line 132) | func (selector weightedRandomTestSelector) getNextTest() string { function newWeightedRandomTestSelector (line 124) | func newWeightedRandomTestSelector(tests []testCaseWithWeight) *weighted... type gauge (line 145) | type gauge struct method set (line 150) | func (g *gauge) set(v int64) { method get (line 156) | func (g *gauge) get() int64 { type server (line 163) | type server struct method GetAllGauges (line 176) | func (s *server) GetAllGauges(_ *metricspb.EmptyMessage, stream metric... method GetGauge (line 189) | func (s *server) GetGauge(_ context.Context, in *metricspb.GaugeReques... method createGauge (line 200) | func (s *server) createGauge(name string) *gauge { function newMetricsServer (line 171) | func newMetricsServer() *server { function startServer (line 213) | func startServer(server *server, port int) { function performRPCs (line 225) | func performRPCs(gauge *gauge, conn *grpc.ClientConn, selector *weighted... function logParameterInfo (line 268) | func logParameterInfo(addresses []string, tests []testCaseWithWeight) { function newConn (line 290) | func newConn(address string, useTLS, testCA bool, tlsServerName string) ... function main (line 325) | func main() { FILE: interop/stress/grpc_testing/metrics.pb.go constant _ (line 40) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 42) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type GaugeResponse (line 46) | type GaugeResponse struct method Reset (line 59) | func (x *GaugeResponse) Reset() { method String (line 66) | func (x *GaugeResponse) String() string { method ProtoMessage (line 70) | func (*GaugeResponse) ProtoMessage() {} method ProtoReflect (line 72) | func (x *GaugeResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 85) | func (*GaugeResponse) Descriptor() ([]byte, []int) { method GetName (line 89) | func (x *GaugeResponse) GetName() string { method GetValue (line 96) | func (x *GaugeResponse) GetValue() isGaugeResponse_Value { method GetLongValue (line 103) | func (x *GaugeResponse) GetLongValue() int64 { method GetDoubleValue (line 112) | func (x *GaugeResponse) GetDoubleValue() float64 { method GetStringValue (line 121) | func (x *GaugeResponse) GetStringValue() string { type isGaugeResponse_Value (line 130) | type isGaugeResponse_Value interface type GaugeResponse_LongValue (line 134) | type GaugeResponse_LongValue struct method isGaugeResponse_Value (line 146) | func (*GaugeResponse_LongValue) isGaugeResponse_Value() {} type GaugeResponse_DoubleValue (line 138) | type GaugeResponse_DoubleValue struct method isGaugeResponse_Value (line 148) | func (*GaugeResponse_DoubleValue) isGaugeResponse_Value() {} type GaugeResponse_StringValue (line 142) | type GaugeResponse_StringValue struct method isGaugeResponse_Value (line 150) | func (*GaugeResponse_StringValue) isGaugeResponse_Value() {} type GaugeRequest (line 153) | type GaugeRequest struct method Reset (line 160) | func (x *GaugeRequest) Reset() { method String (line 167) | func (x *GaugeRequest) String() string { method ProtoMessage (line 171) | func (*GaugeRequest) ProtoMessage() {} method ProtoReflect (line 173) | func (x *GaugeRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 186) | func (*GaugeRequest) Descriptor() ([]byte, []int) { method GetName (line 190) | func (x *GaugeRequest) GetName() string { type EmptyMessage (line 197) | type EmptyMessage struct method Reset (line 203) | func (x *EmptyMessage) Reset() { method String (line 210) | func (x *EmptyMessage) String() string { method ProtoMessage (line 214) | func (*EmptyMessage) ProtoMessage() {} method ProtoReflect (line 216) | func (x *EmptyMessage) ProtoReflect() protoreflect.Message { method Descriptor (line 229) | func (*EmptyMessage) Descriptor() ([]byte, []int) { constant file_interop_stress_grpc_testing_metrics_proto_rawDesc (line 235) | file_interop_stress_grpc_testing_metrics_proto_rawDesc = "" + function file_interop_stress_grpc_testing_metrics_proto_rawDescGZIP (line 257) | func file_interop_stress_grpc_testing_metrics_proto_rawDescGZIP() []byte { function init (line 282) | func init() { file_interop_stress_grpc_testing_metrics_proto_init() } function file_interop_stress_grpc_testing_metrics_proto_init (line 283) | func file_interop_stress_grpc_testing_metrics_proto_init() { FILE: interop/stress/grpc_testing/metrics_grpc.pb.go constant _ (line 40) | _ = grpc.SupportPackageIsVersion9 constant MetricsService_GetAllGauges_FullMethodName (line 43) | MetricsService_GetAllGauges_FullMethodName = "/grpc.testing.MetricsServi... constant MetricsService_GetGauge_FullMethodName (line 44) | MetricsService_GetGauge_FullMethodName = "/grpc.testing.MetricsServi... type MetricsServiceClient (line 50) | type MetricsServiceClient interface type metricsServiceClient (line 58) | type metricsServiceClient struct method GetAllGauges (line 66) | func (c *metricsServiceClient) GetAllGauges(ctx context.Context, in *E... method GetGauge (line 85) | func (c *metricsServiceClient) GetGauge(ctx context.Context, in *Gauge... function NewMetricsServiceClient (line 62) | func NewMetricsServiceClient(cc grpc.ClientConnInterface) MetricsService... type MetricsServiceServer (line 98) | type MetricsServiceServer interface type UnimplementedMetricsServiceServer (line 112) | type UnimplementedMetricsServiceServer struct method GetAllGauges (line 114) | func (UnimplementedMetricsServiceServer) GetAllGauges(*EmptyMessage, g... method GetGauge (line 117) | func (UnimplementedMetricsServiceServer) GetGauge(context.Context, *Ga... method mustEmbedUnimplementedMetricsServiceServer (line 120) | func (UnimplementedMetricsServiceServer) mustEmbedUnimplementedMetrics... method testEmbeddedByValue (line 121) | func (UnimplementedMetricsServiceServer) testEmbeddedByValue() ... type UnsafeMetricsServiceServer (line 126) | type UnsafeMetricsServiceServer interface function RegisterMetricsServiceServer (line 130) | func RegisterMetricsServiceServer(s grpc.ServiceRegistrar, srv MetricsSe... function _MetricsService_GetAllGauges_Handler (line 141) | func _MetricsService_GetAllGauges_Handler(srv interface{}, stream grpc.S... function _MetricsService_GetGauge_Handler (line 152) | func _MetricsService_GetGauge_Handler(srv interface{}, ctx context.Conte... FILE: interop/stress/metrics_client/main.go function printMetrics (line 41) | func printMetrics(client metricspb.MetricsServiceClient, totalOnly bool) { function main (line 72) | func main() { FILE: interop/test_utils.go function ClientNewPayload (line 62) | func ClientNewPayload(t testpb.PayloadType, size int) *testpb.Payload { function DoEmptyUnaryCall (line 79) | func DoEmptyUnaryCall(ctx context.Context, tc testgrpc.TestServiceClient... function DoLargeUnaryCall (line 90) | func DoLargeUnaryCall(ctx context.Context, tc testgrpc.TestServiceClient... function DoClientStreaming (line 109) | func DoClientStreaming(ctx context.Context, tc testgrpc.TestServiceClien... function DoServerStreaming (line 135) | func DoServerStreaming(ctx context.Context, tc testgrpc.TestServiceClien... function DoPingPong (line 179) | func DoPingPong(ctx context.Context, tc testgrpc.TestServiceClient, args... function DoEmptyStream (line 223) | func DoEmptyStream(ctx context.Context, tc testgrpc.TestServiceClient, a... function DoTimeoutOnSleepingServer (line 237) | func DoTimeoutOnSleepingServer(ctx context.Context, tc testgrpc.TestServ... function DoComputeEngineCreds (line 261) | func DoComputeEngineCreds(ctx context.Context, tc testgrpc.TestServiceCl... function getServiceAccountJSONKey (line 284) | func getServiceAccountJSONKey(keyFile string) []byte { function DoServiceAccountCreds (line 293) | func DoServiceAccountCreds(ctx context.Context, tc testgrpc.TestServiceC... function DoJWTTokenCreds (line 318) | func DoJWTTokenCreds(ctx context.Context, tc testgrpc.TestServiceClient,... function GetToken (line 338) | func GetToken(ctx context.Context, serviceAccountKeyFile string, oauthSc... function DoOauth2TokenCreds (line 352) | func DoOauth2TokenCreds(ctx context.Context, tc testgrpc.TestServiceClie... function DoPerRPCCreds (line 377) | func DoPerRPCCreds(ctx context.Context, tc testgrpc.TestServiceClient, s... function DoGoogleDefaultCredentials (line 405) | func DoGoogleDefaultCredentials(ctx context.Context, tc testgrpc.TestSer... function DoComputeEngineChannelCredentials (line 424) | func DoComputeEngineChannelCredentials(ctx context.Context, tc testgrpc.... function DoCancelAfterBegin (line 448) | func DoCancelAfterBegin(ctx context.Context, tc testgrpc.TestServiceClie... function DoCancelAfterFirstResponse (line 462) | func DoCancelAfterFirstResponse(ctx context.Context, tc testgrpc.TestSer... function validateMetadata (line 500) | func validateMetadata(header, trailer metadata.MD) { function DoCustomMetadata (line 516) | func DoCustomMetadata(ctx context.Context, tc testgrpc.TestServiceClient... function DoStatusCodeAndMessage (line 578) | func DoStatusCodeAndMessage(ctx context.Context, tc testgrpc.TestService... function DoSpecialStatusMessage (line 614) | func DoSpecialStatusMessage(ctx context.Context, tc testgrpc.TestService... function DoUnimplementedService (line 634) | func DoUnimplementedService(ctx context.Context, tc testgrpc.Unimplement... function DoUnimplementedMethod (line 642) | func DoUnimplementedMethod(ctx context.Context, cc *grpc.ClientConn) { function DoPickFirstUnary (line 651) | func DoPickFirstUnary(ctx context.Context, tc testgrpc.TestServiceClient) { type testServer (line 684) | type testServer struct method EmptyCall (line 707) | func (s *testServer) EmptyCall(context.Context, *testpb.Empty) (*testp... method UnaryCall (line 727) | func (s *testServer) UnaryCall(ctx context.Context, in *testpb.SimpleR... method StreamingOutputCall (line 769) | func (s *testServer) StreamingOutputCall(args *testpb.StreamingOutputC... method StreamingInputCall (line 788) | func (s *testServer) StreamingInputCall(stream testgrpc.TestService_St... method FullDuplexCall (line 805) | func (s *testServer) FullDuplexCall(stream testgrpc.TestService_FullDu... method HalfDuplexCall (line 860) | func (s *testServer) HalfDuplexCall(stream testgrpc.TestService_HalfDu... type NewTestServerOptions (line 693) | type NewTestServerOptions struct function NewTestServer (line 700) | func NewTestServer(opts ...NewTestServerOptions) testgrpc.TestServiceSer... function serverNewPayload (line 711) | func serverNewPayload(t testpb.PayloadType, size int32) (*testpb.Payload... function setORCAMetrics (line 756) | func setORCAMetrics(r orca.ServerMetricsRecorder, orcaData *testpb.TestO... function DoORCAPerRPCTest (line 895) | func DoORCAPerRPCTest(ctx context.Context, tc testgrpc.TestServiceClient) { function DoORCAOOBTest (line 923) | func DoORCAOOBTest(ctx context.Context, tc testgrpc.TestServiceClient) { function checkORCAMetrics (line 977) | func checkORCAMetrics(ctx context.Context, tc testgrpc.TestServiceClient... FILE: interop/xds/client/client.go function init (line 57) | func init() { type statsWatcherKey (line 61) | type statsWatcherKey struct type rpcInfo (line 68) | type rpcInfo struct type statsWatcher (line 73) | type statsWatcher struct method buildResp (line 81) | func (watcher *statsWatcher) buildResp() *testpb.LoadBalancerStatsResp... type accumulatedStats (line 96) | type accumulatedStats struct method makeStatsMap (line 133) | func (as *accumulatedStats) makeStatsMap() map[string]*testpb.LoadBala... method buildResp (line 147) | func (as *accumulatedStats) buildResp() *testpb.LoadBalancerAccumulate... method startRPC (line 158) | func (as *accumulatedStats) startRPC(rpcType string) { method finishRPC (line 164) | func (as *accumulatedStats) finishRPC(rpcType string, err error) { function convertRPCName (line 104) | func convertRPCName(in string) string { function copyStatsMap (line 116) | func copyStatsMap(originalMap map[string]int32) map[string]int32 { function copyStatsIntMap (line 125) | func copyStatsIntMap(originalMap map[int32]int32) map[int32]int32 { type statsService (line 214) | type statsService struct method GetClientStats (line 230) | func (s *statsService) GetClientStats(ctx context.Context, in *testpb.... method GetClientAccumulatedStats (line 282) | func (s *statsService) GetClientAccumulatedStats(context.Context, *tes... function hasRPCSucceeded (line 218) | func hasRPCSucceeded() bool { function setRPCSucceeded (line 222) | func setRPCSucceeded() { type configureService (line 286) | type configureService struct method Configure (line 290) | func (s *configureService) Configure(_ context.Context, in *testpb.Cli... constant unaryCall (line 325) | unaryCall string = "UnaryCall" constant emptyCall (line 326) | emptyCall string = "EmptyCall" function parseRPCTypes (line 329) | func parseRPCTypes(rpcStr string) []string { type rpcConfig (line 348) | type rpcConfig struct function parseRPCMetadata (line 357) | func parseRPCMetadata(rpcMetadataStr string, rpcs []string) []*rpcConfig { function main (line 380) | func main() { function makeOneRPC (line 452) | func makeOneRPC(c testgrpc.TestServiceClient, cfg *rpcConfig) (*peer.Pee... function sendRPCs (line 503) | func sendRPCs(clients []testgrpc.TestServiceClient, ticker *time.Ticker) { FILE: interop/xds/custom_lb.go function init (line 34) | func init() { constant name (line 38) | name = "test.RpcBehaviorLoadBalancer" type rpcBehaviorBB (line 40) | type rpcBehaviorBB struct method Build (line 42) | func (rpcBehaviorBB) Build(cc balancer.ClientConn, bOpts balancer.Buil... method ParseConfig (line 63) | func (rpcBehaviorBB) ParseConfig(s json.RawMessage) (serviceconfig.Loa... method Name (line 72) | func (rpcBehaviorBB) Name() string { type lbConfig (line 76) | type lbConfig struct type rpcBehaviorLB (line 84) | type rpcBehaviorLB struct method UpdateClientConnState (line 94) | func (b *rpcBehaviorLB) UpdateClientConnState(s balancer.ClientConnSta... method UpdateState (line 107) | func (b *rpcBehaviorLB) UpdateState(state balancer.State) { type rpcBehaviorPicker (line 120) | type rpcBehaviorPicker struct method Pick (line 126) | func (p *rpcBehaviorPicker) Pick(info balancer.PickInfo) (balancer.Pic... function newRPCBehaviorPicker (line 135) | func newRPCBehaviorPicker(childPicker balancer.Picker, rpcBehavior strin... FILE: interop/xds/custom_lb_test.go type s (line 44) | type s struct method TestCustomLB (line 56) | func (s) TestCustomLB(t *testing.T) { function Test (line 48) | func Test(t *testing.T) { FILE: interop/xds/server/server.go constant rpcBehaviorMDKey (line 70) | rpcBehaviorMDKey = "rpc-behavior" constant grpcPreviousRPCAttemptsMDKey (line 71) | grpcPreviousRPCAttemptsMDKey = "grpc-previous-rpc-attempts" constant sleepPfx (line 72) | sleepPfx = "sleep-" constant keepOpenVal (line 73) | keepOpenVal = "keep-open" constant errorCodePfx (line 74) | errorCodePfx = "error-code-" constant succeedOnRetryPfx (line 75) | succeedOnRetryPfx = "succeed-on-retry-attempt-" constant hostnamePfx (line 76) | hostnamePfx = "hostname=" function getHostname (line 79) | func getHostname() string { type testServiceImpl (line 92) | type testServiceImpl struct method EmptyCall (line 98) | func (s *testServiceImpl) EmptyCall(ctx context.Context, _ *testpb.Emp... method UnaryCall (line 103) | func (s *testServiceImpl) UnaryCall(ctx context.Context, in *testpb.Si... function getRPCBehaviorMetadata (line 180) | func getRPCBehaviorMetadata(ctx context.Context) []string { function getMetadataValues (line 197) | func getMetadataValues(ctx context.Context, metadataKey string) []string { type xdsUpdateHealthServiceImpl (line 208) | type xdsUpdateHealthServiceImpl struct method SetServing (line 213) | func (x *xdsUpdateHealthServiceImpl) SetServing(_ context.Context, _ *... method SetNotServing (line 219) | func (x *xdsUpdateHealthServiceImpl) SetNotServing(_ context.Context, ... function xdsServingModeCallback (line 224) | func xdsServingModeCallback(addr net.Addr, args xds.ServingModeChangeArg... function main (line 228) | func main() { FILE: interop/xds_federation/client.go constant computeEngineCredsName (line 44) | computeEngineCredsName = "compute_engine_channel_creds" constant insecureCredsName (line 45) | insecureCredsName = "INSECURE_CREDENTIALS" type clientConfig (line 67) | type clientConfig struct function main (line 74) | func main() { FILE: keepalive/keepalive.go type ClientParameters (line 33) | type ClientParameters struct type ServerParameters (line 64) | type ServerParameters struct type EnforcementPolicy (line 91) | type EnforcementPolicy struct FILE: mem/buffer_pool.go type BufferPool (line 30) | type BufferPool interface function init (line 52) | func init() { function DefaultBufferPool (line 71) | func DefaultBufferPool() BufferPool { function NewTieredBufferPool (line 77) | func NewTieredBufferPool(poolSizes ...int) BufferPool { function NewBinaryTieredBufferPool (line 87) | func NewBinaryTieredBufferPool(powerOfTwoExponents ...uint8) (BufferPool... type NopBufferPool (line 92) | type NopBufferPool struct FILE: mem/buffer_pool_test.go method TestBufferPool (line 30) | func (s) TestBufferPool(t *testing.T) { method TestBufferPoolClears (line 52) | func (s) TestBufferPoolClears(t *testing.T) { method TestBufferPoolIgnoresShortBuffers (line 94) | func (s) TestBufferPoolIgnoresShortBuffers(t *testing.T) { function TestBinaryBufferPool (line 110) | func TestBinaryBufferPool(t *testing.T) { FILE: mem/buffer_slice.go constant readAllBufSize (line 28) | readAllBufSize = 32 * 1024 type BufferSlice (line 45) | type BufferSlice method Len (line 53) | func (s BufferSlice) Len() int { method Ref (line 62) | func (s BufferSlice) Ref() { method Free (line 69) | func (s BufferSlice) Free() { method CopyTo (line 79) | func (s BufferSlice) CopyTo(dst []byte) int { method Materialize (line 89) | func (s BufferSlice) Materialize() []byte { method MaterializeToBuffer (line 105) | func (s BufferSlice) MaterializeToBuffer(pool BufferPool) Buffer { method Reader (line 121) | func (s BufferSlice) Reader() *Reader { type Reader (line 136) | type Reader struct method Remaining (line 144) | func (r *Reader) Remaining() int { method Reset (line 150) | func (r *Reader) Reset(s BufferSlice) { method Close (line 160) | func (r *Reader) Close() error { method freeFirstBufferIfEmpty (line 167) | func (r *Reader) freeFirstBufferIfEmpty() bool { method Read (line 178) | func (r *Reader) Read(buf []byte) (n int, _ error) { method ReadByte (line 202) | func (r *Reader) ReadByte() (byte, error) { method Discard (line 296) | func (r *Reader) Discard(n int) (discarded int, err error) { method Peek (line 327) | func (r *Reader) Peek(n int, res [][]byte) ([][]byte, error) { type writer (line 222) | type writer struct method Write (line 227) | func (w *writer) Write(p []byte) (n int, err error) { function NewWriter (line 237) | func NewWriter(buffers *BufferSlice, pool BufferPool) io.Writer { function ReadAll (line 249) | func ReadAll(r io.Reader, pool BufferPool) (BufferSlice, error) { FILE: mem/buffer_slice_test.go constant minReadSize (line 33) | minReadSize = 1 constant readAllBufSize (line 35) | readAllBufSize = 32 * 1024 function newBuffer (line 38) | func newBuffer(data []byte, pool mem.BufferPool) mem.Buffer { method TestBufferSlice_Len (line 42) | func (s) TestBufferSlice_Len(t *testing.T) { method TestBufferSlice_Ref (line 77) | func (s) TestBufferSlice_Ref(t *testing.T) { method TestBufferSlice_MaterializeToBuffer (line 95) | func (s) TestBufferSlice_MaterializeToBuffer(t *testing.T) { method TestBufferSlice_Reader (line 131) | func (s) TestBufferSlice_Reader(t *testing.T) { method TestBufferSlice_ReadAll_Reads (line 169) | func (s) TestBufferSlice_ReadAll_Reads(t *testing.T) { method TestBufferSlice_ReadAll_WriteTo (line 367) | func (s) TestBufferSlice_ReadAll_WriteTo(t *testing.T) { function ExampleNewWriter (line 413) | func ExampleNewWriter() { type readStep (line 441) | type readStep struct type stepReader (line 449) | type stepReader struct method Read (line 454) | func (s *stepReader) Read(buf []byte) (int, error) { type testPool (line 471) | type testPool struct method Get (line 475) | func (t *testPool) Get(length int) *[]byte { method Put (line 481) | func (t *testPool) Put(buf *[]byte) { method TestBufferSlice_Iteration (line 488) | func (s) TestBufferSlice_Iteration(t *testing.T) { FILE: mem/buffers.go type Buffer (line 45) | type Buffer interface function IsBelowBufferPoolingThreshold (line 70) | func IsBelowBufferPoolingThreshold(size int) bool { type buffer (line 74) | type buffer struct method ReadOnlyData (line 138) | func (b *buffer) ReadOnlyData() []byte { method Ref (line 145) | func (b *buffer) Ref() { method Free (line 151) | func (b *buffer) Free() { method Len (line 179) | func (b *buffer) Len() int { method split (line 183) | func (b *buffer) split(n int) (Buffer, Buffer) { method read (line 198) | func (b *buffer) read(buf []byte) (int, Buffer) { method String (line 213) | func (b *buffer) String() string { function newBuffer (line 91) | func newBuffer() *buffer { function NewBuffer (line 103) | func NewBuffer(data *[]byte, pool BufferPool) Buffer { function Copy (line 126) | func Copy(data []byte, pool BufferPool) Buffer { function ReadUnsafe (line 219) | func ReadUnsafe(dst []byte, buf Buffer) (int, Buffer) { function SplitUnsafe (line 226) | func SplitUnsafe(buf Buffer, n int) (left, right Buffer) { type emptyBuffer (line 230) | type emptyBuffer struct method ReadOnlyData (line 232) | func (e emptyBuffer) ReadOnlyData() []byte { method Ref (line 236) | func (e emptyBuffer) Ref() {} method Free (line 237) | func (e emptyBuffer) Free() {} method Len (line 239) | func (e emptyBuffer) Len() int { method split (line 243) | func (e emptyBuffer) split(int) (left, right Buffer) { method read (line 247) | func (e emptyBuffer) read([]byte) (int, Buffer) { type SliceBuffer (line 253) | type SliceBuffer method ReadOnlyData (line 256) | func (s SliceBuffer) ReadOnlyData() []byte { return s } method Ref (line 259) | func (s SliceBuffer) Ref() {} method Free (line 262) | func (s SliceBuffer) Free() {} method Len (line 265) | func (s SliceBuffer) Len() int { return len(s) } method split (line 267) | func (s SliceBuffer) split(n int) (left, right Buffer) { method read (line 271) | func (s SliceBuffer) read(buf []byte) (int, Buffer) { FILE: mem/buffers_test.go type s (line 30) | type s struct method TestBuffer_NewBufferAndFree (line 42) | func (s) TestBuffer_NewBufferAndFree(t *testing.T) { method TestBuffer_NewBufferRefAndFree (line 67) | func (s) TestBuffer_NewBufferRefAndFree(t *testing.T) { method TestBuffer_NewBufferHandlesShortBuffers (line 101) | func (s) TestBuffer_NewBufferHandlesShortBuffers(t *testing.T) { method TestBuffer_FreeAfterFree (line 128) | func (s) TestBuffer_FreeAfterFree(t *testing.T) { method TestBuffer_CopyAndFree (line 161) | func (s) TestBuffer_CopyAndFree(t *testing.T) { method TestBuffer_CopyRefAndFree (line 183) | func (s) TestBuffer_CopyRefAndFree(t *testing.T) { method TestBuffer_ReadOnlyDataAfterFree (line 214) | func (s) TestBuffer_ReadOnlyDataAfterFree(t *testing.T) { method TestBuffer_RefAfterFree (line 224) | func (s) TestBuffer_RefAfterFree(t *testing.T) { method TestBuffer_SplitAfterFree (line 237) | func (s) TestBuffer_SplitAfterFree(t *testing.T) { method TestBuffer_Split (line 258) | func (s) TestBuffer_Split(t *testing.T) { function Test (line 34) | func Test(t *testing.T) { type singleBufferPool (line 140) | type singleBufferPool struct method Get (line 145) | func (s *singleBufferPool) Get(length int) *[]byte { method Put (line 152) | func (s *singleBufferPool) Put(b *[]byte) { type poolFunc (line 248) | type poolFunc method Get (line 250) | func (p poolFunc) Get(int) *[]byte { method Put (line 254) | func (p poolFunc) Put(i *[]byte) { function checkForPanic (line 296) | func checkForPanic(t *testing.T, wantErr string) { FILE: metadata/metadata.go function init (line 32) | func init() { function DecodeKeyValue (line 39) | func DecodeKeyValue(k, v string) (string, string, error) { type MD (line 45) | type MD method Len (line 94) | func (md MD) Len() int { method Copy (line 99) | func (md MD) Copy() MD { method Get (line 110) | func (md MD) Get(k string) []string { method Set (line 118) | func (md MD) Set(k string, vals ...string) { method Append (line 130) | func (md MD) Append(k string, vals ...string) { method Delete (line 140) | func (md MD) Delete(k string) { function New (line 59) | func New(m map[string]string) MD { function Pairs (line 81) | func Pairs(kv ...string) MD { function Join (line 149) | func Join(mds ...MD) MD { type mdIncomingKey (line 159) | type mdIncomingKey struct type mdOutgoingKey (line 160) | type mdOutgoingKey struct function NewIncomingContext (line 164) | func NewIncomingContext(ctx context.Context, md MD) context.Context { function NewOutgoingContext (line 172) | func NewOutgoingContext(ctx context.Context, md MD) context.Context { function AppendToOutgoingContext (line 179) | func AppendToOutgoingContext(ctx context.Context, kv ...string) context.... function FromIncomingContext (line 197) | func FromIncomingContext(ctx context.Context) (MD, bool) { function ValueFromIncomingContext (line 216) | func ValueFromIncomingContext(ctx context.Context, key string) []string { function copyOf (line 236) | func copyOf(v []string) []string { function fromOutgoingContextRaw (line 248) | func fromOutgoingContextRaw(ctx context.Context) (MD, [][]string, bool) { function FromOutgoingContext (line 260) | func FromOutgoingContext(ctx context.Context) (MD, bool) { type rawMD (line 292) | type rawMD struct FILE: metadata/metadata_test.go constant defaultTestTimeout (line 31) | defaultTestTimeout = 10 * time.Second type s (line 33) | type s struct method TestPairsMD (line 41) | func (s) TestPairsMD(t *testing.T) { method TestCopy (line 58) | func (s) TestCopy(t *testing.T) { method TestJoin (line 71) | func (s) TestJoin(t *testing.T) { method TestGet (line 88) | func (s) TestGet(t *testing.T) { method TestSet (line 105) | func (s) TestSet(t *testing.T) { method TestAppend (line 138) | func (s) TestAppend(t *testing.T) { method TestDelete (line 172) | func (s) TestDelete(t *testing.T) { method TestFromIncomingContext (line 201) | func (s) TestFromIncomingContext(t *testing.T) { method TestValueFromIncomingContext (line 236) | func (s) TestValueFromIncomingContext(t *testing.T) { method TestAppendToOutgoingContext (line 281) | func (s) TestAppendToOutgoingContext(t *testing.T) { method TestAppendToOutgoingContext_Repeated (line 309) | func (s) TestAppendToOutgoingContext_Repeated(t *testing.T) { method TestAppendToOutgoingContext_FromKVSlice (line 328) | func (s) TestAppendToOutgoingContext_FromKVSlice(t *testing.T) { function Test (line 37) | func Test(t *testing.T) { function Benchmark_AddingMetadata_ContextManipulationApproach (line 346) | func Benchmark_AddingMetadata_ContextManipulationApproach(b *testing.B) { function BenchmarkAppendToOutgoingContext (line 360) | func BenchmarkAppendToOutgoingContext(b *testing.B) { function BenchmarkFromOutgoingContext (line 371) | func BenchmarkFromOutgoingContext(b *testing.B) { function BenchmarkFromIncomingContext (line 382) | func BenchmarkFromIncomingContext(b *testing.B) { function BenchmarkValueFromIncomingContext (line 394) | func BenchmarkValueFromIncomingContext(b *testing.B) { FILE: orca/call_metrics.go type CallMetricsRecorder (line 35) | type CallMetricsRecorder interface type callMetricsRecorderCtxKey (line 51) | type callMetricsRecorderCtxKey struct function CallMetricsRecorderFromContext (line 58) | func CallMetricsRecorderFromContext(ctx context.Context) CallMetricsReco... type recorderWrapper (line 70) | type recorderWrapper struct method recorder (line 76) | func (rw *recorderWrapper) recorder() CallMetricsRecorder { method setTrailerMetadata (line 91) | func (rw *recorderWrapper) setTrailerMetadata(ctx context.Context) { function CallMetricsServerOption (line 134) | func CallMetricsServerOption(smp ServerMetricsProvider) grpc.ServerOption { function unaryInt (line 138) | func unaryInt(smp ServerMetricsProvider) func(ctx context.Context, req a... function streamInt (line 158) | func streamInt(smp ServerMetricsProvider) func(srv any, ss grpc.ServerSt... function newContextWithRecorderWrapper (line 181) | func newContextWithRecorderWrapper(ctx context.Context, r *recorderWrapp... type wrappedStream (line 189) | type wrappedStream struct method Context (line 194) | func (w *wrappedStream) Context() context.Context { FILE: orca/call_metrics_test.go method TestE2ECallMetricsUnary (line 45) | func (s) TestE2ECallMetricsUnary(t *testing.T) { method TestE2ECallMetricsStreaming (line 151) | func (s) TestE2ECallMetricsStreaming(t *testing.T) { FILE: orca/internal/internal.go constant TrailerMetadataKey (line 47) | TrailerMetadataKey = "endpoint-load-metrics-bin" function ToLoadReport (line 58) | func ToLoadReport(md metadata.MD) (*v3orcapb.OrcaLoadReport, error) { FILE: orca/orca.go type loadParser (line 45) | type loadParser struct method Parse (line 47) | func (loadParser) Parse(md metadata.MD) any { function init (line 55) | func init() { FILE: orca/orca_test.go type s (line 35) | type s struct method TestToLoadReport (line 45) | func (s) TestToLoadReport(t *testing.T) { function Test (line 39) | func Test(t *testing.T) { constant defaultTestTimeout (line 43) | defaultTestTimeout = 5 * time.Second FILE: orca/producer.go type producerBuilder (line 37) | type producerBuilder struct method Build (line 40) | func (*producerBuilder) Build(cci any) (balancer.Producer, func()) { type OOBListener (line 61) | type OOBListener interface type OOBListenerOptions (line 67) | type OOBListenerOptions struct function RegisterOOBListener (line 79) | func RegisterOOBListener(sc balancer.SubConn, l OOBListener, opts OOBLis... type producer (line 93) | type producer struct method registerListener (line 112) | func (p *producer) registerListener(l OOBListener, interval time.Durat... method unregisterListener (line 126) | func (p *producer) unregisterListener(l OOBListener, interval time.Dur... method recomputeMinInterval (line 144) | func (p *producer) recomputeMinInterval() { method updateRunLocked (line 158) | func (p *producer) updateRunLocked() { method run (line 172) | func (p *producer) run(ctx context.Context, done chan struct{}, interv... method runStream (line 203) | func (p *producer) runStream(ctx context.Context, interval time.Durati... FILE: orca/producer_test.go type customLBB (line 48) | type customLBB struct method Build (line 50) | func (customLBB) Build(cc balancer.ClientConn, opts balancer.BuildOpti... method Name (line 54) | func (customLBB) Name() string { return "customLB" } function init (line 56) | func init() { type ccWrapper (line 60) | type ccWrapper struct method NewSubConn (line 64) | func (w *ccWrapper) NewSubConn(addrs []resolver.Address, opts balancer... type listenerInfo (line 86) | type listenerInfo struct type listenerInfoKey (line 92) | type listenerInfoKey struct function setListenerInfo (line 94) | func setListenerInfo(addr resolver.Address, l *listenerInfo) resolver.Ad... function getListenerInfo (line 99) | func getListenerInfo(addr resolver.Address) *listenerInfo { type testOOBListener (line 104) | type testOOBListener struct method Stop (line 113) | func (t *testOOBListener) Stop() { t.cleanup() } method OnLoadReport (line 115) | func (t *testOOBListener) OnLoadReport(r *v3orcapb.OrcaLoadReport) { function newTestOOBListener (line 109) | func newTestOOBListener() *testOOBListener { method TestProducer (line 121) | func (s) TestProducer(t *testing.T) { type fakeORCAService (line 220) | type fakeORCAService struct method close (line 234) | func (f *fakeORCAService) close() { method StreamCoreMetrics (line 238) | func (f *fakeORCAService) StreamCoreMetrics(req *v3orcaservicepb.OrcaL... function newFakeORCAService (line 227) | func newFakeORCAService() *fakeORCAService { method TestProducerBackoff (line 272) | func (s) TestProducerBackoff(t *testing.T) { method TestProducerMultipleListeners (line 401) | func (s) TestProducerMultipleListeners(t *testing.T) { FILE: orca/server_metrics.go type ServerMetrics (line 29) | type ServerMetrics struct method toLoadReportProto (line 44) | func (sm *ServerMetrics) toLoadReportProto() *v3orcapb.OrcaLoadReport { method merge (line 69) | func (sm *ServerMetrics) merge(o *ServerMetrics) { function mergeMap (line 90) | func mergeMap(a, b map[string]float64) { type ServerMetricsRecorder (line 98) | type ServerMetricsRecorder interface type serverMetricsRecorder (line 144) | type serverMetricsRecorder struct method ServerMetrics (line 171) | func (s *serverMetricsRecorder) ServerMetrics() *ServerMetrics { method SetCPUUtilization (line 197) | func (s *serverMetricsRecorder) SetCPUUtilization(val float64) { method DeleteCPUUtilization (line 211) | func (s *serverMetricsRecorder) DeleteCPUUtilization() { method SetMemoryUtilization (line 218) | func (s *serverMetricsRecorder) SetMemoryUtilization(val float64) { method DeleteMemoryUtilization (line 232) | func (s *serverMetricsRecorder) DeleteMemoryUtilization() { method SetApplicationUtilization (line 240) | func (s *serverMetricsRecorder) SetApplicationUtilization(val float64) { method DeleteApplicationUtilization (line 254) | func (s *serverMetricsRecorder) DeleteApplicationUtilization() { method SetQPS (line 261) | func (s *serverMetricsRecorder) SetQPS(val float64) { method DeleteQPS (line 274) | func (s *serverMetricsRecorder) DeleteQPS() { method SetEPS (line 281) | func (s *serverMetricsRecorder) SetEPS(val float64) { method DeleteEPS (line 294) | func (s *serverMetricsRecorder) DeleteEPS() { method SetNamedUtilization (line 302) | func (s *serverMetricsRecorder) SetNamedUtilization(name string, val f... method DeleteNamedUtilization (line 316) | func (s *serverMetricsRecorder) DeleteNamedUtilization(name string) { method SetRequestCost (line 324) | func (s *serverMetricsRecorder) SetRequestCost(name string, val float6... method DeleteRequestCost (line 332) | func (s *serverMetricsRecorder) DeleteRequestCost(name string) { method SetNamedMetric (line 340) | func (s *serverMetricsRecorder) SetNamedMetric(name string, val float6... method DeleteNamedMetric (line 348) | func (s *serverMetricsRecorder) DeleteNamedMetric(name string) { function NewServerMetricsRecorder (line 151) | func NewServerMetricsRecorder() ServerMetricsRecorder { function newServerMetricsRecorder (line 155) | func newServerMetricsRecorder() *serverMetricsRecorder { function copyMap (line 175) | func copyMap(m map[string]float64) map[string]float64 { function copyServerMetrics (line 183) | func copyServerMetrics(sm *ServerMetrics) *ServerMetrics { FILE: orca/server_metrics_test.go type s (line 28) | type s struct method TestServerMetrics_Setters (line 36) | func (s) TestServerMetrics_Setters(t *testing.T) { method TestServerMetrics_Deleters (line 63) | func (s) TestServerMetrics_Deleters(t *testing.T) { method TestServerMetrics_Setters_Range (line 99) | func (s) TestServerMetrics_Setters_Range(t *testing.T) { method TestServerMetrics_Merge (line 138) | func (s) TestServerMetrics_Merge(t *testing.T) { function Test (line 32) | func Test(t *testing.T) { FILE: orca/service.go function init (line 35) | func init() { constant minReportingInterval (line 45) | minReportingInterval = 30 * time.Second type Service (line 56) | type Service struct method determineReportingInterval (line 128) | func (s *Service) determineReportingInterval(req *v3orcaservicepb.Orca... method sendMetricsResponse (line 140) | func (s *Service) sendMetricsResponse(stream v3orcaservicegrpc.OpenRca... method StreamCoreMetrics (line 146) | func (s *Service) StreamCoreMetrics(req *v3orcaservicepb.OrcaLoadRepor... type ServiceOptions (line 66) | type ServiceOptions struct type ServerMetricsProvider (line 85) | type ServerMetricsProvider interface function NewService (line 94) | func NewService(opts ServiceOptions) (*Service, error) { function Register (line 114) | func Register(s grpc.ServiceRegistrar, opts ServiceOptions) error { FILE: orca/service_test.go constant requestsMetricKey (line 46) | requestsMetricKey = "test-service-requests" method TestE2E_CustomBackendMetrics_OutOfBand (line 54) | func (s) TestE2E_CustomBackendMetrics_OutOfBand(t *testing.T) { FILE: peer/peer.go type Peer (line 34) | type Peer struct method String (line 46) | func (p *Peer) String() string { type peerKey (line 72) | type peerKey struct function NewContext (line 75) | func NewContext(ctx context.Context, p *Peer) context.Context { function FromContext (line 80) | func FromContext(ctx context.Context) (p *Peer, ok bool) { FILE: peer/peer_test.go constant defaultTestTimeout (line 30) | defaultTestTimeout = 10 * time.Second type testAuthInfo (line 33) | type testAuthInfo struct method AuthType (line 37) | func (ta testAuthInfo) AuthType() string { type addr (line 41) | type addr struct method Network (line 45) | func (addr) Network() string { return "" } method String (line 47) | func (a *addr) String() string { return a.ipAddress } function TestPeerStringer (line 49) | func TestPeerStringer(t *testing.T) { FILE: picker_wrapper.go type pickerGeneration (line 37) | type pickerGeneration struct type pickerWrapper (line 48) | type pickerWrapper struct method updatePicker (line 63) | func (pw *pickerWrapper) updatePicker(p balancer.Picker) { method pick (line 105) | func (pw *pickerWrapper) pick(ctx context.Context, failfast bool, info... method close (line 205) | func (pw *pickerWrapper) close() { method reset (line 212) | func (pw *pickerWrapper) reset() { function newPickerWrapper (line 53) | func newPickerWrapper() *pickerWrapper { function doneChannelzWrapper (line 76) | func doneChannelzWrapper(acbw *acBalancerWrapper, result *balancer.PickR... type pick (line 92) | type pick struct type dropError (line 219) | type dropError struct FILE: picker_wrapper_test.go constant goroutineCount (line 36) | goroutineCount = 5 type testTransport (line 49) | type testTransport struct type testingPicker (line 53) | type testingPicker struct method Pick (line 59) | func (p *testingPicker) Pick(balancer.PickInfo) (balancer.PickResult, ... method TestBlockingPickTimeout (line 69) | func (s) TestBlockingPickTimeout(t *testing.T) { method TestBlockingPick (line 78) | func (s) TestBlockingPick(t *testing.T) { method TestBlockingPickNoSubAvailable (line 104) | func (s) TestBlockingPickNoSubAvailable(t *testing.T) { method TestBlockingPickTransientWaitforready (line 131) | func (s) TestBlockingPickTransientWaitforready(t *testing.T) { method TestBlockingPickSCNotReady (line 159) | func (s) TestBlockingPickSCNotReady(t *testing.T) { FILE: preloader.go type PreparedMsg (line 33) | type PreparedMsg struct method Encode (line 42) | func (p *PreparedMsg) Encode(s Stream, msg any) error { FILE: producer_ext_test.go method TestProducerStopsBeforeStateChange (line 39) | func (s) TestProducerStopsBeforeStateChange(t *testing.T) { type producerBuilder (line 100) | type producerBuilder struct method Build (line 109) | func (*producerBuilder) Build(any) (balancer.Producer, func()) { type testProducer (line 102) | type testProducer struct FILE: profiling/cmd/catapult.go type jsonNode (line 32) | type jsonNode struct function hashCname (line 48) | func hashCname(tag string) string { function filterCounter (line 85) | func filterCounter(stat *ppb.Stat, filter string, counter int) int { type counter (line 101) | type counter struct method GetAndInc (line 109) | func (c *counter) GetAndInc(s string) int { function newCounter (line 105) | func newCounter() *counter { function catapultNs (line 115) | func catapultNs(sec int64, nsec int32) float64 { function streamStatsCatapultJSONSingle (line 121) | func streamStatsCatapultJSONSingle(stat *ppb.Stat, baseSec int64, baseNs... function timerBeginIsBefore (line 296) | func timerBeginIsBefore(ti *ppb.Timer, tj *ppb.Timer) bool { function streamStatsCatapultJSON (line 306) | func streamStatsCatapultJSON(s *snapshot, streamStatsCatapultJSONFileNam... FILE: profiling/cmd/flags.go function exactlyOneOf (line 38) | func exactlyOneOf(opts ...bool) bool { function parseArgs (line 54) | func parseArgs() error { FILE: profiling/cmd/local.go function loadSnapshot (line 27) | func loadSnapshot(snapshotFileName string) (*snapshot, error) { function localCommand (line 47) | func localCommand() error { FILE: profiling/cmd/main.go type snapshot (line 32) | type snapshot struct function main (line 36) | func main() { FILE: profiling/cmd/remote.go function setEnabled (line 33) | func setEnabled(ctx context.Context, c ppb.ProfilingClient, enabled bool... function retrieveSnapshot (line 44) | func retrieveSnapshot(ctx context.Context, c ppb.ProfilingClient, f stri... function remoteCommand (line 73) | func remoteCommand() error { FILE: profiling/profiling.go function Enable (line 38) | func Enable(enabled bool) { FILE: profiling/proto/service.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type EnableRequest (line 40) | type EnableRequest struct method Reset (line 49) | func (x *EnableRequest) Reset() { method String (line 56) | func (x *EnableRequest) String() string { method ProtoMessage (line 60) | func (*EnableRequest) ProtoMessage() {} method ProtoReflect (line 62) | func (x *EnableRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 75) | func (*EnableRequest) Descriptor() ([]byte, []int) { method GetEnabled (line 79) | func (x *EnableRequest) GetEnabled() bool { type EnableResponse (line 87) | type EnableResponse struct method Reset (line 93) | func (x *EnableResponse) Reset() { method String (line 100) | func (x *EnableResponse) String() string { method ProtoMessage (line 104) | func (*EnableResponse) ProtoMessage() {} method ProtoReflect (line 106) | func (x *EnableResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 119) | func (*EnableResponse) Descriptor() ([]byte, []int) { type GetStreamStatsRequest (line 125) | type GetStreamStatsRequest struct method Reset (line 131) | func (x *GetStreamStatsRequest) Reset() { method String (line 138) | func (x *GetStreamStatsRequest) String() string { method ProtoMessage (line 142) | func (*GetStreamStatsRequest) ProtoMessage() {} method ProtoReflect (line 144) | func (x *GetStreamStatsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 157) | func (*GetStreamStatsRequest) Descriptor() ([]byte, []int) { type GetStreamStatsResponse (line 163) | type GetStreamStatsResponse struct method Reset (line 170) | func (x *GetStreamStatsResponse) Reset() { method String (line 177) | func (x *GetStreamStatsResponse) String() string { method ProtoMessage (line 181) | func (*GetStreamStatsResponse) ProtoMessage() {} method ProtoReflect (line 183) | func (x *GetStreamStatsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 196) | func (*GetStreamStatsResponse) Descriptor() ([]byte, []int) { method GetStreamStats (line 200) | func (x *GetStreamStatsResponse) GetStreamStats() []*Stat { type Timer (line 210) | type Timer struct method Reset (line 230) | func (x *Timer) Reset() { method String (line 237) | func (x *Timer) String() string { method ProtoMessage (line 241) | func (*Timer) ProtoMessage() {} method ProtoReflect (line 243) | func (x *Timer) ProtoReflect() protoreflect.Message { method Descriptor (line 256) | func (*Timer) Descriptor() ([]byte, []int) { method GetTags (line 260) | func (x *Timer) GetTags() string { method GetBeginSec (line 267) | func (x *Timer) GetBeginSec() int64 { method GetBeginNsec (line 274) | func (x *Timer) GetBeginNsec() int32 { method GetEndSec (line 281) | func (x *Timer) GetEndSec() int64 { method GetEndNsec (line 288) | func (x *Timer) GetEndNsec() int32 { method GetGoId (line 295) | func (x *Timer) GetGoId() int64 { type Stat (line 304) | type Stat struct method Reset (line 320) | func (x *Stat) Reset() { method String (line 327) | func (x *Stat) String() string { method ProtoMessage (line 331) | func (*Stat) ProtoMessage() {} method ProtoReflect (line 333) | func (x *Stat) ProtoReflect() protoreflect.Message { method Descriptor (line 346) | func (*Stat) Descriptor() ([]byte, []int) { method GetTags (line 350) | func (x *Stat) GetTags() string { method GetTimers (line 357) | func (x *Stat) GetTimers() []*Timer { method GetMetadata (line 364) | func (x *Stat) GetMetadata() []byte { constant file_profiling_proto_service_proto_rawDesc (line 373) | file_profiling_proto_service_proto_rawDesc = "" + function file_profiling_proto_service_proto_rawDescGZIP (line 403) | func file_profiling_proto_service_proto_rawDescGZIP() []byte { function init (line 433) | func init() { file_profiling_proto_service_proto_init() } function file_profiling_proto_service_proto_init (line 434) | func file_profiling_proto_service_proto_init() { FILE: profiling/proto/service_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant Profiling_Enable_FullMethodName (line 36) | Profiling_Enable_FullMethodName = "/grpc.go.profiling.v1alpha.Pr... constant Profiling_GetStreamStats_FullMethodName (line 37) | Profiling_GetStreamStats_FullMethodName = "/grpc.go.profiling.v1alpha.Pr... type ProfilingClient (line 46) | type ProfilingClient interface type profilingClient (line 54) | type profilingClient struct method Enable (line 62) | func (c *profilingClient) Enable(ctx context.Context, in *EnableReques... method GetStreamStats (line 72) | func (c *profilingClient) GetStreamStats(ctx context.Context, in *GetS... function NewProfilingClient (line 58) | func NewProfilingClient(cc grpc.ClientConnInterface) ProfilingClient { type ProfilingServer (line 88) | type ProfilingServer interface type UnimplementedProfilingServer (line 101) | type UnimplementedProfilingServer struct method Enable (line 103) | func (UnimplementedProfilingServer) Enable(context.Context, *EnableReq... method GetStreamStats (line 106) | func (UnimplementedProfilingServer) GetStreamStats(context.Context, *G... method testEmbeddedByValue (line 109) | func (UnimplementedProfilingServer) testEmbeddedByValue() {} type UnsafeProfilingServer (line 114) | type UnsafeProfilingServer interface function RegisterProfilingServer (line 118) | func RegisterProfilingServer(s grpc.ServiceRegistrar, srv ProfilingServe... function _Profiling_Enable_Handler (line 129) | func _Profiling_Enable_Handler(srv interface{}, ctx context.Context, dec... function _Profiling_GetStreamStats_Handler (line 147) | func _Profiling_GetStreamStats_Handler(srv interface{}, ctx context.Cont... FILE: profiling/service/service.go type ProfilingConfig (line 44) | type ProfilingConfig struct function Init (line 66) | func Init(pc *ProfilingConfig) error { type profilingServer (line 83) | type profilingServer struct method Enable (line 102) | func (s *profilingServer) Enable(_ context.Context, req *ppb.EnableReq... method GetStreamStats (line 136) | func (s *profilingServer) GetStreamStats(context.Context, *ppb.GetStre... function getProfilingServerInstance (line 94) | func getProfilingServerInstance() *profilingServer { function timerToProtoTimer (line 113) | func timerToProtoTimer(timer *profiling.Timer) *ppb.Timer { function statToProtoStat (line 124) | func statToProtoStat(stat *profiling.Stat) *ppb.Stat { FILE: reflection/adapt.go function asV1Alpha (line 31) | func asV1Alpha(svr v1reflectiongrpc.ServerReflectionServer) v1alpharefle... type v1AlphaServerImpl (line 35) | type v1AlphaServerImpl struct method ServerReflectionInfo (line 39) | func (s v1AlphaServerImpl) ServerReflectionInfo(stream v1alphareflecti... type v1AlphaServerStreamAdapter (line 43) | type v1AlphaServerStreamAdapter struct method Send (line 47) | func (s v1AlphaServerStreamAdapter) Send(response *v1reflectionpb.Serv... method Recv (line 51) | func (s v1AlphaServerStreamAdapter) Recv() (*v1reflectionpb.ServerRefl... FILE: reflection/grpc_reflection_v1/reflection.pb.go constant _ (line 40) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 42) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ServerReflectionRequest (line 46) | type ServerReflectionRequest struct method Reset (line 65) | func (x *ServerReflectionRequest) Reset() { method String (line 72) | func (x *ServerReflectionRequest) String() string { method ProtoMessage (line 76) | func (*ServerReflectionRequest) ProtoMessage() {} method ProtoReflect (line 78) | func (x *ServerReflectionRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 91) | func (*ServerReflectionRequest) Descriptor() ([]byte, []int) { method GetHost (line 95) | func (x *ServerReflectionRequest) GetHost() string { method GetMessageRequest (line 102) | func (x *ServerReflectionRequest) GetMessageRequest() isServerReflecti... method GetFileByFilename (line 109) | func (x *ServerReflectionRequest) GetFileByFilename() string { method GetFileContainingSymbol (line 118) | func (x *ServerReflectionRequest) GetFileContainingSymbol() string { method GetFileContainingExtension (line 127) | func (x *ServerReflectionRequest) GetFileContainingExtension() *Extens... method GetAllExtensionNumbersOfType (line 136) | func (x *ServerReflectionRequest) GetAllExtensionNumbersOfType() string { method GetListServices (line 145) | func (x *ServerReflectionRequest) GetListServices() string { type isServerReflectionRequest_MessageRequest (line 154) | type isServerReflectionRequest_MessageRequest interface type ServerReflectionRequest_FileByFilename (line 158) | type ServerReflectionRequest_FileByFilename struct method isServerReflectionRequest_MessageRequest (line 194) | func (*ServerReflectionRequest_FileByFilename) isServerReflectionReque... type ServerReflectionRequest_FileContainingSymbol (line 163) | type ServerReflectionRequest_FileContainingSymbol struct method isServerReflectionRequest_MessageRequest (line 196) | func (*ServerReflectionRequest_FileContainingSymbol) isServerReflectio... type ServerReflectionRequest_FileContainingExtension (line 170) | type ServerReflectionRequest_FileContainingExtension struct method isServerReflectionRequest_MessageRequest (line 198) | func (*ServerReflectionRequest_FileContainingExtension) isServerReflec... type ServerReflectionRequest_AllExtensionNumbersOfType (line 176) | type ServerReflectionRequest_AllExtensionNumbersOfType struct method isServerReflectionRequest_MessageRequest (line 200) | func (*ServerReflectionRequest_AllExtensionNumbersOfType) isServerRefl... type ServerReflectionRequest_ListServices (line 188) | type ServerReflectionRequest_ListServices struct method isServerReflectionRequest_MessageRequest (line 203) | func (*ServerReflectionRequest_ListServices) isServerReflectionRequest... type ExtensionRequest (line 207) | type ExtensionRequest struct method Reset (line 216) | func (x *ExtensionRequest) Reset() { method String (line 223) | func (x *ExtensionRequest) String() string { method ProtoMessage (line 227) | func (*ExtensionRequest) ProtoMessage() {} method ProtoReflect (line 229) | func (x *ExtensionRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 242) | func (*ExtensionRequest) Descriptor() ([]byte, []int) { method GetContainingType (line 246) | func (x *ExtensionRequest) GetContainingType() string { method GetExtensionNumber (line 253) | func (x *ExtensionRequest) GetExtensionNumber() int32 { type ServerReflectionResponse (line 261) | type ServerReflectionResponse struct method Reset (line 279) | func (x *ServerReflectionResponse) Reset() { method String (line 286) | func (x *ServerReflectionResponse) String() string { method ProtoMessage (line 290) | func (*ServerReflectionResponse) ProtoMessage() {} method ProtoReflect (line 292) | func (x *ServerReflectionResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 305) | func (*ServerReflectionResponse) Descriptor() ([]byte, []int) { method GetValidHost (line 309) | func (x *ServerReflectionResponse) GetValidHost() string { method GetOriginalRequest (line 316) | func (x *ServerReflectionResponse) GetOriginalRequest() *ServerReflect... method GetMessageResponse (line 323) | func (x *ServerReflectionResponse) GetMessageResponse() isServerReflec... method GetFileDescriptorResponse (line 330) | func (x *ServerReflectionResponse) GetFileDescriptorResponse() *FileDe... method GetAllExtensionNumbersResponse (line 339) | func (x *ServerReflectionResponse) GetAllExtensionNumbersResponse() *E... method GetListServicesResponse (line 348) | func (x *ServerReflectionResponse) GetListServicesResponse() *ListServ... method GetErrorResponse (line 357) | func (x *ServerReflectionResponse) GetErrorResponse() *ErrorResponse { type isServerReflectionResponse_MessageResponse (line 366) | type isServerReflectionResponse_MessageResponse interface type ServerReflectionResponse_FileDescriptorResponse (line 370) | type ServerReflectionResponse_FileDescriptorResponse struct method isServerReflectionResponse_MessageResponse (line 395) | func (*ServerReflectionResponse_FileDescriptorResponse) isServerReflec... type ServerReflectionResponse_AllExtensionNumbersResponse (line 380) | type ServerReflectionResponse_AllExtensionNumbersResponse struct method isServerReflectionResponse_MessageResponse (line 398) | func (*ServerReflectionResponse_AllExtensionNumbersResponse) isServerR... type ServerReflectionResponse_ListServicesResponse (line 385) | type ServerReflectionResponse_ListServicesResponse struct method isServerReflectionResponse_MessageResponse (line 401) | func (*ServerReflectionResponse_ListServicesResponse) isServerReflecti... type ServerReflectionResponse_ErrorResponse (line 390) | type ServerReflectionResponse_ErrorResponse struct method isServerReflectionResponse_MessageResponse (line 403) | func (*ServerReflectionResponse_ErrorResponse) isServerReflectionRespo... type FileDescriptorResponse (line 408) | type FileDescriptorResponse struct method Reset (line 418) | func (x *FileDescriptorResponse) Reset() { method String (line 425) | func (x *FileDescriptorResponse) String() string { method ProtoMessage (line 429) | func (*FileDescriptorResponse) ProtoMessage() {} method ProtoReflect (line 431) | func (x *FileDescriptorResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 444) | func (*FileDescriptorResponse) Descriptor() ([]byte, []int) { method GetFileDescriptorProto (line 448) | func (x *FileDescriptorResponse) GetFileDescriptorProto() [][]byte { type ExtensionNumberResponse (line 457) | type ExtensionNumberResponse struct method Reset (line 467) | func (x *ExtensionNumberResponse) Reset() { method String (line 474) | func (x *ExtensionNumberResponse) String() string { method ProtoMessage (line 478) | func (*ExtensionNumberResponse) ProtoMessage() {} method ProtoReflect (line 480) | func (x *ExtensionNumberResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 493) | func (*ExtensionNumberResponse) Descriptor() ([]byte, []int) { method GetBaseTypeName (line 497) | func (x *ExtensionNumberResponse) GetBaseTypeName() string { method GetExtensionNumber (line 504) | func (x *ExtensionNumberResponse) GetExtensionNumber() []int32 { type ListServiceResponse (line 512) | type ListServiceResponse struct method Reset (line 521) | func (x *ListServiceResponse) Reset() { method String (line 528) | func (x *ListServiceResponse) String() string { method ProtoMessage (line 532) | func (*ListServiceResponse) ProtoMessage() {} method ProtoReflect (line 534) | func (x *ListServiceResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 547) | func (*ListServiceResponse) Descriptor() ([]byte, []int) { method GetService (line 551) | func (x *ListServiceResponse) GetService() []*ServiceResponse { type ServiceResponse (line 560) | type ServiceResponse struct method Reset (line 569) | func (x *ServiceResponse) Reset() { method String (line 576) | func (x *ServiceResponse) String() string { method ProtoMessage (line 580) | func (*ServiceResponse) ProtoMessage() {} method ProtoReflect (line 582) | func (x *ServiceResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 595) | func (*ServiceResponse) Descriptor() ([]byte, []int) { method GetName (line 599) | func (x *ServiceResponse) GetName() string { type ErrorResponse (line 607) | type ErrorResponse struct method Reset (line 616) | func (x *ErrorResponse) Reset() { method String (line 623) | func (x *ErrorResponse) String() string { method ProtoMessage (line 627) | func (*ErrorResponse) ProtoMessage() {} method ProtoReflect (line 629) | func (x *ErrorResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 642) | func (*ErrorResponse) Descriptor() ([]byte, []int) { method GetErrorCode (line 646) | func (x *ErrorResponse) GetErrorCode() int32 { method GetErrorMessage (line 653) | func (x *ErrorResponse) GetErrorMessage() string { constant file_grpc_reflection_v1_reflection_proto_rawDesc (line 662) | file_grpc_reflection_v1_reflection_proto_rawDesc = "" + function file_grpc_reflection_v1_reflection_proto_rawDescGZIP (line 707) | func file_grpc_reflection_v1_reflection_proto_rawDescGZIP() []byte { function init (line 742) | func init() { file_grpc_reflection_v1_reflection_proto_init() } function file_grpc_reflection_v1_reflection_proto_init (line 743) | func file_grpc_reflection_v1_reflection_proto_init() { FILE: reflection/grpc_reflection_v1/reflection_grpc.pb.go constant _ (line 40) | _ = grpc.SupportPackageIsVersion9 constant ServerReflection_ServerReflectionInfo_FullMethodName (line 43) | ServerReflection_ServerReflectionInfo_FullMethodName = "/grpc.reflection... type ServerReflectionClient (line 49) | type ServerReflectionClient interface type serverReflectionClient (line 55) | type serverReflectionClient struct method ServerReflectionInfo (line 63) | func (c *serverReflectionClient) ServerReflectionInfo(ctx context.Cont... function NewServerReflectionClient (line 59) | func NewServerReflectionClient(cc grpc.ClientConnInterface) ServerReflec... type ServerReflectionServer (line 79) | type ServerReflectionServer interface type UnimplementedServerReflectionServer (line 90) | type UnimplementedServerReflectionServer struct method ServerReflectionInfo (line 92) | func (UnimplementedServerReflectionServer) ServerReflectionInfo(grpc.B... method testEmbeddedByValue (line 95) | func (UnimplementedServerReflectionServer) testEmbeddedByValue() {} type UnsafeServerReflectionServer (line 100) | type UnsafeServerReflectionServer interface function RegisterServerReflectionServer (line 104) | func RegisterServerReflectionServer(s grpc.ServiceRegistrar, srv ServerR... function _ServerReflection_ServerReflectionInfo_Handler (line 115) | func _ServerReflection_ServerReflectionInfo_Handler(srv interface{}, str... FILE: reflection/grpc_reflection_v1alpha/reflection.pb.go constant _ (line 37) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 39) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ServerReflectionRequest (line 45) | type ServerReflectionRequest struct method Reset (line 65) | func (x *ServerReflectionRequest) Reset() { method String (line 72) | func (x *ServerReflectionRequest) String() string { method ProtoMessage (line 76) | func (*ServerReflectionRequest) ProtoMessage() {} method ProtoReflect (line 78) | func (x *ServerReflectionRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 91) | func (*ServerReflectionRequest) Descriptor() ([]byte, []int) { method GetHost (line 96) | func (x *ServerReflectionRequest) GetHost() string { method GetMessageRequest (line 103) | func (x *ServerReflectionRequest) GetMessageRequest() isServerReflecti... method GetFileByFilename (line 111) | func (x *ServerReflectionRequest) GetFileByFilename() string { method GetFileContainingSymbol (line 121) | func (x *ServerReflectionRequest) GetFileContainingSymbol() string { method GetFileContainingExtension (line 131) | func (x *ServerReflectionRequest) GetFileContainingExtension() *Extens... method GetAllExtensionNumbersOfType (line 141) | func (x *ServerReflectionRequest) GetAllExtensionNumbersOfType() string { method GetListServices (line 151) | func (x *ServerReflectionRequest) GetListServices() string { type isServerReflectionRequest_MessageRequest (line 160) | type isServerReflectionRequest_MessageRequest interface type ServerReflectionRequest_FileByFilename (line 164) | type ServerReflectionRequest_FileByFilename struct method isServerReflectionRequest_MessageRequest (line 210) | func (*ServerReflectionRequest_FileByFilename) isServerReflectionReque... type ServerReflectionRequest_FileContainingSymbol (line 171) | type ServerReflectionRequest_FileContainingSymbol struct method isServerReflectionRequest_MessageRequest (line 212) | func (*ServerReflectionRequest_FileContainingSymbol) isServerReflectio... type ServerReflectionRequest_FileContainingExtension (line 180) | type ServerReflectionRequest_FileContainingExtension struct method isServerReflectionRequest_MessageRequest (line 214) | func (*ServerReflectionRequest_FileContainingExtension) isServerReflec... type ServerReflectionRequest_AllExtensionNumbersOfType (line 188) | type ServerReflectionRequest_AllExtensionNumbersOfType struct method isServerReflectionRequest_MessageRequest (line 216) | func (*ServerReflectionRequest_AllExtensionNumbersOfType) isServerRefl... type ServerReflectionRequest_ListServices (line 202) | type ServerReflectionRequest_ListServices struct method isServerReflectionRequest_MessageRequest (line 219) | func (*ServerReflectionRequest_ListServices) isServerReflectionRequest... type ExtensionRequest (line 225) | type ExtensionRequest struct method Reset (line 237) | func (x *ExtensionRequest) Reset() { method String (line 244) | func (x *ExtensionRequest) String() string { method ProtoMessage (line 248) | func (*ExtensionRequest) ProtoMessage() {} method ProtoReflect (line 250) | func (x *ExtensionRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 263) | func (*ExtensionRequest) Descriptor() ([]byte, []int) { method GetContainingType (line 268) | func (x *ExtensionRequest) GetContainingType() string { method GetExtensionNumber (line 276) | func (x *ExtensionRequest) GetExtensionNumber() int32 { type ServerReflectionResponse (line 286) | type ServerReflectionResponse struct method Reset (line 306) | func (x *ServerReflectionResponse) Reset() { method String (line 313) | func (x *ServerReflectionResponse) String() string { method ProtoMessage (line 317) | func (*ServerReflectionResponse) ProtoMessage() {} method ProtoReflect (line 319) | func (x *ServerReflectionResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 332) | func (*ServerReflectionResponse) Descriptor() ([]byte, []int) { method GetValidHost (line 337) | func (x *ServerReflectionResponse) GetValidHost() string { method GetOriginalRequest (line 345) | func (x *ServerReflectionResponse) GetOriginalRequest() *ServerReflect... method GetMessageResponse (line 352) | func (x *ServerReflectionResponse) GetMessageResponse() isServerReflec... method GetFileDescriptorResponse (line 360) | func (x *ServerReflectionResponse) GetFileDescriptorResponse() *FileDe... method GetAllExtensionNumbersResponse (line 370) | func (x *ServerReflectionResponse) GetAllExtensionNumbersResponse() *E... method GetListServicesResponse (line 380) | func (x *ServerReflectionResponse) GetListServicesResponse() *ListServ... method GetErrorResponse (line 390) | func (x *ServerReflectionResponse) GetErrorResponse() *ErrorResponse { type isServerReflectionResponse_MessageResponse (line 399) | type isServerReflectionResponse_MessageResponse interface type ServerReflectionResponse_FileDescriptorResponse (line 403) | type ServerReflectionResponse_FileDescriptorResponse struct method isServerReflectionResponse_MessageResponse (line 436) | func (*ServerReflectionResponse_FileDescriptorResponse) isServerReflec... type ServerReflectionResponse_AllExtensionNumbersResponse (line 415) | type ServerReflectionResponse_AllExtensionNumbersResponse struct method isServerReflectionResponse_MessageResponse (line 439) | func (*ServerReflectionResponse_AllExtensionNumbersResponse) isServerR... type ServerReflectionResponse_ListServicesResponse (line 422) | type ServerReflectionResponse_ListServicesResponse struct method isServerReflectionResponse_MessageResponse (line 442) | func (*ServerReflectionResponse_ListServicesResponse) isServerReflecti... type ServerReflectionResponse_ErrorResponse (line 429) | type ServerReflectionResponse_ErrorResponse struct method isServerReflectionResponse_MessageResponse (line 444) | func (*ServerReflectionResponse_ErrorResponse) isServerReflectionRespo... type FileDescriptorResponse (line 451) | type FileDescriptorResponse struct method Reset (line 463) | func (x *FileDescriptorResponse) Reset() { method String (line 470) | func (x *FileDescriptorResponse) String() string { method ProtoMessage (line 474) | func (*FileDescriptorResponse) ProtoMessage() {} method ProtoReflect (line 476) | func (x *FileDescriptorResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 489) | func (*FileDescriptorResponse) Descriptor() ([]byte, []int) { method GetFileDescriptorProto (line 494) | func (x *FileDescriptorResponse) GetFileDescriptorProto() [][]byte { type ExtensionNumberResponse (line 505) | type ExtensionNumberResponse struct method Reset (line 518) | func (x *ExtensionNumberResponse) Reset() { method String (line 525) | func (x *ExtensionNumberResponse) String() string { method ProtoMessage (line 529) | func (*ExtensionNumberResponse) ProtoMessage() {} method ProtoReflect (line 531) | func (x *ExtensionNumberResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 544) | func (*ExtensionNumberResponse) Descriptor() ([]byte, []int) { method GetBaseTypeName (line 549) | func (x *ExtensionNumberResponse) GetBaseTypeName() string { method GetExtensionNumber (line 557) | func (x *ExtensionNumberResponse) GetExtensionNumber() []int32 { type ListServiceResponse (line 567) | type ListServiceResponse struct method Reset (line 578) | func (x *ListServiceResponse) Reset() { method String (line 585) | func (x *ListServiceResponse) String() string { method ProtoMessage (line 589) | func (*ListServiceResponse) ProtoMessage() {} method ProtoReflect (line 591) | func (x *ListServiceResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 604) | func (*ListServiceResponse) Descriptor() ([]byte, []int) { method GetService (line 609) | func (x *ListServiceResponse) GetService() []*ServiceResponse { type ServiceResponse (line 620) | type ServiceResponse struct method Reset (line 631) | func (x *ServiceResponse) Reset() { method String (line 638) | func (x *ServiceResponse) String() string { method ProtoMessage (line 642) | func (*ServiceResponse) ProtoMessage() {} method ProtoReflect (line 644) | func (x *ServiceResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 657) | func (*ServiceResponse) Descriptor() ([]byte, []int) { method GetName (line 662) | func (x *ServiceResponse) GetName() string { type ErrorResponse (line 672) | type ErrorResponse struct method Reset (line 684) | func (x *ErrorResponse) Reset() { method String (line 691) | func (x *ErrorResponse) String() string { method ProtoMessage (line 695) | func (*ErrorResponse) ProtoMessage() {} method ProtoReflect (line 697) | func (x *ErrorResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 710) | func (*ErrorResponse) Descriptor() ([]byte, []int) { method GetErrorCode (line 715) | func (x *ErrorResponse) GetErrorCode() int32 { method GetErrorMessage (line 723) | func (x *ErrorResponse) GetErrorMessage() string { constant file_grpc_reflection_v1alpha_reflection_proto_rawDesc (line 732) | file_grpc_reflection_v1alpha_reflection_proto_rawDesc = "" + function file_grpc_reflection_v1alpha_reflection_proto_rawDescGZIP (line 777) | func file_grpc_reflection_v1alpha_reflection_proto_rawDescGZIP() []byte { function init (line 812) | func init() { file_grpc_reflection_v1alpha_reflection_proto_init() } function file_grpc_reflection_v1alpha_reflection_proto_init (line 813) | func file_grpc_reflection_v1alpha_reflection_proto_init() { FILE: reflection/grpc_reflection_v1alpha/reflection_grpc.pb.go constant _ (line 37) | _ = grpc.SupportPackageIsVersion9 constant ServerReflection_ServerReflectionInfo_FullMethodName (line 40) | ServerReflection_ServerReflectionInfo_FullMethodName = "/grpc.reflection... type ServerReflectionClient (line 46) | type ServerReflectionClient interface type serverReflectionClient (line 52) | type serverReflectionClient struct method ServerReflectionInfo (line 60) | func (c *serverReflectionClient) ServerReflectionInfo(ctx context.Cont... function NewServerReflectionClient (line 56) | func NewServerReflectionClient(cc grpc.ClientConnInterface) ServerReflec... type ServerReflectionServer (line 76) | type ServerReflectionServer interface type UnimplementedServerReflectionServer (line 87) | type UnimplementedServerReflectionServer struct method ServerReflectionInfo (line 89) | func (UnimplementedServerReflectionServer) ServerReflectionInfo(grpc.B... method testEmbeddedByValue (line 92) | func (UnimplementedServerReflectionServer) testEmbeddedByValue() {} type UnsafeServerReflectionServer (line 97) | type UnsafeServerReflectionServer interface function RegisterServerReflectionServer (line 101) | func RegisterServerReflectionServer(s grpc.ServiceRegistrar, srv ServerR... function _ServerReflection_ServerReflectionInfo_Handler (line 112) | func _ServerReflection_ServerReflectionInfo_Handler(srv interface{}, str... FILE: reflection/grpc_testing/proto2.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ToBeExtended (line 38) | type ToBeExtended struct method Reset (line 46) | func (x *ToBeExtended) Reset() { method String (line 53) | func (x *ToBeExtended) String() string { method ProtoMessage (line 57) | func (*ToBeExtended) ProtoMessage() {} method ProtoReflect (line 59) | func (x *ToBeExtended) ProtoReflect() protoreflect.Message { method Descriptor (line 72) | func (*ToBeExtended) Descriptor() ([]byte, []int) { method GetFoo (line 76) | func (x *ToBeExtended) GetFoo() int32 { constant file_reflection_grpc_testing_proto2_proto_rawDesc (line 85) | file_reflection_grpc_testing_proto2_proto_rawDesc = "" + function file_reflection_grpc_testing_proto2_proto_rawDescGZIP (line 97) | func file_reflection_grpc_testing_proto2_proto_rawDescGZIP() []byte { function init (line 116) | func init() { file_reflection_grpc_testing_proto2_proto_init() } function file_reflection_grpc_testing_proto2_proto_init (line 117) | func file_reflection_grpc_testing_proto2_proto_init() { FILE: reflection/grpc_testing/proto2_ext.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Extension (line 38) | type Extension struct method Reset (line 45) | func (x *Extension) Reset() { method String (line 52) | func (x *Extension) String() string { method ProtoMessage (line 56) | func (*Extension) ProtoMessage() {} method ProtoReflect (line 58) | func (x *Extension) ProtoReflect() protoreflect.Message { method Descriptor (line 71) | func (*Extension) Descriptor() ([]byte, []int) { method GetWhatzit (line 75) | func (x *Extension) GetWhatzit() int32 { constant file_reflection_grpc_testing_proto2_ext_proto_rawDesc (line 121) | file_reflection_grpc_testing_proto2_ext_proto_rawDesc = "" + function file_reflection_grpc_testing_proto2_ext_proto_rawDescGZIP (line 135) | func file_reflection_grpc_testing_proto2_ext_proto_rawDescGZIP() []byte { function init (line 161) | func init() { file_reflection_grpc_testing_proto2_ext_proto_init() } function file_reflection_grpc_testing_proto2_ext_proto_init (line 162) | func file_reflection_grpc_testing_proto2_ext_proto_init() { FILE: reflection/grpc_testing/proto2_ext2.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type AnotherExtension (line 38) | type AnotherExtension struct method Reset (line 45) | func (x *AnotherExtension) Reset() { method String (line 52) | func (x *AnotherExtension) String() string { method ProtoMessage (line 56) | func (*AnotherExtension) ProtoMessage() {} method ProtoReflect (line 58) | func (x *AnotherExtension) ProtoReflect() protoreflect.Message { method Descriptor (line 71) | func (*AnotherExtension) Descriptor() ([]byte, []int) { method GetWhatchamacallit (line 75) | func (x *AnotherExtension) GetWhatchamacallit() int32 { constant file_reflection_grpc_testing_proto2_ext2_proto_rawDesc (line 111) | file_reflection_grpc_testing_proto2_ext2_proto_rawDesc = "" + function file_reflection_grpc_testing_proto2_ext2_proto_rawDescGZIP (line 124) | func file_reflection_grpc_testing_proto2_ext2_proto_rawDescGZIP() []byte { function init (line 147) | func init() { file_reflection_grpc_testing_proto2_ext2_proto_init() } function file_reflection_grpc_testing_proto2_ext2_proto_init (line 148) | func file_reflection_grpc_testing_proto2_ext2_proto_init() { FILE: reflection/grpc_testing/test.pb.go constant _ (line 33) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 35) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type SearchResponse (line 38) | type SearchResponse struct method Reset (line 45) | func (x *SearchResponse) Reset() { method String (line 52) | func (x *SearchResponse) String() string { method ProtoMessage (line 56) | func (*SearchResponse) ProtoMessage() {} method ProtoReflect (line 58) | func (x *SearchResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 71) | func (*SearchResponse) Descriptor() ([]byte, []int) { method GetResults (line 75) | func (x *SearchResponse) GetResults() []*SearchResponse_Result { type SearchRequest (line 82) | type SearchRequest struct method Reset (line 89) | func (x *SearchRequest) Reset() { method String (line 96) | func (x *SearchRequest) String() string { method ProtoMessage (line 100) | func (*SearchRequest) ProtoMessage() {} method ProtoReflect (line 102) | func (x *SearchRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 115) | func (*SearchRequest) Descriptor() ([]byte, []int) { method GetQuery (line 119) | func (x *SearchRequest) GetQuery() string { type SearchResponse_Result (line 126) | type SearchResponse_Result struct method Reset (line 135) | func (x *SearchResponse_Result) Reset() { method String (line 142) | func (x *SearchResponse_Result) String() string { method ProtoMessage (line 146) | func (*SearchResponse_Result) ProtoMessage() {} method ProtoReflect (line 148) | func (x *SearchResponse_Result) ProtoReflect() protoreflect.Message { method Descriptor (line 161) | func (*SearchResponse_Result) Descriptor() ([]byte, []int) { method GetUrl (line 165) | func (x *SearchResponse_Result) GetUrl() string { method GetTitle (line 172) | func (x *SearchResponse_Result) GetTitle() string { method GetSnippets (line 179) | func (x *SearchResponse_Result) GetSnippets() []string { constant file_reflection_grpc_testing_test_proto_rawDesc (line 188) | file_reflection_grpc_testing_test_proto_rawDesc = "" + function file_reflection_grpc_testing_test_proto_rawDescGZIP (line 208) | func file_reflection_grpc_testing_test_proto_rawDescGZIP() []byte { function init (line 234) | func init() { file_reflection_grpc_testing_test_proto_init() } function file_reflection_grpc_testing_test_proto_init (line 235) | func file_reflection_grpc_testing_test_proto_init() { FILE: reflection/grpc_testing/test_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant SearchService_Search_FullMethodName (line 36) | SearchService_Search_FullMethodName = "/grpc.testing.SearchServ... constant SearchService_StreamingSearch_FullMethodName (line 37) | SearchService_StreamingSearch_FullMethodName = "/grpc.testing.SearchServ... type SearchServiceClient (line 43) | type SearchServiceClient interface type searchServiceClient (line 48) | type searchServiceClient struct method Search (line 56) | func (c *searchServiceClient) Search(ctx context.Context, in *SearchRe... method StreamingSearch (line 66) | func (c *searchServiceClient) StreamingSearch(ctx context.Context, opt... function NewSearchServiceClient (line 52) | func NewSearchServiceClient(cc grpc.ClientConnInterface) SearchServiceCl... type SearchServiceServer (line 82) | type SearchServiceServer interface type UnimplementedSearchServiceServer (line 93) | type UnimplementedSearchServiceServer struct method Search (line 95) | func (UnimplementedSearchServiceServer) Search(context.Context, *Searc... method StreamingSearch (line 98) | func (UnimplementedSearchServiceServer) StreamingSearch(grpc.BidiStrea... method mustEmbedUnimplementedSearchServiceServer (line 101) | func (UnimplementedSearchServiceServer) mustEmbedUnimplementedSearchSe... method testEmbeddedByValue (line 102) | func (UnimplementedSearchServiceServer) testEmbeddedByValue() ... type UnsafeSearchServiceServer (line 107) | type UnsafeSearchServiceServer interface function RegisterSearchServiceServer (line 111) | func RegisterSearchServiceServer(s grpc.ServiceRegistrar, srv SearchServ... function _SearchService_Search_Handler (line 122) | func _SearchService_Search_Handler(srv interface{}, ctx context.Context,... function _SearchService_StreamingSearch_Handler (line 140) | func _SearchService_StreamingSearch_Handler(srv interface{}, stream grpc... FILE: reflection/internal/internal.go type ServiceInfoProvider (line 44) | type ServiceInfoProvider interface type ExtensionResolver (line 50) | type ExtensionResolver interface type ServerReflectionServer (line 56) | type ServerReflectionServer struct method FileDescWithDependencies (line 66) | func (s *ServerReflectionServer) FileDescWithDependencies(fd protorefl... method FileDescEncodingContainingSymbol (line 101) | func (s *ServerReflectionServer) FileDescEncodingContainingSymbol(name... method FileDescEncodingContainingExtension (line 112) | func (s *ServerReflectionServer) FileDescEncodingContainingExtension(t... method AllExtensionNumbersForTypeName (line 121) | func (s *ServerReflectionServer) AllExtensionNumbersForTypeName(name s... method ListServices (line 140) | func (s *ServerReflectionServer) ListServices() []*v1reflectionpb.Serv... method ServerReflectionInfo (line 153) | func (s *ServerReflectionServer) ServerReflectionInfo(stream v1reflect... function V1ToV1AlphaResponse (line 251) | func V1ToV1AlphaResponse(v1 *v1reflectionpb.ServerReflectionResponse) *v... function V1AlphaToV1Request (line 305) | func V1AlphaToV1Request(v1alpha *v1alphareflectionpb.ServerReflectionReq... function V1ToV1AlphaRequest (line 341) | func V1ToV1AlphaRequest(v1 *v1reflectionpb.ServerReflectionRequest) *v1a... function V1AlphaToV1Response (line 385) | func V1AlphaToV1Response(v1alpha *v1alphareflectionpb.ServerReflectionRe... FILE: reflection/serverreflection.go type GRPCServer (line 53) | type GRPCServer interface function Register (line 62) | func Register(s GRPCServer) { function RegisterV1 (line 71) | func RegisterV1(s GRPCServer) { type ServiceInfoProvider (line 88) | type ServiceInfoProvider interface type ExtensionResolver (line 99) | type ExtensionResolver interface type ServerOptions (line 110) | type ServerOptions struct function NewServer (line 136) | func NewServer(opts ServerOptions) v1alphareflectiongrpc.ServerReflectio... function NewServerV1 (line 148) | func NewServerV1(opts ServerOptions) v1reflectiongrpc.ServerReflectionSe... FILE: reflection/test/serverreflection_test.go constant defaultTestTimeout (line 66) | defaultTestTimeout = 10 * time.Second type x (line 68) | type x struct method TestFileDescContainingExtension (line 124) | func (x) TestFileDescContainingExtension(t *testing.T) { method TestAllExtensionNumbersForTypeName (line 159) | func (x) TestAllExtensionNumbersForTypeName(t *testing.T) { method TestFileDescWithDependencies (line 174) | func (x) TestFileDescWithDependencies(t *testing.T) { method TestReflectionEnd2end (line 398) | func (x) TestReflectionEnd2end(t *testing.T) { function Test (line 72) | func Test(t *testing.T) { function loadFileDesc (line 76) | func loadFileDesc(filename string) (*descriptorpb.FileDescriptorProto, [... function loadFileDescDynamic (line 89) | func loadFileDescDynamic(b []byte) (*descriptorpb.FileDescriptorProto, p... function init (line 115) | func init() { type intArray (line 153) | type intArray method Len (line 155) | func (s intArray) Len() int { return len(s) } method Swap (line 156) | func (s intArray) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 157) | func (s intArray) Less(i, j int) bool { return s[i] < s[j] } function checkDescriptorResults (line 322) | func checkDescriptorResults(t *testing.T, descriptors [][]byte, expect [... type placeholderFile (line 346) | type placeholderFile struct method IsPlaceholder (line 350) | func (placeholderFile) IsPlaceholder() bool { type combinedResolver (line 354) | type combinedResolver struct method FindFileByPath (line 358) | func (r *combinedResolver) FindFileByPath(path string) (protoreflect.F... method FindDescriptorByName (line 366) | func (r *combinedResolver) FindDescriptorByName(name protoreflect.Full... type server (line 376) | type server struct method Search (line 380) | func (s *server) Search(context.Context, *pb.SearchRequest) (*pb.Searc... method StreamingSearch (line 384) | func (s *server) StreamingSearch(pb.SearchService_StreamingSearchServe... type serverV3 (line 388) | type serverV3 struct method Search (line 390) | func (s *serverV3) Search(context.Context, *pbv3.SearchRequestV3) (*pb... method StreamingSearch (line 394) | func (s *serverV3) StreamingSearch(pbv3.SearchServiceV3_StreamingSearc... function testFileByFilenameTransitiveClosure (line 462) | func testFileByFilenameTransitiveClosure(t *testing.T, stream v1reflecti... function testFileByFilename (line 495) | func testFileByFilename(t *testing.T, stream v1reflectiongrpc.ServerRefl... function testFileByFilenameError (line 529) | func testFileByFilenameError(t *testing.T, stream v1reflectiongrpc.Serve... function testFileContainingSymbol (line 556) | func testFileContainingSymbol(t *testing.T, stream v1reflectiongrpc.Serv... function testFileContainingSymbolError (line 606) | func testFileContainingSymbolError(t *testing.T, stream v1reflectiongrpc... function testFileContainingExtension (line 634) | func testFileContainingExtension(t *testing.T, stream v1reflectiongrpc.S... function testFileContainingExtensionError (line 673) | func testFileContainingExtensionError(t *testing.T, stream v1reflectiong... function testAllExtensionNumbersOfType (line 705) | func testAllExtensionNumbersOfType(t *testing.T, stream v1reflectiongrpc... function testAllExtensionNumbersOfTypeError (line 740) | func testAllExtensionNumbersOfTypeError(t *testing.T, stream v1reflectio... function testListServices (line 765) | func testListServices(t *testing.T, stream v1reflectiongrpc.ServerReflec... function registerDynamicProto (line 807) | func registerDynamicProto(srv *grpc.Server, fdp *descriptorpb.FileDescri... type v1AlphaClientAdapter (line 830) | type v1AlphaClientAdapter struct method ServerReflectionInfo (line 834) | func (v v1AlphaClientAdapter) ServerReflectionInfo(ctx context.Context... type v1AlphaClientStreamAdapter (line 842) | type v1AlphaClientStreamAdapter struct method Send (line 846) | func (s v1AlphaClientStreamAdapter) Send(request *v1reflectionpb.Serve... method Recv (line 850) | func (s v1AlphaClientStreamAdapter) Recv() (*v1reflectionpb.ServerRefl... FILE: resolver/dns/dns_resolver.go function SetResolvingTimeout (line 42) | func SetResolvingTimeout(timeout time.Duration) { function NewBuilder (line 49) | func NewBuilder() resolver.Builder { function SetMinResolutionInterval (line 58) | func SetMinResolutionInterval(d time.Duration) { FILE: resolver/manual/manual.go function NewBuilderWithScheme (line 32) | func NewBuilderWithScheme(scheme string) *Resolver { type Resolver (line 44) | type Resolver struct method InitialState (line 73) | func (r *Resolver) InitialState(s resolver.State) { method Build (line 78) | func (r *Resolver) Build(target resolver.Target, cc resolver.ClientCon... method Scheme (line 93) | func (r *Resolver) Scheme() string { method ResolveNow (line 98) | func (r *Resolver) ResolveNow(o resolver.ResolveNowOptions) { method Close (line 103) | func (r *Resolver) Close() { method UpdateState (line 110) | func (r *Resolver) UpdateState(s resolver.State) { method CC (line 123) | func (r *Resolver) CC() resolver.ClientConn { FILE: resolver/manual/manual_test.go function TestResolver (line 31) | func TestResolver(t *testing.T) { FILE: resolver/map.go type addressMapEntry (line 28) | type addressMapEntry struct type AddressMapV2 (line 43) | type AddressMapV2 struct function toMapKey (line 60) | func toMapKey(addr *Address) Address { type addressMapEntryList (line 64) | type addressMapEntryList function NewAddressMap (line 69) | func NewAddressMap() *AddressMap { function NewAddressMapV2 (line 74) | func NewAddressMapV2[T any]() *AddressMapV2[T] { method find (line 80) | func (l addressMapEntryList[T]) find(addr Address) int { method Get (line 92) | func (a *AddressMapV2[T]) Get(addr Address) (value T, ok bool) { method Set (line 102) | func (a *AddressMapV2[T]) Set(addr Address, value T) { method Delete (line 113) | func (a *AddressMapV2[T]) Delete(addr Address) { method Len (line 130) | func (a *AddressMapV2[T]) Len() int { method Keys (line 140) | func (a *AddressMapV2[T]) Keys() []Address { method Values (line 152) | func (a *AddressMapV2[T]) Values() []T { method All (line 163) | func (a *AddressMapV2[T]) All() iter.Seq2[Address, T] { type endpointMapKey (line 175) | type endpointMapKey type EndpointMap (line 181) | type EndpointMap struct type endpointData (line 185) | type endpointData struct function NewEndpointMap (line 193) | func NewEndpointMap[T any]() *EndpointMap[T] { function encodeEndpoint (line 201) | func encodeEndpoint(e Endpoint) endpointMapKey { method Get (line 215) | func (em *EndpointMap[T]) Get(e Endpoint) (value T, ok bool) { method Set (line 224) | func (em *EndpointMap[T]) Set(e Endpoint, value T) { method Len (line 233) | func (em *EndpointMap[T]) Len() int { method Keys (line 243) | func (em *EndpointMap[T]) Keys() []Endpoint { method Values (line 253) | func (em *EndpointMap[T]) Values() []T { method All (line 267) | func (em *EndpointMap[T]) All() iter.Seq2[Endpoint, T] { method Delete (line 278) | func (em *EndpointMap[T]) Delete(e Endpoint) { FILE: resolver/map_test.go method TestAddressMap_Length (line 54) | func (s) TestAddressMap_Length(t *testing.T) { method TestAddressMap_Get (line 74) | func (s) TestAddressMap_Get(t *testing.T) { method TestAddressMap_Delete (line 111) | func (s) TestAddressMap_Delete(t *testing.T) { method TestAddressMap_Keys (line 134) | func (s) TestAddressMap_Keys(t *testing.T) { method TestAddressMap_Values (line 155) | func (s) TestAddressMap_Values(t *testing.T) { method TestAddressMap_All (line 173) | func (s) TestAddressMap_All(t *testing.T) { method TestEndpointMap_Length (line 202) | func (s) TestEndpointMap_Length(t *testing.T) { method TestEndpointMap_Get (line 224) | func (s) TestEndpointMap_Get(t *testing.T) { method TestEndpointMap_Delete (line 265) | func (s) TestEndpointMap_Delete(t *testing.T) { method TestEndpointMap_Values (line 295) | func (s) TestEndpointMap_Values(t *testing.T) { method TestEndpointMap_All (line 314) | func (s) TestEndpointMap_All(t *testing.T) { function BenchmarkEndpointMap (line 348) | func BenchmarkEndpointMap(b *testing.B) { FILE: resolver/resolver.go function Register (line 54) | func Register(b Builder) { function Get (line 61) | func Get(scheme string) Builder { function SetDefaultScheme (line 74) | func SetDefaultScheme(scheme string) { function GetDefaultScheme (line 81) | func GetDefaultScheme() string { type Address (line 91) | type Address struct method Equal (line 130) | func (a Address) Equal(o Address) bool { method String (line 138) | func (a Address) String() string { type BuildOptions (line 154) | type BuildOptions struct type Endpoint (line 186) | type Endpoint struct type State (line 196) | type State struct type ClientConn (line 232) | type ClientConn interface type Target (line 269) | type Target struct method Endpoint (line 279) | func (t Target) Endpoint() string { method String (line 296) | func (t Target) String() string { type Builder (line 301) | type Builder interface type ResolveNowOptions (line 315) | type ResolveNowOptions struct type Resolver (line 319) | type Resolver interface type AuthorityOverrider (line 332) | type AuthorityOverrider interface function ValidateEndpoints (line 348) | func ValidateEndpoints(endpoints []Endpoint) error { FILE: resolver/resolver_test.go type s (line 27) | type s struct method TestValidateEndpoints (line 37) | func (s) TestValidateEndpoints(t *testing.T) { function Test (line 31) | func Test(t *testing.T) { FILE: resolver/ringhash/attr.go type hashKeyType (line 27) | type hashKeyType constant hashKeyKey (line 31) | hashKeyKey = hashKeyType("grpc.resolver.ringhash.hash_key") function SetHashKey (line 42) | func SetHashKey(endpoint resolver.Endpoint, hashKey string) resolver.End... function HashKey (line 57) | func HashKey(endpoint resolver.Endpoint) string { FILE: resolver_balancer_ext_test.go method TestResolverBalancerInteraction (line 53) | func (s) TestResolverBalancerInteraction(t *testing.T) { type resolverBuilderWithErr (line 88) | type resolverBuilderWithErr struct method Build (line 94) | func (b *resolverBuilderWithErr) Build(_ resolver.Target, _ resolver.C... method Scheme (line 101) | func (b *resolverBuilderWithErr) Scheme() string { method Close (line 105) | func (b *resolverBuilderWithErr) Close() {} method TestResolverBuildFailure (line 112) | func (s) TestResolverBuildFailure(t *testing.T) { method TestResolverReportError (line 140) | func (s) TestResolverReportError(t *testing.T) { method TestEnterIdleDuringResolverUpdateState (line 173) | func (s) TestEnterIdleDuringResolverUpdateState(t *testing.T) { method TestEnterIdleDuringBalancerUpdateState (line 218) | func (s) TestEnterIdleDuringBalancerUpdateState(t *testing.T) { method TestEnterIdleDuringBalancerNewSubConn (line 261) | func (s) TestEnterIdleDuringBalancerNewSubConn(t *testing.T) { FILE: resolver_test.go type wrapResolverBuilder (line 36) | type wrapResolverBuilder struct method Scheme (line 41) | func (w *wrapResolverBuilder) Scheme() string { function init (line 45) | func init() { method TestResolverCaseSensitivity (line 50) | func (s) TestResolverCaseSensitivity(t *testing.T) { method TestResolverAddressesToEndpoints (line 102) | func (s) TestResolverAddressesToEndpoints(t *testing.T) { method TestResolverAddressesToEndpointsUsingNewAddresses (line 150) | func (s) TestResolverAddressesToEndpointsUsingNewAddresses(t *testing.T) { FILE: resolver_wrapper.go type ccResolverWrapper (line 36) | type ccResolverWrapper struct method start (line 68) | func (ccr *ccResolverWrapper) start() error { method resolveNow (line 99) | func (ccr *ccResolverWrapper) resolveNow(o resolver.ResolveNowOptions) { method close (line 111) | func (ccr *ccResolverWrapper) close() { method UpdateState (line 129) | func (ccr *ccResolverWrapper) UpdateState(s resolver.State) error { method ReportError (line 148) | func (ccr *ccResolverWrapper) ReportError(err error) { method NewAddress (line 163) | func (ccr *ccResolverWrapper) NewAddress(addrs []resolver.Address) { method ParseServiceConfig (line 184) | func (ccr *ccResolverWrapper) ParseServiceConfig(scJSON string) *servi... method addChannelzTraceEvent (line 190) | func (ccr *ccResolverWrapper) addChannelzTraceEvent(s resolver.State) { function newCCResolverWrapper (line 55) | func newCCResolverWrapper(cc *ClientConn) *ccResolverWrapper { function addressesToEndpoints (line 214) | func addressesToEndpoints(addrs []resolver.Address) []resolver.Endpoint { FILE: rpc_util.go function init (line 46) | func init() { type Compressor (line 53) | type Compressor interface type gzipCompressor (line 60) | type gzipCompressor struct method Do (line 95) | func (c *gzipCompressor) Do(w io.Writer, p []byte) error { method Type (line 105) | func (c *gzipCompressor) Type() string { function NewGZIPCompressor (line 67) | func NewGZIPCompressor() Compressor { function NewGZIPCompressorWithLevel (line 78) | func NewGZIPCompressorWithLevel(level int) (Compressor, error) { type Decompressor (line 112) | type Decompressor interface type gzipDecompressor (line 119) | type gzipDecompressor struct method Do (line 130) | func (d *gzipDecompressor) Do(r io.Reader) ([]byte, error) { method Type (line 154) | func (d *gzipDecompressor) Type() string { function NewGZIPDecompressor (line 126) | func NewGZIPDecompressor() Decompressor { type callInfo (line 159) | type callInfo struct function acceptedCompressorAllows (line 173) | func acceptedCompressorAllows(allowed []string, name string) bool { function defaultCallInfo (line 188) | func defaultCallInfo() *callInfo { function newAcceptedCompressionConfig (line 195) | func newAcceptedCompressionConfig(names []string) ([]string, error) { type CallOption (line 220) | type CallOption interface type EmptyCallOption (line 233) | type EmptyCallOption struct method before (line 235) | func (EmptyCallOption) before(*callInfo) error { return nil } method after (line 236) | func (EmptyCallOption) after(*callInfo, *csAttempt) {} function StaticMethod (line 242) | func StaticMethod() CallOption { type StaticMethodCallOption (line 248) | type StaticMethodCallOption struct function Header (line 254) | func Header(md *metadata.MD) CallOption { type HeaderCallOption (line 265) | type HeaderCallOption struct method before (line 269) | func (o HeaderCallOption) before(*callInfo) error { return nil } method after (line 270) | func (o HeaderCallOption) after(_ *callInfo, attempt *csAttempt) { function Trailer (line 276) | func Trailer(md *metadata.MD) CallOption { type TrailerCallOption (line 287) | type TrailerCallOption struct method before (line 291) | func (o TrailerCallOption) before(*callInfo) error { return nil } method after (line 292) | func (o TrailerCallOption) after(_ *callInfo, attempt *csAttempt) { function Peer (line 298) | func Peer(p *peer.Peer) CallOption { type PeerCallOption (line 309) | type PeerCallOption struct method before (line 313) | func (o PeerCallOption) before(*callInfo) error { return nil } method after (line 314) | func (o PeerCallOption) after(_ *callInfo, attempt *csAttempt) { function WaitForReady (line 327) | func WaitForReady(waitForReady bool) CallOption { function FailFast (line 334) | func FailFast(failFast bool) CallOption { type FailFastCallOption (line 345) | type FailFastCallOption struct method before (line 349) | func (o FailFastCallOption) before(c *callInfo) error { method after (line 353) | func (o FailFastCallOption) after(*callInfo, *csAttempt) {} function OnFinish (line 366) | func OnFinish(onFinish func(err error)) CallOption { type OnFinishCallOption (line 379) | type OnFinishCallOption struct method before (line 383) | func (o OnFinishCallOption) before(c *callInfo) error { method after (line 388) | func (o OnFinishCallOption) after(*callInfo, *csAttempt) {} function MaxCallRecvMsgSize (line 393) | func MaxCallRecvMsgSize(bytes int) CallOption { type MaxRecvMsgSizeCallOption (line 404) | type MaxRecvMsgSizeCallOption struct method before (line 408) | func (o MaxRecvMsgSizeCallOption) before(c *callInfo) error { method after (line 412) | func (o MaxRecvMsgSizeCallOption) after(*callInfo, *csAttempt) {} function CallAuthority (line 422) | func CallAuthority(authority string) CallOption { type AuthorityOverrideCallOption (line 433) | type AuthorityOverrideCallOption struct method before (line 437) | func (o AuthorityOverrideCallOption) before(c *callInfo) error { method after (line 442) | func (o AuthorityOverrideCallOption) after(*callInfo, *csAttempt) {} function MaxCallSendMsgSize (line 447) | func MaxCallSendMsgSize(bytes int) CallOption { type MaxSendMsgSizeCallOption (line 458) | type MaxSendMsgSizeCallOption struct method before (line 462) | func (o MaxSendMsgSizeCallOption) before(c *callInfo) error { method after (line 466) | func (o MaxSendMsgSizeCallOption) after(*callInfo, *csAttempt) {} function PerRPCCredentials (line 470) | func PerRPCCredentials(creds credentials.PerRPCCredentials) CallOption { type PerRPCCredsCallOption (line 481) | type PerRPCCredsCallOption struct method before (line 485) | func (o PerRPCCredsCallOption) before(c *callInfo) error { method after (line 489) | func (o PerRPCCredsCallOption) after(*callInfo, *csAttempt) {} function UseCompressor (line 499) | func UseCompressor(name string) CallOption { type CompressorCallOption (line 509) | type CompressorCallOption struct method before (line 513) | func (o CompressorCallOption) before(c *callInfo) error { method after (line 517) | func (o CompressorCallOption) after(*callInfo, *csAttempt) {} function acceptCompressors (line 523) | func acceptCompressors(names ...string) CallOption { type acceptCompressorsCallOption (line 529) | type acceptCompressorsCallOption struct method before (line 533) | func (o acceptCompressorsCallOption) before(c *callInfo) error { method after (line 542) | func (acceptCompressorsCallOption) after(*callInfo, *csAttempt) {} function CallContentSubtype (line 560) | func CallContentSubtype(contentSubtype string) CallOption { type ContentSubtypeCallOption (line 571) | type ContentSubtypeCallOption struct method before (line 575) | func (o ContentSubtypeCallOption) before(c *callInfo) error { method after (line 579) | func (o ContentSubtypeCallOption) after(*callInfo, *csAttempt) {} function ForceCodec (line 599) | func ForceCodec(codec encoding.Codec) CallOption { type ForceCodecCallOption (line 610) | type ForceCodecCallOption struct method before (line 614) | func (o ForceCodecCallOption) before(c *callInfo) error { method after (line 618) | func (o ForceCodecCallOption) after(*callInfo, *csAttempt) {} function ForceCodecV2 (line 638) | func ForceCodecV2(codec encoding.CodecV2) CallOption { type ForceCodecV2CallOption (line 649) | type ForceCodecV2CallOption struct method before (line 653) | func (o ForceCodecV2CallOption) before(c *callInfo) error { method after (line 658) | func (o ForceCodecV2CallOption) after(*callInfo, *csAttempt) {} function CallCustomCodec (line 664) | func CallCustomCodec(codec Codec) CallOption { type CustomCodecCallOption (line 675) | type CustomCodecCallOption struct method before (line 679) | func (o CustomCodecCallOption) before(c *callInfo) error { method after (line 683) | func (o CustomCodecCallOption) after(*callInfo, *csAttempt) {} function MaxRetryRPCBufferSize (line 692) | func MaxRetryRPCBufferSize(bytes int) CallOption { type MaxRetryRPCBufferSizeCallOption (line 703) | type MaxRetryRPCBufferSizeCallOption struct method before (line 707) | func (o MaxRetryRPCBufferSizeCallOption) before(c *callInfo) error { method after (line 711) | func (o MaxRetryRPCBufferSizeCallOption) after(*callInfo, *csAttempt) {} type payloadFormat (line 714) | type payloadFormat method isCompressed (line 721) | func (pf payloadFormat) isCompressed() bool { constant compressionNone (line 717) | compressionNone payloadFormat = 0 constant compressionMade (line 718) | compressionMade payloadFormat = 1 type streamReader (line 725) | type streamReader interface type noCopy (line 735) | type noCopy struct method Lock (line 738) | func (*noCopy) Lock() {} method Unlock (line 739) | func (*noCopy) Unlock() {} type parser (line 742) | type parser struct method recvMsg (line 771) | func (p *parser) recvMsg(maxReceiveMessageSize int) (payloadFormat, me... function encode (line 800) | func encode(c baseCodec, msg any) (mem.BufferSlice, error) { function compress (line 820) | func compress(in mem.BufferSlice, cp Compressor, compressor encoding.Com... constant payloadLen (line 858) | payloadLen = 1 constant sizeLen (line 859) | sizeLen = 4 constant headerLen (line 860) | headerLen = payloadLen + sizeLen function msgHeader (line 865) | func msgHeader(data, compData mem.BufferSlice, pf payloadFormat) (hdr []... function outPayload (line 883) | func outPayload(client bool, msg any, dataLength, payloadLength int, t t... function checkRecvPayload (line 894) | func checkRecvPayload(pf payloadFormat, recvCompress string, haveCompres... type payloadInfo (line 913) | type payloadInfo struct method free (line 918) | func (p *payloadInfo) free() { function recvAndDecompress (line 930) | func recvAndDecompress(p *parser, s recvCompressor, dc Decompressor, max... function decompress (line 971) | func decompress(compressor encoding.Compressor, d mem.BufferSlice, dc De... type recvCompressor (line 1016) | type recvCompressor interface function recv (line 1023) | func recv(p *parser, c baseCodec, s recvCompressor, dc Decompressor, m a... type rpcInfo (line 1041) | type rpcInfo struct type compressorInfo (line 1051) | type compressorInfo struct type rpcInfoContextKey (line 1057) | type rpcInfoContextKey struct function newContextWithRPCInfo (line 1059) | func newContextWithRPCInfo(ctx context.Context, failfast bool, codec bas... function rpcInfoFromContext (line 1070) | func rpcInfoFromContext(ctx context.Context) (s *rpcInfo, ok bool) { function Code (line 1079) | func Code(err error) codes.Code { function ErrorDesc (line 1087) | func ErrorDesc(err error) string { function Errorf (line 1095) | func Errorf(c codes.Code, format string, a ...any) error { function toRPCErr (line 1103) | func toRPCErr(err error) error { function setCallInfoCodec (line 1130) | func setCallInfoCodec(c *callInfo) error { constant SupportPackageIsVersion3 (line 1168) | SupportPackageIsVersion3 = true constant SupportPackageIsVersion4 (line 1169) | SupportPackageIsVersion4 = true constant SupportPackageIsVersion5 (line 1170) | SupportPackageIsVersion5 = true constant SupportPackageIsVersion6 (line 1171) | SupportPackageIsVersion6 = true constant SupportPackageIsVersion7 (line 1172) | SupportPackageIsVersion7 = true constant SupportPackageIsVersion8 (line 1173) | SupportPackageIsVersion8 = true constant SupportPackageIsVersion9 (line 1174) | SupportPackageIsVersion9 = true constant grpcUA (line 1177) | grpcUA = "grpc-go/" + Version FILE: rpc_util_test.go constant defaultDecompressedData (line 47) | defaultDecompressedData = "default decompressed data" constant decompressionErrorMsg (line 48) | decompressionErrorMsg = "invalid compression format" type testCompressorForRegistry (line 51) | type testCompressorForRegistry struct method Compress (line 55) | func (c *testCompressorForRegistry) Compress(w io.Writer) (io.WriteClo... method Decompress (line 59) | func (c *testCompressorForRegistry) Decompress(r io.Reader) (io.Reader... method Name (line 63) | func (c *testCompressorForRegistry) Name() string { type testWriteCloser (line 67) | type testWriteCloser struct method Close (line 71) | func (w *testWriteCloser) Close() error { method TestNewAcceptedCompressionConfig (line 75) | func (s) TestNewAcceptedCompressionConfig(t *testing.T) { type fullReader (line 163) | type fullReader struct method ReadMessageHeader (line 167) | func (f *fullReader) ReadMessageHeader(header []byte) error { method Read (line 178) | func (f *fullReader) Read(n int) (mem.BufferSlice, error) { method TestSimpleParsing (line 201) | func (s) TestSimpleParsing(t *testing.T) { method TestMultipleParsing (line 228) | func (s) TestMultipleParsing(t *testing.T) { method TestEncode (line 257) | func (s) TestEncode(t *testing.T) { method TestCompress (line 279) | func (s) TestCompress(t *testing.T) { method TestToRPCErr (line 326) | func (s) TestToRPCErr(t *testing.T) { function bmEncode (line 348) | func bmEncode(b *testing.B, mSize int) { function BenchmarkEncode1B (line 361) | func BenchmarkEncode1B(b *testing.B) { function BenchmarkEncode1KiB (line 365) | func BenchmarkEncode1KiB(b *testing.B) { function BenchmarkEncode8KiB (line 369) | func BenchmarkEncode8KiB(b *testing.B) { function BenchmarkEncode64KiB (line 373) | func BenchmarkEncode64KiB(b *testing.B) { function BenchmarkEncode512KiB (line 377) | func BenchmarkEncode512KiB(b *testing.B) { function BenchmarkEncode1MiB (line 381) | func BenchmarkEncode1MiB(b *testing.B) { function bmCompressor (line 387) | func bmCompressor(b *testing.B, mSize int, cp Compressor) { function BenchmarkGZIPCompressor1B (line 398) | func BenchmarkGZIPCompressor1B(b *testing.B) { function BenchmarkGZIPCompressor1KiB (line 402) | func BenchmarkGZIPCompressor1KiB(b *testing.B) { function BenchmarkGZIPCompressor8KiB (line 406) | func BenchmarkGZIPCompressor8KiB(b *testing.B) { function BenchmarkGZIPCompressor64KiB (line 410) | func BenchmarkGZIPCompressor64KiB(b *testing.B) { function BenchmarkGZIPCompressor512KiB (line 414) | func BenchmarkGZIPCompressor512KiB(b *testing.B) { function BenchmarkGZIPCompressor1MiB (line 418) | func BenchmarkGZIPCompressor1MiB(b *testing.B) { function compressWithDeterministicError (line 423) | func compressWithDeterministicError(t *testing.T, input []byte) mem.Buff... type MockDecompressor (line 439) | type MockDecompressor struct method Do (line 445) | func (m *MockDecompressor) Do(_ io.Reader) ([]byte, error) { method Type (line 453) | func (m *MockDecompressor) Type() string { method TestDecompress (line 463) | func (s) TestDecompress(t *testing.T) { type mockCompressor (line 539) | type mockCompressor struct method Compress (line 544) | func (m *mockCompressor) Compress(io.Writer) (io.WriteCloser, error) { method Decompress (line 548) | func (m *mockCompressor) Decompress(io.Reader) (io.Reader, error) { method Read (line 552) | func (m *mockCompressor) Read([]byte) (int, error) { method Name (line 557) | func (m *mockCompressor) Name() string { return "" } method TestDecompress_NoReadAfterEOF (line 560) | func (s) TestDecompress_NoReadAfterEOF(t *testing.T) { FILE: security/advancedtls/advancedtls.go type CertificateChains (line 47) | type CertificateChains type HandshakeVerificationInfo (line 52) | type HandshakeVerificationInfo struct type PostHandshakeVerificationResults (line 72) | type PostHandshakeVerificationResults struct type PostHandshakeVerificationFunc (line 79) | type PostHandshakeVerificationFunc type ConnectionInfo (line 83) | type ConnectionInfo struct type RootCertificates (line 93) | type RootCertificates struct type RootCertificateOptions (line 103) | type RootCertificateOptions struct method nonNilFieldCount (line 117) | func (o RootCertificateOptions) nonNilFieldCount() int { type IdentityCertificateOptions (line 131) | type IdentityCertificateOptions struct method nonNilFieldCount (line 151) | func (o IdentityCertificateOptions) nonNilFieldCount() int { type VerificationType (line 164) | type VerificationType constant CertAndHostVerification (line 169) | CertAndHostVerification VerificationType = iota constant CertVerification (line 173) | CertVerification constant SkipVerification (line 178) | SkipVerification type Options (line 183) | type Options struct method clientConfig (line 231) | func (o *Options) clientConfig() (*tls.Config, error) { method serverConfig (line 316) | func (o *Options) serverConfig() (*tls.Config, error) { type advancedTLSCreds (line 413) | type advancedTLSCreds struct method Info (line 422) | func (c advancedTLSCreds) Info() credentials.ProtocolInfo { method ClientHandshake (line 430) | func (c *advancedTLSCreds) ClientHandshake(ctx context.Context, author... method ServerHandshake (line 466) | func (c *advancedTLSCreds) ServerHandshake(rawConn net.Conn) (net.Conn... method Clone (line 486) | func (c *advancedTLSCreds) Clone() credentials.TransportCredentials { method OverrideServerName (line 495) | func (c *advancedTLSCreds) OverrideServerName(serverNameOverride strin... function buildVerifyFunc (line 512) | func buildVerifyFunc(c *advancedTLSCreds, function NewClientCreds (line 604) | func NewClientCreds(o *Options) (credentials.TransportCredentials, error) { function NewServerCreds (line 623) | func NewServerCreds(o *Options) (credentials.TransportCredentials, error) { FILE: security/advancedtls/advancedtls_integration_test.go constant defaultTestTimeout (line 43) | defaultTestTimeout = 5 * time.Second constant credRefreshingInterval (line 45) | credRefreshingInterval = 200 * time.Millisecond constant sleepInterval (line 47) | sleepInterval = 400 * time.Millisecond type stageInfo (line 55) | type stageInfo struct method increase (line 60) | func (s *stageInfo) increase() { method read (line 66) | func (s *stageInfo) read() int { method reset (line 72) | func (s *stageInfo) reset() { type greeterServer (line 78) | type greeterServer struct method SayHello (line 83) | func (greeterServer) SayHello(_ context.Context, in *pb.HelloRequest) ... function callAndVerify (line 89) | func callAndVerify(ctx context.Context, msg string, client pb.GreeterCli... function callAndVerifyWithClientConn (line 99) | func callAndVerifyWithClientConn(ctx context.Context, address string, ms... method TestEnd2End (line 123) | func (s) TestEnd2End(t *testing.T) { type tmpCredsFiles (line 413) | type tmpCredsFiles struct method copyCredsToTmpFiles (line 454) | func (tmpFiles *tmpCredsFiles) copyCredsToTmpFiles() error { method removeFiles (line 476) | func (tmpFiles *tmpCredsFiles) removeFiles() { function createTmpFiles (line 423) | func createTmpFiles() (*tmpCredsFiles, error) { function copyFileContents (line 485) | func copyFileContents(sourceFile, destinationFile string) error { function createProviders (line 499) | func createProviders(tmpFiles *tmpCredsFiles) (certprovider.Provider, ce... method TestPEMFileProviderEnd2End (line 550) | func (s) TestPEMFileProviderEnd2End(t *testing.T) { method TestDefaultHostNameCheck (line 717) | func (s) TestDefaultHostNameCheck(t *testing.T) { method TestTLSVersions (line 802) | func (s) TestTLSVersions(t *testing.T) { FILE: security/advancedtls/advancedtls_test.go type s (line 40) | type s struct method TestClientOptionsConfigErrorCases (line 90) | func (s) TestClientOptionsConfigErrorCases(t *testing.T) { method TestClientOptionsConfigSuccessCases (line 153) | func (s) TestClientOptionsConfigSuccessCases(t *testing.T) { method TestServerOptionsConfigErrorCases (line 237) | func (s) TestServerOptionsConfigErrorCases(t *testing.T) { method TestServerOptionsConfigSuccessCases (line 308) | func (s) TestServerOptionsConfigSuccessCases(t *testing.T) { method TestClientServerHandshake (line 400) | func (s) TestClientServerHandshake(t *testing.T) { method TestAdvancedTLSOverrideServerName (line 1003) | func (s) TestAdvancedTLSOverrideServerName(t *testing.T) { method TestGetCertificatesSNI (line 1025) | func (s) TestGetCertificatesSNI(t *testing.T) { function Test (line 44) | func Test(t *testing.T) { type provType (line 48) | type provType constant provTypeRoot (line 51) | provTypeRoot provType = iota constant provTypeIdentity (line 52) | provTypeIdentity type fakeProvider (line 55) | type fakeProvider struct method KeyMaterial (line 62) | func (f fakeProvider) KeyMaterial(context.Context) (*certprovider.KeyM... method Close (line 88) | func (f fakeProvider) Close() {} function compare (line 983) | func compare(a1, a2 credentials.AuthInfo) bool { FILE: security/advancedtls/crl.go type RevocationOptions (line 39) | type RevocationOptions struct type revocationStatus (line 51) | type revocationStatus constant RevocationUndetermined (line 55) | RevocationUndetermined revocationStatus = iota constant RevocationUnrevoked (line 57) | RevocationUnrevoked constant RevocationRevoked (line 59) | RevocationRevoked type CRL (line 66) | type CRL struct function NewCRL (line 74) | func NewCRL(b []byte) (*CRL, error) { function ReadCRLFile (line 92) | func ReadCRLFile(path string) (*CRL, error) { constant tagDirectoryName (line 104) | tagDirectoryName = 4 function checkChainRevocation (line 119) | func checkChainRevocation(verifiedChains [][]*x509.Certificate, cfg Revo... function checkChain (line 149) | func checkChain(chain []*x509.Certificate, cfg RevocationOptions) revoca... function fetchCRL (line 169) | func fetchCRL(c *x509.Certificate, crlVerifyCrt []*x509.Certificate, cfg... function checkCert (line 193) | func checkCert(c *x509.Certificate, crlVerifyCrt []*x509.Certificate, cf... function checkCertRevocation (line 218) | func checkCertRevocation(c *x509.Certificate, crl *CRL) (revocationStatu... function parseCertIssuerExt (line 255) | func parseCertIssuerExt(ext pkix.Extension) ([]byte, error) { type authKeyID (line 288) | type authKeyID struct type issuingDistributionPoint (line 305) | type issuingDistributionPoint struct function parseCRLExtensions (line 316) | func parseCRLExtensions(c *x509.RevocationList) (*CRL, error) { function verifyCRL (line 365) | func verifyCRL(crl *CRL, chain []*x509.Certificate) error { constant pemType (line 390) | pemType string = "X509 CRL" function crlPemToDer (line 394) | func crlPemToDer(crlBytes []byte) []byte { function extractCRLIssuer (line 405) | func extractCRLIssuer(crlBytes []byte) ([]byte, error) { function parseRevocationList (line 427) | func parseRevocationList(crlBytes []byte) (*x509.RevocationList, error) { FILE: security/advancedtls/crl_provider.go constant defaultCRLRefreshDuration (line 29) | defaultCRLRefreshDuration = 1 * time.Hour constant minCRLRefreshDuration (line 30) | minCRLRefreshDuration = 1 * time.Minute type CRLProvider (line 44) | type CRLProvider interface type StaticCRLProvider (line 59) | type StaticCRLProvider struct method addCRL (line 80) | func (p *StaticCRLProvider) addCRL(crl *CRL) { method CRL (line 86) | func (p *StaticCRLProvider) CRL(cert *x509.Certificate) (*CRL, error) { function NewStaticCRLProvider (line 65) | func NewStaticCRLProvider(rawCRLs [][]byte) *StaticCRLProvider { type FileWatcherOptions (line 92) | type FileWatcherOptions struct method validate (line 130) | func (o *FileWatcherOptions) validate() error { type FileWatcherCRLProvider (line 102) | type FileWatcherCRLProvider struct method run (line 150) | func (p *FileWatcherCRLProvider) run() { method Close (line 168) | func (p *FileWatcherCRLProvider) Close() { method scanCRLDirectory (line 179) | func (p *FileWatcherCRLProvider) scanCRLDirectory() { method CRL (line 235) | func (p *FileWatcherCRLProvider) CRL(cert *x509.Certificate) (*CRL, er... function NewFileWatcherCRLProvider (line 115) | func NewFileWatcherCRLProvider(o FileWatcherOptions) (*FileWatcherCRLPro... FILE: security/advancedtls/crl_provider_test.go method TestStaticCRLProvider (line 39) | func (s) TestStaticCRLProvider(t *testing.T) { method TestFileWatcherCRLProviderConfig (line 94) | func (s) TestFileWatcherCRLProviderConfig(t *testing.T) { method TestFileWatcherCRLProvider (line 144) | func (s) TestFileWatcherCRLProvider(t *testing.T) { method TestFileWatcherCRLProviderDirectoryScan (line 213) | func (s) TestFileWatcherCRLProviderDirectoryScan(t *testing.T) { function copyFiles (line 306) | func copyFiles(sourcePath string, targetPath string, fileNames []string,... function createTmpDir (line 345) | func createTmpDir(t *testing.T) string { FILE: security/advancedtls/crl_test.go function TestUnsupportedCRLs (line 43) | func TestUnsupportedCRLs(t *testing.T) { function TestCheckCertRevocation (line 118) | func TestCheckCertRevocation(t *testing.T) { function makeChain (line 234) | func makeChain(t *testing.T, name string) []*x509.Certificate { function loadCRL (line 256) | func loadCRL(t *testing.T, path string) *CRL { function checkRevocation (line 264) | func checkRevocation(conn tls.ConnectionState, cfg RevocationOptions) er... function TestVerifyCrl (line 268) | func TestVerifyCrl(t *testing.T) { function TestRevokedCert (line 356) | func TestRevokedCert(t *testing.T) { function setupTLSConn (line 456) | func setupTLSConn(t *testing.T) (net.Listener, *x509.Certificate, *ecdsa... function TestVerifyConnection (line 500) | func TestVerifyConnection(t *testing.T) { FILE: security/advancedtls/examples/credential_reloading_from_files/client/main.go constant defaultTimeout (line 40) | defaultTimeout = 2 * time.Second constant credRefreshingInterval (line 42) | credRefreshingInterval = 500 * time.Millisecond function main (line 45) | func main() { FILE: security/advancedtls/examples/credential_reloading_from_files/server/main.go constant credRefreshingInterval (line 43) | credRefreshingInterval = 1 * time.Minute type greeterServer (line 45) | type greeterServer struct method SayHello (line 50) | func (greeterServer) SayHello(_ context.Context, in *pb.HelloRequest) ... function main (line 54) | func main() { FILE: security/advancedtls/internal/testutils/testutils.go type CertStore (line 31) | type CertStore struct method LoadCerts (line 84) | func (cs *CertStore) LoadCerts() error { function readTrustCert (line 70) | func readTrustCert(fileName string) (*x509.CertPool, error) { FILE: security/advancedtls/sni.go function buildGetCertificates (line 28) | func buildGetCertificates(clientHello *tls.ClientHelloInfo, o *Options) ... FILE: security/advancedtls/testdata/testdata.go function init (line 29) | func init() { function Path (line 37) | func Path(rel string) string { FILE: server.go constant defaultServerMaxReceiveMessageSize (line 60) | defaultServerMaxReceiveMessageSize = 1024 * 1024 * 4 constant defaultServerMaxSendMessageSize (line 61) | defaultServerMaxSendMessageSize = math.MaxInt32 constant listenerAddressForServeHTTP (line 68) | listenerAddressForServeHTTP = "listenerAddressForServeHTTP" function init (line 71) | func init() { type MethodHandler (line 97) | type MethodHandler type MethodDesc (line 100) | type MethodDesc struct type ServiceDesc (line 106) | type ServiceDesc struct type serviceInfo (line 118) | type serviceInfo struct type Server (line 127) | type Server struct method serverWorker (line 666) | func (s *Server) serverWorker() { method initServerWorkers (line 679) | func (s *Server) initServerWorkers() { method printf (line 727) | func (s *Server) printf(format string, a ...any) { method errorf (line 735) | func (s *Server) errorf(format string, a ...any) { method RegisterService (line 757) | func (s *Server) RegisterService(sd *ServiceDesc, ss any) { method register (line 768) | func (s *Server) register(sd *ServiceDesc, ss any) { method GetServiceInfo (line 814) | func (s *Server) GetServiceInfo() map[string]ServiceInfo { method Serve (line 875) | func (s *Server) Serve(lis net.Listener) error { method handleRawConn (line 969) | func (s *Server) handleRawConn(lisAddr string, rawConn net.Conn) { method newHTTP2Transport (line 1000) | func (s *Server) newHTTP2Transport(c net.Conn) transport.ServerTranspo... method serveStreams (line 1040) | func (s *Server) serveStreams(ctx context.Context, st transport.Server... method ServeHTTP (line 1110) | func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { method addConn (line 1124) | func (s *Server) addConn(addr string, st transport.ServerTransport) bo... method removeConn (line 1145) | func (s *Server) removeConn(addr string, st transport.ServerTransport) { method incrCallsStarted (line 1162) | func (s *Server) incrCallsStarted() { method incrCallsSucceeded (line 1167) | func (s *Server) incrCallsSucceeded() { method incrCallsFailed (line 1171) | func (s *Server) incrCallsFailed() { method sendResponse (line 1175) | func (s *Server) sendResponse(ctx context.Context, stream *transport.S... method processUnaryRPC (line 1247) | func (s *Server) processUnaryRPC(ctx context.Context, stream *transpor... method processStreamingRPC (line 1577) | func (s *Server) processStreamingRPC(ctx context.Context, stream *tran... method handleMalformedMethodName (line 1769) | func (s *Server) handleMalformedMethodName(stream *transport.ServerStr... method handleStream (line 1787) | func (s *Server) handleStream(t transport.ServerTransport, stream *tra... method Stop (line 1941) | func (s *Server) Stop() { method GracefulStop (line 1948) | func (s *Server) GracefulStop() { method stop (line 1952) | func (s *Server) stop(graceful bool) { method closeServerTransportsLocked (line 1997) | func (s *Server) closeServerTransportsLocked() { method drainAllServerTransportsLocked (line 2006) | func (s *Server) drainAllServerTransportsLocked() { method closeListenersLocked (line 2018) | func (s *Server) closeListenersLocked() { method getCodec (line 2027) | func (s *Server) getCodec(contentSubtype string) baseCodec { method isRegisteredMethod (line 2058) | func (s *Server) isRegisteredMethod(serviceMethod string) bool { type serverOptions (line 157) | type serverOptions struct type ServerOption (line 202) | type ServerOption interface type EmptyServerOption (line 213) | type EmptyServerOption struct method apply (line 215) | func (EmptyServerOption) apply(*serverOptions) {} type funcServerOption (line 219) | type funcServerOption struct method apply (line 223) | func (fdo *funcServerOption) apply(do *serverOptions) { function newFuncServerOption (line 227) | func newFuncServerOption(f func(*serverOptions)) *funcServerOption { type joinServerOption (line 235) | type joinServerOption struct method apply (line 239) | func (mdo *joinServerOption) apply(do *serverOptions) { function newJoinServerOption (line 245) | func newJoinServerOption(opts ...ServerOption) ServerOption { function SharedWriteBuffer (line 257) | func SharedWriteBuffer(val bool) ServerOption { function WriteBufferSize (line 267) | func WriteBufferSize(s int) ServerOption { function ReadBufferSize (line 277) | func ReadBufferSize(s int) ServerOption { function InitialWindowSize (line 285) | func InitialWindowSize(s int32) ServerOption { function InitialConnWindowSize (line 294) | func InitialConnWindowSize(s int32) ServerOption { function StaticStreamWindowSize (line 305) | func StaticStreamWindowSize(s int32) ServerOption { function StaticConnWindowSize (line 316) | func StaticConnWindowSize(s int32) ServerOption { function KeepaliveParams (line 324) | func KeepaliveParams(kp keepalive.ServerParameters) ServerOption { function KeepaliveEnforcementPolicy (line 336) | func KeepaliveEnforcementPolicy(kep keepalive.EnforcementPolicy) ServerO... function CustomCodec (line 351) | func CustomCodec(codec Codec) ServerOption { function ForceServerCodec (line 380) | func ForceServerCodec(codec encoding.Codec) ServerOption { function ForceServerCodecV2 (line 395) | func ForceServerCodecV2(codecV2 encoding.CodecV2) ServerOption { function RPCCompressor (line 409) | func RPCCompressor(cp Compressor) ServerOption { function RPCDecompressor (line 421) | func RPCDecompressor(dc Decompressor) ServerOption { function MaxMsgSize (line 431) | func MaxMsgSize(m int) ServerOption { function MaxRecvMsgSize (line 437) | func MaxRecvMsgSize(m int) ServerOption { function MaxSendMsgSize (line 445) | func MaxSendMsgSize(m int) ServerOption { function MaxConcurrentStreams (line 453) | func MaxConcurrentStreams(n uint32) ServerOption { function Creds (line 463) | func Creds(c credentials.TransportCredentials) ServerOption { function UnaryInterceptor (line 472) | func UnaryInterceptor(i UnaryServerInterceptor) ServerOption { function ChainUnaryInterceptor (line 485) | func ChainUnaryInterceptor(interceptors ...UnaryServerInterceptor) Serve... function StreamInterceptor (line 493) | func StreamInterceptor(i StreamServerInterceptor) ServerOption { function ChainStreamInterceptor (line 506) | func ChainStreamInterceptor(interceptors ...StreamServerInterceptor) Ser... function InTapHandle (line 519) | func InTapHandle(h tap.ServerInHandle) ServerOption { function StatsHandler (line 529) | func StatsHandler(h stats.Handler) ServerOption { function binaryLogger (line 543) | func binaryLogger(bl binarylog.Logger) ServerOption { function UnknownServiceHandler (line 555) | func UnknownServiceHandler(streamHandler StreamHandler) ServerOption { function ConnectionTimeout (line 576) | func ConnectionTimeout(d time.Duration) ServerOption { type MaxHeaderListSizeServerOption (line 584) | type MaxHeaderListSizeServerOption struct method apply (line 588) | func (o MaxHeaderListSizeServerOption) apply(so *serverOptions) { function MaxHeaderListSize (line 594) | func MaxHeaderListSize(s uint32) ServerOption { function HeaderTableSize (line 607) | func HeaderTableSize(s uint32) ServerOption { function NumStreamWorkers (line 622) | func NumStreamWorkers(numServerWorkers uint32) ServerOption { function WaitForHandlers (line 641) | func WaitForHandlers(w bool) ServerOption { function bufferPool (line 647) | func bufferPool(bufferPool mem.BufferPool) ServerOption { constant serverWorkerResetThreshold (line 658) | serverWorkerResetThreshold = 1 << 16 function NewServer (line 691) | func NewServer(opt ...ServerOption) *Server { type ServiceRegistrar (line 744) | type ServiceRegistrar interface type MethodInfo (line 796) | type MethodInfo struct type ServiceInfo (line 806) | type ServiceInfo struct type listenSocket (line 845) | type listenSocket struct method Close (line 850) | func (l *listenSocket) Close() error { function chainUnaryServerInterceptors (line 1212) | func chainUnaryServerInterceptors(s *Server) { function chainUnaryInterceptors (line 1232) | func chainUnaryInterceptors(interceptors []UnaryServerInterceptor) Unary... function getChainUnaryHandler (line 1238) | func getChainUnaryHandler(interceptors []UnaryServerInterceptor, curr in... function chainStreamServerInterceptors (line 1542) | func chainStreamServerInterceptors(s *Server) { function chainStreamInterceptors (line 1562) | func chainStreamInterceptors(interceptors []StreamServerInterceptor) Str... function getChainStreamHandler (line 1568) | func getChainStreamHandler(interceptors []StreamServerInterceptor, curr ... type streamKey (line 1892) | type streamKey struct function NewContextWithServerTransportStream (line 1901) | func NewContextWithServerTransportStream(ctx context.Context, stream Ser... type ServerTransportStream (line 1916) | type ServerTransportStream interface function ServerTransportStreamFromContext (line 1931) | func ServerTransportStreamFromContext(ctx context.Context) ServerTranspo... type serverKey (line 2042) | type serverKey struct function serverFromContext (line 2045) | func serverFromContext(ctx context.Context) *Server { function contextWithServer (line 2051) | func contextWithServer(ctx context.Context, server *Server) context.Cont... function SetHeader (line 2100) | func SetHeader(ctx context.Context, md metadata.MD) error { function SendHeader (line 2119) | func SendHeader(ctx context.Context, md metadata.MD) error { function SetSendCompressor (line 2153) | func SetSendCompressor(ctx context.Context, name string) error { function ClientSupportedCompressors (line 2175) | func ClientSupportedCompressors(ctx context.Context) ([]string, error) { function SetTrailer (line 2190) | func SetTrailer(ctx context.Context, md metadata.MD) error { function Method (line 2203) | func Method(ctx context.Context) (string, bool) { function validateSendCompressor (line 2213) | func validateSendCompressor(name string, clientCompressors []string) err... type atomicSemaphore (line 2232) | type atomicSemaphore struct method acquire (line 2237) | func (q *atomicSemaphore) acquire() { method release (line 2244) | func (q *atomicSemaphore) release() { function newHandlerQuota (line 2255) | func newHandlerQuota(n uint32) *atomicSemaphore { FILE: server_ext_test.go method TestServer_MaxHandlers (line 42) | func (s) TestServer_MaxHandlers(t *testing.T) { method TestStreamWorkers_RPCsAndStop (line 111) | func (s) TestStreamWorkers_RPCsAndStop(t *testing.T) { method TestStreamWorkers_GracefulStopAndStop (line 172) | func (s) TestStreamWorkers_GracefulStopAndStop(t *testing.T) { method TestServer_WaitForHandlers (line 191) | func (s) TestServer_WaitForHandlers(t *testing.T) { method TestServer_GracefulStopWaits (line 264) | func (s) TestServer_GracefulStopWaits(t *testing.T) { FILE: server_test.go type emptyServiceServer (line 35) | type emptyServiceServer type testServer (line 37) | type testServer struct function errorDesc (line 39) | func errorDesc(err error) string { method TestStopBeforeServe (line 46) | func (s) TestStopBeforeServe(t *testing.T) { method TestGracefulStop (line 67) | func (s) TestGracefulStop(t *testing.T) { method TestGetServiceInfo (line 87) | func (s) TestGetServiceInfo(t *testing.T) { method TestRetryChainedInterceptor (line 134) | func (s) TestRetryChainedInterceptor(t *testing.T) { method TestStreamContext (line 166) | func (s) TestStreamContext(t *testing.T) { function BenchmarkChainUnaryInterceptor (line 179) | func BenchmarkChainUnaryInterceptor(b *testing.B) { function BenchmarkChainStreamInterceptor (line 210) | func BenchmarkChainStreamInterceptor(b *testing.B) { FILE: service_config.go constant maxInt (line 37) | maxInt = int(^uint(0) >> 1) type ServiceConfig (line 53) | type ServiceConfig struct type healthCheckConfig (line 93) | type healthCheckConfig struct type jsonRetryPolicy (line 98) | type jsonRetryPolicy struct type retryThrottlingPolicy (line 109) | type retryThrottlingPolicy struct type jsonName (line 123) | type jsonName struct method generatePath (line 133) | func (j jsonName) generatePath() (string, error) { type jsonMC (line 148) | type jsonMC struct type jsonSC (line 158) | type jsonSC struct function init (line 166) | func init() { function parseServiceConfig (line 172) | func parseServiceConfig(js string, maxAttempts int) *serviceconfig.Parse... function isValidRetryPolicy (line 271) | func isValidRetryPolicy(jrp *jsonRetryPolicy) bool { function convertRetryPolicy (line 279) | func convertRetryPolicy(jrp *jsonRetryPolicy, maxAttempts int) (p *inter... function minPointers (line 304) | func minPointers(a, b *int) *int { function getMaxSize (line 311) | func getMaxSize(mcMax, doptMax *int, defaultVal int) *int { function newInt (line 324) | func newInt(b int) *int { function init (line 328) | func init() { function equalServiceConfig (line 336) | func equalServiceConfig(a, b serviceconfig.Config) bool { FILE: service_config_test.go type parseTestCase (line 36) | type parseTestCase struct function lbConfigFor (line 43) | func lbConfigFor(t *testing.T, name string, cfg serviceconfig.LoadBalanc... function runParseTests (line 63) | func runParseTests(t *testing.T, testCases []parseTestCase) { type pbbData (line 84) | type pbbData struct type parseBalancerBuilder (line 90) | type parseBalancerBuilder struct method Name (line 92) | func (parseBalancerBuilder) Name() string { method ParseConfig (line 96) | func (parseBalancerBuilder) ParseConfig(c json.RawMessage) (servicecon... method Build (line 104) | func (parseBalancerBuilder) Build(balancer.ClientConn, balancer.BuildO... function init (line 108) | func init() { method TestParseLBConfig (line 112) | func (s) TestParseLBConfig(t *testing.T) { method TestParseNoLBConfigSupported (line 128) | func (s) TestParseNoLBConfigSupported(t *testing.T) { method TestParseLoadBalancer (line 145) | func (s) TestParseLoadBalancer(t *testing.T) { method TestParseWaitForReady (line 193) | func (s) TestParseWaitForReady(t *testing.T) { method TestParseTimeOut (line 271) | func (s) TestParseTimeOut(t *testing.T) { method TestParseMsgSize (line 342) | func (s) TestParseMsgSize(t *testing.T) { method TestParseDefaultMethodConfig (line 400) | func (s) TestParseDefaultMethodConfig(t *testing.T) { method TestParseMethodConfigDuplicatedName (line 457) | func (s) TestParseMethodConfigDuplicatedName(t *testing.T) { method TestParseRetryPolicy (line 474) | func (s) TestParseRetryPolicy(t *testing.T) { function newBool (line 603) | func newBool(b bool) *bool { function newDuration (line 607) | func newDuration(b time.Duration) *time.Duration { FILE: serviceconfig/serviceconfig.go type Config (line 29) | type Config interface type LoadBalancingConfig (line 35) | type LoadBalancingConfig interface type ParseResult (line 41) | type ParseResult struct FILE: stats/handlers.go type ConnTagInfo (line 27) | type ConnTagInfo struct type RPCTagInfo (line 35) | type RPCTagInfo struct type Handler (line 53) | type Handler interface FILE: stats/metrics.go type MetricSet (line 26) | type MetricSet struct method Metrics (line 42) | func (m *MetricSet) Metrics() map[string]bool { method Add (line 48) | func (m *MetricSet) Add(metricNames ...string) *MetricSet { method Join (line 62) | func (m *MetricSet) Join(metrics *MetricSet) *MetricSet { method Remove (line 71) | func (m *MetricSet) Remove(metricNames ...string) *MetricSet { function NewMetricSet (line 32) | func NewMetricSet(metricNames ...string) *MetricSet { FILE: stats/opencensus/e2e_test.go type s (line 46) | type s struct method TestAllMetricsOneFunction (line 276) | func (s) TestAllMetricsOneFunction(t *testing.T) { method TestOpenCensusTags (line 1067) | func (s) TestOpenCensusTags(t *testing.T) { method TestSpan (line 1395) | func (s) TestSpan(t *testing.T) { function Test (line 50) | func Test(t *testing.T) { function init (line 54) | func init() { type fakeExporter (line 63) | type fakeExporter struct method ExportView (line 82) | func (fe *fakeExporter) ExportView(vd *view.Data) { method ExportSpan (line 1348) | func (fe *fakeExporter) ExportSpan(sd *trace.SpanData) { type viewInformation (line 74) | type viewInformation struct method Equal (line 166) | func (vi *viewInformation) Equal(vi2 *viewInformation) bool { function compareRows (line 98) | func compareRows(rows []*view.Row, rows2 []*view.Row) bool { function compareData (line 130) | func compareData(ad view.AggregationData, ad2 view.AggregationData) bool { function distributionDataLatencyCount (line 198) | func distributionDataLatencyCount(vi *viewInformation, countWant int64, ... function waitForServerCompletedRPCs (line 244) | func waitForServerCompletedRPCs(ctx context.Context) error { function compareSpanContext (line 1205) | func compareSpanContext(sc trace.SpanContext, sc2 trace.SpanContext) bool { function compareMessageEvents (line 1209) | func compareMessageEvents(me []trace.MessageEvent, me2 []trace.MessageEv... function compareLinks (line 1234) | func compareLinks(ls []trace.Link, ls2 []trace.Link) bool { type spanInformation (line 1251) | type spanInformation struct method Equal (line 1316) | func (si spanInformation) Equal(si2 spanInformation) bool { function validateTraceAndSpanIDs (line 1278) | func validateTraceAndSpanIDs(sis []spanInformation) error { function waitForServerSpan (line 1377) | func waitForServerSpan(ctx context.Context, fe *fakeExporter) error { FILE: stats/opencensus/opencensus.go type TraceOptions (line 41) | type TraceOptions struct function DialOption (line 64) | func DialOption(to TraceOptions) grpc.DialOption { function ServerOption (line 82) | func ServerOption(to TraceOptions) grpc.ServerOption { function perCallTracesAndMetrics (line 98) | func perCallTracesAndMetrics(err error, span *trace.Span, startTime time... type rpcInfo (line 144) | type rpcInfo struct type rpcInfoKey (line 149) | type rpcInfoKey struct function setRPCInfo (line 151) | func setRPCInfo(ctx context.Context, ri *rpcInfo) context.Context { function getRPCInfo (line 157) | func getRPCInfo(ctx context.Context) *rpcInfo { function SpanContextFromContext (line 164) | func SpanContextFromContext(ctx context.Context) (trace.SpanContext, boo... type clientStatsHandler (line 176) | type clientStatsHandler struct method createCallSpan (line 88) | func (csh *clientStatsHandler) createCallSpan(ctx context.Context, met... method unaryInterceptor (line 119) | func (csh *clientStatsHandler) unaryInterceptor(ctx context.Context, m... method streamInterceptor (line 130) | func (csh *clientStatsHandler) streamInterceptor(ctx context.Context, ... method TagConn (line 181) | func (csh *clientStatsHandler) TagConn(ctx context.Context, _ *stats.C... method HandleConn (line 186) | func (csh *clientStatsHandler) HandleConn(context.Context, stats.ConnS... method TagRPC (line 189) | func (csh *clientStatsHandler) TagRPC(ctx context.Context, rti *stats.... method HandleRPC (line 202) | func (csh *clientStatsHandler) HandleRPC(ctx context.Context, rs stats... type serverStatsHandler (line 214) | type serverStatsHandler struct method TagConn (line 219) | func (ssh *serverStatsHandler) TagConn(ctx context.Context, _ *stats.C... method HandleConn (line 224) | func (ssh *serverStatsHandler) HandleConn(context.Context, stats.ConnS... method TagRPC (line 227) | func (ssh *serverStatsHandler) TagRPC(ctx context.Context, rti *stats.... method HandleRPC (line 241) | func (ssh *serverStatsHandler) HandleRPC(ctx context.Context, rs stats... FILE: stats/opencensus/stats.go function removeLeadingSlash (line 50) | func removeLeadingSlash(mn string) string { type metricsInfo (line 56) | type metricsInfo struct method statsTagRPC (line 82) | func (csh *clientStatsHandler) statsTagRPC(ctx context.Context, info *st... method statsTagRPC (line 100) | func (ssh *serverStatsHandler) statsTagRPC(ctx context.Context, info *st... function recordRPCData (line 121) | func recordRPCData(ctx context.Context, s stats.RPCStats, mi *metricsInf... function recordDataBegin (line 150) | func recordDataBegin(ctx context.Context, mi *metricsInfo, b *stats.Begi... function recordDataOutPayload (line 165) | func recordDataOutPayload(mi *metricsInfo, op *stats.OutPayload) { function recordDataInPayload (line 174) | func recordDataInPayload(mi *metricsInfo, ip *stats.InPayload) { function recordDataEnd (line 182) | func recordDataEnd(ctx context.Context, mi *metricsInfo, e *stats.End) { FILE: stats/opencensus/trace.go type traceInfo (line 33) | type traceInfo struct method traceTagRPC (line 41) | func (csh *clientStatsHandler) traceTagRPC(ctx context.Context, rti *sta... method traceTagRPC (line 60) | func (ssh *serverStatsHandler) traceTagRPC(ctx context.Context, rti *sta... function populateSpan (line 90) | func populateSpan(_ context.Context, rs stats.RPCStats, ti *traceInfo) { FILE: stats/opentelemetry/client_metrics.go type clientMetricsHandler (line 34) | type clientMetricsHandler struct method initializeMetrics (line 40) | func (h *clientMetricsHandler) initializeMetrics() { method unaryInterceptor (line 84) | func (h *clientMetricsHandler) unaryInterceptor(ctx context.Context, m... method streamInterceptor (line 114) | func (h *clientMetricsHandler) streamInterceptor(ctx context.Context, ... method perCallMetrics (line 135) | func (h *clientMetricsHandler) perCallMetrics(ctx context.Context, err... method TagConn (line 146) | func (h *clientMetricsHandler) TagConn(ctx context.Context, _ *stats.C... method HandleConn (line 151) | func (h *clientMetricsHandler) HandleConn(context.Context, stats.ConnS... method TagRPC (line 165) | func (h *clientMetricsHandler) TagRPC(ctx context.Context, info *stats... method HandleRPC (line 192) | func (h *clientMetricsHandler) HandleRPC(ctx context.Context, rs stats... method processRPCEvent (line 201) | func (h *clientMetricsHandler) processRPCEvent(ctx context.Context, s ... method setLabelsFromPluginOption (line 229) | func (h *clientMetricsHandler) setLabelsFromPluginOption(ai *attemptIn... method processRPCEnd (line 239) | func (h *clientMetricsHandler) processRPCEnd(ctx context.Context, ai *... function getOrCreateCallInfo (line 72) | func getOrCreateCallInfo(ctx context.Context, cc *grpc.ClientConn, metho... function determineMethod (line 105) | func determineMethod(method string, opts ...grpc.CallOption) string { function getOrCreateRPCAttemptInfo (line 155) | func getOrCreateRPCAttemptInfo(ctx context.Context) (context.Context, *a... constant ClientAttemptStartedMetricName (line 280) | ClientAttemptStartedMetricName string = "grpc.client.attempt.started" constant ClientAttemptDurationMetricName (line 283) | ClientAttemptDurationMetricName string = "grpc.client.attempt.duration" constant ClientAttemptSentCompressedTotalMessageSizeMetricName (line 286) | ClientAttemptSentCompressedTotalMessageSizeMetricName string = "grpc.cli... constant ClientAttemptRcvdCompressedTotalMessageSizeMetricName (line 289) | ClientAttemptRcvdCompressedTotalMessageSizeMetricName string = "grpc.cli... constant ClientCallDurationMetricName (line 292) | ClientCallDurationMetricName string = "grpc.client.call.duration" FILE: stats/opentelemetry/client_tracing.go constant delayedResolutionEventName (line 34) | delayedResolutionEventName = "Delayed name resolution complete" constant tracerName (line 35) | tracerName = "grpc-go" type clientTracingHandler (line 38) | type clientTracingHandler struct method initializeTraces (line 42) | func (h *clientTracingHandler) initializeTraces() { method unaryInterceptor (line 49) | func (h *clientTracingHandler) unaryInterceptor(ctx context.Context, m... method streamInterceptor (line 59) | func (h *clientTracingHandler) streamInterceptor(ctx context.Context, ... method finishTrace (line 71) | func (h *clientTracingHandler) finishTrace(err error, ts trace.Span) { method traceTagRPC (line 86) | func (h *clientTracingHandler) traceTagRPC(ctx context.Context, ai *at... method createCallTraceSpan (line 106) | func (h *clientTracingHandler) createCallTraceSpan(ctx context.Context... method TagConn (line 114) | func (h *clientTracingHandler) TagConn(ctx context.Context, _ *stats.C... method HandleConn (line 119) | func (h *clientTracingHandler) HandleConn(context.Context, stats.ConnS... method TagRPC (line 122) | func (h *clientTracingHandler) TagRPC(ctx context.Context, info *stats... method HandleRPC (line 129) | func (h *clientTracingHandler) HandleRPC(ctx context.Context, rs stats... FILE: stats/opentelemetry/csm/observability.go function EnableObservability (line 41) | func EnableObservability(ctx context.Context, options opentelemetry.Opti... type perTargetDialOption (line 59) | type perTargetDialOption struct method DialOptionForTarget (line 64) | func (o *perTargetDialOption) DialOptionForTarget(parsedTarget url.URL... function dialOptionWithCSMPluginOption (line 71) | func dialOptionWithCSMPluginOption(options opentelemetry.Options, po ote... function dialOptionSetCSM (line 76) | func dialOptionSetCSM(options opentelemetry.Options, po otelinternal.Plu... function serverOptionWithCSMPluginOption (line 81) | func serverOptionWithCSMPluginOption(options opentelemetry.Options, po o... FILE: stats/opentelemetry/csm/observability_test.go function setupEnv (line 47) | func setupEnv(t *testing.T, resourceDetectorEmissions map[string]string,... method TestCSMPluginOptionUnary (line 96) | func (s) TestCSMPluginOptionUnary(t *testing.T) { method TestCSMPluginOptionStreaming (line 264) | func (s) TestCSMPluginOptionStreaming(t *testing.T) { function unaryInterceptorAttachXDSLabels (line 429) | func unaryInterceptorAttachXDSLabels(ctx context.Context, method string,... method TestXDSLabels (line 455) | func (s) TestXDSLabels(t *testing.T) { method TestObservability (line 618) | func (s) TestObservability(*testing.T) { FILE: stats/opentelemetry/csm/pluginoption.go type pluginOption (line 45) | type pluginOption struct method GetMetadata (line 69) | func (cpo *pluginOption) GetMetadata() metadata.MD { method GetLabels (line 79) | func (cpo *pluginOption) GetLabels(md metadata.MD) map[string]string { function newPluginOption (line 58) | func newPluginOption(ctx context.Context) internal.PluginOption { function getFromMetadata (line 142) | func getFromMetadata(metadataKey string, metadata map[string]*structpb.V... function getFromResource (line 156) | func getFromResource(resourceKey attribute.Key, set *attribute.Set) stri... function getEnv (line 167) | func getEnv(name string) string { function constructMetadataFromEnv (line 197) | func constructMetadataFromEnv(ctx context.Context) (map[string]string, s... function initializeLocalAndMetadataLabels (line 237) | func initializeLocalAndMetadataLabels(labels map[string]string) (map[str... constant metadataExchangeKey (line 269) | metadataExchangeKey = "x-envoy-peer-metadata" function determineTargetCSM (line 271) | func determineTargetCSM(parsedTarget *url.URL) bool { FILE: stats/opentelemetry/csm/pluginoption_test.go type s (line 41) | type s struct method TestGetLabels (line 61) | func (s) TestGetLabels(t *testing.T) { method TestDetermineTargetCSM (line 265) | func (s) TestDetermineTargetCSM(t *testing.T) { method TestSetLabels (line 309) | func (s) TestSetLabels(t *testing.T) { function Test (line 45) | func Test(t *testing.T) { function clearEnv (line 53) | func clearEnv() { function verifyMetadataExchangeLabels (line 466) | func verifyMetadataExchangeLabels(mdEncoded string, mdLabelsWant map[str... FILE: stats/opentelemetry/e2e_test.go type s (line 80) | type s struct method TestMethodAttributeFilter (line 328) | func (s) TestMethodAttributeFilter(t *testing.T) { method TestAllMetricsOneFunction (line 419) | func (s) TestAllMetricsOneFunction(t *testing.T) { method TestWRRMetrics (line 584) | func (s) TestWRRMetrics(t *testing.T) { method TestMetricsAndTracesOptionEnabled (line 815) | func (s) TestMetricsAndTracesOptionEnabled(t *testing.T) { method TestSpan (line 1059) | func (s) TestSpan(t *testing.T) { method TestSpan_WithW3CContextPropagator (line 1266) | func (s) TestSpan_WithW3CContextPropagator(t *testing.T) { method TestMetricsAndTracesDisabled (line 1467) | func (s) TestMetricsAndTracesDisabled(t *testing.T) { method TestRPCSpanErrorStatus (line 1512) | func (s) TestRPCSpanErrorStatus(t *testing.T) { method TestTraceSpan_WithRetriesAndNameResolutionDelay (line 1556) | func (s) TestTraceSpan_WithRetriesAndNameResolutionDelay(t *testing.T) { method TestStreamingRPC_TraceSequenceNumbers (line 1719) | func (s) TestStreamingRPC_TraceSequenceNumbers(t *testing.T) { method TestSubChannelMetrics (line 1800) | func (s) TestSubChannelMetrics(t *testing.T) { method TestHealthStreamNoOtelErrorLog (line 1956) | func (s) TestHealthStreamNoOtelErrorLog(t *testing.T) { function Test (line 84) | func Test(t *testing.T) { type traceSpanInfo (line 91) | type traceSpanInfo struct type traceSpanInfoMapKey (line 100) | type traceSpanInfoMapKey struct function defaultMetricsOptions (line 106) | func defaultMetricsOptions(_ *testing.T, methodAttributeFilter func(stri... function defaultTraceOptions (line 118) | func defaultTraceOptions(_ *testing.T) (*experimental.TraceOptions, *tra... function setupStubServer (line 132) | func setupStubServer(t *testing.T, metricsOptions *opentelemetry.Metrics... function waitForTraceSpans (line 171) | func waitForTraceSpans(ctx context.Context, exporter *tracetest.InMemory... function validateTraces (line 195) | func validateTraces(t *testing.T, spans tracetest.SpanStubs, wantSpanInf... function clusterWithLBConfiguration (line 552) | func clusterWithLBConfiguration(t *testing.T, clusterName, edsServiceNam... function metricsDataFromReader (line 566) | func metricsDataFromReader(ctx context.Context, reader *metric.ManualRea... function pollForWantMetrics (line 786) | func pollForWantMetrics(ctx context.Context, t *testing.T, reader *metri... constant delayedResolutionEventName (line 1551) | delayedResolutionEventName = "Delayed name resolution complete" function verifyTrace (line 1699) | func verifyTrace(t *testing.T, spans tracetest.SpanStubs, want traceSpan... FILE: stats/opentelemetry/example_test.go function ExampleDialOption_basic (line 28) | func ExampleDialOption_basic() { function ExampleServerOption_methodFilter (line 67) | func ExampleServerOption_methodFilter() { function ExampleMetrics_excludeSome (line 87) | func ExampleMetrics_excludeSome() { function ExampleMetrics_disableAll (line 102) | func ExampleMetrics_disableAll() { function ExampleMetrics_enableSome (line 117) | func ExampleMetrics_enableSome() { function ExampleOptions_addExperimentalMetrics (line 132) | func ExampleOptions_addExperimentalMetrics() { FILE: stats/opentelemetry/grpc_trace_bin_propagator.go constant grpcTraceBinHeaderKey (line 30) | grpcTraceBinHeaderKey = "grpc-trace-bin" type GRPCTraceBinPropagator (line 36) | type GRPCTraceBinPropagator struct method Inject (line 43) | func (GRPCTraceBinPropagator) Inject(ctx context.Context, carrier otel... method Extract (line 61) | func (GRPCTraceBinPropagator) Extract(ctx context.Context, carrier ote... method Fields (line 79) | func (GRPCTraceBinPropagator) Fields() []string { function toBinary (line 86) | func toBinary(sc oteltrace.SpanContext) []byte { function fromBinary (line 110) | func fromBinary(b []byte) (oteltrace.SpanContext, bool) { FILE: stats/opentelemetry/grpc_trace_bin_propagator_test.go method TestInject_ValidSpanContext (line 42) | func (s) TestInject_ValidSpanContext(t *testing.T) { method TestInject_InvalidSpanContext (line 71) | func (s) TestInject_InvalidSpanContext(t *testing.T) { method TestExtract (line 94) | func (s) TestExtract(t *testing.T) { method TestToBinary (line 130) | func (s) TestToBinary(t *testing.T) { method TestFromBinary (line 162) | func (s) TestFromBinary(t *testing.T) { FILE: stats/opentelemetry/internal/pluginoption.go type PluginOption (line 35) | type PluginOption interface FILE: stats/opentelemetry/internal/testutils/testutils.go function waitForServerCompletedRPCs (line 49) | func waitForServerCompletedRPCs(ctx context.Context, reader metric.Reade... function checkDataPointWithinFiveSeconds (line 81) | func checkDataPointWithinFiveSeconds(metric metricdata.Metrics) error { type MetricDataOptions (line 112) | type MetricDataOptions struct function createBucketCounts (line 134) | func createBucketCounts(recordingPoints []float64, bounds []float64) []u... function MetricDataUnary (line 159) | func MetricDataUnary(options MetricDataOptions) []metricdata.Metrics { function MetricDataStreaming (line 337) | func MetricDataStreaming(options MetricDataOptions) []metricdata.Metrics { function MetricData (line 514) | func MetricData(options MetricDataOptions) []metricdata.Metrics { function CompareMetrics (line 771) | func CompareMetrics(t *testing.T, gotMetrics map[string]metricdata.Metri... function WaitForServerMetrics (line 809) | func WaitForServerMetrics(ctx context.Context, t *testing.T, mr *metric.... FILE: stats/opentelemetry/internal/tracing/carrier.go type IncomingCarrier (line 34) | type IncomingCarrier struct method Get (line 52) | func (c *IncomingCarrier) Get(key string) string { method Set (line 62) | func (c *IncomingCarrier) Set(string, string) { method Keys (line 68) | func (c *IncomingCarrier) Keys() []string { method Context (line 82) | func (c *IncomingCarrier) Context() context.Context { function NewIncomingCarrier (line 41) | func NewIncomingCarrier(ctx context.Context) *IncomingCarrier { type OutgoingCarrier (line 88) | type OutgoingCarrier struct method Get (line 101) | func (c *OutgoingCarrier) Get(string) string { method Set (line 109) | func (c *OutgoingCarrier) Set(key, value string) { method Keys (line 115) | func (c *OutgoingCarrier) Keys() []string { method Context (line 129) | func (c *OutgoingCarrier) Context() context.Context { function NewOutgoingCarrier (line 95) | func NewOutgoingCarrier(ctx context.Context) *OutgoingCarrier { FILE: stats/opentelemetry/internal/tracing/carrier_test.go type s (line 31) | type s struct method TestIncomingCarrier (line 48) | func (s) TestIncomingCarrier(t *testing.T) { method TestOutgoingCarrier (line 133) | func (s) TestOutgoingCarrier(t *testing.T) { function Test (line 35) | func Test(t *testing.T) { FILE: stats/opentelemetry/metricsregistry_test.go type s (line 36) | type s struct method TestMetricsRegistryMetrics (line 63) | func (s) TestMetricsRegistryMetrics(t *testing.T) { function Test (line 40) | func Test(t *testing.T) { type metricsRecorderForTest (line 44) | type metricsRecorderForTest interface function newClientStatsHandler (line 49) | func newClientStatsHandler(options MetricsOptions) metricsRecorderForTest { function newServerStatsHandler (line 53) | func newServerStatsHandler(options MetricsOptions) metricsRecorderForTest { FILE: stats/opentelemetry/opentelemetry.go function init (line 45) | func init() { type Options (line 62) | type Options struct method isMetricsEnabled (line 69) | func (o *Options) isMetricsEnabled() bool { method isTracingEnabled (line 73) | func (o *Options) isTracingEnabled() bool { type MetricsOptions (line 78) | type MetricsOptions struct function DialOption (line 124) | func DialOption(o Options) grpc.DialOption { function ServerOption (line 157) | func ServerOption(o Options) grpc.ServerOption { type callInfo (line 174) | type callInfo struct type callInfoKey (line 184) | type callInfoKey struct function setCallInfo (line 186) | func setCallInfo(ctx context.Context, ci *callInfo) context.Context { function getCallInfo (line 192) | func getCallInfo(ctx context.Context) *callInfo { type rpcInfo (line 199) | type rpcInfo struct type rpcInfoKey (line 203) | type rpcInfoKey struct function setRPCInfo (line 205) | func setRPCInfo(ctx context.Context, ri *rpcInfo) context.Context { function getRPCInfo (line 211) | func getRPCInfo(ctx context.Context) *rpcInfo { function removeLeadingSlash (line 216) | func removeLeadingSlash(mn string) string { type attemptInfo (line 222) | type attemptInfo struct type clientMetrics (line 247) | type clientMetrics struct type serverMetrics (line 260) | type serverMetrics struct function createInt64Counter (line 271) | func createInt64Counter(setOfMetrics map[string]bool, metricName string,... function createInt64UpDownCounter (line 283) | func createInt64UpDownCounter(setOfMetrics map[string]bool, metricName s... function createFloat64Counter (line 295) | func createFloat64Counter(setOfMetrics map[string]bool, metricName strin... function createInt64Histogram (line 307) | func createInt64Histogram(setOfMetrics map[string]bool, metricName strin... function createFloat64Histogram (line 319) | func createFloat64Histogram(setOfMetrics map[string]bool, metricName str... function createInt64Gauge (line 331) | func createInt64Gauge(setOfMetrics map[string]bool, metricName string, m... function createInt64ObservableGauge (line 344) | func createInt64ObservableGauge(setOfMetrics map[string]bool, metricName... function optionFromLabels (line 358) | func optionFromLabels(labelKeys []string, optionalLabelKeys []string, op... type registryMetrics (line 379) | type registryMetrics struct method registerMetrics (line 395) | func (rm *registryMetrics) registerMetrics(metrics *stats.MetricSet, m... method RecordInt64Count (line 432) | func (rm *registryMetrics) RecordInt64Count(handle *estats.Int64CountH... method RecordInt64UpDownCount (line 440) | func (rm *registryMetrics) RecordInt64UpDownCount(handle *estats.Int64... method RecordFloat64Count (line 448) | func (rm *registryMetrics) RecordFloat64Count(handle *estats.Float64Co... method RecordInt64Histo (line 456) | func (rm *registryMetrics) RecordInt64Histo(handle *estats.Int64HistoH... method RecordFloat64Histo (line 464) | func (rm *registryMetrics) RecordFloat64Histo(handle *estats.Float64Hi... method RecordInt64Gauge (line 472) | func (rm *registryMetrics) RecordInt64Gauge(handle *estats.Int64GaugeH... method RegisterAsyncReporter (line 489) | func (rm *registryMetrics) RegisterAsyncReporter(reporter estats.Async... function DefaultMetrics (line 546) | func DefaultMetrics() *stats.MetricSet { type observerAdapter (line 550) | type observerAdapter struct method RecordInt64AsyncGauge (line 558) | func (a *observerAdapter) RecordInt64AsyncGauge(handle *estats.Int64As... FILE: stats/opentelemetry/server_metrics.go type serverMetricsHandler (line 35) | type serverMetricsHandler struct method initializeMetrics (line 41) | func (h *serverMetricsHandler) initializeMetrics() { method unaryInterceptor (line 93) | func (h *serverMetricsHandler) unaryInterceptor(ctx context.Context, r... method streamInterceptor (line 154) | func (h *serverMetricsHandler) streamInterceptor(srv any, ss grpc.Serv... method TagConn (line 174) | func (h *serverMetricsHandler) TagConn(ctx context.Context, _ *stats.C... method HandleConn (line 179) | func (h *serverMetricsHandler) HandleConn(context.Context, stats.ConnS... method TagRPC (line 182) | func (h *serverMetricsHandler) TagRPC(ctx context.Context, info *stats... method HandleRPC (line 207) | func (h *serverMetricsHandler) HandleRPC(ctx context.Context, rs stats... method processRPCData (line 216) | func (h *serverMetricsHandler) processRPCData(ctx context.Context, s s... method processRPCEnd (line 240) | func (h *serverMetricsHandler) processRPCEnd(ctx context.Context, ai *... type attachLabelsTransportStream (line 71) | type attachLabelsTransportStream struct method SetHeader (line 78) | func (s *attachLabelsTransportStream) SetHeader(md metadata.MD) error { method SendHeader (line 85) | func (s *attachLabelsTransportStream) SendHeader(md metadata.MD) error { type attachLabelsStream (line 124) | type attachLabelsStream struct method SetHeader (line 131) | func (s *attachLabelsStream) SetHeader(md metadata.MD) error { method SendHeader (line 139) | func (s *attachLabelsStream) SendHeader(md metadata.MD) error { method SendMsg (line 147) | func (s *attachLabelsStream) SendMsg(m any) error { constant ServerCallStartedMetricName (line 264) | ServerCallStartedMetricName string = "grpc.server.call.started" constant ServerCallSentCompressedTotalMessageSizeMetricName (line 267) | ServerCallSentCompressedTotalMessageSizeMetricName string = "grpc.server... constant ServerCallRcvdCompressedTotalMessageSizeMetricName (line 270) | ServerCallRcvdCompressedTotalMessageSizeMetricName string = "grpc.server... constant ServerCallDurationMetricName (line 273) | ServerCallDurationMetricName string = "grpc.server.call.duration" FILE: stats/opentelemetry/server_tracing.go type serverTracingHandler (line 30) | type serverTracingHandler struct method initializeTraces (line 34) | func (h *serverTracingHandler) initializeTraces() { method TagRPC (line 42) | func (h *serverTracingHandler) TagRPC(ctx context.Context, _ *stats.RP... method traceTagRPC (line 55) | func (h *serverTracingHandler) traceTagRPC(ctx context.Context, ai *at... method HandleRPC (line 69) | func (h *serverTracingHandler) HandleRPC(ctx context.Context, rs stats... method TagConn (line 79) | func (h *serverTracingHandler) TagConn(ctx context.Context, _ *stats.C... method HandleConn (line 84) | func (h *serverTracingHandler) HandleConn(context.Context, stats.ConnS... FILE: stats/opentelemetry/trace.go function populateSpan (line 33) | func populateSpan(rs stats.RPCStats, ai *attemptInfo) { FILE: stats/stats.go type RPCStats (line 33) | type RPCStats interface type Begin (line 46) | type Begin struct method IsClient (line 63) | func (s *Begin) IsClient() bool { return s.Client } method isRPCStats (line 65) | func (s *Begin) isRPCStats() {} type DelayedPickComplete (line 69) | type DelayedPickComplete struct method IsClient (line 72) | func (*DelayedPickComplete) IsClient() bool { return true } method isRPCStats (line 74) | func (*DelayedPickComplete) isRPCStats() {} type InPayload (line 84) | type InPayload struct method IsClient (line 108) | func (s *InPayload) IsClient() bool { return s.Client } method isRPCStats (line 110) | func (s *InPayload) isRPCStats() {} type InHeader (line 115) | type InHeader struct method IsClient (line 135) | func (s *InHeader) IsClient() bool { return s.Client } method isRPCStats (line 137) | func (s *InHeader) isRPCStats() {} type InTrailer (line 140) | type InTrailer struct method IsClient (line 151) | func (s *InTrailer) IsClient() bool { return s.Client } method isRPCStats (line 153) | func (s *InTrailer) isRPCStats() {} type OutPayload (line 156) | type OutPayload struct method IsClient (line 178) | func (s *OutPayload) IsClient() bool { return s.Client } method isRPCStats (line 180) | func (s *OutPayload) isRPCStats() {} type OutHeader (line 186) | type OutHeader struct method IsClient (line 204) | func (s *OutHeader) IsClient() bool { return s.Client } method isRPCStats (line 206) | func (s *OutHeader) isRPCStats() {} type OutTrailer (line 209) | type OutTrailer struct method IsClient (line 224) | func (s *OutTrailer) IsClient() bool { return s.Client } method isRPCStats (line 226) | func (s *OutTrailer) isRPCStats() {} type End (line 229) | type End struct method IsClient (line 247) | func (s *End) IsClient() bool { return s.Client } method isRPCStats (line 249) | func (s *End) isRPCStats() {} type ConnStats (line 252) | type ConnStats interface type ConnBegin (line 259) | type ConnBegin struct method IsClient (line 265) | func (s *ConnBegin) IsClient() bool { return s.Client } method isConnStats (line 267) | func (s *ConnBegin) isConnStats() {} type ConnEnd (line 270) | type ConnEnd struct method IsClient (line 276) | func (s *ConnEnd) IsClient() bool { return s.Client } method isConnStats (line 278) | func (s *ConnEnd) isConnStats() {} function SetTags (line 285) | func SetTags(ctx context.Context, b []byte) context.Context { function Tags (line 292) | func Tags(ctx context.Context) []byte { function SetTrace (line 305) | func SetTrace(ctx context.Context, b []byte) context.Context { function Trace (line 312) | func Trace(ctx context.Context) []byte { FILE: stats/stats_test.go constant defaultTestTimeout (line 49) | defaultTestTimeout = 10 * time.Second type s (line 51) | type s struct method TestServerStatsUnaryRPC (line 930) | func (s) TestServerStatsUnaryRPC(t *testing.T) { method TestServerStatsUnaryRPCError (line 942) | func (s) TestServerStatsUnaryRPCError(t *testing.T) { method TestServerStatsClientStreamRPC (line 953) | func (s) TestServerStatsClientStreamRPC(t *testing.T) { method TestServerStatsClientStreamRPCError (line 974) | func (s) TestServerStatsClientStreamRPCError(t *testing.T) { method TestServerStatsServerStreamRPC (line 986) | func (s) TestServerStatsServerStreamRPC(t *testing.T) { method TestServerStatsServerStreamRPCError (line 1007) | func (s) TestServerStatsServerStreamRPCError(t *testing.T) { method TestServerStatsFullDuplexRPC (line 1019) | func (s) TestServerStatsFullDuplexRPC(t *testing.T) { method TestServerStatsFullDuplexRPCError (line 1040) | func (s) TestServerStatsFullDuplexRPCError(t *testing.T) { method TestClientStatsUnaryRPC (line 1234) | func (s) TestClientStatsUnaryRPC(t *testing.T) { method TestClientStatsUnaryRPCError (line 1246) | func (s) TestClientStatsUnaryRPCError(t *testing.T) { method TestClientStatsClientStreamRPC (line 1257) | func (s) TestClientStatsClientStreamRPC(t *testing.T) { method TestClientStatsClientStreamRPCError (line 1270) | func (s) TestClientStatsClientStreamRPCError(t *testing.T) { method TestClientStatsServerStreamRPC (line 1282) | func (s) TestClientStatsServerStreamRPC(t *testing.T) { method TestClientStatsServerStreamRPCError (line 1295) | func (s) TestClientStatsServerStreamRPCError(t *testing.T) { method TestClientStatsFullDuplexRPC (line 1307) | func (s) TestClientStatsFullDuplexRPC(t *testing.T) { method TestClientStatsFullDuplexRPCError (line 1320) | func (s) TestClientStatsFullDuplexRPCError(t *testing.T) { method TestTags (line 1332) | func (s) TestTags(t *testing.T) { method TestTrace (line 1353) | func (s) TestTrace(t *testing.T) { method TestMultipleClientStatsHandler (line 1374) | func (s) TestMultipleClientStatsHandler(t *testing.T) { method TestMultipleServerStatsHandler (line 1420) | func (s) TestMultipleServerStatsHandler(t *testing.T) { method TestStatsHandlerCallsServerIsRegisteredMethod (line 1473) | func (s) TestStatsHandlerCallsServerIsRegisteredMethod(t *testing.T) { function Test (line 55) | func Test(t *testing.T) { function init (line 59) | func init() { type connCtxKey (line 63) | type connCtxKey struct type rpcCtxKey (line 64) | type rpcCtxKey struct function idToPayload (line 87) | func idToPayload(id int32) *testpb.Payload { function payloadToID (line 91) | func payloadToID(p *testpb.Payload) int32 { function setIncomingStats (line 98) | func setIncomingStats(ctx context.Context, mdKey string, b []byte) conte... function getOutgoingStats (line 107) | func getOutgoingStats(ctx context.Context, mdKey string) []byte { type testServer (line 119) | type testServer struct method UnaryCall (line 123) | func (s *testServer) UnaryCall(ctx context.Context, in *testpb.SimpleR... method FullDuplexCall (line 138) | func (s *testServer) FullDuplexCall(stream testgrpc.TestService_FullDu... method StreamingInputCall (line 163) | func (s *testServer) StreamingInputCall(stream testgrpc.TestService_St... method StreamingOutputCall (line 184) | func (s *testServer) StreamingOutputCall(in *testpb.StreamingOutputCal... type test (line 205) | type test struct method tearDown (line 219) | func (te *test) tearDown() { method startServer (line 246) | func (te *test) startServer(ts testgrpc.TestServiceServer) { method clientConn (line 272) | func (te *test) clientConn(ctx context.Context) *grpc.ClientConn { method doUnaryCall (line 316) | func (te *test) doUnaryCall(c *rpcConfig) (*testpb.SimpleRequest, *tes... method doFullDuplexCallRoundtrip (line 335) | func (te *test) doFullDuplexCallRoundtrip(c *rpcConfig) ([]proto.Messa... method doClientStreamCall (line 376) | func (te *test) doClientStreamCall(c *rpcConfig) ([]proto.Message, *te... method doServerStreamCall (line 406) | func (te *test) doServerStreamCall(c *rpcConfig) (*testpb.StreamingOut... type testConfig (line 227) | type testConfig struct function newTest (line 234) | func newTest(t *testing.T, tc *testConfig, chs []stats.Handler, shs []st... type rpcType (line 300) | type rpcType constant unaryRPC (line 303) | unaryRPC rpcType = iota constant clientStreamRPC (line 304) | clientStreamRPC constant serverStreamRPC (line 305) | serverStreamRPC constant fullDuplexStreamRPC (line 306) | fullDuplexStreamRPC type rpcConfig (line 309) | type rpcConfig struct type expectedData (line 437) | type expectedData struct type gotData (line 451) | type gotData struct constant begin (line 458) | begin int = iota constant end (line 459) | end constant inPayload (line 460) | inPayload constant inHeader (line 461) | inHeader constant inTrailer (line 462) | inTrailer constant outPayload (line 463) | outPayload constant outHeader (line 464) | outHeader constant connBegin (line 466) | connBegin constant connEnd (line 467) | connEnd function checkBegin (line 470) | func checkBegin(t *testing.T, d *gotData, e *expectedData) { function checkInHeader (line 497) | func checkInHeader(t *testing.T, d *gotData, e *expectedData) { function checkInPayload (line 554) | func checkInPayload(t *testing.T, d *gotData, e *expectedData) { function checkInTrailer (line 596) | func checkInTrailer(t *testing.T, d *gotData, _ *expectedData) { function checkOutHeader (line 615) | func checkOutHeader(t *testing.T, d *gotData, e *expectedData) { function checkOutPayload (line 662) | func checkOutPayload(t *testing.T, d *gotData, e *expectedData) { function checkOutTrailer (line 704) | func checkOutTrailer(t *testing.T, d *gotData, _ *expectedData) { function checkEnd (line 723) | func checkEnd(t *testing.T, d *gotData, e *expectedData) { function checkConnBegin (line 762) | func checkConnBegin(t *testing.T, d *gotData) { function checkConnEnd (line 776) | func checkConnEnd(t *testing.T, d *gotData) { type statshandler (line 790) | type statshandler struct method TagConn (line 796) | func (h *statshandler) TagConn(ctx context.Context, info *stats.ConnTa... method TagRPC (line 800) | func (h *statshandler) TagRPC(ctx context.Context, info *stats.RPCTagI... method HandleConn (line 804) | func (h *statshandler) HandleConn(ctx context.Context, s stats.ConnSta... method HandleRPC (line 810) | func (h *statshandler) HandleRPC(ctx context.Context, s stats.RPCStats) { function checkConnStats (line 816) | func checkConnStats(t *testing.T, got []*gotData) { function checkServerStats (line 829) | func checkServerStats(t *testing.T, got []*gotData, expect *expectedData... function testServerStats (line 842) | func testServerStats(t *testing.T, tc *testConfig, cc *rpcConfig, checkF... type checkFuncWithCount (line 1052) | type checkFuncWithCount struct function checkClientStats (line 1057) | func checkClientStats(t *testing.T, got []*gotData, expect *expectedData... function testClientStats (line 1142) | func testClientStats(t *testing.T, tc *testConfig, cc *rpcConfig, checkF... FILE: status/status.go function New (line 48) | func New(c codes.Code, msg string) *Status { function Newf (line 53) | func Newf(c codes.Code, format string, a ...any) *Status { function Error (line 58) | func Error(c codes.Code, msg string) error { function Errorf (line 63) | func Errorf(c codes.Code, format string, a ...any) error { function ErrorProto (line 68) | func ErrorProto(s *spb.Status) error { function FromProto (line 73) | func FromProto(s *spb.Status) *Status { function FromError (line 96) | func FromError(err error) (s *Status, ok bool) { function Convert (line 131) | func Convert(err error) *Status { function Code (line 139) | func Code(err error) codes.Code { function FromContextError (line 151) | func FromContextError(err error) *Status { FILE: status/status_ext_test.go constant defaultTestTimeout (line 46) | defaultTestTimeout = 10 * time.Second type s (line 48) | type s struct method TestErrorIs (line 65) | func (s) TestErrorIs(t *testing.T) { method TestStatusDetails (line 102) | func (s) TestStatusDetails(t *testing.T) { method TestStatus_ErrorDetailsMessageV1 (line 214) | func (s) TestStatus_ErrorDetailsMessageV1(t *testing.T) { method TestStatus_ErrorDetailsMessageV1AndV2 (line 239) | func (s) TestStatus_ErrorDetailsMessageV1AndV2(t *testing.T) { method TestFromError_Wrapped (line 264) | func (s) TestFromError_Wrapped(t *testing.T) { function Test (line 52) | func Test(t *testing.T) { function errWithDetails (line 56) | func errWithDetails(t *testing.T, s *status.Status, details ...protoadap... FILE: status/status_test.go type s (line 42) | type s struct method TestErrorsWithSameParameters (line 64) | func (s) TestErrorsWithSameParameters(t *testing.T) { method TestFromToProto (line 73) | func (s) TestFromToProto(t *testing.T) { method TestFromNilProto (line 86) | func (s) TestFromNilProto(t *testing.T) { method TestError (line 104) | func (s) TestError(t *testing.T) { method TestErrorOK (line 118) | func (s) TestErrorOK(t *testing.T) { method TestErrorProtoOK (line 125) | func (s) TestErrorProtoOK(t *testing.T) { method TestFromError (line 132) | func (s) TestFromError(t *testing.T) { method TestFromErrorOK (line 141) | func (s) TestFromErrorOK(t *testing.T) { method TestFromErrorImplementsInterface (line 167) | func (s) TestFromErrorImplementsInterface(t *testing.T) { method TestFromErrorUnknownError (line 188) | func (s) TestFromErrorUnknownError(t *testing.T) { method TestFromErrorWrapped (line 197) | func (s) TestFromErrorWrapped(t *testing.T) { method TestFromErrorImplementsInterfaceReturnsOKStatus (line 217) | func (s) TestFromErrorImplementsInterfaceReturnsOKStatus(t *testing.T) { method TestFromErrorImplementsInterfaceReturnsOKStatusWrapped (line 225) | func (s) TestFromErrorImplementsInterfaceReturnsOKStatusWrapped(t *tes... method TestFromErrorImplementsInterfaceWrapped (line 233) | func (s) TestFromErrorImplementsInterfaceWrapped(t *testing.T) { method TestCode (line 242) | func (s) TestCode(t *testing.T) { method TestCodeOK (line 250) | func (s) TestCodeOK(t *testing.T) { method TestCodeImplementsInterface (line 256) | func (s) TestCodeImplementsInterface(t *testing.T) { method TestCodeUnknownError (line 264) | func (s) TestCodeUnknownError(t *testing.T) { method TestCodeWrapped (line 272) | func (s) TestCodeWrapped(t *testing.T) { method TestCodeImplementsInterfaceWrapped (line 280) | func (s) TestCodeImplementsInterfaceWrapped(t *testing.T) { method TestConvertKnownError (line 288) | func (s) TestConvertKnownError(t *testing.T) { method TestConvertUnknownError (line 297) | func (s) TestConvertUnknownError(t *testing.T) { method TestStatus_ErrorDetails (line 306) | func (s) TestStatus_ErrorDetails(t *testing.T) { method TestStatus_WithDetails_Fail (line 368) | func (s) TestStatus_WithDetails_Fail(t *testing.T) { method TestStatus_ErrorDetails_Fail (line 381) | func (s) TestStatus_ErrorDetails_Fail(t *testing.T) { method TestFromContextError (line 464) | func (s) TestFromContextError(t *testing.T) { function Test (line 46) | func Test(t *testing.T) { function errEqual (line 52) | func errEqual(err1, err2 error) bool { type customError (line 149) | type customError struct method Error (line 155) | func (c customError) Error() string { method GRPCStatus (line 159) | func (c customError) GRPCStatus() *Status { type customErrorNilStatus (line 206) | type customErrorNilStatus struct method Error (line 209) | func (c customErrorNilStatus) Error() string { method GRPCStatus (line 213) | func (c customErrorNilStatus) GRPCStatus() *Status { function str (line 445) | func str(s *Status) string { function mustMarshalAny (line 456) | func mustMarshalAny(msg proto.Message) *anypb.Any { FILE: stream.go type StreamHandler (line 63) | type StreamHandler type StreamDesc (line 68) | type StreamDesc struct type Stream (line 84) | type Stream interface type ClientStream (line 97) | type ClientStream interface method NewStream (line 176) | func (cc *ClientConn) NewStream(ctx context.Context, desc *StreamDesc, m... function NewClientStream (line 188) | func NewClientStream(ctx context.Context, desc *StreamDesc, cc *ClientCo... function endOfClientStream (line 197) | func endOfClientStream(cc *ClientConn, err error, opts ...CallOption) { function newClientStream (line 213) | func newClientStream(ctx context.Context, desc *StreamDesc, cc *ClientCo... function newClientStreamWithParams (line 295) | func newClientStreamWithParams(ctx context.Context, desc *StreamDesc, cc... type clientStream (line 583) | type clientStream struct method newAttemptLocked (line 448) | func (cs *clientStream) newAttemptLocked(isTransparent bool) (*csAttem... method commitAttemptLocked (line 673) | func (cs *clientStream) commitAttemptLocked() { method commitAttempt (line 686) | func (cs *clientStream) commitAttempt() { method retryLocked (line 792) | func (cs *clientStream) retryLocked(attempt *csAttempt, lastErr error)... method Context (line 815) | func (cs *clientStream) Context() context.Context { method withRetry (line 825) | func (cs *clientStream) withRetry(op func(a *csAttempt) error, onSucce... method Header (line 871) | func (cs *clientStream) Header() (metadata.MD, error) { method Trailer (line 910) | func (cs *clientStream) Trailer() metadata.MD { method replayBufferLocked (line 925) | func (cs *clientStream) replayBufferLocked(attempt *csAttempt) error { method bufferForRetryLocked (line 934) | func (cs *clientStream) bufferForRetryLocked(sz int, op func(a *csAtte... method SendMsg (line 948) | func (cs *clientStream) SendMsg(m any) (err error) { method RecvMsg (line 1019) | func (cs *clientStream) RecvMsg(m any) error { method CloseSend (line 1048) | func (cs *clientStream) CloseSend() error { method finish (line 1078) | func (cs *clientStream) finish(err error) { type replayOp (line 638) | type replayOp struct type csAttempt (line 645) | type csAttempt struct method getTransport (line 509) | func (a *csAttempt) getTransport() error { method newStream (line 531) | func (a *csAttempt) newStream() error { method shouldRetry (line 695) | func (a *csAttempt) shouldRetry(err error) (bool, error) { method sendMsg (line 1132) | func (a *csAttempt) sendMsg(m any, hdr []byte, payld mem.BufferSlice, ... method recvMsg (line 1156) | func (a *csAttempt) recvMsg(m any, payInfo *payloadInfo) (err error) { method finish (line 1229) | func (a *csAttempt) finish(err error) { function newNonRetryClientStream (line 1292) | func newNonRetryClientStream(ctx context.Context, desc *StreamDesc, meth... type addrConnStream (line 1399) | type addrConnStream struct method Header (line 1424) | func (as *addrConnStream) Header() (metadata.MD, error) { method Trailer (line 1432) | func (as *addrConnStream) Trailer() metadata.MD { method CloseSend (line 1436) | func (as *addrConnStream) CloseSend() error { method Context (line 1451) | func (as *addrConnStream) Context() context.Context { method SendMsg (line 1455) | func (as *addrConnStream) SendMsg(m any) (err error) { method RecvMsg (line 1506) | func (as *addrConnStream) RecvMsg(m any) (err error) { method finish (line 1564) | func (as *addrConnStream) finish(err error) { type ServerStream (line 1594) | type ServerStream interface type serverStream (line 1641) | type serverStream struct method Context (line 1675) | func (ss *serverStream) Context() context.Context { method SetHeader (line 1679) | func (ss *serverStream) SetHeader(md metadata.MD) error { method SendHeader (line 1690) | func (ss *serverStream) SendHeader(md metadata.MD) error { method SetTrailer (line 1710) | func (ss *serverStream) SetTrailer(md metadata.MD) { method SendMsg (line 1720) | func (ss *serverStream) SendMsg(m any) (err error) { method RecvMsg (line 1803) | func (ss *serverStream) RecvMsg(m any) (err error) { function MethodFromServerStream (line 1887) | func MethodFromServerStream(stream ServerStream) (string, bool) { function prepareMsg (line 1896) | func prepareMsg(m any, codec baseCodec, cp Compressor, comp encoding.Com... FILE: stream_interfaces.go type ServerStreamingClient (line 24) | type ServerStreamingClient interface type ServerStreamingServer (line 44) | type ServerStreamingServer interface type ClientStreamingClient (line 61) | type ClientStreamingClient interface type ClientStreamingServer (line 89) | type ClientStreamingServer interface type BidiStreamingClient (line 114) | type BidiStreamingClient interface type BidiStreamingServer (line 142) | type BidiStreamingServer interface type GenericClientStream (line 165) | type GenericClientStream struct method Send (line 176) | func (x *GenericClientStream[Req, Res]) Send(m *Req) error { method Recv (line 183) | func (x *GenericClientStream[Req, Res]) Recv() (*Res, error) { method CloseAndRecv (line 194) | func (x *GenericClientStream[Req, Res]) CloseAndRecv() (*Res, error) { type GenericServerStream (line 207) | type GenericServerStream struct method Send (line 218) | func (x *GenericServerStream[Req, Res]) Send(m *Res) error { method SendAndClose (line 225) | func (x *GenericServerStream[Req, Res]) SendAndClose(m *Res) error { method Recv (line 232) | func (x *GenericServerStream[Req, Res]) Recv() (*Req, error) { FILE: stream_test.go constant defaultTestTimeout (line 37) | defaultTestTimeout = 10 * time.Second type s (line 39) | type s struct method TestStream_Header_TrailersOnly (line 47) | func (s) TestStream_Header_TrailersOnly(t *testing.T) { method TestUnaryClient_ServerStreamingMismatch (line 81) | func (s) TestUnaryClient_ServerStreamingMismatch(t *testing.T) { function Test (line 43) | func Test(t *testing.T) { FILE: tap/tap.go type Info (line 35) | type Info struct type ServerInHandle (line 62) | type ServerInHandle FILE: test/authority_test.go function authorityChecker (line 46) | func authorityChecker(ctx context.Context, expectedAuthority string) (*t... function runUnixTest (line 64) | func runUnixTest(t *testing.T, address, target, expectedAuthority string... type authorityTest (line 94) | type authorityTest struct method TestUnix (line 142) | func (s) TestUnix(t *testing.T) { method TestUnixCustomDialer (line 153) | func (s) TestUnixCustomDialer(t *testing.T) { method TestColonPortAuthority (line 170) | func (s) TestColonPortAuthority(t *testing.T) { method TestAuthorityReplacedWithResolverAddress (line 211) | func (s) TestAuthorityReplacedWithResolverAddress(t *testing.T) { FILE: test/balancer_switching_test.go constant loadBalancedServiceName (line 45) | loadBalancedServiceName = "foo.bar.service" constant loadBalancedServicePort (line 46) | loadBalancedServicePort = 443 constant wantGRPCLBTraceDesc (line 47) | wantGRPCLBTraceDesc = `Channel switches to new LB policy "grpclb"` constant wantRoundRobinTraceDesc (line 48) | wantRoundRobinTraceDesc = `Channel switches to new LB policy "round_robin"` constant pickFirstServiceConfig (line 49) | pickFirstServiceConfig = `{"loadBalancingConfig": [{"pick_first":{}}]}` constant grpclbServiceConfig (line 50) | grpclbServiceConfig = `{"loadBalancingConfig": [{"grpclb":{}}]}` constant backendCount (line 55) | backendCount = 3 function stubBackendsToResolverAddrs (line 60) | func stubBackendsToResolverAddrs(backends []*stubserver.StubServer) []re... function setupBackendsAndFakeGRPCLB (line 77) | func setupBackendsAndFakeGRPCLB(t *testing.T) ([]*stubserver.StubServer,... function startBackendsForBalancerSwitch (line 103) | func startBackendsForBalancerSwitch(t *testing.T) ([]*stubserver.StubSer... method TestBalancerSwitch_Basic (line 126) | func (s) TestBalancerSwitch_Basic(t *testing.T) { method TestBalancerSwitch_grpclbToPickFirst (line 171) | func (s) TestBalancerSwitch_grpclbToPickFirst(t *testing.T) { method TestBalancerSwitch_pickFirstToGRPCLB (line 221) | func (s) TestBalancerSwitch_pickFirstToGRPCLB(t *testing.T) { method TestBalancerSwitch_RoundRobinToGRPCLB (line 275) | func (s) TestBalancerSwitch_RoundRobinToGRPCLB(t *testing.T) { method TestBalancerSwitch_grpclbNotRegistered (line 331) | func (s) TestBalancerSwitch_grpclbNotRegistered(t *testing.T) { method TestBalancerSwitch_OldBalancerCallsShutdownInClose (line 381) | func (s) TestBalancerSwitch_OldBalancerCallsShutdownInClose(t *testing.T) { method TestBalancerSwitch_Graceful (line 455) | func (s) TestBalancerSwitch_Graceful(t *testing.T) { FILE: test/balancer_test.go constant testBalancerName (line 58) | testBalancerName = "testbalancer" type testBalancer (line 64) | type testBalancer struct method Build (line 74) | func (b *testBalancer) Build(cc balancer.ClientConn, _ balancer.BuildO... method Name (line 79) | func (*testBalancer) Name() string { method ResolverError (line 83) | func (*testBalancer) ResolverError(error) { method UpdateClientConnState (line 87) | func (b *testBalancer) UpdateClientConnState(state balancer.ClientConn... method UpdateSubConnState (line 103) | func (b *testBalancer) UpdateSubConnState(sc balancer.SubConn, s balan... method updateSubConnState (line 107) | func (b *testBalancer) updateSubConnState(s balancer.SubConnState) { method Close (line 122) | func (b *testBalancer) Close() {} method ExitIdle (line 124) | func (b *testBalancer) ExitIdle() {} type picker (line 126) | type picker struct method Pick (line 132) | func (p *picker) Pick(info balancer.PickInfo) (balancer.PickResult, er... method TestCredsBundleFromBalancer (line 147) | func (s) TestCredsBundleFromBalancer(t *testing.T) { method TestPickExtraMetadata (line 178) | func (s) TestPickExtraMetadata(t *testing.T) { function testPickExtraMetadata (line 184) | func testPickExtraMetadata(t *testing.T, e env) { method TestDoneInfo (line 227) | func (s) TestDoneInfo(t *testing.T) { function testDoneInfo (line 233) | func testDoneInfo(t *testing.T, e env) { constant loadMDKey (line 285) | loadMDKey = "X-Endpoint-Load-Metrics-Bin" type testLoadParser (line 287) | type testLoadParser struct method Parse (line 289) | func (*testLoadParser) Parse(md metadata.MD) any { function init (line 297) | func init() { method TestDoneLoads (line 301) | func (s) TestDoneLoads(t *testing.T) { function testDoneLoads (line 305) | func testDoneLoads(t *testing.T) { type aiPicker (line 346) | type aiPicker struct method Pick (line 351) | func (aip *aiPicker) Pick(_ balancer.PickInfo) (balancer.PickResult, e... type attrTransportCreds (line 358) | type attrTransportCreds struct method ClientHandshake (line 363) | func (ac *attrTransportCreds) ClientHandshake(ctx context.Context, _ s... method Info (line 368) | func (ac *attrTransportCreds) Info() credentials.ProtocolInfo { method Clone (line 371) | func (ac *attrTransportCreds) Clone() credentials.TransportCredentials { method TestAddressAttributesInNewSubConn (line 379) | func (s) TestAddressAttributesInNewSubConn(t *testing.T) { method TestMetadataInAddressAttributes (line 474) | func (s) TestMetadataInAddressAttributes(t *testing.T) { method TestServersSwap (line 546) | func (s) TestServersSwap(t *testing.T) { method TestWaitForReady (line 603) | func (s) TestWaitForReady(t *testing.T) { type authorityOverrideTransportCreds (line 667) | type authorityOverrideTransportCreds struct method ClientHandshake (line 672) | func (ao *authorityOverrideTransportCreds) ClientHandshake(_ context.C... method Info (line 675) | func (ao *authorityOverrideTransportCreds) Info() credentials.Protocol... method Clone (line 678) | func (ao *authorityOverrideTransportCreds) Clone() credentials.Transpo... method TestAuthorityInBuildOptions (line 684) | func (s) TestAuthorityInBuildOptions(t *testing.T) { type testCCWrapper (line 798) | type testCCWrapper struct method UpdateState (line 802) | func (t *testCCWrapper) UpdateState(state balancer.State) { constant metadataHeaderInjectedByBalancer (line 808) | metadataHeaderInjectedByBalancer = "metadata-header-injected-by-balan... constant metadataHeaderInjectedByApplication (line 809) | metadataHeaderInjectedByApplication = "metadata-header-injected-by-appli... constant metadataValueInjectedByBalancer (line 810) | metadataValueInjectedByBalancer = "metadata-value-injected-by-balancer" constant metadataValueInjectedByApplication (line 811) | metadataValueInjectedByApplication = "metadata-value-injected-by-applic... type wrappedPicker (line 815) | type wrappedPicker struct method Pick (line 819) | func (wp *wrappedPicker) Pick(info balancer.PickInfo) (balancer.PickRe... method TestMetadataInPickResult (line 836) | func (s) TestMetadataInPickResult(t *testing.T) { method TestSubConnShutdown (line 923) | func (s) TestSubConnShutdown(t *testing.T) { type subConnStoringCCWrapper (line 996) | type subConnStoringCCWrapper struct method NewSubConn (line 1002) | func (ccw *subConnStoringCCWrapper) NewSubConn(addrs []resolver.Addres... method TestSubConn_RegisterHealthListener (line 1017) | func (s) TestSubConn_RegisterHealthListener(t *testing.T) { method TestSubConn_RegisterHealthListener_RegisterTwice (line 1115) | func (s) TestSubConn_RegisterHealthListener_RegisterTwice(t *testing.T) { method TestSubConn_RegisterHealthListener_NilListener (line 1211) | func (s) TestSubConn_RegisterHealthListener_NilListener(t *testing.T) { FILE: test/bufconn/bufconn.go type Listener (line 34) | type Listener struct method Accept (line 60) | func (l *Listener) Accept() (net.Conn, error) { method Close (line 70) | func (l *Listener) Close() error { method Addr (line 83) | func (l *Listener) Addr() net.Addr { return addr{} } method Dial (line 88) | func (l *Listener) Dial() (net.Conn, error) { method DialContext (line 95) | func (l *Listener) DialContext(ctx context.Context) (net.Conn, error) { type netErrorTimeout (line 42) | type netErrorTimeout struct method Timeout (line 46) | func (e netErrorTimeout) Timeout() bool { return true } method Temporary (line 47) | func (e netErrorTimeout) Temporary() bool { return false } function Listen (line 54) | func Listen(sz int) *Listener { type pipe (line 107) | type pipe struct method empty (line 146) | func (p *pipe) empty() bool { method full (line 150) | func (p *pipe) full() bool { method Read (line 154) | func (p *pipe) Read(b []byte) (n int, err error) { method Write (line 191) | func (p *pipe) Write(b []byte) (n int, err error) { method Close (line 237) | func (p *pipe) Close() error { method closeWrite (line 247) | func (p *pipe) closeWrite() error { function newPipe (line 136) | func newPipe(sz int) *pipe { type conn (line 257) | type conn struct method Close (line 262) | func (c *conn) Close() error { method SetDeadline (line 271) | func (c *conn) SetDeadline(t time.Time) error { method SetReadDeadline (line 277) | func (c *conn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 294) | func (c *conn) SetWriteDeadline(t time.Time) error { method LocalAddr (line 311) | func (*conn) LocalAddr() net.Addr { return addr{} } method RemoteAddr (line 312) | func (*conn) RemoteAddr() net.Addr { return addr{} } type addr (line 314) | type addr struct method Network (line 316) | func (addr) Network() string { return "bufconn" } method String (line 317) | func (addr) String() string { return "bufconn" } FILE: test/bufconn/bufconn_test.go type s (line 32) | type s struct method TestPipe (line 77) | func (s) TestPipe(t *testing.T) { method TestPipeClose (line 84) | func (s) TestPipeClose(t *testing.T) { method TestConn (line 95) | func (s) TestConn(t *testing.T) { method TestConnCloseWithData (line 107) | func (s) TestConnCloseWithData(t *testing.T) { method TestListener (line 157) | func (s) TestListener(t *testing.T) { method TestCloseWhileDialing (line 179) | func (s) TestCloseWhileDialing(t *testing.T) { method TestCloseWhileAccepting (line 195) | func (s) TestCloseWhileAccepting(t *testing.T) { method TestDeadline (line 211) | func (s) TestDeadline(t *testing.T) { function Test (line 36) | func Test(t *testing.T) { function testRW (line 40) | func testRW(r io.Reader, w io.Writer) error { FILE: test/channelz_linux_test.go method TestCZSocketMetricsSocketOption (line 30) | func (s) TestCZSocketMetricsSocketOption(t *testing.T) { function testCZSocketMetricsSocketOption (line 37) | func testCZSocketMetricsSocketOption(t *testing.T, e env) { FILE: test/channelz_test.go function verifyResultWithDelay (line 55) | func verifyResultWithDelay(f func() (bool, error)) error { method TestCZServerRegistrationAndDeletion (line 67) | func (s) TestCZServerRegistrationAndDeletion(t *testing.T) { method TestCZGetChannel (line 103) | func (s) TestCZGetChannel(t *testing.T) { method TestCZGetSubChannel (line 134) | func (s) TestCZGetSubChannel(t *testing.T) { method TestCZGetServer (line 175) | func (s) TestCZGetServer(t *testing.T) { method TestCZGetSocket (line 209) | func (s) TestCZGetSocket(t *testing.T) { method TestCZTopChannelRegistrationAndDeletion (line 252) | func (s) TestCZTopChannelRegistrationAndDeletion(t *testing.T) { method TestCZTopChannelRegistrationAndDeletionWhenNewClientFail (line 307) | func (s) TestCZTopChannelRegistrationAndDeletionWhenNewClientFail(t *tes... method TestCZNestedChannelRegistrationAndDeletion (line 318) | func (s) TestCZNestedChannelRegistrationAndDeletion(t *testing.T) { method TestCZClientSubChannelSocketRegistrationAndDeletion (line 364) | func (s) TestCZClientSubChannelSocketRegistrationAndDeletion(t *testing.... method TestCZServerSocketRegistrationAndDeletion (line 435) | func (s) TestCZServerSocketRegistrationAndDeletion(t *testing.T) { method TestCZServerListenSocketDeletion (line 513) | func (s) TestCZServerListenSocketDeletion(t *testing.T) { method TestCZRecursiveDeletionOfEntry (line 551) | func (s) TestCZRecursiveDeletionOfEntry(t *testing.T) { method TestCZChannelMetrics (line 602) | func (s) TestCZChannelMetrics(t *testing.T) { method TestCZServerMetrics (line 691) | func (s) TestCZServerMetrics(t *testing.T) { type testServiceClientWrapper (line 747) | type testServiceClientWrapper struct method getCurrentStreamID (line 753) | func (t *testServiceClientWrapper) getCurrentStreamID() uint32 { method EmptyCall (line 759) | func (t *testServiceClientWrapper) EmptyCall(ctx context.Context, in *... method UnaryCall (line 766) | func (t *testServiceClientWrapper) UnaryCall(ctx context.Context, in *... method StreamingOutputCall (line 773) | func (t *testServiceClientWrapper) StreamingOutputCall(ctx context.Con... method StreamingInputCall (line 780) | func (t *testServiceClientWrapper) StreamingInputCall(ctx context.Cont... method FullDuplexCall (line 787) | func (t *testServiceClientWrapper) FullDuplexCall(ctx context.Context,... method HalfDuplexCall (line 794) | func (t *testServiceClientWrapper) HalfDuplexCall(ctx context.Context,... function doSuccessfulUnaryCall (line 801) | func doSuccessfulUnaryCall(tc testgrpc.TestServiceClient, t *testing.T) { function doStreamingInputCallWithLargePayload (line 809) | func doStreamingInputCallWithLargePayload(tc testgrpc.TestServiceClient,... function doServerSideFailedUnaryCall (line 823) | func doServerSideFailedUnaryCall(tc testgrpc.TestServiceClient, t *testi... function doClientSideInitiatedFailedStream (line 843) | func doClientSideInitiatedFailedStream(tc testgrpc.TestServiceClient, t ... function doServerSideInitiatedFailedStreamWithRSTStream (line 876) | func doServerSideInitiatedFailedStreamWithRSTStream(tc testgrpc.TestServ... function doServerSideInitiatedFailedStreamWithGoAway (line 916) | func doServerSideInitiatedFailedStreamWithGoAway(ctx context.Context, tc... method TestCZClientSocketMetricsStreamsAndMessagesCount (line 958) | func (s) TestCZClientSocketMetricsStreamsAndMessagesCount(t *testing.T) { method TestCZClientAndServerSocketMetricsStreamsCountFlowControlRSTStream (line 1061) | func (s) TestCZClientAndServerSocketMetricsStreamsCountFlowControlRSTStr... method TestCZClientAndServerSocketMetricsFlowControl (line 1145) | func (s) TestCZClientAndServerSocketMetricsFlowControl(t *testing.T) { method TestCZClientSocketMetricsKeepAlive (line 1258) | func (s) TestCZClientSocketMetricsKeepAlive(t *testing.T) { method TestCZServerSocketMetricsStreamsAndMessagesCount (line 1319) | func (s) TestCZServerSocketMetricsStreamsAndMessagesCount(t *testing.T) { method TestCZServerSocketMetricsKeepAlive (line 1378) | func (s) TestCZServerSocketMetricsKeepAlive(t *testing.T) { method TestCZSocketGetSecurityValueTLS (line 1449) | func (s) TestCZSocketGetSecurityValueTLS(t *testing.T) { method TestCZChannelTraceCreationDeletion (line 1499) | func (s) TestCZChannelTraceCreationDeletion(t *testing.T) { method TestCZSubChannelTraceCreationDeletion (line 1584) | func (s) TestCZSubChannelTraceCreationDeletion(t *testing.T) { method TestCZChannelAddressResolutionChange (line 1672) | func (s) TestCZChannelAddressResolutionChange(t *testing.T) { method TestCZSubChannelPickedNewAddress (line 1780) | func (s) TestCZSubChannelPickedNewAddress(t *testing.T) { method TestCZSubChannelConnectivityState (line 1852) | func (s) TestCZSubChannelConnectivityState(t *testing.T) { method TestCZChannelConnectivityState (line 1951) | func (s) TestCZChannelConnectivityState(t *testing.T) { method TestCZTraceOverwriteChannelDeletion (line 2008) | func (s) TestCZTraceOverwriteChannelDeletion(t *testing.T) { method TestCZTraceOverwriteSubChannelDeletion (line 2078) | func (s) TestCZTraceOverwriteSubChannelDeletion(t *testing.T) { method TestCZTraceTopChannelDeletionTraceClear (line 2127) | func (s) TestCZTraceTopChannelDeletionTraceClear(t *testing.T) { FILE: test/clientconn_state_transition_test.go function keepReading (line 55) | func keepReading(conn net.Conn) { type funcConnectivityStateSubscriber (line 59) | type funcConnectivityStateSubscriber struct method OnMessage (line 63) | func (f *funcConnectivityStateSubscriber) OnMessage(msg any) { function waitForState (line 67) | func waitForState(ctx context.Context, t *testing.T, stateCh <-chan conn... method TestStateTransitions_SingleAddress (line 81) | func (s) TestStateTransitions_SingleAddress(t *testing.T) { function testStateTransitionSingleAddress (line 176) | func testStateTransitionSingleAddress(t *testing.T, wantStates []connect... method TestStateTransitions_ReadyToConnecting (line 236) | func (s) TestStateTransitions_ReadyToConnecting(t *testing.T) { method TestStateTransitions_TriesAllAddrsBeforeTransientFailure (line 311) | func (s) TestStateTransitions_TriesAllAddrsBeforeTransientFailure(t *tes... method TestStateTransitions_MultipleAddrsEntersReady (line 411) | func (s) TestStateTransitions_MultipleAddrsEntersReady(t *testing.T) { method TestConnectivityStateSubscriber (line 506) | func (s) TestConnectivityStateSubscriber(t *testing.T) { method TestStateTransitions_WithConnect_NoResolverUpdate (line 588) | func (s) TestStateTransitions_WithConnect_NoResolverUpdate(t *testing.T) { method TestStateTransitions_WithRPC_NoResolverUpdate (line 621) | func (s) TestStateTransitions_WithRPC_NoResolverUpdate(t *testing.T) { constant testResolverBuildFailureScheme (line 658) | testResolverBuildFailureScheme = "test-resolver-build-failure" type testResolverBuilder (line 662) | type testResolverBuilder struct method Build (line 670) | func (b *testResolverBuilder) Build(target resolver.Target, cc resolve... method Scheme (line 680) | func (b *testResolverBuilder) Scheme() string { method TestStateTransitions_ResolverBuildFailure (line 685) | func (s) TestStateTransitions_ResolverBuildFailure(t *testing.T) { method TestStateTransitions_WithRPC_ResolverUpdateContainsNoAddresses (line 780) | func (s) TestStateTransitions_WithRPC_ResolverUpdateContainsNoAddresses(... FILE: test/clientconn_test.go method TestClientConnClose_WithPendingRPC (line 49) | func (s) TestClientConnClose_WithPendingRPC(t *testing.T) { type testStatsHandler (line 94) | type testStatsHandler struct method TagRPC (line 101) | func (h *testStatsHandler) TagRPC(ctx context.Context, rpcInfo *stats.... method HandleRPC (line 107) | func (h *testStatsHandler) HandleRPC(_ context.Context, _ stats.RPCSta... method TagConn (line 110) | func (h *testStatsHandler) TagConn(ctx context.Context, _ *stats.ConnT... method HandleConn (line 115) | func (h *testStatsHandler) HandleConn(_ context.Context, _ stats.ConnS... method TestClientConnRPC_WithoutNameResolutionDelay (line 120) | func (s) TestClientConnRPC_WithoutNameResolutionDelay(t *testing.T) { method TestClientConnRPC_WithNameResolutionDelay (line 157) | func (s) TestClientConnRPC_WithNameResolutionDelay(t *testing.T) { FILE: test/clienttester.go function newClientTester (line 32) | func newClientTester(t *testing.T, conn net.Conn) *clientTester { type clientTester (line 42) | type clientTester struct method greet (line 50) | func (ct *clientTester) greet() { method wantClientPreface (line 72) | func (ct *clientTester) wantClientPreface() { method wantSettingsFrame (line 82) | func (ct *clientTester) wantSettingsFrame() { method writeSettingsFrame (line 93) | func (ct *clientTester) writeSettingsFrame() { method writeSettingsAck (line 99) | func (ct *clientTester) writeSettingsAck() { method writeGoAway (line 105) | func (ct *clientTester) writeGoAway(maxStreamID uint32, code http2.Err... FILE: test/codec_perf/perf.pb.go constant _ (line 36) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 38) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Buffer (line 43) | type Buffer struct method Reset (line 50) | func (x *Buffer) Reset() { method String (line 57) | func (x *Buffer) String() string { method ProtoMessage (line 61) | func (*Buffer) ProtoMessage() {} method ProtoReflect (line 63) | func (x *Buffer) ProtoReflect() protoreflect.Message { method Descriptor (line 76) | func (*Buffer) Descriptor() ([]byte, []int) { method GetBody (line 80) | func (x *Buffer) GetBody() []byte { constant file_test_codec_perf_perf_proto_rawDesc (line 89) | file_test_codec_perf_perf_proto_rawDesc = "" + function file_test_codec_perf_perf_proto_rawDescGZIP (line 101) | func file_test_codec_perf_perf_proto_rawDescGZIP() []byte { function init (line 120) | func init() { file_test_codec_perf_perf_proto_init() } function file_test_codec_perf_perf_proto_init (line 121) | func file_test_codec_perf_perf_proto_init() { FILE: test/compressor_test.go method TestUnsupportedEncodingResponse (line 46) | func (s) TestUnsupportedEncodingResponse(t *testing.T) { method TestCompressServerHasNoSupport (line 119) | func (s) TestCompressServerHasNoSupport(t *testing.T) { function testCompressServerHasNoSupport (line 125) | func testCompressServerHasNoSupport(t *testing.T, e env) { method TestCompressOK (line 161) | func (s) TestCompressOK(t *testing.T) { function testCompressOK (line 167) | func testCompressOK(t *testing.T, e env) { method TestIdentityEncoding (line 224) | func (s) TestIdentityEncoding(t *testing.T) { function testIdentityEncoding (line 230) | func testIdentityEncoding(t *testing.T, e env) { type renameCompressor (line 280) | type renameCompressor struct method Type (line 285) | func (r *renameCompressor) Type() string { return r.name } type renameDecompressor (line 289) | type renameDecompressor struct method Type (line 294) | func (r *renameDecompressor) Type() string { return r.name } method TestClientForwardsGrpcAcceptEncodingHeader (line 296) | func (s) TestClientForwardsGrpcAcceptEncodingHeader(t *testing.T) { method TestUnregisteredSetSendCompressorFailure (line 344) | func (s) TestUnregisteredSetSendCompressorFailure(t *testing.T) { function testUnarySetSendCompressorFailure (line 357) | func testUnarySetSendCompressorFailure(t *testing.T, resCompressor strin... function testStreamSetSendCompressorFailure (line 379) | func testStreamSetSendCompressorFailure(t *testing.T, resCompressor stri... method TestUnarySetSendCompressorAfterHeaderSendFailure (line 415) | func (s) TestUnarySetSendCompressorAfterHeaderSendFailure(t *testing.T) { method TestStreamSetSendCompressorAfterHeaderSendFailure (line 442) | func (s) TestStreamSetSendCompressorAfterHeaderSendFailure(t *testing.T) { method TestClientSupportedCompressors (line 473) | func (s) TestClientSupportedCompressors(t *testing.T) { method TestAcceptCompressorsCallOption (line 538) | func (s) TestAcceptCompressorsCallOption(t *testing.T) { method TestCompressorRegister (line 589) | func (s) TestCompressorRegister(t *testing.T) { function testCompressorRegister (line 595) | func testCompressorRegister(t *testing.T, e env) { type badGzipCompressor (line 650) | type badGzipCompressor struct method Do (line 652) | func (badGzipCompressor) Do(w io.Writer, p []byte) error { method Type (line 667) | func (badGzipCompressor) Type() string { method TestGzipBadChecksum (line 671) | func (s) TestGzipBadChecksum(t *testing.T) { FILE: test/config_selector_test.go type funcConfigSelector (line 41) | type funcConfigSelector struct method SelectConfig (line 45) | func (f funcConfigSelector) SelectConfig(i iresolver.RPCInfo) (*iresol... method TestConfigSelector (line 49) | func (s) TestConfigSelector(t *testing.T) { FILE: test/context_canceled_test.go method TestContextCanceled (line 37) | func (s) TestContextCanceled(t *testing.T) { method TestCancelWhileRecvingWithCompression (line 126) | func (s) TestCancelWhileRecvingWithCompression(t *testing.T) { FILE: test/control_plane_status_test.go method TestConfigSelectorStatusCodes (line 41) | func (s) TestConfigSelectorStatusCodes(t *testing.T) { method TestPickerStatusCodes (line 89) | func (s) TestPickerStatusCodes(t *testing.T) { method TestCallCredsFromDialOptionsStatusCodes (line 150) | func (s) TestCallCredsFromDialOptionsStatusCodes(t *testing.T) { method TestCallCredsFromCallOptionsStatusCodes (line 193) | func (s) TestCallCredsFromCallOptionsStatusCodes(t *testing.T) { FILE: test/creds_test.go constant bundlePerRPCOnly (line 48) | bundlePerRPCOnly = "perRPCOnly" constant bundleTLSOnly (line 49) | bundleTLSOnly = "tlsOnly" type testCredsBundle (line 52) | type testCredsBundle struct method TransportCredentials (line 57) | func (c *testCredsBundle) TransportCredentials() credentials.Transport... method PerRPCCredentials (line 70) | func (c *testCredsBundle) PerRPCCredentials() credentials.PerRPCCreden... method NewWithMode (line 77) | func (c *testCredsBundle) NewWithMode(mode string) (credentials.Bundle... method TestCredsBundleBoth (line 81) | func (s) TestCredsBundleBoth(t *testing.T) { method TestCredsBundleTransportCredentials (line 107) | func (s) TestCredsBundleTransportCredentials(t *testing.T) { method TestCredsBundlePerRPCCredentials (line 132) | func (s) TestCredsBundlePerRPCCredentials(t *testing.T) { type clientTimeoutCreds (line 150) | type clientTimeoutCreds struct method ClientHandshake (line 155) | func (c *clientTimeoutCreds) ClientHandshake(_ context.Context, _ stri... method Info (line 163) | func (c *clientTimeoutCreds) Info() credentials.ProtocolInfo { method Clone (line 167) | func (c *clientTimeoutCreds) Clone() credentials.TransportCredentials { method TestNonFailFastRPCSucceedOnTimeoutCreds (line 171) | func (s) TestNonFailFastRPCSucceedOnTimeoutCreds(t *testing.T) { type methodTestCreds (line 187) | type methodTestCreds struct method GetRequestMetadata (line 189) | func (m *methodTestCreds) GetRequestMetadata(ctx context.Context, _ ..... method RequireTransportSecurity (line 194) | func (m *methodTestCreds) RequireTransportSecurity() bool { return fal... method TestGRPCMethodAccessibleToCredsViaContextRequestInfo (line 196) | func (s) TestGRPCMethodAccessibleToCredsViaContextRequestInfo(t *testing... constant clientAlwaysFailCredErrorMsg (line 217) | clientAlwaysFailCredErrorMsg = "clientAlwaysFailCred always fails" type clientAlwaysFailCred (line 219) | type clientAlwaysFailCred struct method ClientHandshake (line 223) | func (c clientAlwaysFailCred) ClientHandshake(context.Context, string,... method Info (line 226) | func (c clientAlwaysFailCred) Info() credentials.ProtocolInfo { method Clone (line 229) | func (c clientAlwaysFailCred) Clone() credentials.TransportCredentials { method TestFailFastRPCErrorOnBadCertificates (line 233) | func (s) TestFailFastRPCErrorOnBadCertificates(t *testing.T) { method TestWaitForReadyRPCErrorOnBadCertificates (line 254) | func (s) TestWaitForReadyRPCErrorOnBadCertificates(t *testing.T) { type testPerRPCCredentials (line 292) | type testPerRPCCredentials struct method GetRequestMetadata (line 297) | func (cr testPerRPCCredentials) GetRequestMetadata(context.Context, ..... method RequireTransportSecurity (line 305) | func (cr testPerRPCCredentials) RequireTransportSecurity() bool { function authHandle (line 309) | func authHandle(ctx context.Context, _ *tap.Info) (context.Context, erro... method TestPerRPCCredentialsViaDialOptions (line 326) | func (s) TestPerRPCCredentialsViaDialOptions(t *testing.T) { function testPerRPCCredentialsViaDialOptions (line 332) | func testPerRPCCredentialsViaDialOptions(t *testing.T, e env) { method TestPerRPCCredentialsViaCallOptions (line 348) | func (s) TestPerRPCCredentialsViaCallOptions(t *testing.T) { function testPerRPCCredentialsViaCallOptions (line 354) | func testPerRPCCredentialsViaCallOptions(t *testing.T, e env) { method TestPerRPCCredentialsViaDialOptionsAndCallOptions (line 369) | func (s) TestPerRPCCredentialsViaDialOptionsAndCallOptions(t *testing.T) { function testPerRPCCredentialsViaDialOptionsAndCallOptions (line 375) | func testPerRPCCredentialsViaDialOptionsAndCallOptions(t *testing.T, e e... constant testAuthority (line 411) | testAuthority = "test.auth.ori.ty" type authorityCheckCreds (line 413) | type authorityCheckCreds struct method ClientHandshake (line 418) | func (c *authorityCheckCreds) ClientHandshake(_ context.Context, autho... method Info (line 422) | func (c *authorityCheckCreds) Info() credentials.ProtocolInfo { method Clone (line 425) | func (c *authorityCheckCreds) Clone() credentials.TransportCredentials { method TestCredsHandshakeAuthority (line 431) | func (s) TestCredsHandshakeAuthority(t *testing.T) { method TestCredsHandshakeServerNameAuthority (line 462) | func (s) TestCredsHandshakeServerNameAuthority(t *testing.T) { type serverDispatchCred (line 493) | type serverDispatchCred struct method ClientHandshake (line 497) | func (c *serverDispatchCred) ClientHandshake(_ context.Context, _ stri... method ServerHandshake (line 500) | func (c *serverDispatchCred) ServerHandshake(rawConn net.Conn) (net.Co... method Info (line 507) | func (c *serverDispatchCred) Info() credentials.ProtocolInfo { method Clone (line 510) | func (c *serverDispatchCred) Clone() credentials.TransportCredentials { method OverrideServerName (line 513) | func (c *serverDispatchCred) OverrideServerName(string) error { method getRawConn (line 516) | func (c *serverDispatchCred) getRawConn() net.Conn { method TestServerCredsDispatch (line 520) | func (s) TestServerCredsDispatch(t *testing.T) { FILE: test/end2end_test.go constant defaultHealthService (line 86) | defaultHealthService = "grpc.health.v1.Health" function init (line 88) | func init() { type s (line 93) | type s struct method TestContextDeadlineNotIgnored (line 925) | func (s) TestContextDeadlineNotIgnored(t *testing.T) { method TestTimeoutOnDeadServer (line 960) | func (s) TestTimeoutOnDeadServer(t *testing.T) { method TestServerGracefulStopIdempotent (line 992) | func (s) TestServerGracefulStopIdempotent(t *testing.T) { method TestDetailedConnectionCloseErrorPropagatesToRPCError (line 1012) | func (s) TestDetailedConnectionCloseErrorPropagatesToRPCError(t *testi... method TestFailFast (line 1054) | func (s) TestFailFast(t *testing.T) { method TestGetMethodConfig (line 1111) | func (s) TestGetMethodConfig(t *testing.T) { method TestServiceConfigWaitForReady (line 1198) | func (s) TestServiceConfigWaitForReady(t *testing.T) { method TestServiceConfigTimeout (line 1287) | func (s) TestServiceConfigTimeout(t *testing.T) { method TestServiceConfigMaxMsgSize (line 1383) | func (s) TestServiceConfigMaxMsgSize(t *testing.T) { method TestStreamingRPCWithTimeoutInServiceConfigRecv (line 1641) | func (s) TestStreamingRPCWithTimeoutInServiceConfigRecv(t *testing.T) { method TestPreloaderClientSend (line 1709) | func (s) TestPreloaderClientSend(t *testing.T) { method TestPreloaderSenderSend (line 1780) | func (s) TestPreloaderSenderSend(t *testing.T) { method TestMaxMsgSizeClientDefault (line 1835) | func (s) TestMaxMsgSizeClientDefault(t *testing.T) { method TestMaxMsgSizeClientAPI (line 1895) | func (s) TestMaxMsgSizeClientAPI(t *testing.T) { method TestMaxMsgSizeServerAPI (line 1982) | func (s) TestMaxMsgSizeServerAPI(t *testing.T) { method TestTap (line 2070) | func (s) TestTap(t *testing.T) { method TestTapStatusDetails (line 2157) | func (s) TestTapStatusDetails(t *testing.T) { method TestEmptyUnaryWithUserAgent (line 2201) | func (s) TestEmptyUnaryWithUserAgent(t *testing.T) { method TestFailedEmptyUnary (line 2229) | func (s) TestFailedEmptyUnary(t *testing.T) { method TestLargeUnary (line 2256) | func (s) TestLargeUnary(t *testing.T) { method TestExceedMsgLimit (line 2296) | func (s) TestExceedMsgLimit(t *testing.T) { method TestPeerClientSide (line 2379) | func (s) TestPeerClientSide(t *testing.T) { method TestPeerNegative (line 2420) | func (s) TestPeerNegative(t *testing.T) { method TestPeerFailedRPC (line 2439) | func (s) TestPeerFailedRPC(t *testing.T) { method TestMetadataUnaryRPC (line 2496) | func (s) TestMetadataUnaryRPC(t *testing.T) { method TestMetadataOrderUnaryRPC (line 2544) | func (s) TestMetadataOrderUnaryRPC(t *testing.T) { method TestMultipleSetTrailerUnaryRPC (line 2584) | func (s) TestMultipleSetTrailerUnaryRPC(t *testing.T) { method TestMultipleSetTrailerStreamingRPC (line 2623) | func (s) TestMultipleSetTrailerStreamingRPC(t *testing.T) { method TestSetAndSendHeaderUnaryRPC (line 2656) | func (s) TestSetAndSendHeaderUnaryRPC(t *testing.T) { method TestMultipleSetHeaderUnaryRPC (line 2703) | func (s) TestMultipleSetHeaderUnaryRPC(t *testing.T) { method TestMultipleSetHeaderUnaryRPCError (line 2750) | func (s) TestMultipleSetHeaderUnaryRPCError(t *testing.T) { method TestSetAndSendHeaderStreamingRPC (line 2796) | func (s) TestSetAndSendHeaderStreamingRPC(t *testing.T) { method TestMultipleSetHeaderStreamingRPC (line 2839) | func (s) TestMultipleSetHeaderStreamingRPC(t *testing.T) { method TestMultipleSetHeaderStreamingRPCError (line 2906) | func (s) TestMultipleSetHeaderStreamingRPCError(t *testing.T) { method TestMalformedHTTP2Metadata (line 2971) | func (s) TestMalformedHTTP2Metadata(t *testing.T) { method TestTransparentRetry (line 3008) | func (s) TestTransparentRetry(t *testing.T) { method TestCancel (line 3082) | func (s) TestCancel(t *testing.T) { method TestCancelNoIO (line 3120) | func (s) TestCancelNoIO(t *testing.T) { method TestNoService (line 3188) | func (s) TestNoService(t *testing.T) { method TestPingPong (line 3211) | func (s) TestPingPong(t *testing.T) { method TestMetadataStreamingRPC (line 3270) | func (s) TestMetadataStreamingRPC(t *testing.T) { method TestServerStreaming (line 3349) | func (s) TestServerStreaming(t *testing.T) { method TestFailedServerStreaming (line 3406) | func (s) TestFailedServerStreaming(t *testing.T) { method TestServerStreamingConcurrent (line 3466) | func (s) TestServerStreamingConcurrent(t *testing.T) { method TestClientStreaming (line 3547) | func (s) TestClientStreaming(t *testing.T) { method TestClientStreamingError (line 3592) | func (s) TestClientStreamingError(t *testing.T) { method TestClientStreamingCardinalityViolation_ServerHandlerMissingSendAndClose (line 3636) | func (s) TestClientStreamingCardinalityViolation_ServerHandlerMissingS... method TestClientStreaming_ServerHandlerRecvAfterSendAndClose (line 3668) | func (s) TestClientStreaming_ServerHandlerRecvAfterSendAndClose(t *tes... method TestClientStreaming_RecvWaitsForServerHandlerRetrun (line 3701) | func (s) TestClientStreaming_RecvWaitsForServerHandlerRetrun(t *testin... method TestClientStreaming_ReturnErrorAfterSendAndClose (line 3754) | func (s) TestClientStreaming_ReturnErrorAfterSendAndClose(t *testing.T) { method TestUnaryRPC_ServerSendsOnlyTrailersWithOK (line 3787) | func (s) TestUnaryRPC_ServerSendsOnlyTrailersWithOK(t *testing.T) { method TestUnaryRPC_ClientCallRecvMsgTwice (line 3818) | func (s) TestUnaryRPC_ClientCallRecvMsgTwice(t *testing.T) { method TestUnaryRPC_ServerCallSendMsgTwice (line 3855) | func (s) TestUnaryRPC_ServerCallSendMsgTwice(t *testing.T) { method TestClientStreaming_ClientCallRecvMsgTwice (line 3909) | func (s) TestClientStreaming_ClientCallRecvMsgTwice(t *testing.T) { method TestServerStreaming_ClientCallSendMsgTwice (line 3947) | func (s) TestServerStreaming_ClientCallSendMsgTwice(t *testing.T) { method TestUnaryRPC_ClientCallSendMsgTwice (line 4007) | func (s) TestUnaryRPC_ClientCallSendMsgTwice(t *testing.T) { method TestServerStreaming_ClientSendsMultipleMessages (line 4048) | func (s) TestServerStreaming_ClientSendsMultipleMessages(t *testing.T) { method TestServerStreaming_ServerRecvZeroRequests (line 4091) | func (s) TestServerStreaming_ServerRecvZeroRequests(t *testing.T) { method TestServerStreaming_ClientSendsZeroRequests (line 4149) | func (s) TestServerStreaming_ClientSendsZeroRequests(t *testing.T) { method TestClientStreaming_ServerHandlerSendMsgAfterSendMsg (line 4184) | func (s) TestClientStreaming_ServerHandlerSendMsgAfterSendMsg(t *testi... method TestExceedMaxStreamsLimit (line 4215) | func (s) TestExceedMaxStreamsLimit(t *testing.T) { method TestStreamsQuotaRecovery (line 4255) | func (s) TestStreamsQuotaRecovery(t *testing.T) { method TestUnaryClientInterceptor (line 4328) | func (s) TestUnaryClientInterceptor(t *testing.T) { method TestStreamClientInterceptor (line 4357) | func (s) TestStreamClientInterceptor(t *testing.T) { method TestUnaryServerInterceptor (line 4399) | func (s) TestUnaryServerInterceptor(t *testing.T) { method TestStreamServerInterceptor (line 4423) | func (s) TestStreamServerInterceptor(t *testing.T) { method TestClientRequestBodyErrorUnexpectedEOF (line 4506) | func (s) TestClientRequestBodyErrorUnexpectedEOF(t *testing.T) { method TestClientRequestBodyErrorCloseAfterLength (line 4529) | func (s) TestClientRequestBodyErrorCloseAfterLength(t *testing.T) { method TestClientInvalidStreamID (line 4542) | func (s) TestClientInvalidStreamID(t *testing.T) { method TestZeroSecondTimeout (line 4568) | func (s) TestZeroSecondTimeout(t *testing.T) { method TestInvalidStreamIDSmallerThanPrevious (line 4618) | func (s) TestInvalidStreamIDSmallerThanPrevious(t *testing.T) { method TestClientRequestBodyErrorCancel (line 4662) | func (s) TestClientRequestBodyErrorCancel(t *testing.T) { method TestClientRequestBodyErrorCancelStreamingInput (line 4698) | func (s) TestClientRequestBodyErrorCancelStreamingInput(t *testing.T) { method TestClientInitialHeaderEndStream (line 4732) | func (s) TestClientInitialHeaderEndStream(t *testing.T) { method TestClientSendDataAfterCloseSend (line 4776) | func (s) TestClientSendDataAfterCloseSend(t *testing.T) { method TestClientResourceExhaustedCancelFullDuplex (line 4832) | func (s) TestClientResourceExhaustedCancelFullDuplex(t *testing.T) { method TestFailfastRPCFailOnFatalHandshakeError (line 4924) | func (s) TestFailfastRPCFailOnFatalHandshakeError(t *testing.T) { method TestFlowControlLogicalRace (line 4946) | func (s) TestFlowControlLogicalRace(t *testing.T) { method TestGRPCMethod (line 5158) | func (s) TestGRPCMethod(t *testing.T) { method TestUnaryProxyDoesNotForwardMetadata (line 5185) | func (s) TestUnaryProxyDoesNotForwardMetadata(t *testing.T) { method TestStreamingProxyDoesNotForwardMetadata (line 5233) | func (s) TestStreamingProxyDoesNotForwardMetadata(t *testing.T) { method TestStatsTagsAndTrace (line 5297) | func (s) TestStatsTagsAndTrace(t *testing.T) { method TestTapTimeout (line 5356) | func (s) TestTapTimeout(t *testing.T) { method TestClientWriteFailsAfterServerClosesStream (line 5392) | func (s) TestClientWriteFailsAfterServerClosesStream(t *testing.T) { method TestConfigurableWindowSizeWithLargeWindow (line 5427) | func (s) TestConfigurableWindowSizeWithLargeWindow(t *testing.T) { method TestConfigurableWindowSizeWithSmallWindow (line 5439) | func (s) TestConfigurableWindowSizeWithSmallWindow(t *testing.T) { method TestWaitForReadyConnection (line 5500) | func (s) TestWaitForReadyConnection(t *testing.T) { method TestSvrWriteStatusEarlyWrite (line 5524) | func (s) TestSvrWriteStatusEarlyWrite(t *testing.T) { method TestMalformedStreamMethod (line 5588) | func (s) TestMalformedStreamMethod(t *testing.T) { method TestMethodFromServerStream (line 5602) | func (s) TestMethodFromServerStream(t *testing.T) { method TestInterceptorCanAccessCallOptions (line 5623) | func (s) TestInterceptorCanAccessCallOptions(t *testing.T) { method TestServeExitsWhenListenerClosed (line 5727) | func (s) TestServeExitsWhenListenerClosed(t *testing.T) { method TestStatusInvalidUTF8Message (line 5775) | func (s) TestStatusInvalidUTF8Message(t *testing.T) { method TestStatusInvalidUTF8Details (line 5802) | func (s) TestStatusInvalidUTF8Details(t *testing.T) { method TestRPCTimeout (line 5839) | func (s) TestRPCTimeout(t *testing.T) { method TestNegativeRPCTimeout (line 5879) | func (s) TestNegativeRPCTimeout(t *testing.T) { method TestDisabledIOBuffers (line 5900) | func (s) TestDisabledIOBuffers(t *testing.T) { method TestServerMaxHeaderListSizeClientUserViolation (line 5978) | func (s) TestServerMaxHeaderListSizeClientUserViolation(t *testing.T) { method TestClientMaxHeaderListSizeServerUserViolation (line 6010) | func (s) TestClientMaxHeaderListSizeServerUserViolation(t *testing.T) { method TestServerMaxHeaderListSizeClientIntentionalViolation (line 6041) | func (s) TestServerMaxHeaderListSizeClientIntentionalViolation(t *test... method TestClientMaxHeaderListSizeServerIntentionalViolation (line 6083) | func (s) TestClientMaxHeaderListSizeServerIntentionalViolation(t *test... method TestEarlyAbortStreamHeaderListSizeCheck (line 6137) | func (s) TestEarlyAbortStreamHeaderListSizeCheck(t *testing.T) { method TestNetPipeConn (line 6174) | func (s) TestNetPipeConn(t *testing.T) { method TestLargeTimeout (line 6198) | func (s) TestLargeTimeout(t *testing.T) { method TestRPCWaitsForResolver (line 6258) | func (s) TestRPCWaitsForResolver(t *testing.T) { method TestClientCancellationPropagatesUnary (line 6439) | func (s) TestClientCancellationPropagatesUnary(t *testing.T) { method TestCanceledRPCCallOptionRace (line 6485) | func (s) TestCanceledRPCCallOptionRace(t *testing.T) { method TestClientSettingsFloodCloseConn (line 6542) | func (s) TestClientSettingsFloodCloseConn(t *testing.T) { method TestUnaryServerInterceptorGetsConnection (line 6623) | func (s) TestUnaryServerInterceptorGetsConnection(t *testing.T) { method TestStreamingServerInterceptorGetsConnection (line 6648) | func (s) TestStreamingServerInterceptorGetsConnection(t *testing.T) { method TestAuthorityHeader (line 6696) | func (s) TestAuthorityHeader(t *testing.T) { method TestServerClosesConn (line 6821) | func (s) TestServerClosesConn(t *testing.T) { method TestNilStatsHandler (line 6850) | func (s) TestNilStatsHandler(t *testing.T) { method TestUnexpectedEOF (line 6873) | func (s) TestUnexpectedEOF(t *testing.T) { method TestRecvWhileReturningStatus (line 6911) | func (s) TestRecvWhileReturningStatus(t *testing.T) { method TestGlobalBinaryLoggingOptions (line 6964) | func (s) TestGlobalBinaryLoggingOptions(t *testing.T) { method TestRPCBlockingOnPickerStatsCall (line 7134) | func (s) TestRPCBlockingOnPickerStatsCall(t *testing.T) { function Test (line 97) | func Test(t *testing.T) { type testServer (line 141) | type testServer struct method EmptyCall (line 152) | func (s *testServer) EmptyCall(ctx context.Context, _ *testpb.Empty) (... method UnaryCall (line 184) | func (s *testServer) UnaryCall(ctx context.Context, in *testpb.SimpleR... method StreamingOutputCall (line 255) | func (s *testServer) StreamingOutputCall(args *testpb.StreamingOutputC... method StreamingInputCall (line 286) | func (s *testServer) StreamingInputCall(stream testgrpc.TestService_St... method FullDuplexCall (line 306) | func (s *testServer) FullDuplexCall(stream testgrpc.TestService_FullDu... method HalfDuplexCall (line 370) | func (s *testServer) HalfDuplexCall(stream testgrpc.TestService_HalfDu... function newPayload (line 168) | func newPayload(t testpb.PayloadType, size int32) (*testpb.Payload, erro... type env (line 405) | type env struct method runnable (line 414) | func (e env) runnable() bool { method dialer (line 421) | func (e env) dialer(addr string, timeout time.Duration) (net.Conn, err... function listTestEnv (line 440) | func listTestEnv() (envs []env) { type test (line 463) | type test struct method tearDown (line 537) | func (te *test) tearDown() { method listenAndServe (line 574) | func (te *test) listenAndServe(ts testgrpc.TestServiceServer, listen f... method startServerWithConnControl (line 701) | func (te *test) startServerWithConnControl(ts testgrpc.TestServiceServ... method startServer (line 708) | func (te *test) startServer(ts testgrpc.TestServiceServer) { method startServers (line 714) | func (te *test) startServers(ts testgrpc.TestServiceServer, num int) { method setHealthServingStatus (line 727) | func (te *test) setHealthServingStatus(service string, status healthpb... method configDial (line 761) | func (te *test) configDial(opts ...grpc.DialOption) ([]grpc.DialOption... method clientConnWithConnControl (line 835) | func (te *test) clientConnWithConnControl() (*grpc.ClientConn, *dialer... method clientConn (line 851) | func (te *test) clientConn(opts ...grpc.DialOption) *grpc.ClientConn { method declareLogNoise (line 866) | func (te *test) declareLogNoise(phrases ...string) { method withServerTester (line 870) | func (te *test) withServerTester(fn func(st *serverTester)) { type stopper (line 532) | type stopper interface function newTest (line 564) | func newTest(t *testing.T, e env) *test { type wrapHS (line 686) | type wrapHS struct method GracefulStop (line 690) | func (w wrapHS) GracefulStop() { method Stop (line 696) | func (w wrapHS) Stop() { type nopCompressor (line 735) | type nopCompressor struct method Type (line 744) | func (c *nopCompressor) Type() string { function newNopCompressor (line 740) | func newNopCompressor() grpc.Compressor { type nopDecompressor (line 748) | type nopDecompressor struct method Type (line 757) | func (d *nopDecompressor) Type() string { function newNopDecompressor (line 753) | func newNopDecompressor() grpc.Decompressor { type lazyConn (line 887) | type lazyConn struct method Write (line 918) | func (l *lazyConn) Write(b []byte) (int, error) { constant possibleConnResetMsg (line 893) | possibleConnResetMsg = "connection reset by peer" constant possibleEOFMsg (line 894) | possibleEOFMsg = "error reading from server: EOF" function isConnClosedErr (line 911) | func isConnClosedErr(err error) bool { function testTimeoutOnDeadServer (line 966) | func testTimeoutOnDeadServer(t *testing.T, e env) { function testServerGracefulStopIdempotent (line 1001) | func testServerGracefulStopIdempotent(t *testing.T, e env) { function testFailFast (line 1060) | func testFailFast(t *testing.T, e env) { function testServiceConfigSetup (line 1098) | func testServiceConfigSetup(t *testing.T, e env) *test { function newInt (line 1107) | func newInt(b int) (a *int) { function testPreloaderClientSend (line 1715) | func testPreloaderClientSend(t *testing.T, e env) { function testMaxMsgSizeClientDefault (line 1841) | func testMaxMsgSizeClientDefault(t *testing.T, e env) { function testMaxMsgSizeClientAPI (line 1901) | func testMaxMsgSizeClientAPI(t *testing.T, e env) { function testMaxMsgSizeServerAPI (line 1988) | func testMaxMsgSizeServerAPI(t *testing.T, e env) { type myTap (line 2079) | type myTap struct method handle (line 2083) | func (t *myTap) handle(ctx context.Context, info *tap.Info) (context.C... function testTap (line 2101) | func testTap(t *testing.T, e env) { function testEmptyUnaryWithUserAgent (line 2207) | func testEmptyUnaryWithUserAgent(t *testing.T, e env) { function testFailedEmptyUnary (line 2240) | func testFailedEmptyUnary(t *testing.T, e env) { function testLargeUnary (line 2262) | func testLargeUnary(t *testing.T, e env) { function testExceedMsgLimit (line 2302) | func testExceedMsgLimit(t *testing.T, e env) { function testPeerClientSide (line 2385) | func testPeerClientSide(t *testing.T, e env) { function testPeerNegative (line 2426) | func testPeerNegative(t *testing.T, e env) { function testPeerFailedRPC (line 2445) | func testPeerFailedRPC(t *testing.T, e env) { function testMetadataUnaryRPC (line 2502) | func testMetadataUnaryRPC(t *testing.T, e env) { function testMetadataOrderUnaryRPC (line 2550) | func testMetadataOrderUnaryRPC(t *testing.T, e env) { function testMultipleSetTrailerUnaryRPC (line 2590) | func testMultipleSetTrailerUnaryRPC(t *testing.T, e env) { function testMultipleSetTrailerStreamingRPC (line 2629) | func testMultipleSetTrailerStreamingRPC(t *testing.T, e env) { function testSetAndSendHeaderUnaryRPC (line 2666) | func testSetAndSendHeaderUnaryRPC(t *testing.T, e env) { function testMultipleSetHeaderUnaryRPC (line 2713) | func testMultipleSetHeaderUnaryRPC(t *testing.T, e env) { function testMultipleSetHeaderUnaryRPCError (line 2760) | func testMultipleSetHeaderUnaryRPCError(t *testing.T, e env) { function testSetAndSendHeaderStreamingRPC (line 2806) | func testSetAndSendHeaderStreamingRPC(t *testing.T, e env) { function testMultipleSetHeaderStreamingRPC (line 2849) | func testMultipleSetHeaderStreamingRPC(t *testing.T, e env) { function testMultipleSetHeaderStreamingRPCError (line 2916) | func testMultipleSetHeaderStreamingRPCError(t *testing.T, e env) { function testMalformedHTTP2Metadata (line 2982) | func testMalformedHTTP2Metadata(t *testing.T, e env) { function testCancel (line 3090) | func testCancel(t *testing.T, e env) { function testCancelNoIO (line 3126) | func testCancelNoIO(t *testing.T, e env) { function testNoService (line 3194) | func testNoService(t *testing.T, e env) { function testPingPong (line 3217) | func testPingPong(t *testing.T, e env) { function testMetadataStreamingRPC (line 3276) | func testMetadataStreamingRPC(t *testing.T, e env) { function testServerStreaming (line 3355) | func testServerStreaming(t *testing.T, e env) { function testFailedServerStreaming (line 3412) | func testFailedServerStreaming(t *testing.T, e env) { function equalError (line 3440) | func equalError(x, y error) bool { type concurrentSendServer (line 3450) | type concurrentSendServer struct method StreamingOutputCall (line 3454) | func (s concurrentSendServer) StreamingOutputCall(_ *testpb.StreamingO... function testServerStreamingConcurrent (line 3472) | func testServerStreamingConcurrent(t *testing.T, e env) { function generatePayloadSizes (line 3525) | func generatePayloadSizes() [][]int { function testClientStreaming (line 3555) | func testClientStreaming(t *testing.T, e env, sizes []int) { function testClientStreamingError (line 3601) | func testClientStreamingError(t *testing.T, e env) { function testExceedMaxStreamsLimit (line 4221) | func testExceedMaxStreamsLimit(t *testing.T, e env) { function testStreamsQuotaRecovery (line 4261) | func testStreamsQuotaRecovery(t *testing.T, e env) { function failOkayRPC (line 4334) | func failOkayRPC(ctx context.Context, method string, req, reply any, cc ... function testUnaryClientInterceptor (line 4342) | func testUnaryClientInterceptor(t *testing.T, e env) { function failOkayStream (line 4363) | func failOkayStream(ctx context.Context, desc *grpc.StreamDesc, cc *grpc... function testStreamClientInterceptor (line 4371) | func testStreamClientInterceptor(t *testing.T, e env) { function errInjector (line 4405) | func errInjector(context.Context, any, *grpc.UnaryServerInfo, grpc.Unary... function testUnaryServerInterceptor (line 4409) | func testUnaryServerInterceptor(t *testing.T, e env) { function fullDuplexOnly (line 4433) | func fullDuplexOnly(srv any, ss grpc.ServerStream, info *grpc.StreamServ... function testStreamServerInterceptor (line 4441) | func testStreamServerInterceptor(t *testing.T, e env) { type funcServer (line 4487) | type funcServer struct method UnaryCall (line 4494) | func (s *funcServer) UnaryCall(ctx context.Context, in *testpb.SimpleR... method StreamingInputCall (line 4498) | func (s *funcServer) StreamingInputCall(stream testgrpc.TestService_St... method FullDuplexCall (line 4502) | func (s *funcServer) FullDuplexCall(stream testgrpc.TestService_FullDu... function testClientRequestBodyErrorUnexpectedEOF (line 4512) | func testClientRequestBodyErrorUnexpectedEOF(t *testing.T, e env) { function testClientRequestBodyErrorCloseAfterLength (line 4644) | func testClientRequestBodyErrorCloseAfterLength(t *testing.T, e env) { function testClientRequestBodyErrorCancel (line 4668) | func testClientRequestBodyErrorCancel(t *testing.T, e env) { function testClientRequestBodyErrorCancelStreamingInput (line 4704) | func testClientRequestBodyErrorCancelStreamingInput(t *testing.T, e env) { function testClientInitialHeaderEndStream (line 4741) | func testClientInitialHeaderEndStream(t *testing.T, e env) { function testClientSendDataAfterCloseSend (line 4785) | func testClientSendDataAfterCloseSend(t *testing.T, e env) { function testClientResourceExhaustedCancelFullDuplex (line 4842) | func testClientResourceExhaustedCancelFullDuplex(t *testing.T, e env) { type clientFailCreds (line 4904) | type clientFailCreds struct method ServerHandshake (line 4906) | func (c *clientFailCreds) ServerHandshake(rawConn net.Conn) (net.Conn,... method ClientHandshake (line 4909) | func (c *clientFailCreds) ClientHandshake(context.Context, string, net... method Info (line 4912) | func (c *clientFailCreds) Info() credentials.ProtocolInfo { method Clone (line 4915) | func (c *clientFailCreds) Clone() credentials.TransportCredentials { method OverrideServerName (line 4918) | func (c *clientFailCreds) OverrideServerName(string) error { type flowControlLogicalRaceServer (line 5012) | type flowControlLogicalRaceServer struct method StreamingOutputCall (line 5019) | func (s *flowControlLogicalRaceServer) StreamingOutputCall(_ *testpb.S... type lockingWriter (line 5040) | type lockingWriter struct method Write (line 5045) | func (lw *lockingWriter) Write(p []byte) (n int, err error) { method setWriter (line 5051) | func (lw *lockingWriter) setWriter(w io.Writer) { function awaitNewConnLogOutput (line 5064) | func awaitNewConnLogOutput() { function awaitLogOutput (line 5068) | func awaitLogOutput(maxWait time.Duration, phrase string) { function logOutputHasContents (line 5087) | func logOutputHasContents(v []byte, wakeup chan<- bool) bool { function noop (line 5105) | func noop() {} function declareLogNoise (line 5111) | func declareLogNoise(t *testing.T, phrases ...string) (restore func()) { type filterWriter (line 5129) | type filterWriter struct method Write (line 5138) | func (fw *filterWriter) Write(p []byte) (n int, err error) { type windowSizeConfig (line 5420) | type windowSizeConfig struct function testConfigurableWindowSize (line 5451) | func testConfigurableWindowSize(t *testing.T, e env, wc windowSizeConfig) { function testWaitForReadyConnection (line 5507) | func testWaitForReadyConnection(t *testing.T, e env) { function testSvrWriteStatusEarlyWrite (line 5530) | func testSvrWriteStatusEarlyWrite(t *testing.T, e env) { function testRPCTimeout (line 5845) | func testRPCTimeout(t *testing.T, e env) { function testServerMaxHeaderListSizeClientUserViolation (line 5987) | func testServerMaxHeaderListSizeClientUserViolation(t *testing.T, e env) { function testClientMaxHeaderListSizeServerUserViolation (line 6019) | func testClientMaxHeaderListSizeServerUserViolation(t *testing.T, e env) { function testServerMaxHeaderListSizeClientIntentionalViolation (line 6050) | func testServerMaxHeaderListSizeClientIntentionalViolation(t *testing.T,... function testClientMaxHeaderListSizeServerIntentionalViolation (line 6092) | func testClientMaxHeaderListSizeServerIntentionalViolation(t *testing.T,... function testLargeTimeout (line 6204) | func testLargeTimeout(t *testing.T, e env) { function listenWithNotifyingListener (line 6240) | func listenWithNotifyingListener(network, address string, event *grpcsyn... type notifyingListener (line 6248) | type notifyingListener struct method Accept (line 6253) | func (lis notifyingListener) Accept() (net.Conn, error) { type httpServerResponse (line 6313) | type httpServerResponse struct type httpServer (line 6319) | type httpServer struct method writeHeader (line 6327) | func (s *httpServer) writeHeader(framer *http2.Framer, sid uint32, hea... method writePayload (line 6348) | func (s *httpServer) writePayload(framer *http2.Framer, sid uint32, pa... method start (line 6352) | func (s *httpServer) start(t *testing.T, lis net.Listener) { function unaryInterceptorVerifyConn (line 6613) | func unaryInterceptorVerifyConn(ctx context.Context, _ any, _ *grpc.Unar... function streamingInterceptorVerifyConn (line 6638) | func streamingInterceptorVerifyConn(_ any, ss grpc.ServerStream, _ *grpc... function unaryInterceptorVerifyAuthority (line 6670) | func unaryInterceptorVerifyAuthority(ctx context.Context, _ any, _ *grpc... type wrapCloseListener (line 6792) | type wrapCloseListener struct method Accept (line 6805) | func (w *wrapCloseListener) Accept() (net.Conn, error) { type wrapCloseConn (line 6799) | type wrapCloseConn struct method Close (line 6814) | func (w *wrapCloseConn) Close() error { type mockBinaryLogger (line 6937) | type mockBinaryLogger struct method GetMethodLogger (line 6947) | func (mbl *mockBinaryLogger) GetMethodLogger(string) binarylog.MethodL... function newMockBinaryLogger (line 6941) | func newMockBinaryLogger() *mockBinaryLogger { type mockMethodLogger (line 6951) | type mockMethodLogger struct method Log (line 6955) | func (mml *mockMethodLogger) Log(context.Context, binarylog.LogEntryCo... type statsHandlerRecordEvents (line 7026) | type statsHandlerRecordEvents struct method TagRPC (line 7031) | func (*statsHandlerRecordEvents) TagRPC(ctx context.Context, _ *stats.... method HandleRPC (line 7034) | func (h *statsHandlerRecordEvents) HandleRPC(_ context.Context, s stat... method TagConn (line 7039) | func (*statsHandlerRecordEvents) TagConn(ctx context.Context, _ *stats... method HandleConn (line 7042) | func (*statsHandlerRecordEvents) HandleConn(context.Context, stats.Con... type triggerRPCBlockPicker (line 7044) | type triggerRPCBlockPicker struct method Pick (line 7048) | func (bp *triggerRPCBlockPicker) Pick(balancer.PickInfo) (balancer.Pic... constant name (line 7053) | name = "triggerRPCBlockBalancer" type triggerRPCBlockPickerBalancerBuilder (line 7055) | type triggerRPCBlockPickerBalancerBuilder struct method Build (line 7057) | func (triggerRPCBlockPickerBalancerBuilder) Build(cc balancer.ClientCo... method ParseConfig (line 7073) | func (triggerRPCBlockPickerBalancerBuilder) ParseConfig(json.RawMessag... method Name (line 7077) | func (triggerRPCBlockPickerBalancerBuilder) Name() string { type bpbConfig (line 7081) | type bpbConfig struct type triggerRPCBlockBalancer (line 7091) | type triggerRPCBlockBalancer struct method UpdateClientConnState (line 7102) | func (bpb *triggerRPCBlockBalancer) UpdateClientConnState(s balancer.C... method UpdateState (line 7120) | func (bpb *triggerRPCBlockBalancer) UpdateState(state balancer.State) { FILE: test/goaway_test.go method TestGracefulClientOnGoAway (line 56) | func (s) TestGracefulClientOnGoAway(t *testing.T) { method TestDetailedGoAwayErrorOnGracefulClosePropagatesToRPCError (line 90) | func (s) TestDetailedGoAwayErrorOnGracefulClosePropagatesToRPCError(t *t... method TestDetailedGoAwayErrorOnAbruptClosePropagatesToRPCError (line 123) | func (s) TestDetailedGoAwayErrorOnAbruptClosePropagatesToRPCError(t *tes... method TestClientConnCloseAfterGoAwayWithActiveStream (line 169) | func (s) TestClientConnCloseAfterGoAwayWithActiveStream(t *testing.T) { function testClientConnCloseAfterGoAwayWithActiveStream (line 178) | func testClientConnCloseAfterGoAwayWithActiveStream(t *testing.T, e env) { method TestServerGoAway (line 205) | func (s) TestServerGoAway(t *testing.T) { function testServerGoAway (line 214) | func testServerGoAway(t *testing.T, e env) { method TestServerGoAwayPendingRPC (line 252) | func (s) TestServerGoAwayPendingRPC(t *testing.T) { function testServerGoAwayPendingRPC (line 261) | func testServerGoAwayPendingRPC(t *testing.T, e env) { method TestServerMultipleGoAwayPendingRPC (line 326) | func (s) TestServerMultipleGoAwayPendingRPC(t *testing.T) { function testServerMultipleGoAwayPendingRPC (line 335) | func testServerMultipleGoAwayPendingRPC(t *testing.T, e env) { method TestConcurrentClientConnCloseAndServerGoAway (line 415) | func (s) TestConcurrentClientConnCloseAndServerGoAway(t *testing.T) { function testConcurrentClientConnCloseAndServerGoAway (line 424) | func testConcurrentClientConnCloseAndServerGoAway(t *testing.T, e env) { method TestConcurrentServerStopAndGoAway (line 454) | func (s) TestConcurrentServerStopAndGoAway(t *testing.T) { function testConcurrentServerStopAndGoAway (line 463) | func testConcurrentServerStopAndGoAway(t *testing.T, e env) { method TestGoAwayThenClose (line 542) | func (s) TestGoAwayThenClose(t *testing.T) { method TestGoAwayStreamIDSmallerThanCreatedStreams (line 658) | func (s) TestGoAwayStreamIDSmallerThanCreatedStreams(t *testing.T) { method TestTwoGoAwayPingFrames (line 713) | func (s) TestTwoGoAwayPingFrames(t *testing.T) { method TestClientSendsAGoAway (line 768) | func (s) TestClientSendsAGoAway(t *testing.T) { FILE: test/gracefulstop_test.go type delayListener (line 39) | type delayListener struct method Accept (line 47) | func (d *delayListener) Accept() (net.Conn, error) { method allowClose (line 68) | func (d *delayListener) allowClose() { method Close (line 71) | func (d *delayListener) Close() error { method Dial (line 80) | func (d *delayListener) Dial(ctx context.Context) (net.Conn, error) { method TestGracefulStop (line 101) | func (s) TestGracefulStop(t *testing.T) { method TestGracefulStopClosesConnAfterLastStream (line 165) | func (s) TestGracefulStopClosesConnAfterLastStream(t *testing.T) { method TestGracefulStopBlocksUntilGRPCConnectionsTerminate (line 215) | func (s) TestGracefulStopBlocksUntilGRPCConnectionsTerminate(t *testing.... method TestStopAbortsBlockingGRPCCall (line 266) | func (s) TestStopAbortsBlockingGRPCCall(t *testing.T) { FILE: test/healthcheck_test.go function newTestHealthServer (line 53) | func newTestHealthServer() *testHealthServer { function newTestHealthServerWithWatchFunc (line 57) | func newTestHealthServerWithWatchFunc(f healthWatchFunc) *testHealthServ... function defaultWatchFunc (line 66) | func defaultWatchFunc(s *testHealthServer, in *healthpb.HealthCheckReque... type healthWatchFunc (line 91) | type healthWatchFunc type testHealthServer (line 93) | type testHealthServer struct method Check (line 101) | func (s *testHealthServer) Check(context.Context, *healthpb.HealthChec... method Watch (line 107) | func (s *testHealthServer) Watch(in *healthpb.HealthCheckRequest, stre... method SetServingStatus (line 113) | func (s *testHealthServer) SetServingStatus(service string, status hea... function setupHealthCheckWrapper (line 124) | func setupHealthCheckWrapper(t *testing.T) (hcEnterChan chan struct{}, h... function setupServer (line 143) | func setupServer(t *testing.T, watchFunc healthWatchFunc) (*grpc.Server,... type clientConfig (line 165) | type clientConfig struct function setupClient (line 170) | func setupClient(t *testing.T, c *clientConfig) (*grpc.ClientConn, *manu... method TestHealthCheckWatchStateChange (line 194) | func (s) TestHealthCheckWatchStateChange(t *testing.T) { method TestHealthCheckHealthServerNotRegistered (line 256) | func (s) TestHealthCheckHealthServerNotRegistered(t *testing.T) { method TestHealthCheckWithGoAway (line 287) | func (s) TestHealthCheckWithGoAway(t *testing.T) { method TestHealthCheckWithConnClose (line 365) | func (s) TestHealthCheckWithConnClose(t *testing.T) { method TestHealthCheckWithAddrConnDrain (line 415) | func (s) TestHealthCheckWithAddrConnDrain(t *testing.T) { method TestHealthCheckWithClientConnClose (line 495) | func (s) TestHealthCheckWithClientConnClose(t *testing.T) { method TestHealthCheckWithoutSetConnectivityStateCalledAddrConnShutDown (line 547) | func (s) TestHealthCheckWithoutSetConnectivityStateCalledAddrConnShutDow... method TestHealthCheckWithoutSetConnectivityStateCalled (line 610) | func (s) TestHealthCheckWithoutSetConnectivityStateCalled(t *testing.T) { function testHealthCheckDisableWithDialOption (line 668) | func testHealthCheckDisableWithDialOption(t *testing.T, addr string) { function testHealthCheckDisableWithBalancer (line 700) | func testHealthCheckDisableWithBalancer(t *testing.T, addr string) { function testHealthCheckDisableWithServiceConfig (line 732) | func testHealthCheckDisableWithServiceConfig(t *testing.T, addr string) { method TestHealthCheckDisable (line 757) | func (s) TestHealthCheckDisable(t *testing.T) { method TestHealthCheckChannelzCountingCallSuccess (line 767) | func (s) TestHealthCheckChannelzCountingCallSuccess(t *testing.T) { method TestHealthCheckChannelzCountingCallFailure (line 816) | func (s) TestHealthCheckChannelzCountingCallFailure(t *testing.T) { function healthCheck (line 867) | func healthCheck(d time.Duration, cc *grpc.ClientConn, service string) (... function verifyHealthCheckStatus (line 876) | func verifyHealthCheckStatus(t *testing.T, d time.Duration, cc *grpc.Cli... function verifyHealthCheckErrCode (line 889) | func verifyHealthCheckErrCode(t *testing.T, d time.Duration, cc *grpc.Cl... function newHealthCheckStream (line 898) | func newHealthCheckStream(t *testing.T, cc *grpc.ClientConn, service str... function healthWatchChecker (line 911) | func healthWatchChecker(t *testing.T, stream healthgrpc.Health_WatchClie... method TestHealthCheckSuccess (line 924) | func (s) TestHealthCheckSuccess(t *testing.T) { function testHealthCheckSuccess (line 930) | func testHealthCheckSuccess(t *testing.T, e env) { method TestHealthCheckFailure (line 942) | func (s) TestHealthCheckFailure(t *testing.T) { method TestHealthCheckOff (line 966) | func (s) TestHealthCheckOff(t *testing.T) { function testHealthCheckOff (line 976) | func testHealthCheckOff(t *testing.T, e env) { method TestHealthWatchMultipleClients (line 987) | func (s) TestHealthWatchMultipleClients(t *testing.T) { function testHealthWatchMultipleClients (line 993) | func testHealthWatchMultipleClients(t *testing.T, e env) { method TestHealthWatchSameStatus (line 1016) | func (s) TestHealthWatchSameStatus(t *testing.T) { function testHealthWatchSameStatus (line 1022) | func testHealthWatchSameStatus(t *testing.T, e env) { method TestHealthWatchServiceStatusSetBeforeStartingServer (line 1042) | func (s) TestHealthWatchServiceStatusSetBeforeStartingServer(t *testing.... function testHealthWatchSetServiceStatusBeforeStartingServer (line 1048) | func testHealthWatchSetServiceStatusBeforeStartingServer(t *testing.T, e... method TestHealthWatchDefaultStatusChange (line 1065) | func (s) TestHealthWatchDefaultStatusChange(t *testing.T) { function testHealthWatchDefaultStatusChange (line 1071) | func testHealthWatchDefaultStatusChange(t *testing.T, e env) { method TestHealthWatchSetServiceStatusBeforeClientCallsWatch (line 1086) | func (s) TestHealthWatchSetServiceStatusBeforeClientCallsWatch(t *testin... function testHealthWatchSetServiceStatusBeforeClientCallsWatch (line 1092) | func testHealthWatchSetServiceStatusBeforeClientCallsWatch(t *testing.T,... method TestHealthWatchOverallServerHealthChange (line 1106) | func (s) TestHealthWatchOverallServerHealthChange(t *testing.T) { function testHealthWatchOverallServerHealthChange (line 1112) | func testHealthWatchOverallServerHealthChange(t *testing.T, e env) { method TestUnknownHandler (line 1128) | func (s) TestUnknownHandler(t *testing.T) { function testUnknownHandler (line 1144) | func testUnknownHandler(t *testing.T, e env, unknownHandler grpc.StreamH... method TestHealthCheckServingStatus (line 1154) | func (s) TestHealthCheckServingStatus(t *testing.T) { function testHealthCheckServingStatus (line 1160) | func testHealthCheckServingStatus(t *testing.T, e env) { method TestHealthCheckUnregisterHealthListener (line 1177) | func (s) TestHealthCheckUnregisterHealthListener(t *testing.T) { FILE: test/http_header_end2end_test.go method TestHTTPHeaderFrameErrorHandlingHTTPMode (line 35) | func (s) TestHTTPHeaderFrameErrorHandlingHTTPMode(t *testing.T) { method TestHTTPHeaderFrameErrorHandlingInitialHeader (line 99) | func (s) TestHTTPHeaderFrameErrorHandlingInitialHeader(t *testing.T) { method TestHTTPHeaderFrameErrorHandlingNormalTrailer (line 155) | func (s) TestHTTPHeaderFrameErrorHandlingNormalTrailer(t *testing.T) { method TestHTTPHeaderFrameErrorHandlingMoreThanTwoHeaders (line 215) | func (s) TestHTTPHeaderFrameErrorHandlingMoreThanTwoHeaders(t *testing.T) { function startServer (line 230) | func startServer(t *testing.T, headerFields ...[]string) (serverAddr str... function doHTTPHeaderTest (line 242) | func doHTTPHeaderTest(lisAddr string, errCode codes.Code) error { FILE: test/insecure_creds_test.go type testLegacyPerRPCCredentials (line 40) | type testLegacyPerRPCCredentials struct method GetRequestMetadata (line 42) | func (cr testLegacyPerRPCCredentials) GetRequestMetadata(context.Conte... method RequireTransportSecurity (line 46) | func (cr testLegacyPerRPCCredentials) RequireTransportSecurity() bool { function getSecurityLevel (line 50) | func getSecurityLevel(ai credentials.AuthInfo) credentials.SecurityLevel { method TestInsecureCreds (line 63) | func (s) TestInsecureCreds(t *testing.T) { method TestInsecureCreds_WithPerRPCCredentials_AsCallOption (line 139) | func (s) TestInsecureCreds_WithPerRPCCredentials_AsCallOption(t *testing... method TestInsecureCreds_WithPerRPCCredentials_AsDialOption (line 174) | func (s) TestInsecureCreds_WithPerRPCCredentials_AsDialOption(t *testing... FILE: test/interceptor_test.go type parentCtxkey (line 35) | type parentCtxkey struct type firstInterceptorCtxkey (line 36) | type firstInterceptorCtxkey struct type secondInterceptorCtxkey (line 37) | type secondInterceptorCtxkey struct type baseInterceptorCtxKey (line 38) | type baseInterceptorCtxKey struct constant parentCtxVal (line 41) | parentCtxVal = "parent" constant firstInterceptorCtxVal (line 42) | firstInterceptorCtxVal = "firstInterceptor" constant secondInterceptorCtxVal (line 43) | secondInterceptorCtxVal = "secondInterceptor" constant baseInterceptorCtxVal (line 44) | baseInterceptorCtxVal = "baseInterceptor" method TestUnaryClientInterceptor_ContextValuePropagation (line 50) | func (s) TestUnaryClientInterceptor_ContextValuePropagation(t *testing.T) { method TestChainUnaryClientInterceptor_ContextValuePropagation (line 87) | func (s) TestChainUnaryClientInterceptor_ContextValuePropagation(t *test... method TestChainOnBaseUnaryClientInterceptor_ContextValuePropagation (line 159) | func (s) TestChainOnBaseUnaryClientInterceptor_ContextValuePropagation(t... method TestChainStreamClientInterceptor_ContextValuePropagation (line 210) | func (s) TestChainStreamClientInterceptor_ContextValuePropagation(t *tes... FILE: test/invoke_test.go method TestInvoke (line 35) | func (s) TestInvoke(t *testing.T) { method TestInvokeLargeErr (line 53) | func (s) TestInvokeLargeErr(t *testing.T) { method TestInvokeErrorSpecialChars (line 82) | func (s) TestInvokeErrorSpecialChars(t *testing.T) { method TestInvokeCancel (line 111) | func (s) TestInvokeCancel(t *testing.T) { method TestInvokeCancelClosedNonFailFast (line 137) | func (s) TestInvokeCancelClosedNonFailFast(t *testing.T) { FILE: test/local_creds_test.go function testLocalCredsE2ESucceed (line 44) | func testLocalCredsE2ESucceed(t *testing.T, network, address string) err... method TestLocalCredsLocalhost (line 112) | func (s) TestLocalCredsLocalhost(t *testing.T) { method TestLocalCredsUDS (line 118) | func (s) TestLocalCredsUDS(t *testing.T) { type connWrapper (line 125) | type connWrapper struct method RemoteAddr (line 130) | func (c connWrapper) RemoteAddr() net.Addr { type lisWrapper (line 134) | type lisWrapper struct method Accept (line 143) | func (l *lisWrapper) Accept() (net.Conn, error) { function spoofListener (line 139) | func spoofListener(l net.Listener, remote net.Addr) net.Listener { function spoofDialer (line 151) | func spoofDialer(addr net.Addr) func(target string, t time.Duration) (ne... function testLocalCredsE2EFail (line 161) | func testLocalCredsE2EFail(t *testing.T, dopts []grpc.DialOption) error { function isExpected (line 199) | func isExpected(got, want error) bool { method TestLocalCredsClientFail (line 203) | func (s) TestLocalCredsClientFail(t *testing.T) { method TestLocalCredsServerFail (line 212) | func (s) TestLocalCredsServerFail(t *testing.T) { FILE: test/malformed_method_test.go method TestMalformedMethodPath (line 39) | func (s) TestMalformedMethodPath(t *testing.T) { FILE: test/metadata_test.go method TestInvalidMetadata (line 39) | func (s) TestInvalidMetadata(t *testing.T) { FILE: test/parse_config.go function parseServiceConfig (line 30) | func parseServiceConfig(t *testing.T, r *manual.Resolver, sc string) *se... FILE: test/race_test.go function init (line 23) | func init() { FILE: test/rawConnWrapper.go type listenerWrapper (line 32) | type listenerWrapper struct method Accept (line 48) | func (l *listenerWrapper) Accept() (net.Conn, error) { method getLastConn (line 59) | func (l *listenerWrapper) getLastConn() *rawConnWrapper { function listenWithConnControl (line 38) | func listenWithConnControl(network, address string) (net.Listener, error) { type dialerWrapper (line 65) | type dialerWrapper struct method dialer (line 70) | func (d *dialerWrapper) dialer(target string, t time.Duration) (net.Co... method getRawConnWrapper (line 77) | func (d *dialerWrapper) getRawConnWrapper() *rawConnWrapper { type rawConnWrapper (line 81) | type rawConnWrapper struct method Close (line 107) | func (rcw *rawConnWrapper) Close() error { method encodeHeaderField (line 111) | func (rcw *rawConnWrapper) encodeHeaderField(k, v string) error { method encodeRawHeader (line 121) | func (rcw *rawConnWrapper) encodeRawHeader(headers ...string) []byte { method encodeHeader (line 164) | func (rcw *rawConnWrapper) encodeHeader(headers ...string) []byte { method writeHeaders (line 221) | func (rcw *rawConnWrapper) writeHeaders(p http2.HeadersFrameParam) err... method writeRSTStream (line 228) | func (rcw *rawConnWrapper) writeRSTStream(streamID uint32, code http2.... method writeGoAway (line 235) | func (rcw *rawConnWrapper) writeGoAway(maxStreamID uint32, code http2.... method writeDataFrame (line 242) | func (rcw *rawConnWrapper) writeDataFrame(streamID uint32, payload []b... function newRawConnWrapperFromConn (line 94) | func newRawConnWrapperFromConn(cc io.ReadWriteCloser) *rawConnWrapper { FILE: test/resolver_update_test.go method TestResolverUpdateDuringBuild_ServiceConfigParseError (line 54) | func (s) TestResolverUpdateDuringBuild_ServiceConfigParseError(t *testin... type fakeConfig (line 76) | type fakeConfig struct method TestResolverUpdateDuringBuild_ServiceConfigInvalidTypeError (line 86) | func (s) TestResolverUpdateDuringBuild_ServiceConfigInvalidTypeError(t *... method TestResolverUpdate_InvalidServiceConfigAsFirstUpdate (line 112) | func (s) TestResolverUpdate_InvalidServiceConfigAsFirstUpdate(t *testing... function verifyClientConnStateUpdate (line 135) | func verifyClientConnStateUpdate(got, want balancer.ClientConnState) err... method TestResolverUpdate_InvalidServiceConfigAfterGoodUpdate (line 152) | func (s) TestResolverUpdate_InvalidServiceConfigAfterGoodUpdate(t *testi... FILE: test/retry_test.go method TestRetryUnary (line 48) | func (s) TestRetryUnary(t *testing.T) { method TestRetryThrottling (line 106) | func (s) TestRetryThrottling(t *testing.T) { method TestRetryStreaming (line 170) | func (s) TestRetryStreaming(t *testing.T) { method TestMaxCallAttempts (line 481) | func (s) TestMaxCallAttempts(t *testing.T) { type retryStatsHandler (line 575) | type retryStatsHandler struct method TagRPC (line 580) | func (*retryStatsHandler) TagRPC(ctx context.Context, _ *stats.RPCTagI... method HandleRPC (line 583) | func (h *retryStatsHandler) HandleRPC(_ context.Context, s stats.RPCSt... method TagConn (line 592) | func (*retryStatsHandler) TagConn(ctx context.Context, _ *stats.ConnTa... method HandleConn (line 595) | func (*retryStatsHandler) HandleConn(context.Context, stats.ConnStats) {} method TestRetryStats (line 597) | func (s) TestRetryStats(t *testing.T) { method TestRetryTransparentWhenCommitted (line 742) | func (s) TestRetryTransparentWhenCommitted(t *testing.T) { method TestNoRetry (line 824) | func (s) TestNoRetry(t *testing.T) { FILE: test/roundrobin_test.go constant rrServiceConfig (line 45) | rrServiceConfig = `{"loadBalancingConfig": [{"round_robin":{}}]}` function testRoundRobinBasic (line 47) | func testRoundRobinBasic(ctx context.Context, t *testing.T, opts ...grpc... method TestRoundRobin_Basic (line 102) | func (s) TestRoundRobin_Basic(t *testing.T) { method TestRoundRobin_AddressesRemoved (line 113) | func (s) TestRoundRobin_AddressesRemoved(t *testing.T) { method TestRoundRobin_NewAddressWhileBlocking (line 135) | func (s) TestRoundRobin_NewAddressWhileBlocking(t *testing.T) { method TestRoundRobin_OneServerDown (line 191) | func (s) TestRoundRobin_OneServerDown(t *testing.T) { method TestRoundRobin_AllServersDown (line 213) | func (s) TestRoundRobin_AllServersDown(t *testing.T) { method TestRoundRobin_UpdateAddressAttributes (line 236) | func (s) TestRoundRobin_UpdateAddressAttributes(t *testing.T) { FILE: test/server_test.go type ctxKey (line 35) | type ctxKey method TestServerReturningContextError (line 40) | func (s) TestServerReturningContextError(t *testing.T) { method TestChainUnaryServerInterceptor (line 72) | func (s) TestChainUnaryServerInterceptor(t *testing.T) { method TestChainOnBaseUnaryServerInterceptor (line 189) | func (s) TestChainOnBaseUnaryServerInterceptor(t *testing.T) { method TestChainStreamServerInterceptor (line 232) | func (s) TestChainStreamServerInterceptor(t *testing.T) { FILE: test/servertester.go type serverTester (line 42) | type serverTester struct method readFrame (line 70) | func (st *serverTester) readFrame() (http2.Frame, error) { method greet (line 93) | func (st *serverTester) greet() { method greetWithSettings (line 98) | func (st *serverTester) greetWithSettings(settings ...http2.Setting) { method writePreface (line 130) | func (st *serverTester) writePreface() { method writeInitialSettings (line 140) | func (st *serverTester) writeInitialSettings() { method writeSettingsAck (line 146) | func (st *serverTester) writeSettingsAck() { method wantGoAway (line 152) | func (st *serverTester) wantGoAway(errCode http2.ErrCode) *http2.GoAwa... method wantPing (line 167) | func (st *serverTester) wantPing() *http2.PingFrame { method wantRSTStream (line 179) | func (st *serverTester) wantRSTStream(errCode http2.ErrCode) *http2.RS... method wantSettings (line 194) | func (st *serverTester) wantSettings() *http2.SettingsFrame { method wantAnyFrame (line 207) | func (st *serverTester) wantAnyFrame() http2.Frame { method encodeHeaderField (line 215) | func (st *serverTester) encodeHeaderField(k, v string) { method encodeHeader (line 226) | func (st *serverTester) encodeHeader(headers ...string) []byte { method writeHeadersGRPC (line 283) | func (st *serverTester) writeHeadersGRPC(streamID uint32, path string,... method writeHeaders (line 297) | func (st *serverTester) writeHeaders(p http2.HeadersFrameParam) { method writeData (line 303) | func (st *serverTester) writeData(streamID uint32, endStream bool, dat... method writeRSTStream (line 309) | func (st *serverTester) writeRSTStream(streamID uint32, code http2.Err... method writePing (line 315) | func (st *serverTester) writePing(ack bool, data [8]byte) { function newServerTesterFromConn (line 56) | func newServerTesterFromConn(t testing.TB, cc io.ReadWriteCloser) *serve... FILE: test/stats_test.go method TestPeerForClientStatsHandler (line 41) | func (s) TestPeerForClientStatsHandler(t *testing.T) { type peerStats (line 117) | type peerStats struct type peerStatsHandler (line 122) | type peerStatsHandler struct method TagRPC (line 127) | func (h *peerStatsHandler) TagRPC(ctx context.Context, _ *stats.RPCTag... method HandleRPC (line 131) | func (h *peerStatsHandler) HandleRPC(ctx context.Context, rs stats.RPC... method TagConn (line 138) | func (h *peerStatsHandler) TagConn(ctx context.Context, _ *stats.ConnT... method HandleConn (line 142) | func (h *peerStatsHandler) HandleConn(context.Context, stats.ConnStats... FILE: test/stream_cleanup_test.go method TestStreamCleanup (line 36) | func (s) TestStreamCleanup(t *testing.T) { method TestStreamCleanupAfterSendStatus (line 66) | func (s) TestStreamCleanupAfterSendStatus(t *testing.T) { FILE: test/subconn_test.go type tsccPicker (line 38) | type tsccPicker struct method Pick (line 42) | func (p *tsccPicker) Pick(balancer.PickInfo) (balancer.PickResult, err... method TestSubConnEmpty (line 48) | func (s) TestSubConnEmpty(t *testing.T) { FILE: test/timeouts.go constant defaultTestTimeout (line 25) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 28) | defaultTestShortTimeout = 100 * time.Millisecond FILE: test/transport_test.go type connWrapperWithCloseCh (line 44) | type connWrapperWithCloseCh struct method Close (line 50) | func (cw *connWrapperWithCloseCh) Close() error { type transportRestartCheckCreds (line 57) | type transportRestartCheckCreds struct method ServerHandshake (line 62) | func (c *transportRestartCheckCreds) ServerHandshake(rawConn net.Conn)... method ClientHandshake (line 65) | func (c *transportRestartCheckCreds) ClientHandshake(_ context.Context... method Info (line 72) | func (c *transportRestartCheckCreds) Info() credentials.ProtocolInfo { method Clone (line 75) | func (c *transportRestartCheckCreds) Clone() credentials.TransportCred... method OverrideServerName (line 78) | func (c *transportRestartCheckCreds) OverrideServerName(string) error { method TestClientTransportRestartsAfterStreamIDExhausted (line 85) | func (s) TestClientTransportRestartsAfterStreamIDExhausted(t *testing.T) { method TestRSTDuringMessageRead (line 166) | func (s) TestRSTDuringMessageRead(t *testing.T) { method TestCancelWhileServerWaitingForFlowControl (line 239) | func (s) TestCancelWhileServerWaitingForFlowControl(t *testing.T) { FILE: test/xds/xds_client_ack_nack_test.go constant wantResources (line 45) | wantResources = 4 function seenAllACKs (line 50) | func seenAllACKs(acksVersions map[string]string, wantNonEmpty bool) bool { method TestClientResourceVersionAfterStreamRestart (line 66) | func (s) TestClientResourceVersionAfterStreamRestart(t *testing.T) { FILE: test/xds/xds_client_affinity_test.go function hashRouteConfig (line 42) | func hashRouteConfig(routeName, ldsTarget, clusterName string) *v3routep... function ringhashCluster (line 67) | func ringhashCluster(clusterName, edsServiceName string) *v3clusterpb.Cl... method TestClientSideAffinitySanityCheck (line 86) | func (s) TestClientSideAffinitySanityCheck(t *testing.T) { FILE: test/xds/xds_client_certificate_providers_test.go method TestClientSideXDS_WithNoCertificateProvidersInBootstrap_Success (line 61) | func (s) TestClientSideXDS_WithNoCertificateProvidersInBootstrap_Success... method TestClientSideXDS_WithNoCertificateProvidersInBootstrap_Failure (line 113) | func (s) TestClientSideXDS_WithNoCertificateProvidersInBootstrap_Failure... method TestClientSideXDS_WithValidAndInvalidSecurityConfiguration (line 194) | func (s) TestClientSideXDS_WithValidAndInvalidSecurityConfiguration(t *t... method TestClientSideXDS_WithValidAndInvalidSecurityConfigurationSPIFFE (line 364) | func (s) TestClientSideXDS_WithValidAndInvalidSecurityConfigurationSPIFF... FILE: test/xds/xds_client_custom_lb_test.go function wrrLocality (line 58) | func wrrLocality(t *testing.T, m proto.Message) *v3wrrlocalitypb.WrrLoca... function clusterWithLBConfiguration (line 75) | func clusterWithLBConfiguration(t *testing.T, clusterName, edsServiceNam... method TestWrrLocality (line 95) | func (s) TestWrrLocality(t *testing.T) { FILE: test/xds/xds_client_federation_test.go method TestClientSideFederation (line 57) | func (s) TestClientSideFederation(t *testing.T) { method TestClientSideFederationWithOnlyXDSTPStyleLDS (line 153) | func (s) TestClientSideFederationWithOnlyXDSTPStyleLDS(t *testing.T) { method TestFederation_UnknownAuthorityInDialTarget (line 245) | func (s) TestFederation_UnknownAuthorityInDialTarget(t *testing.T) { method TestFederation_UnknownAuthorityInReceivedResponse (line 305) | func (s) TestFederation_UnknownAuthorityInReceivedResponse(t *testing.T) { FILE: test/xds/xds_client_ignore_resource_deletion_test.go constant serviceName (line 54) | serviceName = "my-service-xds" constant rdsName (line 55) | rdsName = "route-" + serviceName constant cdsName1 (line 56) | cdsName1 = "cluster1-" + serviceName constant cdsName2 (line 57) | cdsName2 = "cluster2-" + serviceName constant edsName1 (line 58) | edsName1 = "eds1-" + serviceName constant edsName2 (line 59) | edsName2 = "eds2-" + serviceName method TestIgnoreResourceDeletionOnClient (line 96) | func (s) TestIgnoreResourceDeletionOnClient(t *testing.T) { function testResourceDeletionIgnored (line 151) | func testResourceDeletionIgnored(t *testing.T, initialResource func(stri... function testResourceDeletionNotIgnored (line 206) | func testResourceDeletionNotIgnored(t *testing.T, initialResource func(s... function generateBootstrapContents (line 273) | func generateBootstrapContents(t *testing.T, serverURI string, ignoreRes... function xdsResolverBuilder (line 302) | func xdsResolverBuilder(t *testing.T, bs []byte) resolver.Builder { function setupGRPCServerWithModeChangeChannelAndServe (line 314) | func setupGRPCServerWithModeChangeChannelAndServe(t *testing.T, bootstra... function resourceWithListenerForGRPCServer (line 347) | func resourceWithListenerForGRPCServer(t *testing.T, nodeID string) (e2e... method TestListenerResourceDeletionOnServerIgnored (line 371) | func (s) TestListenerResourceDeletionOnServerIgnored(t *testing.T) { method TestListenerResourceDeletionOnServerNotIgnored (line 438) | func (s) TestListenerResourceDeletionOnServerNotIgnored(t *testing.T) { function verifyRPCtoAllEndpoints (line 491) | func verifyRPCtoAllEndpoints(cc grpc.ClientConnInterface) error { FILE: test/xds/xds_client_integration_test.go type s (line 39) | type s struct method TestClientSideXDS (line 52) | func (s) TestClientSideXDS(t *testing.T) { function Test (line 43) | func Test(t *testing.T) { constant defaultTestTimeout (line 48) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 49) | defaultTestShortTimeout = 10 * time.Millisecond FILE: test/xds/xds_client_outlier_detection_test.go method TestOutlierDetection_NoopConfig (line 53) | func (s) TestOutlierDetection_NoopConfig(t *testing.T) { function clientResourcesMultipleBackendsAndOD (line 95) | func clientResourcesMultipleBackendsAndOD(params e2e.ResourceParams, por... function clusterWithOutlierDetection (line 108) | func clusterWithOutlierDetection(clusterName, edsServiceName string, sec... function checkRoundRobinRPCs (line 120) | func checkRoundRobinRPCs(ctx context.Context, client testgrpc.TestServic... method TestOutlierDetectionWithOutlier (line 164) | func (s) TestOutlierDetectionWithOutlier(t *testing.T) { method TestOutlierDetectionXDSDefaultOn (line 245) | func (s) TestOutlierDetectionXDSDefaultOn(t *testing.T) { FILE: test/xds/xds_client_priority_locality_test.go function backendAddressesAndPorts (line 45) | func backendAddressesAndPorts(t *testing.T, servers []*stubserver.StubSe... method TestClientSideXDS_LocalityChangesPriority (line 66) | func (s) TestClientSideXDS_LocalityChangesPriority(t *testing.T) { FILE: test/xds/xds_client_retry_test.go method TestClientSideRetry (line 41) | func (s) TestClientSideRetry(t *testing.T) { FILE: test/xds/xds_rls_clusterspecifier_plugin_test.go function defaultClientResourcesWithRLSCSP (line 48) | func defaultClientResourcesWithRLSCSP(t *testing.T, lb e2e.LoadBalancing... method TestRLSinxDS (line 80) | func (s) TestRLSinxDS(t *testing.T) { function testRLSinxDS (line 101) | func testRLSinxDS(t *testing.T, lbPolicy e2e.LoadBalancingPolicy) { FILE: test/xds/xds_security_config_nack_test.go method TestUnmarshalListener_WithUpdateValidatorFunc (line 43) | func (s) TestUnmarshalListener_WithUpdateValidatorFunc(t *testing.T) { method TestUnmarshalCluster_WithUpdateValidatorFunc (line 216) | func (s) TestUnmarshalCluster_WithUpdateValidatorFunc(t *testing.T) { FILE: test/xds/xds_server_filter_state_retention_test.go constant filterCfgPathFieldName (line 51) | filterCfgPathFieldName = "path" type testFilterCfg (line 55) | type testFilterCfg struct function filterConfigFromProto (line 62) | func filterConfigFromProto(cfg proto.Message) (httpfilter.FilterConfig, ... type trackingHTTPFilterBuilder (line 80) | type trackingHTTPFilterBuilder struct method IsTerminal (line 90) | func (t *trackingHTTPFilterBuilder) IsTerminal() bool { return false } method TypeURLs (line 92) | func (t *trackingHTTPFilterBuilder) TypeURLs() []string { return []str... method ParseFilterConfig (line 94) | func (*trackingHTTPFilterBuilder) ParseFilterConfig(cfg proto.Message)... method BuildServerFilter (line 98) | func (t *trackingHTTPFilterBuilder) BuildServerFilter() httpfilter.Ser... method Close (line 103) | func (t *trackingHTTPFilterBuilder) Close() { method BuildServerInterceptor (line 109) | func (t *trackingHTTPFilterBuilder) BuildServerInterceptor(config, _ h... type trackingInterceptor (line 125) | type trackingInterceptor struct method AllowRPC (line 131) | func (i *trackingInterceptor) AllowRPC(context.Context) error { method Close (line 136) | func (i *trackingInterceptor) Close() { function newHTTPFilter (line 140) | func newHTTPFilter(t *testing.T, name, typeURL, path string) *v3httppb.H... method TestServerSideXDS_FilterStateRetention_AcrossUpdates_FilterConfigChange (line 160) | func (s) TestServerSideXDS_FilterStateRetention_AcrossUpdates_FilterConf... method TestServerSideXDS_FilterStateRetention_AcrossUpdates_FilterChainsChange (line 374) | func (s) TestServerSideXDS_FilterStateRetention_AcrossUpdates_FilterChai... FILE: test/xds/xds_server_integration_test.go function testModeChangeServerOption (line 51) | func testModeChangeServerOption(t *testing.T) grpc.ServerOption { type acceptNotifyingListener (line 68) | type acceptNotifyingListener struct method Accept (line 73) | func (l *acceptNotifyingListener) Accept() (net.Conn, error) { function setupGRPCServer (line 86) | func setupGRPCServer(t *testing.T, bootstrapContents []byte, opts ...grp... function hostPortFromListener (line 151) | func hostPortFromListener(lis net.Listener) (string, uint32, error) { method TestServerSideXDS_Fallback (line 173) | func (s) TestServerSideXDS_Fallback(t *testing.T) { method TestServerSideXDS_FileWatcherCerts (line 239) | func (s) TestServerSideXDS_FileWatcherCerts(t *testing.T) { method TestServerSideXDS_SecurityConfigChange (line 322) | func (s) TestServerSideXDS_SecurityConfigChange(t *testing.T) { method TestServerSideXDS_FileWatcherCertsSPIFFE (line 435) | func (s) TestServerSideXDS_FileWatcherCertsSPIFFE(t *testing.T) { function verifySecurityInformationFromPeerSPIFFE (line 514) | func verifySecurityInformationFromPeerSPIFFE(t *testing.T, pr *peer.Peer... FILE: test/xds/xds_server_rbac_test.go method TestServerSideXDS_RouteConfiguration (line 63) | func (s) TestServerSideXDS_RouteConfiguration(t *testing.T) { function serverListenerWithRBACHTTPFilters (line 311) | func serverListenerWithRBACHTTPFilters(t *testing.T, host string, port u... method TestRBACHTTPFilter (line 419) | func (s) TestRBACHTTPFilter(t *testing.T) { function serverListenerWithBadRouteConfiguration (line 728) | func serverListenerWithBadRouteConfiguration(t *testing.T, host string, ... method TestRBAC_WithBadRouteConfiguration (line 842) | func (s) TestRBAC_WithBadRouteConfiguration(t *testing.T) { type statAuditLogger (line 916) | type statAuditLogger struct method Log (line 921) | func (s *statAuditLogger) Log(event *audit.Event) { type loggerBuilder (line 926) | type loggerBuilder struct method Name (line 931) | func (loggerBuilder) Name() string { method Build (line 935) | func (lb *loggerBuilder) Build(audit.LoggerConfig) audit.Logger { method ParseLoggerConfig (line 942) | func (*loggerBuilder) ParseLoggerConfig(json.RawMessage) (audit.Logger... constant typeURLPrefix (line 948) | typeURLPrefix = "grpc.authz.audit_logging/" function createXDSTypedStruct (line 951) | func createXDSTypedStruct(t *testing.T, in map[string]any, name string) ... FILE: test/xds/xds_telemetry_labels_test.go constant serviceNameKey (line 41) | serviceNameKey = "service_name" constant serviceNameKeyCSM (line 42) | serviceNameKeyCSM = "csm.service_name" constant serviceNamespaceKey (line 43) | serviceNamespaceKey = "service_namespace" constant serviceNamespaceKeyCSM (line 44) | serviceNamespaceKeyCSM = "csm.service_namespace_name" constant serviceNameValue (line 45) | serviceNameValue = "grpc-service" constant serviceNamespaceValue (line 46) | serviceNamespaceValue = "grpc-service-namespace" constant backendServiceKey (line 47) | backendServiceKey = "grpc.lb.backend_service" constant backendServiceValue (line 48) | backendServiceValue = "cluster-my-service-client-side-xds" constant localityKey (line 49) | localityKey = "grpc.lb.locality" constant localityValue (line 50) | localityValue = `{region="region-1", zone="zone-1", sub_zone="subzone-1"}` method TestTelemetryLabels (line 57) | func (s) TestTelemetryLabels(t *testing.T) { type fakeStatsHandler (line 105) | type fakeStatsHandler struct method TagConn (line 111) | func (fsh *fakeStatsHandler) TagConn(ctx context.Context, _ *stats.Con... method HandleConn (line 115) | func (fsh *fakeStatsHandler) HandleConn(context.Context, stats.ConnSta... method TagRPC (line 117) | func (fsh *fakeStatsHandler) TagRPC(ctx context.Context, _ *stats.RPCT... method HandleRPC (line 126) | func (fsh *fakeStatsHandler) HandleRPC(_ context.Context, rs stats.RPC... FILE: testdata/grpc_testing_not_regenerated/simple_message_v1.go constant _ (line 22) | _ = proto.ProtoPackageIsVersion3 type SimpleMessage (line 25) | type SimpleMessage struct method Reset (line 32) | func (m *SimpleMessage) Reset() { *m = SimpleMessage{} } method String (line 33) | func (m *SimpleMessage) String() string { return proto.CompactTextStri... method ProtoMessage (line 34) | func (*SimpleMessage) ProtoMessage() {} method Descriptor (line 35) | func (*SimpleMessage) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 39) | func (m *SimpleMessage) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 42) | func (m *SimpleMessage) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 45) | func (m *SimpleMessage) XXX_Merge(src proto.Message) { method XXX_Size (line 48) | func (m *SimpleMessage) XXX_Size() int { method XXX_DiscardUnknown (line 51) | func (m *SimpleMessage) XXX_DiscardUnknown() { method GetData (line 57) | func (m *SimpleMessage) GetData() string { function init (line 64) | func init() { function init (line 68) | func init() { FILE: testdata/grpc_testing_not_regenerated/testv3.go constant _ (line 54) | _ = proto.ProtoPackageIsVersion2 type SearchResponseV3_State (line 56) | type SearchResponseV3_State method String (line 75) | func (x SearchResponseV3_State) String() string { method EnumDescriptor (line 78) | func (SearchResponseV3_State) EnumDescriptor() ([]byte, []int) { retur... constant SearchResponseV3_UNKNOWN (line 59) | SearchResponseV3_UNKNOWN SearchResponseV3_State = 0 constant SearchResponseV3_FRESH (line 60) | SearchResponseV3_FRESH SearchResponseV3_State = 1 constant SearchResponseV3_STALE (line 61) | SearchResponseV3_STALE SearchResponseV3_State = 2 type SearchResponseV3 (line 80) | type SearchResponseV3 struct method Reset (line 85) | func (m *SearchResponseV3) Reset() { *m = SearchRes... method String (line 86) | func (m *SearchResponseV3) String() string { return proto.C... method ProtoMessage (line 87) | func (*SearchResponseV3) ProtoMessage() {} method Descriptor (line 88) | func (*SearchResponseV3) Descriptor() ([]byte, []int) { return fileDes... method GetResults (line 90) | func (m *SearchResponseV3) GetResults() []*SearchResponseV3_Result { method GetState (line 97) | func (m *SearchResponseV3) GetState() SearchResponseV3_State { type SearchResponseV3_Result (line 104) | type SearchResponseV3_Result struct method Reset (line 111) | func (m *SearchResponseV3_Result) Reset() { *m = Se... method String (line 112) | func (m *SearchResponseV3_Result) String() string { return ... method ProtoMessage (line 113) | func (*SearchResponseV3_Result) ProtoMessage() {} method Descriptor (line 114) | func (*SearchResponseV3_Result) Descriptor() ([]byte, []int) { return ... method GetUrl (line 116) | func (m *SearchResponseV3_Result) GetUrl() string { method GetTitle (line 123) | func (m *SearchResponseV3_Result) GetTitle() string { method GetSnippets (line 130) | func (m *SearchResponseV3_Result) GetSnippets() []string { method GetMetadata (line 137) | func (m *SearchResponseV3_Result) GetMetadata() map[string]*SearchResp... type SearchResponseV3_Result_Value (line 144) | type SearchResponseV3_Result_Value struct method Reset (line 152) | func (m *SearchResponseV3_Result_Value) Reset() { *m = SearchR... method String (line 153) | func (m *SearchResponseV3_Result_Value) String() string { return proto... method ProtoMessage (line 154) | func (*SearchResponseV3_Result_Value) ProtoMessage() {} method Descriptor (line 155) | func (*SearchResponseV3_Result_Value) Descriptor() ([]byte, []int) { method GetVal (line 177) | func (m *SearchResponseV3_Result_Value) GetVal() isSearchResponseV3_Re... method GetStr (line 184) | func (m *SearchResponseV3_Result_Value) GetStr() string { method GetInt (line 191) | func (m *SearchResponseV3_Result_Value) GetInt() int64 { method GetReal (line 198) | func (m *SearchResponseV3_Result_Value) GetReal() float64 { method XXX_OneofFuncs (line 206) | func (*SearchResponseV3_Result_Value) XXX_OneofFuncs() (func(msg proto... type isSearchResponseV3_Result_Value_Val (line 159) | type isSearchResponseV3_Result_Value_Val interface type SearchResponseV3_Result_Value_Str (line 163) | type SearchResponseV3_Result_Value_Str struct method isSearchResponseV3_Result_Value_Val (line 173) | func (*SearchResponseV3_Result_Value_Str) isSearchResponseV3_Result_Va... type SearchResponseV3_Result_Value_Int (line 166) | type SearchResponseV3_Result_Value_Int struct method isSearchResponseV3_Result_Value_Val (line 174) | func (*SearchResponseV3_Result_Value_Int) isSearchResponseV3_Result_Va... type SearchResponseV3_Result_Value_Real (line 169) | type SearchResponseV3_Result_Value_Real struct method isSearchResponseV3_Result_Value_Val (line 175) | func (*SearchResponseV3_Result_Value_Real) isSearchResponseV3_Result_V... function _SearchResponseV3_Result_Value_OneofMarshaler (line 214) | func _SearchResponseV3_Result_Value_OneofMarshaler(msg proto.Message, b ... function _SearchResponseV3_Result_Value_OneofUnmarshaler (line 234) | func _SearchResponseV3_Result_Value_OneofUnmarshaler(msg proto.Message, ... function _SearchResponseV3_Result_Value_OneofSizer (line 263) | func _SearchResponseV3_Result_Value_OneofSizer(msg proto.Message) (n int) { type SearchRequestV3 (line 284) | type SearchRequestV3 struct method Reset (line 288) | func (m *SearchRequestV3) Reset() { *m = SearchRequ... method String (line 289) | func (m *SearchRequestV3) String() string { return proto.Co... method ProtoMessage (line 290) | func (*SearchRequestV3) ProtoMessage() {} method Descriptor (line 291) | func (*SearchRequestV3) Descriptor() ([]byte, []int) { return fileDesc... method GetQuery (line 293) | func (m *SearchRequestV3) GetQuery() string { function init (line 300) | func init() { constant _ (line 314) | _ = grpc.SupportPackageIsVersion3 type SearchServiceV3Client (line 318) | type SearchServiceV3Client interface type searchServiceV3Client (line 323) | type searchServiceV3Client struct method Search (line 331) | func (c *searchServiceV3Client) Search(ctx context.Context, in *Search... method StreamingSearch (line 340) | func (c *searchServiceV3Client) StreamingSearch(ctx context.Context, o... function NewSearchServiceV3Client (line 327) | func NewSearchServiceV3Client(cc *grpc.ClientConn) SearchServiceV3Client { type SearchServiceV3_StreamingSearchClient (line 349) | type SearchServiceV3_StreamingSearchClient interface type searchServiceV3StreamingSearchClient (line 355) | type searchServiceV3StreamingSearchClient struct method Send (line 359) | func (x *searchServiceV3StreamingSearchClient) Send(m *SearchRequestV3... method Recv (line 363) | func (x *searchServiceV3StreamingSearchClient) Recv() (*SearchResponse... type SearchServiceV3Server (line 373) | type SearchServiceV3Server interface function RegisterSearchServiceV3Server (line 378) | func RegisterSearchServiceV3Server(s *grpc.Server, srv SearchServiceV3Se... function _SearchServiceV3_Search_Handler (line 382) | func _SearchServiceV3_Search_Handler(srv interface{}, ctx context.Contex... function _SearchServiceV3_StreamingSearch_Handler (line 400) | func _SearchServiceV3_StreamingSearch_Handler(srv interface{}, stream gr... type SearchServiceV3_StreamingSearchServer (line 404) | type SearchServiceV3_StreamingSearchServer interface type searchServiceV3StreamingSearchServer (line 410) | type searchServiceV3StreamingSearchServer struct method Send (line 414) | func (x *searchServiceV3StreamingSearchServer) Send(m *SearchResponseV... method Recv (line 418) | func (x *searchServiceV3StreamingSearchServer) Recv() (*SearchRequestV... function init (line 446) | func init() { proto.RegisterFile("testv3.proto", fileDescriptor0) } FILE: testdata/testdata.go function init (line 28) | func init() { function Path (line 36) | func Path(rel string) string { FILE: trace.go function methodFamily (line 37) | func methodFamily(m string) string { type traceEventLog (line 48) | type traceEventLog interface type traceLog (line 57) | type traceLog interface type traceInfo (line 68) | type traceInfo struct type firstLine (line 76) | type firstLine struct method SetRemoteAddr (line 83) | func (f *firstLine) SetRemoteAddr(addr net.Addr) { method String (line 89) | func (f *firstLine) String() string { constant truncateSize (line 109) | truncateSize = 100 function truncate (line 111) | func truncate(x string, l int) string { type payload (line 119) | type payload struct method String (line 125) | func (p payload) String() string { type fmtStringer (line 132) | type fmtStringer struct method String (line 137) | func (f *fmtStringer) String() string { type stringer (line 141) | type stringer method String (line 143) | func (s stringer) String() string { return string(s) } FILE: trace_notrace.go type notrace (line 32) | type notrace struct method LazyLog (line 34) | func (notrace) LazyLog(x fmt.Stringer, sensitive bool) {} method LazyPrintf (line 35) | func (notrace) LazyPrintf(format string, a ...any) {} method SetError (line 36) | func (notrace) SetError() {} method SetRecycler (line 37) | func (notrace) SetRecycler(f func(any)) {} method SetTraceInfo (line 38) | func (notrace) SetTraceInfo(traceID, spanID uint64) {} method SetMaxEvents (line 39) | func (notrace) SetMaxEvents(m int) {} method Finish (line 40) | func (notrace) Finish() {} function newTrace (line 42) | func newTrace(family, title string) traceLog { function newTraceContext (line 46) | func newTraceContext(ctx context.Context, tr traceLog) context.Context { function newTraceEventLog (line 50) | func newTraceEventLog(family, title string) traceEventLog { FILE: trace_test.go method TestMethodFamily (line 25) | func (s) TestMethodFamily(t *testing.T) { FILE: trace_withtrace.go function newTrace (line 29) | func newTrace(family, title string) traceLog { function newTraceContext (line 33) | func newTraceContext(ctx context.Context, tr traceLog) context.Context { function newTraceEventLog (line 37) | func newTraceEventLog(family, title string) traceEventLog { FILE: version.go constant Version (line 22) | Version = "1.81.0-dev" FILE: xds/bootstrap/bootstrap.go type ChannelCredentials (line 44) | type ChannelCredentials interface function RegisterChannelCredentials (line 59) | func RegisterChannelCredentials(c ChannelCredentials) { function GetChannelCredentials (line 65) | func GetChannelCredentials(name string) ChannelCredentials { type CallCredentials (line 75) | type CallCredentials interface function RegisterCallCredentials (line 90) | func RegisterCallCredentials(c CallCredentials) { function GetCallCredentials (line 96) | func GetCallCredentials(name string) CallCredentials { FILE: xds/bootstrap/bootstrap_test.go constant testCredsBuilderName (line 27) | testCredsBuilderName = "test_creds" function init (line 31) | func init() { type testCredsBuilder (line 35) | type testCredsBuilder struct method Build (line 39) | func (t *testCredsBuilder) Build(config json.RawMessage) (credentials.... method Name (line 44) | func (t *testCredsBuilder) Name() string { function TestRegisterNew (line 48) | func TestRegisterNew(t *testing.T) { function TestChannelCredsBuilders (line 65) | func TestChannelCredsBuilders(t *testing.T) { function TestJWTCallCredsBuilder (line 93) | func TestJWTCallCredsBuilder(t *testing.T) { function TestTlsCredsBuilder (line 107) | func TestTlsCredsBuilder(t *testing.T) { FILE: xds/bootstrap/credentials.go function init (line 31) | func init() { type insecureCredsBuilder (line 41) | type insecureCredsBuilder struct method Build (line 43) | func (i *insecureCredsBuilder) Build(json.RawMessage) (credentials.Bun... method Name (line 47) | func (i *insecureCredsBuilder) Name() string { type tlsCredsBuilder (line 53) | type tlsCredsBuilder struct method Build (line 55) | func (t *tlsCredsBuilder) Build(config json.RawMessage) (credentials.B... method Name (line 59) | func (t *tlsCredsBuilder) Name() string { type googleDefaultCredsBuilder (line 65) | type googleDefaultCredsBuilder struct method Build (line 67) | func (d *googleDefaultCredsBuilder) Build(json.RawMessage) (credential... method Name (line 71) | func (d *googleDefaultCredsBuilder) Name() string { type jwtCallCredsBuilder (line 77) | type jwtCallCredsBuilder struct method Build (line 79) | func (j *jwtCallCredsBuilder) Build(configJSON json.RawMessage) (crede... method Name (line 83) | func (j *jwtCallCredsBuilder) Name() string { FILE: xds/csds/csds.go constant prefix (line 43) | prefix = "[csds-server %p] " function prefixLogger (line 45) | func prefixLogger(s *ClientStatusDiscoveryServer) *internalgrpclog.Prefi... type ClientStatusDiscoveryServer (line 55) | type ClientStatusDiscoveryServer struct method StreamClientStatus (line 69) | func (s *ClientStatusDiscoveryServer) StreamClientStatus(stream v3stat... method FetchClientStatus (line 89) | func (s *ClientStatusDiscoveryServer) FetchClientStatus(_ context.Cont... method buildClientStatusRespForReq (line 97) | func (s *ClientStatusDiscoveryServer) buildClientStatusRespForReq(req ... method Close (line 108) | func (s *ClientStatusDiscoveryServer) Close() {} function NewClientStatusDiscoveryServer (line 61) | func NewClientStatusDiscoveryServer() (*ClientStatusDiscoveryServer, err... FILE: xds/csds/csds_e2e_test.go constant defaultTestTimeout (line 58) | defaultTestTimeout = 5 * time.Second type s (line 60) | type s struct method TestCSDS (line 217) | func (s) TestCSDS(t *testing.T) { method TestCSDS_NACK (line 420) | func (s) TestCSDS_NACK(t *testing.T) { method TestCSDSNoXDSClient (line 676) | func (s) TestCSDSNoXDSClient(t *testing.T) { function Test (line 64) | func Test(t *testing.T) { type nopListenerWatcher (line 72) | type nopListenerWatcher struct method ResourceChanged (line 74) | func (nopListenerWatcher) ResourceChanged(_ *xdsresource.ListenerUpdat... method ResourceError (line 77) | func (nopListenerWatcher) ResourceError(_ error, onDone func()) { method AmbientError (line 80) | func (nopListenerWatcher) AmbientError(_ error, onDone func()) { type nopRouteConfigWatcher (line 84) | type nopRouteConfigWatcher struct method ResourceChanged (line 86) | func (nopRouteConfigWatcher) ResourceChanged(_ *xdsresource.RouteConfi... method ResourceError (line 89) | func (nopRouteConfigWatcher) ResourceError(_ error, onDone func()) { method AmbientError (line 92) | func (nopRouteConfigWatcher) AmbientError(_ error, onDone func()) { type nopClusterWatcher (line 96) | type nopClusterWatcher struct method ResourceChanged (line 98) | func (nopClusterWatcher) ResourceChanged(_ *xdsresource.ClusterUpdate,... method ResourceError (line 101) | func (nopClusterWatcher) ResourceError(_ error, onDone func()) { method AmbientError (line 104) | func (nopClusterWatcher) AmbientError(_ error, onDone func()) { type nopEndpointsWatcher (line 108) | type nopEndpointsWatcher struct method ResourceChanged (line 110) | func (nopEndpointsWatcher) ResourceChanged(_ *xdsresource.EndpointsUpd... method ResourceError (line 113) | func (nopEndpointsWatcher) ResourceError(_ error, onDone func()) { method AmbientError (line 116) | func (nopEndpointsWatcher) AmbientError(_ error, onDone func()) { type blockingListenerWatcher (line 129) | type blockingListenerWatcher struct method ResourceChanged (line 141) | func (w *blockingListenerWatcher) ResourceChanged(_ *xdsresource.Liste... method ResourceError (line 144) | func (w *blockingListenerWatcher) ResourceError(_ error, onDone func()) { method AmbientError (line 147) | func (w *blockingListenerWatcher) AmbientError(_ error, onDone func()) { function newBlockingListenerWatcher (line 134) | func newBlockingListenerWatcher(testCtxDone <-chan struct{}) *blockingLi... function writeOnDone (line 154) | func writeOnDone(testCtxDone <-chan struct{}, onDoneCh chan func(), onDo... function startCSDSServer (line 166) | func startCSDSServer(t *testing.T) string { function startCSDSClientStream (line 192) | func startCSDSClientStream(ctx context.Context, t *testing.T, serverAddr... function makeGenericXdsConfig (line 611) | func makeGenericXdsConfig(typeURL, name, version string, status v3adminp... function checkClientStatusResponse (line 629) | func checkClientStatusResponse(ctx context.Context, stream v3statuspbgrp... FILE: xds/googledirectpath/googlec2p.go constant c2pScheme (line 48) | c2pScheme = "google-c2p" constant c2pAuthority (line 49) | c2pAuthority = "traffic-director-c2p.xds.googleapis.com" constant defaultUniverseDomain (line 51) | defaultUniverseDomain = "googleapis.com" constant zoneURL (line 52) | zoneURL = "http://metadata.google.internal/computeMetada... constant ipv6URL (line 53) | ipv6URL = "http://metadata.google.internal/computeMetada... constant ipv6CapableMetadataName (line 54) | ipv6CapableMetadataName = "TRAFFICDIRECTOR_DIRECTPATH_C2P_IPV6_CAPABLE" constant httpReqTimeout (line 55) | httpReqTimeout = 10 * time.Second constant logPrefix (line 57) | logPrefix = "[google-c2p-resolver]" constant dnsName (line 58) | dnsName, xdsName = "dns", "xds" function init (line 71) | func init() { function SetUniverseDomain (line 92) | func SetUniverseDomain(domain string) error { function getXdsServerURI (line 108) | func getXdsServerURI() string { type c2pResolverWrapper (line 122) | type c2pResolverWrapper struct method Close (line 127) | func (r *c2pResolverWrapper) Close() { type c2pResolverBuilder (line 132) | type c2pResolverBuilder struct method Build (line 134) | func (c2pResolverBuilder) Build(t resolver.Target, cc resolver.ClientC... method Scheme (line 202) | func (b c2pResolverBuilder) Scheme() string { function newNodeConfig (line 206) | func newNodeConfig(zone string, ipv6Capable bool) map[string]any { function newAuthoritiesConfig (line 218) | func newAuthoritiesConfig(serverCfg map[string]any) map[string]any { function newXdsServerConfig (line 224) | func newXdsServerConfig(uri string) map[string]any { function runDirectPath (line 235) | func runDirectPath() bool { FILE: xds/googledirectpath/googlec2p_test.go constant defaultTestTimeout (line 43) | defaultTestTimeout = 5 * time.Second type s (line 45) | type s struct method TestBuildWithBootstrapEnvSet (line 131) | func (s) TestBuildWithBootstrapEnvSet(t *testing.T) { method TestBuildNotOnGCE (line 166) | func (s) TestBuildNotOnGCE(t *testing.T) { method TestBuildXDS (line 201) | func (s) TestBuildXDS(t *testing.T) { method TestBuildFailsWhenCalledWithAuthority (line 357) | func (s) TestBuildFailsWhenCalledWithAuthority(t *testing.T) { method TestSetUniverseDomainNonDefault (line 379) | func (s) TestSetUniverseDomainNonDefault(t *testing.T) { method TestDefaultUniverseDomain (line 476) | func (s) TestDefaultUniverseDomain(t *testing.T) { method TestSetUniverseDomainEmptyString (line 558) | func (s) TestSetUniverseDomainEmptyString(t *testing.T) { method TestCreateMultipleXDSClients (line 573) | func (s) TestCreateMultipleXDSClients(t *testing.T) { function Test (line 49) | func Test(t *testing.T) { type emptyResolver (line 53) | type emptyResolver struct method Build (line 58) | func (er *emptyResolver) Build(_ resolver.Target, _ resolver.ClientCon... method Scheme (line 62) | func (er *emptyResolver) Scheme() string { method Close (line 66) | func (er *emptyResolver) Close() {} function replaceResolvers (line 76) | func replaceResolvers(t *testing.T) { function simulateRunningOnGCE (line 87) | func simulateRunningOnGCE(t *testing.T, gce bool) { function useCleanUniverseDomain (line 95) | func useCleanUniverseDomain(t *testing.T) { function verifyXDSClientBootstrapConfig (line 110) | func verifyXDSClientBootstrapConfig(t *testing.T, pool *xdsclient.Pool, ... function bootstrapConfig (line 185) | func bootstrapConfig(t *testing.T, opts bootstrap.ConfigOptionsForTestin... FILE: xds/googledirectpath/utils.go function getFromMetadata (line 32) | func getFromMetadata(timeout time.Duration, urlStr string) ([]byte, erro... FILE: xds/server.go constant serverPrefix (line 39) | serverPrefix = "[xds-server %p] " type grpcServer (line 51) | type grpcServer interface type GRPCServer (line 63) | type GRPCServer struct method handleServerOptions (line 125) | func (s *GRPCServer) handleServerOptions(opts []grpc.ServerOption) { method defaultServerOptions (line 135) | func (s *GRPCServer) defaultServerOptions() *serverOptions { method loggingServerModeChangeCallback (line 147) | func (s *GRPCServer) loggingServerModeChangeCallback(addr net.Addr, ar... method RegisterService (line 159) | func (s *GRPCServer) RegisterService(sd *grpc.ServiceDesc, ss any) { method GetServiceInfo (line 165) | func (s *GRPCServer) GetServiceInfo() map[string]grpc.ServiceInfo { method Serve (line 176) | func (s *GRPCServer) Serve(lis net.Listener) error { method Stop (line 214) | func (s *GRPCServer) Stop() { method GracefulStop (line 225) | func (s *GRPCServer) GracefulStop() { function NewGRPCServer (line 75) | func NewGRPCServer(opts ...grpc.ServerOption) (*GRPCServer, error) { function xdsUnaryInterceptor (line 235) | func xdsUnaryInterceptor(ctx context.Context, req any, _ *grpc.UnaryServ... function xdsStreamInterceptor (line 244) | func xdsStreamInterceptor(srv any, ss grpc.ServerStream, _ *grpc.StreamS... FILE: xds/server_ext_test.go type s (line 55) | type s struct method TestServer_Basic (line 214) | func (s) TestServer_Basic(t *testing.T) { method TestServer_ConnectionCleanup (line 343) | func (s) TestServer_ConnectionCleanup(t *testing.T) { method TestServer_MultipleServers_DifferentBootstrapConfigurations (line 425) | func (s) TestServer_MultipleServers_DifferentBootstrapConfigurations(t... function Test (line 59) | func Test(t *testing.T) { constant defaultTestTimeout (line 64) | defaultTestTimeout = 10 * time.Second constant defaultTestShortTimeout (line 65) | defaultTestShortTimeout = 10 * time.Millisecond function hostPortFromListener (line 68) | func hostPortFromListener(lis net.Listener) (string, uint32, error) { type servingModeChangeHandler (line 83) | type servingModeChangeHandler struct method modeChangeCallback (line 103) | func (m *servingModeChangeHandler) modeChangeCallback(addr net.Addr, a... function newServingModeChangeHandler (line 95) | func newServingModeChangeHandler(t *testing.T) *servingModeChangeHandler { function createStubServer (line 127) | func createStubServer(t *testing.T, lis net.Listener, opts ...grpc.Serve... function waitForSuccessfulRPC (line 157) | func waitForSuccessfulRPC(ctx context.Context, t *testing.T, cc *grpc.Cl... function waitForFailedRPCWithStatus (line 178) | func waitForFailedRPCWithStatus(ctx context.Context, t *testing.T, cc *g... FILE: xds/server_options.go type serverOptions (line 30) | type serverOptions struct type serverOption (line 35) | type serverOption struct function ServingModeCallback (line 42) | func ServingModeCallback(cb ServingModeCallbackFunc) grpc.ServerOption { type ServingModeCallbackFunc (line 51) | type ServingModeCallbackFunc type ServingModeChangeArgs (line 55) | type ServingModeChangeArgs struct function BootstrapContentsForTesting (line 76) | func BootstrapContentsForTesting(bootstrapContents []byte) grpc.ServerOp... function ClientPoolForTesting (line 98) | func ClientPoolForTesting(pool *xdsclient.Pool) grpc.ServerOption { FILE: xds/server_resource_ext_test.go method TestServer_RouteConfiguration_ResourceNotFound (line 60) | func (s) TestServer_RouteConfiguration_ResourceNotFound(t *testing.T) { method TestServer_RedundantUpdateSuppression (line 166) | func (s) TestServer_RedundantUpdateSuppression(t *testing.T) { method TestServer_FailWithRouteActionRoute (line 275) | func (s) TestServer_FailWithRouteActionRoute(t *testing.T) { method TestServer_ListenerResourceRemoved (line 340) | func (s) TestServer_ListenerResourceRemoved(t *testing.T) { method TestServer_RouteConfiguration_ResourceNACK (line 424) | func (s) TestServer_RouteConfiguration_ResourceNACK(t *testing.T) { method TestServer_MultipleRouteConfigurations (line 500) | func (s) TestServer_MultipleRouteConfigurations(t *testing.T) { function filterChainWontMatch (line 613) | func filterChainWontMatch(t *testing.T, routeName string, addressPrefix ... FILE: xds/server_security_ext_test.go method TestServer_Security_NoCertProvidersInBootstrap_Success (line 59) | func (s) TestServer_Security_NoCertProvidersInBootstrap_Success(t *testi... method TestServer_Security_NoCertificateProvidersInBootstrap_Failure (line 134) | func (s) TestServer_Security_NoCertificateProvidersInBootstrap_Failure(t... method TestServer_Security_WithValidAndInvalidSecurityConfiguration (line 254) | func (s) TestServer_Security_WithValidAndInvalidSecurityConfiguration(t ... FILE: xds/server_serving_mode_ext_test.go method TestServer_ServingModeChanges_SingleServer (line 52) | func (s) TestServer_ServingModeChanges_SingleServer(t *testing.T) { method TestServer_ServingModeChanges_MultipleServers (line 170) | func (s) TestServer_ServingModeChanges_MultipleServers(t *testing.T) { FILE: xds/server_test.go constant defaultTestTimeout (line 55) | defaultTestTimeout = 5 * time.Second constant defaultTestShortTimeout (line 56) | defaultTestShortTimeout = 10 * time.Millisecond constant nonExistentManagementServer (line 57) | nonExistentManagementServer = "non-existent-management-server" type s (line 60) | type s struct method TestNewServer_Success (line 109) | func (s) TestNewServer_Success(t *testing.T) { method TestNewServer_Failure (line 167) | func (s) TestNewServer_Failure(t *testing.T) { method TestRegisterService (line 230) | func (s) TestRegisterService(t *testing.T) { method TestServeSuccess (line 353) | func (s) TestServeSuccess(t *testing.T) { method TestNewServer_ClientCreationFailure (line 476) | func (s) TestNewServer_ClientCreationFailure(t *testing.T) { method TestHandleListenerUpdate_NoXDSCreds (line 489) | func (s) TestHandleListenerUpdate_NoXDSCreds(t *testing.T) { method TestHandleListenerUpdate_ErrorUpdate (line 568) | func (s) TestHandleListenerUpdate_ErrorUpdate(t *testing.T) { method TestServeReturnsErrorAfterClose (line 675) | func (s) TestServeReturnsErrorAfterClose(t *testing.T) { method TestServeAndCloseDoNotRace (line 694) | func (s) TestServeAndCloseDoNotRace(t *testing.T) { function Test (line 64) | func Test(t *testing.T) { type fakeGRPCServer (line 68) | type fakeGRPCServer struct method RegisterService (line 74) | func (f *fakeGRPCServer) RegisterService(*grpc.ServiceDesc, any) { method Serve (line 78) | func (f *fakeGRPCServer) Serve(lis net.Listener) error { method Stop (line 85) | func (f *fakeGRPCServer) Stop() { method GracefulStop (line 88) | func (f *fakeGRPCServer) GracefulStop() { method GetServiceInfo (line 92) | func (f *fakeGRPCServer) GetServiceInfo() map[string]grpc.ServiceInfo { function newFakeGRPCServer (line 96) | func newFakeGRPCServer() *fakeGRPCServer { function generateBootstrapContents (line 104) | func generateBootstrapContents(t *testing.T, nodeID, serverURI string) [... constant fakeProvider1Name (line 252) | fakeProvider1Name = "fake-certificate-provider-1" constant fakeProvider2Name (line 253) | fakeProvider2Name = "fake-certificate-provider-2" function init (line 262) | func init() { type fakeProviderBuilder (line 286) | type fakeProviderBuilder struct method ParseConfig (line 291) | func (b *fakeProviderBuilder) ParseConfig(cfg any) (*certprovider.Buil... method Name (line 305) | func (b *fakeProviderBuilder) Name() string { type fakeProvider (line 311) | type fakeProvider struct method Close (line 317) | func (p *fakeProvider) Close() { function verifyCertProviderNotCreated (line 321) | func verifyCertProviderNotCreated() error { function hostPortFromListener (line 335) | func hostPortFromListener(t *testing.T, lis net.Listener) (string, uint3... FILE: xds/test/eds_resource_missing_test.go constant defaultTestWatchExpiryTimeout (line 52) | defaultTestWatchExpiryTimeout = 500 * time.Millisecond constant defaultTestTimeout (line 53) | defaultTestTimeout = 5 * time.Second type s (line 56) | type s struct method TestEDS_MissingResource (line 68) | func (s) TestEDS_MissingResource(t *testing.T) { method TestEDS_NoEndpointsInResource (line 141) | func (s) TestEDS_NoEndpointsInResource(t *testing.T) { function Test (line 60) | func Test(t *testing.T) { FILE: xds/xds.go function init (line 54) | func init() { function NewXDSResolverWithConfigForTesting (line 97) | func NewXDSResolverWithConfigForTesting(bootstrapConfig []byte) (resolve...