validation

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidUserEmail

func IsValidUserEmail(email string) bool

func ValidateCredentialTargetChange added in v2.5.0

func ValidateCredentialTargetChange(
	targetName string,
	currentTarget string,
	nextTarget *string,
	normalize func(string) string,
	storedCredentials map[string]bool,
	updatedCredentials map[string]bool,
) error

ValidateCredentialTargetChange prevents stored credentials from being reused against a changed target unless the update explicitly handles them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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