RegisterRLSChildPolicy registers a balancer builder with the given name, to be used as a child policy for the RLS LB policy. The child policy uses a pickfirst balancer under the hood to send all traffic to the single backend specified by the `RLSChildPolicyTargetNameField` field in its configuratio
(name string, bf *BalancerFuncs)
| 57 | // to the single backend specified by the `RLSChildPolicyTargetNameField` field |
| 58 | // in its configuration which looks like: {"Backend": "Backend-address"}. |
| 59 | func RegisterRLSChildPolicy(name string, bf *BalancerFuncs) { |
| 60 | balancer.Register(bb{name: name, bf: bf}) |
| 61 | } |
| 62 | |
| 63 | type bb struct { |
| 64 | name string |