nebulabackup

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 {
	UpdateNebulaBackup(backup *v1alpha1.NebulaBackup) error
}

func NewBackupControl

func NewBackupControl(client client.Client, clientSet kube.ClientSet, backupManager Manager) ControlInterface

type Manager

type Manager interface {
	// Sync	implements the logic for syncing NebulaBackup.
	Sync(backup *v1alpha1.NebulaBackup) error

	// Clean implements the logic for cleaning backup data.
	Clean(backup *v1alpha1.NebulaBackup) error
}

func NewBackupManager

func NewBackupManager(clientSet kube.ClientSet, restClient kubernetes.Interface, recorder record.EventRecorder) Manager

type Reconciler

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

Reconciler reconciles a NebulaBackup object

func NewBackupReconciler

func NewBackupReconciler(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