package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
AnalyzeClientURL is a helper that processes a connection URL passed on the command line, integrates any defaults set by earlier command-line arguments, then calls callbacks depending on which details were found in the new URL.
MakeClientConnURL constructs a connection URL from the given input options.
MakeURLForServer constructs a URL for the postgres endpoint, given a server config.
# Structs
ClientOptions represents configurable options from the command line.
ClientSecurityOptions defines the configurable connection parameters used as input to compute the security parameters of connection URLs.
ServerParameters is used to pass a copy of the parameters computed when a SQL server starts up, to the input of PGURL(), to create a connection URL that clients can connect to.
# Interfaces
CLIFlagInterfaceForClientURL is an interface to the state of the variables attached to discrete flags (e.g.