Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBannedUser ¶
func GetBannedUser(ctx context.Context, userEmailHash string, hostClient client.Client, hostNamespace string) (*toolchainv1alpha1.BannedUser, error)
GetBannedUser returns BannedUser with the provided user email hash if found. Otherwise it returns nil.
func NewBannedUser ¶
func NewBannedUser(userSignup *toolchainv1alpha1.UserSignup, bannedBy, banReason string) (*toolchainv1alpha1.BannedUser, error)
NewBannedUser creates a bannedUser resource
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.