banneduser

package
v0.0.0-...-a9c24d8 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

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.

Jump to

Keyboard shortcuts

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