Documentation
¶
Index ¶
- func GetKeycloakUsers(ctx context.Context, serverClient k8sclient.Client, ns string) ([]keycloak.KeycloakAPIUser, error)
- func OsUserInDedicatedAdmins(dedicatedAdmins []string, kcUser keycloak.KeycloakAPIUser) bool
- func OsUserInKc(osUsers []usersv1.User, kcUser keycloak.KeycloakAPIUser) bool
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKeycloakUsers ¶
func OsUserInDedicatedAdmins ¶
func OsUserInDedicatedAdmins(dedicatedAdmins []string, kcUser keycloak.KeycloakAPIUser) bool
func OsUserInKc ¶
func OsUserInKc(osUsers []usersv1.User, kcUser keycloak.KeycloakAPIUser) bool
Types ¶
type Reconciler ¶
type Reconciler struct { Config *config.RHSSOUser ConfigManager config.ConfigReadWriter ApiUrl string *resources.Reconciler // contains filtered or unexported fields }
func NewReconciler ¶
func NewReconciler(configManager config.ConfigReadWriter, installation *integreatlyv1alpha1.RHMI, oauthv1Client oauthClient.OauthV1Interface, mpm marketplace.MarketplaceInterface, recorder record.EventRecorder, apiUrl string, keycloakClientFactory keycloakCommon.KeycloakClientFactory) (*Reconciler, error)
func (*Reconciler) GetPreflightObject ¶
func (r *Reconciler) GetPreflightObject(ns string) runtime.Object
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, installation *integreatlyv1alpha1.RHMI, product *integreatlyv1alpha1.RHMIProductStatus, serverClient k8sclient.Client) (integreatlyv1alpha1.StatusPhase, error)
Reconcile reads that state of the cluster for rhsso and makes changes based on the state read and what is required
Click to show internal directories.
Click to hide internal directories.