etcdbackup

package
v0.1.88 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 34 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ControllerName = "hcpetcdbackup"

	// Labels used on backup Jobs.
	LabelApp  = "app"
	LabelName = "etcd-backup"

	// LabelBackupName is the label key for the backup CR name on Jobs.
	LabelBackupName = "hypershift.openshift.io/backup-name"
	// LabelHCPNamespace is the label key for the HCP namespace on Jobs.
	LabelHCPNamespace = "hypershift.openshift.io/hcp-namespace"

	// RBACName is the name of the Role and RoleBinding created in HCP namespaces.
	RBACName = "etcd-backup-job"
	// NetworkPolicyName is the name of the NetworkPolicy created in HCP namespaces.
	NetworkPolicyName = "allow-etcd-backup"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HCPEtcdBackupReconciler

type HCPEtcdBackupReconciler struct {
	client.Client
	OperatorNamespace       string
	ReleaseProvider         releaseinfo.ProviderWithOpenShiftImageRegistryOverrides
	HypershiftOperatorImage string
	MaxBackupCount          int
}

HCPEtcdBackupReconciler reconciles HCPEtcdBackup resources by orchestrating etcd snapshot and upload Jobs in the HyperShift Operator namespace.

func (*HCPEtcdBackupReconciler) Reconcile

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

func (*HCPEtcdBackupReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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