package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
EncryptionOptionsForStore takes a store directory and returns its EncryptionOptions if a matching entry if found in the StoreEncryptionSpecList.
NewStoreEncryptionSpec parses the string passed in and returns a new StoreEncryptionSpec if parsing succeeds.
PopulateWithEncryptionOpts iterates through the EncryptionSpecList and looks for matching paths in the StoreSpecList and WAL failover config.
# Constants
1 week, give or take time changes.
# Structs
EncryptionSpecList contains a slice of StoreEncryptionSpecs that implements pflag's value interface.
StoreEncryptionSpec contains the details that can be specified in the cli via the --enterprise-encryption flag.