repo_manager_restore

package
v0.0.0-...-ec752c0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: GPL-2.0 Imports: 20 Imported by: 0

README

Custom Resources

Sub Resources

PulpRestore

PulpRestore is the Schema for the pulprestores API

Field Description Scheme Required
metadata metav1.ObjectMeta false
spec PulpRestoreSpec false
status PulpRestoreStatus false

Back to Custom Resources

PulpRestoreList

PulpRestoreList contains a list of PulpRestore

Field Description Scheme Required
metadata metav1.ListMeta false
items []PulpRestore true

Back to Custom Resources

PulpRestoreSpec

PulpRestoreSpec defines the desired state of PulpRestore

Field Description Scheme Required
deployment_type Name of the deployment type. Can be one of {galaxy,pulp}. string true
deployment_name Name of the deployment to be restored to string true
backup_name Name of the backup custom resource string true
backup_pvc Name of the PVC to be restored from, set as a status found on the backup object (backupClaim) string true
backup_dir Backup directory name, set as a status found on the backup object (backupDirectory) string true
keep_replicas KeepBackupReplicasCount allows to define if the restore controller should restore the components with the same number of replicas from backup or restore only a single replica each. bool true

Back to Custom Resources

PulpRestoreStatus

PulpRestoreStatus defines the observed state of PulpRestore

Field Description Scheme Required
conditions []metav1.Condition true
postgres_secret string true

Back to Custom Resources

Documentation

Index

Constants

View Source
const CMLock = "restore-lock"

Variables

This section is empty.

Functions

This section is empty.

Types

type PodReplicas

type PodReplicas struct {
	Api, Content, Worker, Web int32
}

type RepoManagerRestoreReconciler

type RepoManagerRestoreReconciler struct {
	client.Client
	RawLogger  logr.Logger
	RESTClient rest.Interface
	RESTConfig *rest.Config
	Scheme     *runtime.Scheme
}

RepoManagerRestoreReconciler reconciles a PulpRestore object

func (*RepoManagerRestoreReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*RepoManagerRestoreReconciler) SetupWithManager

func (r *RepoManagerRestoreReconciler) 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