backupcontroller

package
v1.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupJobReconciler

type BackupJobReconciler struct {
	client.Client
	dynamic.Interface
	meta.RESTMapper
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

BackupVeleroStrategyReconciler reconciles BackupJob with a strategy referencing Velero.strategy.backups.cozystack.io objects.

func (*BackupJobReconciler) Reconcile

func (r *BackupJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*BackupJobReconciler) SetupWithManager

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

SetupWithManager registers our controller with the Manager and sets up watches.

type PlanReconciler

type PlanReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

PlanReconciler reconciles a Plan object

func (*PlanReconciler) Reconcile

func (r *PlanReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*PlanReconciler) SetupWithManager

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

SetupWithManager registers our controller with the Manager and sets up watches.

type S3Credentials

type S3Credentials struct {
	BucketName      string
	Endpoint        string
	Region          string
	AccessKeyID     string
	AccessSecretKey string
}

S3Credentials holds the discovered S3 credentials from a Bucket storageRef

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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