type Member … type MemberListResponse … type MemberAddResponse … type MemberRemoveResponse … type MemberUpdateResponse … type MemberPromoteResponse … type Cluster … type cluster … func NewCluster(c *Client) Cluster { … } func NewClusterFromClusterClient(remote pb.ClusterClient, c *Client) Cluster { … } func (c *cluster) MemberAdd(ctx context.Context, peerAddrs []string) (*MemberAddResponse, error) { … } func (c *cluster) MemberAddAsLearner(ctx context.Context, peerAddrs []string) (*MemberAddResponse, error) { … } func (c *cluster) memberAdd(ctx context.Context, peerAddrs []string, isLearner bool) (*MemberAddResponse, error) { … } func (c *cluster) MemberRemove(ctx context.Context, id uint64) (*MemberRemoveResponse, error) { … } func (c *cluster) MemberUpdate(ctx context.Context, id uint64, peerAddrs []string) (*MemberUpdateResponse, error) { … } func (c *cluster) MemberList(ctx context.Context) (*MemberListResponse, error) { … } func (c *cluster) MemberPromote(ctx context.Context, id uint64) (*MemberPromoteResponse, error) { … }