keycloak

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: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequeueDelaySeconds      = 30 * time.Second
	RequeueDelayErrorSeconds = 5 * time.Second
	ControllerName           = "keycloak-controller"
)

Variables

This section is empty.

Functions

func Add

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

Add creates a new Keycloak Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type DefaultMigrator

type DefaultMigrator struct {
}

func NewDefaultMigrator

func NewDefaultMigrator() *DefaultMigrator

func (*DefaultMigrator) Migrate

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) GetKeycloakPodMonitorDesiredState

func (i *KeycloakReconciler) GetKeycloakPodMonitorDesiredState(clusterState *common.ClusterState, cr *kc.Keycloak) common.ClusterAction

func (*KeycloakReconciler) GetKeycloakProbesDesiredState

func (i *KeycloakReconciler) GetKeycloakProbesDesiredState(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 (r *ReconcileKeycloak) ManageError(instance *v1alpha1.Keycloak, issue error) (reconcile.Result, error)

func (*ReconcileKeycloak) ManageSuccess

func (r *ReconcileKeycloak) ManageSuccess(instance *v1alpha1.Keycloak, currentState *common.ClusterState) (reconcile.Result, error)

func (*ReconcileKeycloak) Reconcile

func (r *ReconcileKeycloak) Reconcile(request reconcile.Request) (reconcile.Result, error)

type Reconciler

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

Jump to

Keyboard shortcuts

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