Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByMemberNamePartitionAndSegment ¶
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 ¶
func (m ByMemberNamePartitionAndSegment) Len() int
func (ByMemberNamePartitionAndSegment) Less ¶
func (m ByMemberNamePartitionAndSegment) Less(i, j int) bool
func (ByMemberNamePartitionAndSegment) Swap ¶
func (m ByMemberNamePartitionAndSegment) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.