validation

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PolicyBindingNameValidator added in v0.4.4

func PolicyBindingNameValidator(policyRefNamespace string) validation.ValidateNameFunc

func ValidateClusterPolicy added in v0.5.1

func ValidateClusterPolicy(policy *authorizationapi.ClusterPolicy) field.ErrorList

func ValidateClusterPolicyBinding added in v0.5.1

func ValidateClusterPolicyBinding(policy *authorizationapi.ClusterPolicyBinding) field.ErrorList

func ValidateClusterPolicyBindingUpdate added in v0.5.1

func ValidateClusterPolicyBindingUpdate(policy *authorizationapi.ClusterPolicyBinding, oldPolicyBinding *authorizationapi.ClusterPolicyBinding) field.ErrorList

func ValidateClusterPolicyUpdate added in v0.5.1

func ValidateClusterPolicyUpdate(policy *authorizationapi.ClusterPolicy, oldPolicy *authorizationapi.ClusterPolicy) field.ErrorList

func ValidateClusterRole added in v0.5.1

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

func ValidateClusterRoleBinding added in v0.5.1

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

func ValidateClusterRoleBindingUpdate added in v0.5.1

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

func ValidateClusterRoleUpdate added in v0.5.1

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

func ValidateLocalPolicy added in v0.5.1

func ValidateLocalPolicy(policy *authorizationapi.Policy) field.ErrorList

func ValidateLocalPolicyBinding added in v0.5.1

func ValidateLocalPolicyBinding(policy *authorizationapi.PolicyBinding) field.ErrorList

func ValidateLocalPolicyBindingUpdate added in v0.5.1

func ValidateLocalPolicyBindingUpdate(policy *authorizationapi.PolicyBinding, oldPolicyBinding *authorizationapi.PolicyBinding) field.ErrorList

func ValidateLocalPolicyUpdate added in v0.5.1

func ValidateLocalPolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy) field.ErrorList

func ValidateLocalResourceAccessReview added in v1.0.5

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

func ValidateLocalRole added in v0.5.1

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

func ValidateLocalRoleBinding added in v0.5.1

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

func ValidateLocalRoleBindingUpdate added in v0.5.1

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

func ValidateLocalRoleUpdate added in v0.5.1

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

func ValidateLocalSubjectAccessReview added in v1.0.5

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

func ValidatePolicy added in v0.4.4

func ValidatePolicy(policy *authorizationapi.Policy, isNamespaced bool) field.ErrorList

func ValidatePolicyBinding

func ValidatePolicyBinding(policyBinding *authorizationapi.PolicyBinding, isNamespaced bool) field.ErrorList

func ValidatePolicyBindingUpdate added in v0.4.4

func ValidatePolicyBindingUpdate(policyBinding *authorizationapi.PolicyBinding, oldPolicyBinding *authorizationapi.PolicyBinding, isNamespaced bool) field.ErrorList

func ValidatePolicyName added in v0.4.4

func ValidatePolicyName(name string, prefix bool) (bool, string)

func ValidatePolicyUpdate added in v0.4.4

func ValidatePolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy, isNamespaced bool) field.ErrorList

func ValidateResourceAccessReview added in v0.6.1

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 ValidateRoleBindingUpdate added in v0.4.4

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

func ValidateRoleUpdate added in v0.5.1

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

func ValidateSubjectAccessReview added in v0.6.1

func ValidateSubjectAccessReview(review *authorizationapi.SubjectAccessReview) 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