databackup

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 27 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataBackupReconciler

type DataBackupReconciler struct {
	Scheme *runtime.Scheme
	*DataBackupReconcilerImplement
}

DataBackupReconciler reconciles a DataBackup object

func NewDataBackupReconciler

func NewDataBackupReconciler(client client.Client,
	log logr.Logger,
	scheme *runtime.Scheme,
	recorder record.EventRecorder) *DataBackupReconciler

NewDataBackupReconciler returns a DataBackupReconciler

func (*DataBackupReconciler) AddOwnerAndRequeue

func (r *DataBackupReconciler) AddOwnerAndRequeue(ctx reconcileRequestContext, dataset *datav1alpha1.Dataset) (ctrl.Result, error)

AddOwnerAndRequeue adds Owner and requeue

func (*DataBackupReconciler) Reconcile

func (r *DataBackupReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

+kubebuilder:rbac:groups=data.fluid.io,resources=databackups,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=data.fluid.io,resources=databackups/status,verbs=get;update;patch Reconcile reconciles the DataBackup object

func (*DataBackupReconciler) SetupWithManager

func (r *DataBackupReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the given controller manager

type DataBackupReconcilerImplement

type DataBackupReconcilerImplement struct {
	client.Client
	Log      logr.Logger
	Recorder record.EventRecorder
	*DataBackupReconciler
}

DataBackupReconcilerImplement implements the actual reconciliation logic of DataBackupReconciler

func NewDataBackupReconcilerImplement

func NewDataBackupReconcilerImplement(client client.Client, log logr.Logger, recorder record.EventRecorder, databackupReconciler *DataBackupReconciler) *DataBackupReconcilerImplement

NewDataBackupReconcilerImplement returns a DataBackupReconcilerImplement

func (*DataBackupReconcilerImplement) ReconcileDataBackupDeletion

func (r *DataBackupReconcilerImplement) ReconcileDataBackupDeletion(ctx reconcileRequestContext) (ctrl.Result, error)

ReconcileDataBackupDeletion reconciles the deletion of the DataBackup

Jump to

Keyboard shortcuts

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