Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByMemberNamePartitionAndSegment ¶ added in v1.16.100
type ByMemberNamePartitionAndSegment []*consulapi.AgentMember
ByMemberNamePartitionAndSegment sorts members by name with a stable sort.
1. servers go at the top 2. members of the default partition go next (including segments) 3. members of partitions follow
func (ByMemberNamePartitionAndSegment) Len ¶ added in v1.16.100
func (m ByMemberNamePartitionAndSegment) Len() int
func (ByMemberNamePartitionAndSegment) Less ¶ added in v1.16.100
func (m ByMemberNamePartitionAndSegment) Less(i, j int) bool
func (ByMemberNamePartitionAndSegment) Swap ¶ added in v1.16.100
func (m ByMemberNamePartitionAndSegment) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.