package
2.1.0-alpha.20180416+incompatible
Repository: https://github.com/coyle/cockroach.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddSSTable retries db.AddSSTable if retryable errors occur.
ExportStorageConfFromURI generates an ExportStorage config from a URI string.
ExportStorageFromURI returns an ExportStorage for the given URI.
MakeExportStorage creates an ExportStorage from the given config.
MakeKeyRewriter creates a KeyRewriter.
MakeLocalStorageURI converts a local path (absolute or relative) to a valid nodelocal URI.
MaxImportBatchSize determines the maximum size of the payload in an AddSSTable request.
SanitizeExportStorageURI returns the export storage URI with sensitive credentials stripped.
SHA512ChecksumData returns the SHA512 checksum of data.

# Constants

AuthParam is the query parameter for the cluster settings named key in a URI.
AzureAccountKeyParam is the query parameter for account_key in an azure URI.
AzureAccountNameParam is the query parameter for account_name in an azure URI.
S3AccessKeyParam is the query parameter for access_key in an S3 URI.
S3EndpointParam is the query parameter for the 'endpoint' in an S3 URI.
S3RegionParam is the query parameter for the 'endpoint' in an S3 URI.
S3SecretParam is the query parameter for the 'secret' in an S3 URI.

# Structs

KeyRewriter rewrites old table IDs to new table IDs.

# Interfaces

ExportStorage provides functions to read and write files in some storage, namely various cloud storage providers, for example to store backups.