keycloak

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequeueDelay      = 150 * time.Second
	RequeueDelayError = 60 * time.Second
	ControllerName    = "keycloak-controller"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) 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 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) Reconcile

func (i *KeycloakReconciler) Reconcile(clusterState *common.ClusterState, cr *kc.Keycloak) common.DesiredClusterState

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