Documentation ¶
Overview ¶
Package pickfirst contains the pick_first load balancing policy.
Index ¶
Constants ¶
View Source
const (
// Name is the name of the pick_first balancer.
Name = "pick_first"
)
Variables ¶
This section is empty.
Functions ¶
func ShuffleAddressListForTesting ¶
ShuffleAddressListForTesting pseudo-randomizes the order of addresses. n is the number of elements. swap swaps the elements with indexes i and j.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package internal contains code internal to the pickfirst package.
|
Package internal contains code internal to the pickfirst package. |
Package pickfirstleaf contains the pick_first load balancing policy which will be the universal leaf policy after dualstack changes are implemented.
|
Package pickfirstleaf contains the pick_first load balancing policy which will be the universal leaf policy after dualstack changes are implemented. |
Click to show internal directories.
Click to hide internal directories.