cronbackup

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlInterface

type ControlInterface interface {
	UpdateCronBackup(cronBackup *v1alpha1.NebulaCronBackup) (*time.Duration, error)
}

func NewCronBackupControl

func NewCronBackupControl(clientSet kube.ClientSet, cbManager Manager) ControlInterface

type Manager

type Manager interface {
	// Sync	implements the logic for syncing NebulaCronBackup.
	Sync(cronBackup *v1alpha1.NebulaCronBackup) (*time.Duration, error)
}

func NewCronBackupManager

func NewCronBackupManager(clientSet kube.ClientSet, recorder record.EventRecorder) Manager

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler reconciles a NebulaCronBackup object

func NewCronBackupReconciler

func NewCronBackupReconciler(mgr ctrl.Manager) (*Reconciler, error)

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (res reconcile.Result, retErr error)

func (*Reconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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