package
20.1.0-beta.2+incompatible
Repository: https://github.com/jbowens/cockroach.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AppearsEncrypted checks if passed bytes begin with an encryption preamble.
DecryptFile decrypts a file encrypted by EncryptFile, using the supplied key and reading the IV from a prefix of the file.
EncryptFile encrypts a file with the supplied key and a randomly chosen IV which is prepended in a header on the returned ciphertext.
GenerateKey generates a key for the supplied passphrase and salt.
GenerateSalt generates a 16 byte random salt.
GetAllRevisions scans all keys between startKey and endKey getting all revisions between startTime and endTime.
ImportBufferConfigSizes determines the minimum, maximum and step size for the BulkAdder buffer used in import.
MakeKeyRewriter makes a KeyRewriter from a map of descs keyed by original ID.
MakeKeyRewriterFromRekeys makes a KeyRewriter from Rekey protos.
MaxImportBatchSize determines the maximum size of the payload in an AddSSTable request.
SHA512ChecksumData returns the SHA512 checksum of data.

# Variables

ExportRequestMaxAllowedFileSizeOverage controls the maximum size in excess of the target file size which an exported SST may be.
ExportRequestTargetFileSize controls the target file size for SSTs created during backups.

# Structs

KeyRewriter rewrites old table IDs to new table IDs.
VersionedValues is similar to roachpb.KeyValue except instead of just the value at one time, it contains all the retrieved revisions of the value for the key, with the value timestamps set accordingly.