Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager) error
- type KeycloakBackupReconciler
- func (i *KeycloakBackupReconciler) GetAwsBackupDesiredState(currentState *common.BackupState, cr *kc.KeycloakBackup) common.ClusterAction
- func (i *KeycloakBackupReconciler) GetAwsPeriodicBackupDesiredState(currentState *common.BackupState, cr *kc.KeycloakBackup) common.ClusterAction
- func (i *KeycloakBackupReconciler) GetLocalBackupDesiredState(currentState *common.BackupState, cr *kc.KeycloakBackup) common.ClusterAction
- func (i *KeycloakBackupReconciler) GetLocalBackupPersistentVolumeDesiredState(currentState *common.BackupState, cr *kc.KeycloakBackup) common.ClusterAction
- func (i *KeycloakBackupReconciler) Reconcile(currentState *common.BackupState, cr *kc.KeycloakBackup) common.DesiredClusterState
- type ReconcileKeycloakBackup
- func (r *ReconcileKeycloakBackup) ManageError(instance *kc.KeycloakBackup, issue error) (reconcile.Result, error)
- func (r *ReconcileKeycloakBackup) ManageSuccess(instance *kc.KeycloakBackup, currentState *common.BackupState) (reconcile.Result, error)
- func (r *ReconcileKeycloakBackup) Reconcile(request reconcile.Request) (reconcile.Result, error)
- type Reconciler
Constants ¶
View Source
const ( RequeueDelay = 30 * time.Second RequeueDelayError = 5 * time.Second ControllerName = "keycloakbackup-controller" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeycloakBackupReconciler ¶
func NewKeycloakBackupReconciler ¶
func NewKeycloakBackupReconciler(keycloak kc.Keycloak) *KeycloakBackupReconciler
func (*KeycloakBackupReconciler) GetAwsBackupDesiredState ¶
func (i *KeycloakBackupReconciler) GetAwsBackupDesiredState(currentState *common.BackupState, cr *kc.KeycloakBackup) common.ClusterAction
func (*KeycloakBackupReconciler) GetAwsPeriodicBackupDesiredState ¶
func (i *KeycloakBackupReconciler) GetAwsPeriodicBackupDesiredState(currentState *common.BackupState, cr *kc.KeycloakBackup) common.ClusterAction
func (*KeycloakBackupReconciler) GetLocalBackupDesiredState ¶
func (i *KeycloakBackupReconciler) GetLocalBackupDesiredState(currentState *common.BackupState, cr *kc.KeycloakBackup) common.ClusterAction
func (*KeycloakBackupReconciler) GetLocalBackupPersistentVolumeDesiredState ¶
func (i *KeycloakBackupReconciler) GetLocalBackupPersistentVolumeDesiredState(currentState *common.BackupState, cr *kc.KeycloakBackup) common.ClusterAction
func (*KeycloakBackupReconciler) Reconcile ¶
func (i *KeycloakBackupReconciler) Reconcile(currentState *common.BackupState, cr *kc.KeycloakBackup) common.DesiredClusterState
type ReconcileKeycloakBackup ¶
type ReconcileKeycloakBackup struct {
// contains filtered or unexported fields
}
ReconcileKeycloakBackup reconciles a KeycloakBackup object
func (*ReconcileKeycloakBackup) ManageError ¶
func (r *ReconcileKeycloakBackup) ManageError(instance *kc.KeycloakBackup, issue error) (reconcile.Result, error)
func (*ReconcileKeycloakBackup) ManageSuccess ¶
func (r *ReconcileKeycloakBackup) ManageSuccess(instance *kc.KeycloakBackup, currentState *common.BackupState) (reconcile.Result, error)
type Reconciler ¶
type Reconciler interface {
Reconcile(cr *kc.KeycloakBackup) (common.DesiredClusterState, error)
}
Click to show internal directories.
Click to hide internal directories.