package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Packages

Package tc contains utility methods for using the Linux tc (traffic control) command to mess with the network links between cockroach nodes running on the local machine.

# Functions

IsUnavailableError returns true iff the error corresponds to a GRPC connection unavailable error.
MakePerNodeFixedPortsCfg makes a PerNodeCfg map of the given number of nodes with odd ports starting at 26257 for the RPC endpoint, and even points for the ui.
New creates a Cluster with the given configuration.
SourceBinary returns the path of the cockroach binary that was built with the local source.

# Structs

Cluster holds the state for a local cluster, providing methods for common operations, access to the underlying nodes and per-node KV and SQL clients.
A ClusterConfig holds the configuration for a Cluster.
LocalCluster implements cluster.Cluster.
Node holds the state for a single node in a local cluster and provides methods for starting, pausing, resuming and stopping the node.
NodeConfig is a configuration for a node in a Cluster.