Versions in this module Expand all Collapse all v1 v1.0.1 May 18, 2017 Changes in this version + var CockroachBin = func() string { ... }() + func HTTPPort(nodeIdx int) int + func IsUnavailableError(err error) bool + func RPCPort(nodeIdx int) int + type Cluster struct + Clients []*client.DB + DB []*gosql.DB + Nodes []*Node + Status []serverpb.StatusClient + func New(size int, separateAddrs bool) *Cluster + func (c *Cluster) Close() + func (c *Cluster) IPAddr(nodeIdx int) string + func (c *Cluster) RPCAddr(nodeIdx int) string + func (c *Cluster) RandNode(f func(int) int) int + func (c *Cluster) Split(nodeIdx int, splitKey roachpb.Key) error + func (c *Cluster) Start(db string, numWorkers int, binary string, allNodeArgs []string, ...) + func (c *Cluster) TransferLease(nodeIdx int, r *rand.Rand, key roachpb.Key) (bool, error) + func (c *Cluster) UpdateZoneConfig(rangeMinBytes, rangeMaxBytes int64) + type Node struct + func (n *Node) Alive() bool + func (n *Node) Kill() + func (n *Node) Start()