validation

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 12 Imported by: 206

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateClusterRole

func ValidateClusterRole(policy *authorizationapi.ClusterRole) field.ErrorList

func ValidateClusterRoleBinding

func ValidateClusterRoleBinding(policy *authorizationapi.ClusterRoleBinding) field.ErrorList

func ValidateClusterRoleBindingUpdate

func ValidateClusterRoleBindingUpdate(policy *authorizationapi.ClusterRoleBinding, oldRoleBinding *authorizationapi.ClusterRoleBinding) field.ErrorList

func ValidateClusterRoleUpdate

func ValidateClusterRoleUpdate(policy *authorizationapi.ClusterRole, oldRole *authorizationapi.ClusterRole) field.ErrorList

func ValidateLocalResourceAccessReview

func ValidateLocalResourceAccessReview(review *authorizationapi.LocalResourceAccessReview) field.ErrorList

func ValidateLocalRole

func ValidateLocalRole(policy *authorizationapi.Role) field.ErrorList

func ValidateLocalRoleBinding

func ValidateLocalRoleBinding(policy *authorizationapi.RoleBinding) field.ErrorList

func ValidateLocalRoleBindingUpdate

func ValidateLocalRoleBindingUpdate(policy *authorizationapi.RoleBinding, oldRoleBinding *authorizationapi.RoleBinding) field.ErrorList

func ValidateLocalRoleUpdate

func ValidateLocalRoleUpdate(policy *authorizationapi.Role, oldRole *authorizationapi.Role) field.ErrorList

func ValidateLocalSubjectAccessReview

func ValidateLocalSubjectAccessReview(review *authorizationapi.LocalSubjectAccessReview) field.ErrorList

func ValidateResourceAccessReview

func ValidateResourceAccessReview(review *authorizationapi.ResourceAccessReview) field.ErrorList

func ValidateRole

func ValidateRole(role *authorizationapi.Role, isNamespaced bool) field.ErrorList

func ValidateRoleBinding

func ValidateRoleBinding(roleBinding *authorizationapi.RoleBinding, isNamespaced bool) field.ErrorList

func ValidateRoleBindingRestrictionGroup

func ValidateRoleBindingRestrictionGroup(group *authorizationapi.GroupRestriction, fld *field.Path) field.ErrorList

func ValidateRoleBindingRestrictionServiceAccount

func ValidateRoleBindingRestrictionServiceAccount(sa *authorizationapi.ServiceAccountRestriction, fld *field.Path) field.ErrorList

func ValidateRoleBindingRestrictionUpdate

func ValidateRoleBindingRestrictionUpdate(rbr, old *authorizationapi.RoleBindingRestriction) field.ErrorList

func ValidateRoleBindingRestrictionUser

func ValidateRoleBindingRestrictionUser(user *authorizationapi.UserRestriction, fld *field.Path) field.ErrorList

func ValidateRoleBindingUpdate

func ValidateRoleBindingUpdate(roleBinding *authorizationapi.RoleBinding, oldRoleBinding *authorizationapi.RoleBinding, isNamespaced bool) field.ErrorList

func ValidateRoleUpdate

func ValidateRoleUpdate(role *authorizationapi.Role, oldRole *authorizationapi.Role, isNamespaced bool, fldPath *field.Path) field.ErrorList

func ValidateSelfSubjectRulesReview

func ValidateSelfSubjectRulesReview(review *authorizationapi.SelfSubjectRulesReview) field.ErrorList

func ValidateSubjectAccessReview

func ValidateSubjectAccessReview(review *authorizationapi.SubjectAccessReview) field.ErrorList

func ValidateSubjectRulesReview

func ValidateSubjectRulesReview(rules *authorizationapi.SubjectRulesReview) 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