Versions in this module Expand all Collapse all v0 v0.1.0 Jan 31, 2025 Changes in this version + type Reconciler struct + func NewReconciler(cl client.Client, scheme *runtime.Scheme, systemNamespace string) *Reconciler + func (r *Reconciler) ReconcileBackup(ctx context.Context, mgmtBackup *kcmv1alpha1.ManagementBackup) (ctrl.Result, error) + type Runner struct + func NewRunner(opts ...RunnerOpt) *Runner + func (r *Runner) GetEventChannel() <-chan event.GenericEvent + func (r *Runner) Start(ctx context.Context) error + type RunnerOpt func(c *Runner) + func WithClient(cl client.Client) RunnerOpt + func WithInterval(interval time.Duration) RunnerOpt v0.0.7 Jan 14, 2025 Changes in this version + type Config struct + func NewConfig(cl client.Client, kc *rest.Config, opts ...ConfigOpt) *Config + func (*Config) ReconcileBackup(ctx context.Context, backup *kcmv1.Backup) error + func (*Config) ReconcileScheduledBackup(ctx context.Context, schedule *kcmv1.Backup) error + func (c *Config) GetBackupType(ctx context.Context, instance *kcmv1.Backup, reqName string) (Typ, error) + func (c *Config) ReconcileVeleroInstallation(ctx context.Context) (ctrl.Result, error) + type ConfigOpt func(*Config) + func WithFeatures(features ...string) ConfigOpt + func WithRequeueAfter(d time.Duration) ConfigOpt + func WithVeleroImage(image string) ConfigOpt + func WithVeleroSystemNamespace(ns string) ConfigOpt + type Typ uint + const TypeBackup + const TypeNone + const TypeSchedule