Versions in this module Expand all Collapse all v1 v1.0.0 Jan 8, 2021 Changes in this version + const RequestWaitTimeout + const UrlScheme + const UrlSchemeTLS + func MustNewHTTPClient(t *testing.T, eps []string, tls *transport.TLSInfo) client.Client + func NewClientV3(m *member) (*clientv3.Client, error) + func NewCluster(t *testing.T, size int) *cluster + func NewClusterByConfig(t *testing.T, cfg *ClusterConfig) *cluster + func NewListenerWithAddr(t *testing.T, addr string) net.Listener + type ClusterConfig struct + ClientMaxCallRecvMsgSize int + ClientMaxCallSendMsgSize int + ClientTLS *transport.TLSInfo + DiscoveryURL string + GRPCKeepAliveInterval time.Duration + GRPCKeepAliveMinTime time.Duration + GRPCKeepAliveTimeout time.Duration + MaxRequestBytes uint + MaxTxnOps uint + PeerTLS *transport.TLSInfo + QuotaBackendBytes int64 + Size int + SkipCreatingClient bool + UseGRPC bool + type ClusterV3 struct + func NewClusterV3(t *testing.T, cfg *ClusterConfig) *ClusterV3 + func (c *ClusterV3) Client(i int) *clientv3.Client + func (c *ClusterV3) RandClient() *clientv3.Client + func (c *ClusterV3) TakeClient(idx int) + func (c *ClusterV3) Terminate(t *testing.T) + func (c ClusterV3) AddMember(t *testing.T) + func (c ClusterV3) HTTPMembers() []client.Member + func (c ClusterV3) Launch(t *testing.T) + func (c ClusterV3) RemoveMember(t *testing.T, id uint64) + func (c ClusterV3) URL(i int) string + func (c ClusterV3) URLs() []string + func (c ClusterV3) WaitLeader(t *testing.T) int + func (c ClusterV3) WaitNoLeader(t *testing.T) + type SortableMemberSliceByPeerURLs []client.Member + func (p SortableMemberSliceByPeerURLs) Len() int + func (p SortableMemberSliceByPeerURLs) Less(i, j int) bool + func (p SortableMemberSliceByPeerURLs) Swap(i, j int) Incompatible versions in this module v3.3.27+incompatible Aug 25, 2020 v2.3.8+incompatible Feb 16, 2017