Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MaxActivationsForCleanup is the maximum number of activations that a user may have in order to be considered // for cleanup. If the number of user activations exceeds this constant value, then cleanup will not occur. MaxActivationsForCleanup = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { Client runtimeclient.Client Scheme *runtime.Scheme }
Reconciler cleans up old UserSignup resources
func (*Reconciler) DeleteUserSignup ¶
func (r *Reconciler) DeleteUserSignup(ctx context.Context, userSignup *toolchainv1alpha1.UserSignup) error
DeleteUserSignup deletes the specified UserSignup
func (*Reconciler) Reconcile ¶
Reconcile reads that state of the cluster for a UserSignup object and makes changes based on the state read and what is in the UserSignup.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr manager.Manager) error
SetupWithManager sets up the controller with the Manager.
type StatusUpdater ¶
type StatusUpdater func(userAcc *toolchainv1alpha1.UserSignup, message string) error
Click to show internal directories.
Click to hide internal directories.