import "k8s.io/apiserver/pkg/server/options/encryptionconfig"
func GetAESPrefixTransformer(config *apiserverconfig.AESConfiguration, fn BlockTransformerFunc, prefix string) (value.PrefixTransformer, error)
GetAESPrefixTransformer returns a prefix transformer from the provided configuration. Returns an AES transformer based on the provided prefix and block transformer.
func GetKMSPluginHealthzCheckers(filepath string) ([]healthz.HealthChecker, error)
GetKMSPluginHealthzCheckers extracts KMSPluginProbes from the EncryptionConfig.
func GetPrefixTransformers(config *apiserverconfig.ResourceConfiguration) ([]value.PrefixTransformer, error)
GetPrefixTransformers constructs and returns the appropriate prefix transformers for the passed resource using its configuration.
func GetSecretboxPrefixTransformer(config *apiserverconfig.SecretboxConfiguration) (value.PrefixTransformer, error)
GetSecretboxPrefixTransformer returns a prefix transformer from the provided configuration
func GetTransformerOverrides(filepath string) (map[schema.GroupResource]value.Transformer, error)
GetTransformerOverrides returns the transformer overrides by reading and parsing the encryption provider configuration file
func ParseEncryptionConfiguration(f io.Reader) (map[schema.GroupResource]value.Transformer, error)
ParseEncryptionConfiguration parses configuration data and returns the transformer overrides
type BlockTransformerFunc func(cipher.Block) value.Transformer
BlockTransformerFunc takes an AES cipher block and returns a value transformer.
Package encryptionconfig imports 23 packages (graph) and is imported by 36 packages. Updated 2019-12-09. Refresh now. Tools for package owners.