customLBB wraps a round robin LB policy but provides a ClientConn wrapper to add an ORCA OOB report producer for all created SubConns.
| 47 | // customLBB wraps a round robin LB policy but provides a ClientConn wrapper to |
| 48 | // add an ORCA OOB report producer for all created SubConns. |
| 49 | type customLBB struct{} |
| 50 | |
| 51 | func (customLBB) Build(cc balancer.ClientConn, opts balancer.BuildOptions) balancer.Balancer { |
| 52 | return balancer.Get(roundrobin.Name).Build(&ccWrapper{ClientConn: cc}, opts) |
nothing calls this directly
no outgoing calls
no test coverage detected