backupschedulecontroller

package
v0.5.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupScheduleReconciler

type BackupScheduleReconciler struct {
	*commonctl.BackupScheduleReconciler
}

func NewBackupScheduleReconciler

func NewBackupScheduleReconciler(mgr manager.Manager, realBackupScheduleControl *RealBackupScheduleControl, realCronAnythingControl *cronanythingcontroller.RealCronAnythingControl, realBackupControl *RealBackupControl) *BackupScheduleReconciler

NewBackupScheduleReconciler returns a BackupScheduleReconciler object.

func (*BackupScheduleReconciler) SetupWithManager

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

SetupWithManager configures the reconciler.

type RealBackupControl

type RealBackupControl struct {
	Client client.Client
}

func (*RealBackupControl) Delete

func (r *RealBackupControl) Delete(backup commonv1alpha1.Backup) error

func (*RealBackupControl) List

func (r *RealBackupControl) List(cronAnythingName string) ([]commonv1alpha1.Backup, error)

type RealBackupScheduleControl

type RealBackupScheduleControl struct {
	Client client.Client
}

func (*RealBackupScheduleControl) Get

func (*RealBackupScheduleControl) GetBackupBytes

func (r *RealBackupScheduleControl) GetBackupBytes(schedule commonv1alpha1.BackupSchedule) ([]byte, error)

func (*RealBackupScheduleControl) UpdateStatus

Jump to

Keyboard shortcuts

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