package
0.0.0-20160920194302-ad86efcaa21b
Repository: https://github.com/a10y/cockroach.git
Documentation: pkg.go.dev

# Functions

DefaultRetryOptions should be used for retrying most network-dependent operations.

# Constants

DefaultHeartbeatInterval is how often heartbeats are sent from the transaction coordinator to a live transaction.
The default port for HTTP-for-humans.
From IANA Service Name and Transport Protocol Port Number Registry.
DefaultRaftTickInterval is the default resolution of the Raft timer.
MinimumStoreSize is the smallest size in bytes that a store can have.
NetworkTimeout is the timeout used for network operations.
ReplicationAuto means that ranges are replicated according to the production default zone config.
ReplicationManual means that the split and replication queues of all servers are stopped, and the test must manually control splitting and replication through the TestServer.

# Variables

DefaultTestStoreSpec is just a single in memory store of 100 MiB with no special attributes.

# Structs

Context is embedded by server.Context.
StoreSpec contains the details that can be specified in the cli pertaining to the --store flag.
StoreSpecList contains a slice of StoreSpecs that implements pflag's value interface.
TestClusterArgs contains the parameters one can set when creating a test cluster.
TestingKnobs contains facilities for controlling various parts of the system for testing.
TestServerArgs contains the parameters one can set when creating a test server.

# Interfaces

ModuleTestingKnobs is an interface for testing knobs for a submodule.

# Type aliases

JoinListType is a slice of strings that implements pflag's value interface.
TestClusterReplicationMode represents the replication settings for a TestCluster.