Documentation ¶
Index ¶
Constants ¶
View Source
const ( ControllerName = "controller_keycloakuser" RequeueDelayErrorSeconds = 5 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeycloakuserReconciler ¶
type KeycloakuserReconciler struct { Realm v1alpha1.KeycloakRealm Keycloak v1alpha1.Keycloak }
func NewKeycloakuserReconciler ¶
func NewKeycloakuserReconciler(keycloak v1alpha1.Keycloak, realm v1alpha1.KeycloakRealm) *KeycloakuserReconciler
func (*KeycloakuserReconciler) Reconcile ¶
func (i *KeycloakuserReconciler) Reconcile(state *common.UserState, cr *v1alpha1.KeycloakUser) common.DesiredClusterState
type ReconcileKeycloakUser ¶
type ReconcileKeycloakUser struct {
// contains filtered or unexported fields
}
ReconcileKeycloakUser reconciles a KeycloakUser object
func (*ReconcileKeycloakUser) ManageError ¶
func (r *ReconcileKeycloakUser) ManageError(user *kc.KeycloakUser, issue error) (reconcile.Result, error)
func (*ReconcileKeycloakUser) Reconcile ¶
Reconcile reads that state of the cluster for a KeycloakUser object and makes changes based on the state read and what is in the KeycloakUser.Spec TODO(user): Modify this Reconcile function to implement your Controller logic. This example creates a Pod as an example Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
type Reconciler ¶
type Reconciler interface {
Reconcile(cr *v1alpha1.KeycloakUser) error
}
Click to show internal directories.
Click to hide internal directories.