Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager, autodetectChannel chan schema.GroupVersionKind) error
- type DefaultMigrator
- type KeycloakReconciler
- func (i *KeycloakReconciler) GetKeycloakAdminSecretDesiredState(clusterState *common.ClusterState, cr *kc.Keycloak) common.ClusterAction
- func (i *KeycloakReconciler) GetKeycloakGrafanaDashboardDesiredState(clusterState *common.ClusterState, cr *kc.Keycloak) common.ClusterAction
- func (i *KeycloakReconciler) GetKeycloakPrometheusRuleDesiredState(clusterState *common.ClusterState, cr *kc.Keycloak) common.ClusterAction
- func (i *KeycloakReconciler) GetKeycloakServiceMonitorDesiredState(clusterState *common.ClusterState, cr *kc.Keycloak) common.ClusterAction
- func (i *KeycloakReconciler) Reconcile(clusterState *common.ClusterState, cr *kc.Keycloak) common.DesiredClusterState
- type Migrator
- type ReconcileKeycloak
- func (r *ReconcileKeycloak) ManageError(instance *v1alpha1.Keycloak, issue error) (reconcile.Result, error)
- func (r *ReconcileKeycloak) ManageSuccess(instance *v1alpha1.Keycloak, currentState *common.ClusterState) (reconcile.Result, error)
- func (r *ReconcileKeycloak) Reconcile(request reconcile.Request) (reconcile.Result, error)
- type Reconciler
Constants ¶
View Source
const ( RequeueDelaySeconds = 30 * time.Second RequeueDelayErrorSeconds = 5 * time.Second ControllerName = "keycloak-controller" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultMigrator ¶
type DefaultMigrator struct { }
func NewDefaultMigrator ¶
func NewDefaultMigrator() *DefaultMigrator
func (*DefaultMigrator) Migrate ¶
func (i *DefaultMigrator) Migrate(cr *v1alpha1.Keycloak, currentState *common.ClusterState, desiredState common.DesiredClusterState) (common.DesiredClusterState, error)
type KeycloakReconciler ¶
type KeycloakReconciler struct { }
func NewKeycloakReconciler ¶
func NewKeycloakReconciler() *KeycloakReconciler
func (*KeycloakReconciler) GetKeycloakAdminSecretDesiredState ¶
func (i *KeycloakReconciler) GetKeycloakAdminSecretDesiredState(clusterState *common.ClusterState, cr *kc.Keycloak) common.ClusterAction
func (*KeycloakReconciler) GetKeycloakGrafanaDashboardDesiredState ¶
func (i *KeycloakReconciler) GetKeycloakGrafanaDashboardDesiredState(clusterState *common.ClusterState, cr *kc.Keycloak) common.ClusterAction
func (*KeycloakReconciler) GetKeycloakPrometheusRuleDesiredState ¶
func (i *KeycloakReconciler) GetKeycloakPrometheusRuleDesiredState(clusterState *common.ClusterState, cr *kc.Keycloak) common.ClusterAction
func (*KeycloakReconciler) GetKeycloakServiceMonitorDesiredState ¶
func (i *KeycloakReconciler) GetKeycloakServiceMonitorDesiredState(clusterState *common.ClusterState, cr *kc.Keycloak) common.ClusterAction
func (*KeycloakReconciler) Reconcile ¶
func (i *KeycloakReconciler) Reconcile(clusterState *common.ClusterState, cr *kc.Keycloak) common.DesiredClusterState
type Migrator ¶
type Migrator interface {
Migrate(cr *v1alpha1.Keycloak, currentState *common.ClusterState, desiredState common.DesiredClusterState) (common.DesiredClusterState, error)
}
type ReconcileKeycloak ¶
type ReconcileKeycloak struct {
// contains filtered or unexported fields
}
ReconcileKeycloak reconciles a Keycloak object
func (*ReconcileKeycloak) ManageError ¶
func (*ReconcileKeycloak) ManageSuccess ¶
func (r *ReconcileKeycloak) ManageSuccess(instance *v1alpha1.Keycloak, currentState *common.ClusterState) (reconcile.Result, error)
type Reconciler ¶
type Reconciler interface {
Reconcile(clusterState *common.ClusterState, cr *kc.Keycloak) (common.DesiredClusterState, error)
}
Click to show internal directories.
Click to hide internal directories.