Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupReconciler ¶
type GroupReconciler struct {
client.Client
Scheme *runtime.Scheme
AppConfig *config.AppConfig
Store *store.Store
LdapConn ldap.LDAPClient
// CacheMutex prevents concurrent access to the cache during group reconciliation.
// This shared mutex ensures that the group controller and user offboarding job don't interfere
// with each other when reading or modifying user/team data in Redis.
// This mutex is shared across components and passed from main.go.
CacheMutex *sync.RWMutex
// contains filtered or unexported fields
}
GroupReconciler reconciles a Group object
func (*GroupReconciler) SetupWithManager ¶
func (r *GroupReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type LDAPFetchResult ¶ added in v0.3.0
type LDAPFetchResult struct {
CurrentMembers []string // emails of users with valid LDAP data
ActiveUserList []string // UIDs of active users
}
LDAPFetchResult contains the results of LDAP data fetching
type PeriodicTasksReconciler ¶ added in v0.2.0
func NewPeriodicTasksReconciler ¶ added in v0.2.0
func (*PeriodicTasksReconciler) AddToManager ¶ added in v0.2.0
func (ptr *PeriodicTasksReconciler) AddToManager(mgr manager.Manager) error
AddToManager will add the reconciler for the configured obj to a manager.
func (*PeriodicTasksReconciler) Start ¶ added in v0.2.0
func (ptr *PeriodicTasksReconciler) Start(ctx context.Context) error
Start the periodic tasks controller not event triggered like a conventional controller does not watch any kuberntes resources this is the platform through with periodic jobs get passed to controller manager
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
Package periodicjobs provides scheduled background jobs for the usernaut controller.
|
Package periodicjobs provides scheduled background jobs for the usernaut controller. |
|
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.