MCPcopy
hub / github.com/grpc/grpc-go / customLBB

Struct customLBB

orca/producer_test.go:49–49  ·  view source on GitHub ↗

customLBB wraps a round robin LB policy but provides a ClientConn wrapper to add an ORCA OOB report producer for all created SubConns.

Source from the content-addressed store, hash-verified

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.
49type customLBB struct{}
50
51func (customLBB) Build(cc balancer.ClientConn, opts balancer.BuildOptions) balancer.Balancer {
52 return balancer.Get(roundrobin.Name).Build(&ccWrapper{ClientConn: cc}, opts)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected