PickFirstConfig is a pick first config without shuffling enabled.
const PickFirstConfig = "[{\"pick_first\": {}}]"
func NewBalancer(cc balancer.ClientConn, opts balancer.BuildOptions) balancer.Balancer
NewBalancer returns a load balancing policy that manages homogeneous child policies each owning a single endpoint.
func ParseConfig(cfg json.RawMessage) (serviceconfig.LoadBalancingConfig, error)
ChildState is the balancer state of a child along with the endpoint which identifies the child balancer.
type ChildState struct { Endpoint resolver.Endpoint State balancer.State }
func ChildStatesFromPicker(picker balancer.Picker) []ChildState
ChildStatesFromPicker returns the state of all the children managed by the endpoint sharding balancer that created this picker.