package
19.1.0-beta.20190304+incompatible
Repository: https://github.com/darinpp/cockroach.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
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 makes a KeyRewriter from a map of descs keyed by original ID.
MakeKeyRewriterFromRekeys makes a KeyRewriter from Rekey protos.
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.
ParseWorkloadConfig parses a workload config URI to a proto config.
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.
CredentialsParam is the query parameter for the base64-encoded contents of the Google Application Credentials JSON file.
GoogleBillingProjectParam is the query parameter for the billing project in a gs 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.
S3TempTokenParam is the query parameter for session_token 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.