package
2.1.0-alpha.20180702+incompatible
Repository: https://github.com/rmloveland/cockroach.git
Documentation: pkg.go.dev
# Functions
AddCmd adds a command to the cli.
AddPersistentPreRunE add 'fn' as a persistent pre-run function to 'cmd'.
BoolFlag creates a bool flag and registers it with the FlagSet.
DurationFlag creates a duration flag and registers it with the FlagSet.
GetServerCfgStores provides direct public access to the StoreSpecList inside serverCfg.
IntFlag creates an int flag and registers it with the FlagSet.
Main is the entry point for the cli, with a single line calling it intended to be the body of an action package main `main` func elsewhere.
MaybeDecorateGRPCError catches grpc errors and provides a more helpful error message to the user.
Run ...
StringFlag creates a string flag and registers it with the FlagSet.
TestingReset resets global mutable state so that Run can be called multiple times from the same test process.
VarFlag creates a custom-variable flag and registers it with the FlagSet.
# Variables
DebugCmdsForRocksDB lists debug commands that access rocksdb.
PopulateRocksDBConfigHook is a callback set by CCL code.
StartCmd starts a node by initializing the stores and joining the cluster.