Lines Matching refs:dopts
470 opt(&cc.dopts)
474 if cc.dopts.channelzParentID != 0 {
475 cc.channelzID = channelz.RegisterChannel(cc, cc.dopts.channelzParentID, target)
481 if !cc.dopts.insecure {
482 if cc.dopts.copts.TransportCredentials == nil {
486 if cc.dopts.copts.TransportCredentials != nil {
489 for _, cd := range cc.dopts.copts.PerRPCCredentials {
496 cc.mkp = cc.dopts.copts.KeepaliveParams
498 if cc.dopts.copts.Dialer == nil {
499 cc.dopts.copts.Dialer = newProxyDialer(
507 if cc.dopts.copts.UserAgent != "" {
508 cc.dopts.copts.UserAgent += " " + grpcUA
510 cc.dopts.copts.UserAgent = grpcUA
513 if cc.dopts.timeout > 0 {
515 ctx, cancel = context.WithTimeout(ctx, cc.dopts.timeout)
532 if cc.dopts.scChan != nil {
535 case sc, ok := <-cc.dopts.scChan:
543 if cc.dopts.bs == nil {
544 cc.dopts.bs = backoff.Exponential{
548 if cc.dopts.resolverBuilder == nil {
552 cc.dopts.resolverBuilder = resolver.Get(cc.parsedTarget.Scheme)
553 if cc.dopts.resolverBuilder == nil {
562 cc.dopts.resolverBuilder = resolver.Get(cc.parsedTarget.Scheme)
567 creds := cc.dopts.copts.TransportCredentials
570 } else if cc.dopts.insecure && cc.dopts.copts.Authority != "" {
571 cc.authority = cc.dopts.copts.Authority
578 if cc.dopts.scChan != nil && !scSet {
581 case sc, ok := <-cc.dopts.scChan:
589 if cc.dopts.scChan != nil {
594 if creds := cc.dopts.copts.TransportCredentials; creds != nil {
599 Dialer: cc.dopts.copts.Dialer,
618 if cc.dopts.block {
685 dopts dialOptions member
736 case sc, ok := <-cc.dopts.scChan:
766 if cc.dopts.balancerBuilder == nil {
800 cc.balancerWrapper = newCCBalancerWrapper(cc, cc.dopts.balancerBuilder, cc.balancerBuildOpts)
824 if cc.dopts.balancerBuilder != nil {
865 dopts: cc.dopts,
1026 if cc.dopts.disableServiceConfig {
1119 dopts dialOptions member
1156 v := 2 * ac.dopts.copts.KeepaliveParams.Time
1208 ac.dopts.copts.KeepaliveParams = ac.cc.mkp
1217 backoffFor := ac.dopts.bs.Backoff(connectRetryNum) // time.Duration.
1249 copts := ac.dopts.copts
1307 if ac.dopts.waitForHandshake {