Documentation ¶
Index ¶
- func SetupWithManager(mgr controllerruntime.Manager) error
- type RestoreExecutor
- type RestoreReconciler
- func (r *RestoreReconciler) Deprovision(_ context.Context, _ *k8upv1.Restore) (controllerruntime.Result, error)
- func (r *RestoreReconciler) NewObject() *k8upv1.Restore
- func (r *RestoreReconciler) NewObjectList() *k8upv1.RestoreList
- func (r *RestoreReconciler) Provision(ctx context.Context, obj *k8upv1.Restore) (controllerruntime.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupWithManager ¶
func SetupWithManager(mgr controllerruntime.Manager) error
SetupWithManager configures the reconciler.
Types ¶
type RestoreExecutor ¶
func NewRestoreExecutor ¶
func NewRestoreExecutor(config job.Config) *RestoreExecutor
NewRestoreExecutor will return a new executor for Restore jobs.
func (*RestoreExecutor) Execute ¶
func (r *RestoreExecutor) Execute(ctx context.Context) error
Execute creates the actual batch.job on the k8s api.
func (*RestoreExecutor) GetConcurrencyLimit ¶
func (r *RestoreExecutor) GetConcurrencyLimit() int
GetConcurrencyLimit returns the concurrent jobs limit
type RestoreReconciler ¶
RestoreReconciler reconciles a Restore object
func (*RestoreReconciler) Deprovision ¶
func (r *RestoreReconciler) Deprovision(_ context.Context, _ *k8upv1.Restore) (controllerruntime.Result, error)
func (*RestoreReconciler) NewObject ¶
func (r *RestoreReconciler) NewObject() *k8upv1.Restore
func (*RestoreReconciler) NewObjectList ¶
func (r *RestoreReconciler) NewObjectList() *k8upv1.RestoreList
func (*RestoreReconciler) Provision ¶
func (r *RestoreReconciler) Provision(ctx context.Context, obj *k8upv1.Restore) (controllerruntime.Result, error)
Click to show internal directories.
Click to hide internal directories.