keycloakbackup

package
v0.0.0-...-a301da7 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequeueDelaySeconds      = 30
	RequeueDelayErrorSeconds = 5
	ControllerName           = "keycloakbackup-controller"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, _ chan schema.GroupVersionKind) error

Types

type KeycloakBackupReconciler

type KeycloakBackupReconciler struct {
	Keycloak kc.Keycloak
}

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

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)

func (*ReconcileKeycloakBackup) Reconcile

Reconcile reads that state of the cluster for a KeycloakBackup object and makes changes based on the state read

type Reconciler

type Reconciler interface {
	Reconcile(cr *kc.KeycloakBackup) (common.DesiredClusterState, error)
}

Jump to

Keyboard shortcuts

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