validation

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateIdentity

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

func ValidateIdentityName added in v0.4.2

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

func ValidateIdentityProviderName added in v0.4.2

func ValidateIdentityProviderName(name string) (bool, string)

func ValidateIdentityProviderUserName added in v0.4.2

func ValidateIdentityProviderUserName(name string) (bool, string)

func ValidateIdentityUpdate added in v0.4.2

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

func ValidateUser

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

func ValidateUserIdentityMapping

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

func ValidateUserIdentityMappingUpdate added in v0.4.2

func ValidateUserIdentityMappingUpdate(mapping *api.UserIdentityMapping, old *api.UserIdentityMapping) errs.ValidationErrorList

func ValidateUserName

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

func ValidateUserUpdate added in v0.4.2

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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