usersignupcleanup

package
v0.0.0-...-2b979c4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 20 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func (r *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

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.RequeueAfter > 0 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

Jump to

Keyboard shortcuts

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