Versions in this module Expand all Collapse all v0 v0.1.0 Jul 22, 2019 Changes in this version + const KMSBackend + const VaultBackend + type Encrypter interface + Encrypt func(ctx context.Context, key, plaintext string) (string, error) + EncryptionKey func(ctx context.Context, customObject v1alpha1.Cluster) (string, error) + IsKeyNotFound func(error) bool + type EncrypterMock struct + IsError bool + KeyID string + KeyName string + func (e *EncrypterMock) Encrypt(ctx context.Context, key, plaintext string) (string, error) + func (e *EncrypterMock) EncryptionKey(ctx context.Context, customObject v1alpha1.Cluster) (string, error) + func (e *EncrypterMock) EnsureCreatedEncryptionKey(context.Context, v1alpha1.Cluster) error + func (e *EncrypterMock) EnsureDeletedEncryptionKey(context.Context, v1alpha1.Cluster) error + func (e *EncrypterMock) IsKeyNotFound(err error) bool + type Interface interface + type Resource interface + EnsureCreatedEncryptionKey func(context.Context, v1alpha1.Cluster) error + EnsureDeletedEncryptionKey func(context.Context, v1alpha1.Cluster) error + type RoleManager interface + EnsureCreatedAuthorizedIAMRoles func(context.Context, v1alpha1.Cluster) error + EnsureDeletedAuthorizedIAMRoles func(context.Context, v1alpha1.Cluster) error