validation

package
v0.0.0-...-87c15a4 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 7 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 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

if you change this, update the peer in oauth admission validation. also, don't change this.

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 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