Documentation ¶
Index ¶
- Constants
- type Encrypter
- type EncrypterMock
- func (e *EncrypterMock) Encrypt(ctx context.Context, key, plaintext string) (string, error)
- func (e *EncrypterMock) EncryptionKey(ctx context.Context, customObject infrastructurev1alpha2.AWSCluster) (string, error)
- func (e *EncrypterMock) EnsureCreatedEncryptionKey(context.Context, infrastructurev1alpha2.AWSCluster) error
- func (e *EncrypterMock) EnsureDeletedEncryptionKey(context.Context, infrastructurev1alpha2.AWSCluster) error
- func (e *EncrypterMock) IsKeyNotFound(err error) bool
- type Interface
- type Resource
- type RoleManager
Constants ¶
View Source
const ( KMSBackend = "kms" VaultBackend = "vault" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncrypterMock ¶
func (*EncrypterMock) EncryptionKey ¶
func (e *EncrypterMock) EncryptionKey(ctx context.Context, customObject infrastructurev1alpha2.AWSCluster) (string, error)
func (*EncrypterMock) EnsureCreatedEncryptionKey ¶
func (e *EncrypterMock) EnsureCreatedEncryptionKey(context.Context, infrastructurev1alpha2.AWSCluster) error
func (*EncrypterMock) EnsureDeletedEncryptionKey ¶
func (e *EncrypterMock) EnsureDeletedEncryptionKey(context.Context, infrastructurev1alpha2.AWSCluster) error
func (*EncrypterMock) IsKeyNotFound ¶
func (e *EncrypterMock) IsKeyNotFound(err error) bool
type Resource ¶
type Resource interface { EnsureCreatedEncryptionKey(context.Context, infrastructurev1alpha2.AWSCluster) error EnsureDeletedEncryptionKey(context.Context, infrastructurev1alpha2.AWSCluster) error }
type RoleManager ¶
type RoleManager interface { EnsureCreatedAuthorizedIAMRoles(context.Context, infrastructurev1alpha2.AWSCluster) error EnsureDeletedAuthorizedIAMRoles(context.Context, infrastructurev1alpha2.AWSCluster) error }
Click to show internal directories.
Click to hide internal directories.