validation

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateGroup added in v1.0.4

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

func ValidateGroupName added in v0.5.2

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

func ValidateGroupUpdate added in v1.0.4

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

func ValidateIdentity

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

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) field.ErrorList

func ValidateUser

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

func ValidateUserIdentityMapping

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

func ValidateUserIdentityMappingUpdate added in v0.4.2

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

func ValidateUserName

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

func ValidateUserUpdate added in v0.4.2

func ValidateUserUpdate(user *api.User, old *api.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