Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RemoteStorageFinalizer is the finalizer name used when hardDelete policy is used RemoteStorageFinalizer = "backups.mysql.presslabs.org/remote-storage-cleanup" // RemoteDeletionFailedEvent is the event that is set on the cluster when the cleanup job fails RemoteDeletionFailedEvent = "RemoteDeletionFailed" )
Variables ¶
This section is empty.
Functions ¶
func NewDeleteJobSyncer ¶ added in v0.2.7
func NewDeleteJobSyncer(c client.Client, s *runtime.Scheme, backup *mysqlbackup.MysqlBackup, cluster *mysqlcluster.MysqlCluster, opt *options.Options, r record.EventRecorder) syncer.Interface
NewDeleteJobSyncer returns a job syncer for hard deletion job. The job which removes the backup from remote storage.
func NewJobSyncer ¶
func NewJobSyncer(c client.Client, s *runtime.Scheme, backup *mysqlbackup.MysqlBackup, cluster *mysqlcluster.MysqlCluster, opt *options.Options) syncer.Interface
NewJobSyncer returns a syncer for backup jobs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.