validation

package
v3.10.4-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateGroup

func ValidateGroup(group *userapi.Group) field.ErrorList

func ValidateGroupName

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

func ValidateGroupUpdate

func ValidateGroupUpdate(group *userapi.Group, old *userapi.Group) field.ErrorList

func ValidateIdentity

func ValidateIdentity(identity *userapi.Identity) field.ErrorList

func ValidateIdentityName

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

func ValidateIdentityProviderName

func ValidateIdentityProviderName(name string) []string

func ValidateIdentityProviderUserName

func ValidateIdentityProviderUserName(name string) []string

func ValidateIdentityUpdate

func ValidateIdentityUpdate(identity *userapi.Identity, old *userapi.Identity) field.ErrorList

func ValidateUser

func ValidateUser(user *userapi.User) field.ErrorList

func ValidateUserIdentityMapping

func ValidateUserIdentityMapping(mapping *userapi.UserIdentityMapping) field.ErrorList

func ValidateUserIdentityMappingUpdate

func ValidateUserIdentityMappingUpdate(mapping *userapi.UserIdentityMapping, old *userapi.UserIdentityMapping) field.ErrorList

func ValidateUserName

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

func ValidateUserUpdate

func ValidateUserUpdate(user *userapi.User, old *userapi.User) field.ErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

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