Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backup ¶ added in v1.4.0
type Backup struct {
// contains filtered or unexported fields
}
func (*Backup) Start ¶ added in v1.4.0
func (b *Backup) Start(ctx context.Context, k8sclient client.Client, cluster *api.PerconaServerMongoDB, cr *api.PerconaServerMongoDBBackup) (api.PerconaServerMongoDBBackupStatus, error)
Start requests backup on PBM
func (*Backup) Status ¶ added in v1.4.0
func (b *Backup) Status(ctx context.Context, cr *api.PerconaServerMongoDBBackup) (api.PerconaServerMongoDBBackupStatus, error)
Status return backup status
type ReconcilePerconaServerMongoDBBackup ¶
type ReconcilePerconaServerMongoDBBackup struct {
// contains filtered or unexported fields
}
ReconcilePerconaServerMongoDBBackup reconciles a PerconaServerMongoDBBackup object
func (*ReconcilePerconaServerMongoDBBackup) Reconcile ¶
func (r *ReconcilePerconaServerMongoDBBackup) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a PerconaServerMongoDBBackup object and makes changes based on the state read and what is in the PerconaServerMongoDBBackup.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
Click to show internal directories.
Click to hide internal directories.