Documentation ¶
Index ¶
- type Member
- type MemberSet
- func (ms MemberSet) Add(m *Member)
- func (ms MemberSet) ClientURLs() []string
- func (ms MemberSet) Diff(other MemberSet) MemberSet
- func (ms MemberSet) PeerURLPairs() []string
- func (ms MemberSet) PickOne() *Member
- func (ms MemberSet) Remove(name string)
- func (ms MemberSet) Size() int
- func (ms MemberSet) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Member ¶
type Member struct { Name string // ID field can be 0, which is unknown ID. // We know the ID of a member when we get the member information from etcd, // but not from Kubernetes pod list. ID uint64 // AdditionalPeerURL is only used for bootstrapping a member for seed cluster migration. AdditionalPeerURL string }
func (*Member) ClientAddr ¶
type MemberSet ¶
func NewMemberSet ¶
func (MemberSet) ClientURLs ¶
func (MemberSet) PeerURLPairs ¶
Click to show internal directories.
Click to hide internal directories.