package
1.4.7
Repository: https://github.com/couchbase/cbgt.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
A fake or mock metakv server for dev/testing purposes.

# Functions

No description provided by the author
No description provided by the author
Failover promotes replicas to primary for the remaining nodes.
No description provided by the author
MainCfg connects to a Cfg provider as a server peer (e.g., as a cbgt.Manager).
No description provided by the author
MainCfgClient helper function connects to a Cfg provider as a client (not as a known cbgt.Manager server or peer).
MainCfgEx connects to a Cfg provider as a server peer (e.g., as a cbgt.Manager), with more options.
No description provided by the author
No description provided by the author
No description provided by the author
MainUUID is a helper function for cmd-line tool developers, that reuses a previous "baseName.uuid" file from the dataDir if it exists, or generates a brand new UUID (and persists it).
ParseOptions parses an options string and environment variable.
ParseOptionsBool parses the options "name-suffix" and then "name" as boolean (strconv.ParseBool), otherwise returns defaultVal.
PlannerSteps helps command-line tools implement the planner steps: * "unregister" - unregisters nodesRemove from the cfg.
The user may have informed the cmd about application specific index types, which we need to register (albeit with fake, "error-only" implementations) because the cbgt's planner (cbgt.CalcPlan()) has safety checks which skips any unknown, unregistered index types.

# Variables

No description provided by the author