Documentation ¶
Index ¶
Constants ¶
const ( // condition types ConditionTypeStorageProviderReady = "StorageProviderReady" ConditionTypeParametersChecked = "ParametersChecked" ConditionTypeStorageClassCreated = "StorageClassCreated" ConditionTypePVCTemplateChecked = "PVCTemplateChecked" ConditionTypeDerivedObjectsDeleted = "DerivedObjectsDeleted" // condition reasons ReasonStorageProviderReady = "StorageProviderReady" ReasonStorageProviderNotReady = "StorageProviderNotReady" ReasonStorageProviderNotFound = "StorageProviderNotFound" ReasonInvalidStorageProvider = "InvalidStorageProvider" ReasonParametersChecked = "ParametersChecked" ReasonCredentialSecretNotFound = "CredentialSecretNotFound" ReasonBadSecretTemplate = "BadSecretTemplate" ReasonBadStorageClassTemplate = "BadStorageClassTemplate" ReasonBadPVCTemplate = "BadPVCTemplate" ReasonStorageClassCreated = "StorageClassCreated" ReasonPVCTemplateChecked = "PVCTemplateChecked" ReasonHaveAssociatedBackups = "HaveAssociatedBackups" ReasonHaveResidualPVCs = "HaveResidualPVCs" ReasonDerivedObjectsDeleted = "DerivedObjectsDeleted" ReasonUnknownError = "UnknownError" )
condition constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupPolicyReconciler ¶
type BackupPolicyReconciler struct { client.Client Scheme *k8sruntime.Scheme Recorder record.EventRecorder }
BackupPolicyReconciler reconciles a BackupPolicy object
func (*BackupPolicyReconciler) Reconcile ¶
func (r *BackupPolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the BackupPolicy object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.1/pkg/reconcile
func (*BackupPolicyReconciler) SetupWithManager ¶
func (r *BackupPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BackupReconciler ¶
type BackupReconciler struct { client.Client Scheme *k8sruntime.Scheme Recorder record.EventRecorder // contains filtered or unexported fields }
BackupReconciler reconciles a Backup object
func (*BackupReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.1/pkg/reconcile
func (*BackupReconciler) SetupWithManager ¶
func (r *BackupReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BackupRepoReconciler ¶ added in v0.6.0
type BackupRepoReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder // contains filtered or unexported fields }
BackupRepoReconciler reconciles a BackupRepo object
func (*BackupRepoReconciler) Reconcile ¶ added in v0.6.0
func (r *BackupRepoReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*BackupRepoReconciler) SetupWithManager ¶ added in v0.6.0
func (r *BackupRepoReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BackupToolReconciler ¶
type BackupToolReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
BackupToolReconciler reconciles a BackupTool object
func (*BackupToolReconciler) Reconcile ¶
func (r *BackupToolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the BackupTool object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.1/pkg/reconcile
func (*BackupToolReconciler) SetupWithManager ¶
func (r *BackupToolReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type CronJobReconciler ¶
type CronJobReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
CronJobReconciler reconciles a cronjob object
func (*CronJobReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*CronJobReconciler) SetupWithManager ¶
func (r *CronJobReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RestoreJobReconciler ¶
type RestoreJobReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder // contains filtered or unexported fields }
RestoreJobReconciler reconciles a RestoreJob object
func (*RestoreJobReconciler) Reconcile ¶
func (r *RestoreJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the RestoreJob object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.1/pkg/reconcile
func (*RestoreJobReconciler) SetupWithManager ¶
func (r *RestoreJobReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.