Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
Filter is a function type that takes balancer.PickInfo and resolver.Address and returns a bool indicating whether the address should be included.
type GroupFilterBuilder ¶
type GroupFilterBuilder struct{}
GroupFilterBuilder constructs a Filter based on group attributes.
func (GroupFilterBuilder) Build ¶
func (g GroupFilterBuilder) Build() Filter
Build returns a Filter function that filters resolver.Addresses based on the 'group' attribute in the context of balancer.PickInfo.
Click to show internal directories.
Click to hide internal directories.