apiserver: k8s.io/apiserver/pkg/server/options/encryptionconfig Index | Files

package encryptionconfig

import "k8s.io/apiserver/pkg/server/options/encryptionconfig"

Index

Package Files

config.go

func GetAESPrefixTransformer Uses

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 Uses

func GetKMSPluginHealthzCheckers(filepath string) ([]healthz.HealthChecker, error)

GetKMSPluginHealthzCheckers extracts KMSPluginProbes from the EncryptionConfig.

func GetPrefixTransformers Uses

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 Uses

func GetSecretboxPrefixTransformer(config *apiserverconfig.SecretboxConfiguration) (value.PrefixTransformer, error)

GetSecretboxPrefixTransformer returns a prefix transformer from the provided configuration

func GetTransformerOverrides Uses

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 Uses

func ParseEncryptionConfiguration(f io.Reader) (map[schema.GroupResource]value.Transformer, error)

ParseEncryptionConfiguration parses configuration data and returns the transformer overrides

type BlockTransformerFunc Uses

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.