Help us shape the future of Go! Take the 2026 Go Developer Survey

validation

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateGroupName

func ValidateGroupName(name string, _ bool) (bool, string)

func ValidateIdentity

func ValidateIdentity(identity *api.Identity) fielderrors.ValidationErrorList

func ValidateIdentityName

func ValidateIdentityName(name string, _ bool) (bool, string)

func ValidateIdentityProviderName

func ValidateIdentityProviderName(name string) (bool, string)

func ValidateIdentityProviderUserName

func ValidateIdentityProviderUserName(name string) (bool, string)

func ValidateIdentityUpdate

func ValidateIdentityUpdate(identity *api.Identity, old *api.Identity) fielderrors.ValidationErrorList

func ValidateUser

func ValidateUser(user *api.User) fielderrors.ValidationErrorList

func ValidateUserIdentityMapping

func ValidateUserIdentityMapping(mapping *api.UserIdentityMapping) fielderrors.ValidationErrorList

func ValidateUserName

func ValidateUserName(name string, _ bool) (bool, string)

func ValidateUserUpdate

func ValidateUserUpdate(user *api.User, old *api.User) fielderrors.ValidationErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

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