Versions in this module Expand all Collapse all v1 v1.0.0 Jun 4, 2019 Changes in this version + func IsInvalidConfig(err error) bool + func IsKeyNotFound(err error) bool + func IsKeyScheduledForDeletion(err error) bool + type Encrypter struct + func NewEncrypter(c *EncrypterConfig) (*Encrypter, error) + func (e *Encrypter) EnsureCreatedEncryptionKey(ctx context.Context, cr v1alpha1.Cluster) error + func (e *Encrypter) EnsureDeletedEncryptionKey(ctx context.Context, cr v1alpha1.Cluster) error + func (e *Encrypter) IsKeyNotFound(err error) bool + func (k *Encrypter) Encrypt(ctx context.Context, key, plaintext string) (string, error) + func (k *Encrypter) EncryptionKey(ctx context.Context, cr v1alpha1.Cluster) (string, error) + type EncrypterConfig struct + InstallationName string + Logger micrologger.Logger + type KMSClient interface + Encrypt func(*kms.EncryptInput) (*kms.EncryptOutput, error)