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