Documentation
¶
Overview ¶
Package controller contains all controllers of the project
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NonAdminBackupReconciler ¶
type NonAdminBackupReconciler struct { client.Client Scheme *runtime.Scheme EnforcedBackupSpec *velerov1.BackupSpec OADPNamespace string }
NonAdminBackupReconciler reconciles a NonAdminBackup object
func (*NonAdminBackupReconciler) Reconcile ¶
func (r *NonAdminBackupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state, defined in NonAdminBackup object Spec.
func (*NonAdminBackupReconciler) SetupWithManager ¶
func (r *NonAdminBackupReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NonAdminBackupStorageLocationReconciler ¶
type NonAdminBackupStorageLocationReconciler struct { client.Client Scheme *runtime.Scheme EnforcedBslSpec *velerov1.BackupStorageLocationSpec OADPNamespace string }
NonAdminBackupStorageLocationReconciler reconciles a NonAdminBackupStorageLocation object
func (*NonAdminBackupStorageLocationReconciler) Reconcile ¶
func (r *NonAdminBackupStorageLocationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*NonAdminBackupStorageLocationReconciler) SetupWithManager ¶
func (r *NonAdminBackupStorageLocationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager. Note: Adding Secret Watch within the namespace is being considered. Challenges with Secret Watch:
- Secret updates without NaBSL object updates would be missed
- One secret can be used by multiple NaBSL objects
- Would need to add VeleroBackupStorageLocation UUID labels/annotations to ensure correct Secret-to-NaBSL mapping or get all the NaBSL objects and check if that particular secret is being used by any of them.
type NonAdminRestoreReconciler ¶
type NonAdminRestoreReconciler struct { client.Client Scheme *runtime.Scheme EnforcedRestoreSpec *velerov1.RestoreSpec OADPNamespace string }
NonAdminRestoreReconciler reconciles a NonAdminRestore object
func (*NonAdminRestoreReconciler) Reconcile ¶
func (r *NonAdminRestoreReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state, defined in NonAdminRestore object Spec.
func (*NonAdminRestoreReconciler) SetupWithManager ¶
func (r *NonAdminRestoreReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.