pitrcontroller

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: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// PITRSvcTemplate is a string template for agent service names.
	PITRSvcTemplate = "%s-pitr-agent-svc"

	// DefaultPITRAgentPort is PITR Agent's default port number.
	DefaultPITRAgentPort = 3204
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PITRReconciler

type PITRReconciler struct {
	client.Client
	Log        logr.Logger
	Scheme     *runtime.Scheme
	BackupCtrl backupControl
	PITRCtrl   pitrControl
}

PITRReconciler reconciles a PITR object

func (*PITRReconciler) Reconcile

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

func (*PITRReconciler) SetupWithManager

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

type RealBackupControl

type RealBackupControl struct {
	Client client.Client
}

func (*RealBackupControl) List

type RealPITRControl

type RealPITRControl struct {
	Client client.Client
}

func (*RealPITRControl) AvailableRecoveryWindows

func (r *RealPITRControl) AvailableRecoveryWindows(ctx context.Context, p *v1alpha1.PITR) ([]*pb.Range, error)

func (*RealPITRControl) UpdateStatus

func (r *RealPITRControl) UpdateStatus(ctx context.Context, p *v1alpha1.PITR) error

Jump to

Keyboard shortcuts

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