Documentation ¶
Index ¶
- type BackupReconciler
- type RealBackupControl
- func (c *RealBackupControl) GetBackup(name, namespace string) (*v1alpha1.Backup, error)
- func (c *RealBackupControl) GetInstance(name, namespace string) (*v1alpha1.Instance, error)
- func (c *RealBackupControl) LoadConfig(namespace string) (*v1alpha1.Config, error)
- func (c *RealBackupControl) UpdateBackup(obj client.Object) error
- func (c *RealBackupControl) UpdateStatus(obj client.Object) error
- func (c *RealBackupControl) ValidateBackupSpec(backup *v1alpha1.Backup) bool
- type RealOracleBackupFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupReconciler ¶
type BackupReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder InstanceLocks *sync.Map OracleBackupFactory oracleBackupFactory BackupCtrl backupControl DatabaseClientFactory controllers.DatabaseClientFactory }
BackupReconciler reconciles a Backup object.
func (*BackupReconciler) SetupWithManager ¶
func (r *BackupReconciler) SetupWithManager(mgr ctrl.Manager) error
type RealBackupControl ¶
func (*RealBackupControl) GetBackup ¶
func (c *RealBackupControl) GetBackup(name, namespace string) (*v1alpha1.Backup, error)
func (*RealBackupControl) GetInstance ¶
func (c *RealBackupControl) GetInstance(name, namespace string) (*v1alpha1.Instance, error)
func (*RealBackupControl) LoadConfig ¶
func (c *RealBackupControl) LoadConfig(namespace string) (*v1alpha1.Config, error)
func (*RealBackupControl) UpdateBackup ¶
func (c *RealBackupControl) UpdateBackup(obj client.Object) error
func (*RealBackupControl) UpdateStatus ¶
func (c *RealBackupControl) UpdateStatus(obj client.Object) error
func (*RealBackupControl) ValidateBackupSpec ¶
func (c *RealBackupControl) ValidateBackupSpec(backup *v1alpha1.Backup) bool
type RealOracleBackupFactory ¶
type RealOracleBackupFactory struct{}
Click to show internal directories.
Click to hide internal directories.