Documentation ¶
Index ¶
- func PolicyBindingNameValidator(policyRefNamespace string) validation.ValidateNameFunc
- func ValidateClusterPolicy(policy *authorizationapi.ClusterPolicy) fielderrors.ValidationErrorList
- func ValidateClusterPolicyBinding(policy *authorizationapi.ClusterPolicyBinding) fielderrors.ValidationErrorList
- func ValidateClusterPolicyBindingUpdate(policy *authorizationapi.ClusterPolicyBinding, ...) fielderrors.ValidationErrorList
- func ValidateClusterPolicyUpdate(policy *authorizationapi.ClusterPolicy, ...) fielderrors.ValidationErrorList
- func ValidateClusterRole(policy *authorizationapi.ClusterRole) fielderrors.ValidationErrorList
- func ValidateClusterRoleBinding(policy *authorizationapi.ClusterRoleBinding) fielderrors.ValidationErrorList
- func ValidateClusterRoleBindingUpdate(policy *authorizationapi.ClusterRoleBinding, ...) fielderrors.ValidationErrorList
- func ValidateClusterRoleUpdate(policy *authorizationapi.ClusterRole, oldRole *authorizationapi.ClusterRole) fielderrors.ValidationErrorList
- func ValidateLocalPolicy(policy *authorizationapi.Policy) fielderrors.ValidationErrorList
- func ValidateLocalPolicyBinding(policy *authorizationapi.PolicyBinding) fielderrors.ValidationErrorList
- func ValidateLocalPolicyBindingUpdate(policy *authorizationapi.PolicyBinding, ...) fielderrors.ValidationErrorList
- func ValidateLocalPolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy) fielderrors.ValidationErrorList
- func ValidateLocalResourceAccessReview(review *authorizationapi.LocalResourceAccessReview) fielderrors.ValidationErrorList
- func ValidateLocalRole(policy *authorizationapi.Role) fielderrors.ValidationErrorList
- func ValidateLocalRoleBinding(policy *authorizationapi.RoleBinding) fielderrors.ValidationErrorList
- func ValidateLocalRoleBindingUpdate(policy *authorizationapi.RoleBinding, ...) fielderrors.ValidationErrorList
- func ValidateLocalRoleUpdate(policy *authorizationapi.Role, oldRole *authorizationapi.Role) fielderrors.ValidationErrorList
- func ValidateLocalSubjectAccessReview(review *authorizationapi.LocalSubjectAccessReview) fielderrors.ValidationErrorList
- func ValidatePolicy(policy *authorizationapi.Policy, isNamespaced bool) fielderrors.ValidationErrorList
- func ValidatePolicyBinding(policyBinding *authorizationapi.PolicyBinding, isNamespaced bool) fielderrors.ValidationErrorList
- func ValidatePolicyBindingUpdate(policyBinding *authorizationapi.PolicyBinding, ...) fielderrors.ValidationErrorList
- func ValidatePolicyName(name string, prefix bool) (bool, string)
- func ValidatePolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy, ...) fielderrors.ValidationErrorList
- func ValidateResourceAccessReview(review *authorizationapi.ResourceAccessReview) fielderrors.ValidationErrorList
- func ValidateRole(role *authorizationapi.Role, isNamespaced bool) fielderrors.ValidationErrorList
- func ValidateRoleBinding(roleBinding *authorizationapi.RoleBinding, isNamespaced bool) fielderrors.ValidationErrorList
- func ValidateRoleBindingSubject(subject kapi.ObjectReference, isNamespaced bool) fielderrors.ValidationErrorList
- func ValidateRoleBindingUpdate(roleBinding *authorizationapi.RoleBinding, ...) fielderrors.ValidationErrorList
- func ValidateRoleUpdate(role *authorizationapi.Role, oldRole *authorizationapi.Role, isNamespaced bool) fielderrors.ValidationErrorList
- func ValidateSubjectAccessReview(review *authorizationapi.SubjectAccessReview) fielderrors.ValidationErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PolicyBindingNameValidator ¶
func PolicyBindingNameValidator(policyRefNamespace string) validation.ValidateNameFunc
func ValidateClusterPolicy ¶
func ValidateClusterPolicy(policy *authorizationapi.ClusterPolicy) fielderrors.ValidationErrorList
func ValidateClusterPolicyBinding ¶
func ValidateClusterPolicyBinding(policy *authorizationapi.ClusterPolicyBinding) fielderrors.ValidationErrorList
func ValidateClusterPolicyBindingUpdate ¶
func ValidateClusterPolicyBindingUpdate(policy *authorizationapi.ClusterPolicyBinding, oldPolicyBinding *authorizationapi.ClusterPolicyBinding) fielderrors.ValidationErrorList
func ValidateClusterPolicyUpdate ¶
func ValidateClusterPolicyUpdate(policy *authorizationapi.ClusterPolicy, oldPolicy *authorizationapi.ClusterPolicy) fielderrors.ValidationErrorList
func ValidateClusterRole ¶
func ValidateClusterRole(policy *authorizationapi.ClusterRole) fielderrors.ValidationErrorList
func ValidateClusterRoleBinding ¶
func ValidateClusterRoleBinding(policy *authorizationapi.ClusterRoleBinding) fielderrors.ValidationErrorList
func ValidateClusterRoleBindingUpdate ¶
func ValidateClusterRoleBindingUpdate(policy *authorizationapi.ClusterRoleBinding, oldRoleBinding *authorizationapi.ClusterRoleBinding) fielderrors.ValidationErrorList
func ValidateClusterRoleUpdate ¶
func ValidateClusterRoleUpdate(policy *authorizationapi.ClusterRole, oldRole *authorizationapi.ClusterRole) fielderrors.ValidationErrorList
func ValidateLocalPolicy ¶
func ValidateLocalPolicy(policy *authorizationapi.Policy) fielderrors.ValidationErrorList
func ValidateLocalPolicyBinding ¶
func ValidateLocalPolicyBinding(policy *authorizationapi.PolicyBinding) fielderrors.ValidationErrorList
func ValidateLocalPolicyBindingUpdate ¶
func ValidateLocalPolicyBindingUpdate(policy *authorizationapi.PolicyBinding, oldPolicyBinding *authorizationapi.PolicyBinding) fielderrors.ValidationErrorList
func ValidateLocalPolicyUpdate ¶
func ValidateLocalPolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy) fielderrors.ValidationErrorList
func ValidateLocalResourceAccessReview ¶
func ValidateLocalResourceAccessReview(review *authorizationapi.LocalResourceAccessReview) fielderrors.ValidationErrorList
func ValidateLocalRole ¶
func ValidateLocalRole(policy *authorizationapi.Role) fielderrors.ValidationErrorList
func ValidateLocalRoleBinding ¶
func ValidateLocalRoleBinding(policy *authorizationapi.RoleBinding) fielderrors.ValidationErrorList
func ValidateLocalRoleBindingUpdate ¶
func ValidateLocalRoleBindingUpdate(policy *authorizationapi.RoleBinding, oldRoleBinding *authorizationapi.RoleBinding) fielderrors.ValidationErrorList
func ValidateLocalRoleUpdate ¶
func ValidateLocalRoleUpdate(policy *authorizationapi.Role, oldRole *authorizationapi.Role) fielderrors.ValidationErrorList
func ValidateLocalSubjectAccessReview ¶
func ValidateLocalSubjectAccessReview(review *authorizationapi.LocalSubjectAccessReview) fielderrors.ValidationErrorList
func ValidatePolicy ¶
func ValidatePolicy(policy *authorizationapi.Policy, isNamespaced bool) fielderrors.ValidationErrorList
func ValidatePolicyBinding ¶
func ValidatePolicyBinding(policyBinding *authorizationapi.PolicyBinding, isNamespaced bool) fielderrors.ValidationErrorList
func ValidatePolicyBindingUpdate ¶
func ValidatePolicyBindingUpdate(policyBinding *authorizationapi.PolicyBinding, oldPolicyBinding *authorizationapi.PolicyBinding, isNamespaced bool) fielderrors.ValidationErrorList
func ValidatePolicyUpdate ¶
func ValidatePolicyUpdate(policy *authorizationapi.Policy, oldPolicy *authorizationapi.Policy, isNamespaced bool) fielderrors.ValidationErrorList
func ValidateResourceAccessReview ¶
func ValidateResourceAccessReview(review *authorizationapi.ResourceAccessReview) fielderrors.ValidationErrorList
func ValidateRole ¶
func ValidateRole(role *authorizationapi.Role, isNamespaced bool) fielderrors.ValidationErrorList
func ValidateRoleBinding ¶
func ValidateRoleBinding(roleBinding *authorizationapi.RoleBinding, isNamespaced bool) fielderrors.ValidationErrorList
func ValidateRoleBindingSubject ¶
func ValidateRoleBindingSubject(subject kapi.ObjectReference, isNamespaced bool) fielderrors.ValidationErrorList
func ValidateRoleBindingUpdate ¶
func ValidateRoleBindingUpdate(roleBinding *authorizationapi.RoleBinding, oldRoleBinding *authorizationapi.RoleBinding, isNamespaced bool) fielderrors.ValidationErrorList
func ValidateRoleUpdate ¶
func ValidateRoleUpdate(role *authorizationapi.Role, oldRole *authorizationapi.Role, isNamespaced bool) fielderrors.ValidationErrorList
func ValidateSubjectAccessReview ¶
func ValidateSubjectAccessReview(review *authorizationapi.SubjectAccessReview) fielderrors.ValidationErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.