restorecontroller

package
v2.11.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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

type RestoreExecutor struct {
	executor.Generic
	// contains filtered or unexported fields
}

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

type RestoreReconciler struct {
	Kube client.Client
}

RestoreReconciler reconciles a Restore object

func (*RestoreReconciler) Deprovision

func (*RestoreReconciler) NewObject

func (r *RestoreReconciler) NewObject() *k8upv1.Restore

func (*RestoreReconciler) NewObjectList

func (r *RestoreReconciler) NewObjectList() *k8upv1.RestoreList

func (*RestoreReconciler) Provision

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL