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

# Functions

AbsCertsDir returns the absolute path to the certificate directory.
Consistent performs a replication consistency check on all the ranges in the cluster.
CreateDocker creates a Docker-based cockroach cluster.
GenerateCerts generates CA and client certificates and private keys to be used with a cluster.

# Constants

CockroachBinaryInContainer is the container-side path to the CockroachDB binary.
DefaultTCP is the default SQL/RPC port specification.

# Variables

CockroachBinary is the path to the host-side binary to use.
HTTPClient is an http.Client configured for querying a cluster.

# Structs

Container provides the programmatic interface for a single docker container.
DockerCluster manages a local cockroach cluster running on docker.
Event for a node containing a node index and the type of event.

# Interfaces

A Cluster is an abstraction away from a concrete cluster deployment (i.e.