rhssouser

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKeycloakUsers

func GetKeycloakUsers(ctx context.Context, serverClient k8sclient.Client, ns string) ([]keycloak.KeycloakAPIUser, error)

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

Reconcile reads that state of the cluster for rhsso and makes changes based on the state read and what is required

Jump to

Keyboard shortcuts

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