Documentation ¶
Index ¶
Constants ¶
View Source
const AnnotationKeyCreatedByBackupEntry = "backup.gardener.cloud/created-by"
AnnotationKeyCreatedByBackupEntry is a constant for the key of an annotation on the etcd-backup Secret whose value contains the name of the BackupEntry object that created the Secret.
Variables ¶
This section is empty.
Functions ¶
func NewActuator ¶
func NewActuator(mgr manager.Manager, backupEntryDelegate BackupEntryDelegate) backupentry.Actuator
NewActuator creates a new Actuator that updates the status of the handled BackupEntry resources.
Types ¶
type BackupEntryDelegate ¶
type BackupEntryDelegate interface { // Delete deletes the BackupBucket. Delete(context.Context, logr.Logger, *extensionsv1alpha1.BackupEntry) error // GetETCDSecretData returns the updated secret data as per provider requirement. GetETCDSecretData(context.Context, logr.Logger, *extensionsv1alpha1.BackupEntry, map[string][]byte) (map[string][]byte, error) }
BackupEntryDelegate preforms provider specific operation with BackupBucket resources.
Click to show internal directories.
Click to hide internal directories.