Documentation ¶
Index ¶
- func MutateRealmRepresentation(realm keycloakv1alpha1.Realm, realmRepresentation *gocloak.RealmRepresentation)
- type RealmReconciler
- func (r *RealmReconciler) CreateOrPatchIDPSecret(ctx context.Context, c *gocloak.GoCloak, token string, ...) error
- func (r *RealmReconciler) CreateOrUpdateAdminGroup(ctx context.Context, c *gocloak.GoCloak, token string, ...) error
- func (r *RealmReconciler) CreateOrUpdateGroupsClientScope(ctx context.Context, c *gocloak.GoCloak, token string, ...) error
- func (r *RealmReconciler) CreateOrUpdateRealmUser(ctx context.Context, keycloakClient *gocloak.GoCloak, token string, ...) error
- func (r *RealmReconciler) CreateOrUpdateUserAdminRole(ctx context.Context, c *gocloak.GoCloak, token string, ...) error
- func (r *RealmReconciler) Name() string
- func (r *RealmReconciler) OwnedConditions() []string
- func (r *RealmReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *RealmReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *RealmReconciler) UpdateRoleListClientScopeProtocolMapper(ctx context.Context, c *gocloak.GoCloak, token string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MutateRealmRepresentation ¶
func MutateRealmRepresentation(realm keycloakv1alpha1.Realm, realmRepresentation *gocloak.RealmRepresentation)
Types ¶
type RealmReconciler ¶
type RealmReconciler struct { client.Client Config keycloakv1alpha1.KeycloakConfig // contains filtered or unexported fields }
RealmReconciler reconciles a Realm object
func (*RealmReconciler) CreateOrPatchIDPSecret ¶
func (r *RealmReconciler) CreateOrPatchIDPSecret(ctx context.Context, c *gocloak.GoCloak, token string, realm keycloakv1alpha1.Realm, provider *keycloakv1alpha1.KeycloakProvider, secret *corev1.Secret) error
func (*RealmReconciler) CreateOrUpdateAdminGroup ¶
func (r *RealmReconciler) CreateOrUpdateAdminGroup(ctx context.Context, c *gocloak.GoCloak, token string, realm keycloakv1alpha1.Realm) error
func (*RealmReconciler) CreateOrUpdateGroupsClientScope ¶
func (r *RealmReconciler) CreateOrUpdateGroupsClientScope(ctx context.Context, c *gocloak.GoCloak, token string, realm keycloakv1alpha1.Realm) error
func (*RealmReconciler) CreateOrUpdateRealmUser ¶
func (r *RealmReconciler) CreateOrUpdateRealmUser(ctx context.Context, keycloakClient *gocloak.GoCloak, token string, realm keycloakv1alpha1.Realm, provider *keycloakv1alpha1.KeycloakProvider, secret *corev1.Secret) error
func (*RealmReconciler) CreateOrUpdateUserAdminRole ¶
func (r *RealmReconciler) CreateOrUpdateUserAdminRole(ctx context.Context, c *gocloak.GoCloak, token string, realm keycloakv1alpha1.Realm) error
func (*RealmReconciler) Name ¶
func (r *RealmReconciler) Name() string
func (*RealmReconciler) OwnedConditions ¶
func (r *RealmReconciler) OwnedConditions() []string
func (*RealmReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Realm object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.0/pkg/reconcile
func (*RealmReconciler) SetupWithManager ¶
func (r *RealmReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*RealmReconciler) UpdateRoleListClientScopeProtocolMapper ¶
func (r *RealmReconciler) UpdateRoleListClientScopeProtocolMapper(ctx context.Context, c *gocloak.GoCloak, token string, realm keycloakv1alpha1.Realm) error
Click to show internal directories.
Click to hide internal directories.