Documentation ¶
Index ¶
Constants ¶
const ReasonSendFailed = "SendFailed"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvitationCleanupReconciler ¶ added in v0.15.0
type InvitationCleanupReconciler struct { client.Client Recorder record.EventRecorder Scheme *runtime.Scheme RedeemedInvitationTTL time.Duration }
InvitationCleanupReconciler reconciles invitations, deleting them if appropriate
func (*InvitationCleanupReconciler) Reconcile ¶ added in v0.15.0
func (r *InvitationCleanupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reacts on invitations and removes them if required
func (*InvitationCleanupReconciler) SetupWithManager ¶ added in v0.15.0
func (r *InvitationCleanupReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type InvitationEmailReconciler ¶ added in v0.17.0
type InvitationEmailReconciler struct { client.Client Recorder record.EventRecorder Scheme *runtime.Scheme MailSender mailsenders.MailSender BaseRetryDelay time.Duration }
InvitationEmailReconciler reconciles invitations and sends invitation emails if appropriate
func (*InvitationEmailReconciler) Reconcile ¶ added in v0.17.0
func (r *InvitationEmailReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reacts to redeemed invitations and sends invitation emails to the user if needed.
func (*InvitationEmailReconciler) SetupWithManager ¶ added in v0.17.0
func (r *InvitationEmailReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type InvitationRedeemReconciler ¶ added in v0.13.0
type InvitationRedeemReconciler struct { client.Client Recorder record.EventRecorder Scheme *runtime.Scheme UsernamePrefix string }
InvitationRedeemReconciler reconciles invitations and adds a token to the status if required.
func (*InvitationRedeemReconciler) Reconcile ¶ added in v0.13.0
func (r *InvitationRedeemReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reacts to redeemed invitations and adds the user to the targets listed in the invitation status.
func (*InvitationRedeemReconciler) SetupWithManager ¶ added in v0.13.0
func (r *InvitationRedeemReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type InvitationTokenReconciler ¶ added in v0.12.0
type InvitationTokenReconciler struct { client.Client Recorder record.EventRecorder Scheme *runtime.Scheme TokenValidFor time.Duration }
InvitationTokenReconciler reconciles invitations and adds a token to the status if required.
func (*InvitationTokenReconciler) Reconcile ¶ added in v0.12.0
func (r *InvitationTokenReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reacts on invitations and adds a token to the status if required.
func (*InvitationTokenReconciler) SetupWithManager ¶ added in v0.12.0
func (r *InvitationTokenReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type OrgBillingEntityNameCacheController ¶ added in v0.11.0
type OrgBillingEntityNameCacheController struct { client.Client Recorder record.EventRecorder Scheme *runtime.Scheme RefreshInterval time.Duration RefreshJitter time.Duration }
OrgBillingEntityNameCacheController reconciles OrganizationMembers resources
func (*OrgBillingEntityNameCacheController) Reconcile ¶ added in v0.11.0
func (r *OrgBillingEntityNameCacheController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile periodically updates the organizations .status.billingEntityName field.
func (*OrgBillingEntityNameCacheController) SetupWithManager ¶ added in v0.11.0
func (r *OrgBillingEntityNameCacheController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type OrgBillingRefLinkMetric ¶ added in v0.14.0
OrgBillingRefLinkMetric is a Prometheus collector that exposes the link between an organization and a billing entity.
func (*OrgBillingRefLinkMetric) Collect ¶ added in v0.14.0
func (o *OrgBillingRefLinkMetric) Collect(ch chan<- prometheus.Metric)
Collect implements prometheus.Collector. Sends a metric for each organization and its billing entity to the provided channel.
func (*OrgBillingRefLinkMetric) Describe ¶ added in v0.14.0
func (o *OrgBillingRefLinkMetric) Describe(ch chan<- *prometheus.Desc)
Describe implements prometheus.Collector. Sends the static description of the metric to the provided channel.
type OrganizationMembersReconciler ¶ added in v0.7.0
type OrganizationMembersReconciler struct { client.Client Recorder record.EventRecorder Scheme *runtime.Scheme // UserPrefix is the prefix applied to the user in the RoleBinding.subjects.name. UserPrefix string MemberRoles []string }
OrganizationMembersReconciler reconciles OrganizationMembers resources
func (*OrganizationMembersReconciler) Reconcile ¶ added in v0.7.0
func (r *OrganizationMembersReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reacts on changes of users and mirrors these changes to Keycloak
func (*OrganizationMembersReconciler) SetupWithManager ¶ added in v0.7.0
func (r *OrganizationMembersReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type UserReconciler ¶
type UserReconciler struct { client.Client Recorder record.EventRecorder Scheme *runtime.Scheme // UserPrefix is the prefix applied to the user in the ClusterRoleBinding.subjects.name. UserPrefix string // RolePrefix is the prefix applied to the cluster role and the according role binding. // Should help prevent cluster role name collisions. RolePrefix string }
UserReconciler reconciles a User object
func (*UserReconciler) Reconcile ¶
Reconcile reacts on changes of users and mirrors these changes to Keycloak
func (*UserReconciler) SetupWithManager ¶
func (r *UserReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.