NewClientV3 creates a new grpc client connection to the member
(memberIndex int)
| 1510 | |
| 1511 | // NewClientV3 creates a new grpc client connection to the member |
| 1512 | func (c *Cluster) NewClientV3(memberIndex int) (*clientv3.Client, error) { |
| 1513 | return NewClientV3(c.Members[memberIndex]) |
| 1514 | } |
| 1515 | |
| 1516 | func makeClients(t testutil.TB, clus *Cluster, clients *[]*clientv3.Client, chooseMemberIndex func() int) func() *clientv3.Client { |
| 1517 | var mu sync.Mutex |