usersignup

package
v0.0.0-...-78585f7 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserSignup

func NewUserSignup(modifiers ...Modifier) *toolchainv1alpha1.UserSignup

func NewUserSignupObjectMeta

func NewUserSignupObjectMeta(name, email string) metav1.ObjectMeta

Types

type Modifier

type Modifier func(*toolchainv1alpha1.UserSignup)

func ApprovedManually

func ApprovedManually() Modifier

ApprovedManually sets the UserSignup states to [`approved`]

func ApprovedManuallyAgo

func ApprovedManuallyAgo(before time.Duration) Modifier

ApprovedManuallyAgo sets the UserSignup state to `approved` and adds a status condition

func BeingDeleted

func BeingDeleted() Modifier

func CreatedBefore

func CreatedBefore(before time.Duration) Modifier

func Deactivated

func Deactivated() Modifier

func DeactivatedWithLastTransitionTime

func DeactivatedWithLastTransitionTime(before time.Duration) Modifier

func SignupComplete

func SignupComplete(reason string) Modifier

func VerificationRequired

func VerificationRequired(before time.Duration) Modifier

func WithAccountID

func WithAccountID(accountID string) Modifier

func WithActivations

func WithActivations(value string) Modifier

func WithAnnotation

func WithAnnotation(key, value string) Modifier

func WithEmail

func WithEmail(email string) Modifier

func WithLabel

func WithLabel(key, value string) Modifier

func WithName

func WithName(name string) Modifier

func WithOriginalSub

func WithOriginalSub(originalSub string) Modifier

func WithStateLabel

func WithStateLabel(stateValue string) Modifier

func WithTargetCluster

func WithTargetCluster(targetCluster string) Modifier

func WithUserID

func WithUserID(userID string) Modifier

func WithUsername

func WithUsername(username string) Modifier

func WithVerificationAttempts

func WithVerificationAttempts(value int) Modifier

func WithoutAnnotation

func WithoutAnnotation(key string) Modifier

func WithoutAnnotations

func WithoutAnnotations() Modifier

Jump to

Keyboard shortcuts

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